UnexpectedValueException: The stream or file "/var/www/magento2/public_html/MigrateM2//var/log/debug.log" could not be opened: failed to open stream: Permission denied in /var/www/magento2/public_html/MigrateM2/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:108 Stack trace: #0 /var/www/magento2/public_html/MigrateM2/vendor/magento/framework/Logger/Handler/Base.php(88): Monolog\Handler\StreamHandler->write(Array) #1 /var/www/magento2/public_html/MigrateM2/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(39): Magento\Framework\Logger\Handler\Base->write(Array) #2 /var/www/magento2/public_html/MigrateM2/vendor/monolog/monolog/src/Monolog/Logger.php(344): Monolog\Handler\AbstractProcessingHandler->handle(Array) #3 /var/www/magento2/public_html/MigrateM2/vendor/magento/framework/Logger/Monolog.php(48): Monolog\Logger->addRecord(400, 'SQLSTATE[HY000]...', Array) #4 /var/www/magento2/public_html/MigrateM2/vendor/monolog/monolog/src/Monolog/Logger.php(707): Magento\Framework\Logger\Monolog->addRecord(400, 'SQLSTATE[HY000]...', Array) #5 /var/www/magento2/public_html/MigrateM2/vendor/magento/framework/App/Bootstrap.php(266): Monolog\Logger->error('SQLSTATE[HY000]...') #6 /var/www/magento2/public_html/MigrateM2/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor)) #7 {main}