Fatal error: Uncaught Magento\Framework\Exception\RuntimeException: Invalid configuration file: '/var/www/html/magento2/app/etc/env.php' in /var/www/html/magento2/vendor/magento/framework/App/DeploymentConfig/Reader.php:115
Stack trace:
#0 /var/www/html/magento2/vendor/magento/framework/App/DeploymentConfig.php(201): Magento\Framework\App\DeploymentConfig\Reader->load()
#1 /var/www/html/magento2/vendor/magento/framework/App/DeploymentConfig.php(219): Magento\Framework\App\DeploymentConfig->reloadInitialData()
#2 /var/www/html/magento2/vendor/magento/framework/App/DeploymentConfig.php(107): Magento\Framework\App\DeploymentConfig->reloadData()
#3 /var/www/html/magento2/vendor/magento/framework/App/Bootstrap.php(413): Magento\Framework\App\DeploymentConfig->get()
#4 /var/www/html/magento2/vendor/magento/framework/App/Bootstrap.php(437): Magento\Framework\App\Bootstrap->isDeveloperMode()
#5 /var/www/html/magento2/vendor/magento/framework/App/Bootstrap.php(275): Magento\Framework\App\Bootstrap->terminate()
#6 /var/www/html/magento2/pub/index.php(34): Magento\Framework\App\Bootstrap->run()
#7 {main}
thrown in /var/www/html/magento2/vendor/magento/framework/App/DeploymentConfig/Reader.php on line 115
Fatal error: Uncaught Magento\Framework\Exception\RuntimeException: Invalid configuration file: '/var/www/html/magento2/app/etc/env.php' in /var/www/html/magento2/vendor/magento/framework/App/DeploymentConfig/Reader.php:115
Stack trace:
#0 /var/www/html/magento2/vendor/magento/framework/App/DeploymentConfig.php(201): Magento\Framework\App\DeploymentConfig\Reader->load()
#1 /var/www/html/magento2/vendor/magento/framework/App/DeploymentConfig.php(219): Magento\Framework\App\DeploymentConfig->reloadInitialData()
#2 /var/www/html/magento2/vendor/magento/framework/App/DeploymentConfig.php(107): Magento\Framework\App\DeploymentConfig->reloadData()
#3 /var/www/html/magento2/vendor/magento/framework/Logger/LoggerProxy.php(85): Magento\Framework\App\DeploymentConfig->get()
#4 /var/www/html/magento2/vendor/magento/framework/Logger/LoggerProxy.php(121): Magento\Framework\Logger\LoggerProxy->getLogger()
#5 /var/www/html/magento2/vendor/magento/framework/Session/SaveHandler/Redis/Logger.php(91): Magento\Framework\Logger\LoggerProxy->critical()
#6 /var/www/html/magento2/vendor/colinmollenhour/php-redis-session-abstract/src/Cm/RedisSession/Handler.php(684): Magento\Framework\Session\SaveHandler\Redis\Logger->logException()
#7 /var/www/html/magento2/vendor/magento/framework/Session/SaveHandler/Redis.php(117): Cm\RedisSession\Handler->write()
#8 /var/www/html/magento2/vendor/magento/framework/Session/SaveHandler.php(212): Magento\Framework\Session\SaveHandler\Redis->write()
#9 /var/www/html/magento2/vendor/magento/framework/Session/SaveHandler.php(156): Magento\Framework\Session\SaveHandler->callSafely()
#10 [internal function]: Magento\Framework\Session\SaveHandler->write()
#11 /var/www/html/magento2/vendor/magento/framework/Session/SessionManager.php(133): session_write_close()
#12 [internal function]: Magento\Framework\Session\SessionManager->writeClose()
#13 {main}
thrown in /var/www/html/magento2/vendor/magento/framework/App/DeploymentConfig/Reader.php on line 115