Fatal error: Uncaught UnexpectedValueException: The stream or file "/opt/bitnami/apps/magento/htdocs/var/log/debug.log" could not be opened: failed to open stream: Permission denied in /opt/bitnami/apps/magento/htdocs/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:87 Stack trace: #0 /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/Logger/Handler/Base.php(60): Monolog\Handler\StreamHandler->write(Array) #1 /opt/bitnami/apps/magento/htdocs/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(37): Magento\Framework\Logger\Handler\Base->write(Array) #2 /opt/bitnami/apps/magento/htdocs/vendor/monolog/monolog/src/Monolog/Logger.php(289): Monolog\Handler\AbstractProcessingHandler->handle(Array) #3 /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/Logger/Monolog.php(24): Monolog\Logger->addRecord(100, 'cache_invalidat...', Array) #4 /opt/bitnami/apps/magento/htdocs/vendor/monolog/monolog/src/Monolog/Logger.php(481): Magento\Framework\Logger\Monolog->addRecord(100, 'cache_invalida in /opt/bitnami/apps/magento/htdocs/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php on line 87