After installing, I encountered this error


[2018-08-02 13:26:36] main.ERROR: MySQL connection failed: Class Magento\Framework\DB\Logger\FileFactory does not exist [] []

[2018-08-02 13:20:52] main.CRITICAL: Can't create directory /opt/bitnami/apps/magento/htdocs/generated/code/Magento/Framework/App/Http/. in [Magento\Framework\App\Http\Interceptor] {"exception":"[object] (RuntimeException(code: 0): Can't create directory /opt/bitnami/apps/magento/htdocs/generated/code/Magento/Framework/App/Http/. in [Magento\\Framework\\App\\Http\\Interceptor] at /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/Code/Generator.php:115)"} []


We assume the issue from permission.

You should reset the owner permission of folders by running this command after deploy

chmod -R 777 generated var/cache pub/static/

If you need any further assistance, please feel free to contact us.

Please visit our site for more useful Magento 2 Extensions: