virtualMachinemagento

Debug Magento errors

Troubleshoot permission errors

When using the Magento command line tool, you may experience some problems related to permissions. If you get a 500 error in your browser, readjust permissions running the following commands:

    $ sudo find /opt/bitnami/magento -type d -exec chmod 775 {} \;
    $ sudo find /opt/bitnami/magento -type f -exec chmod 644 {} \;
    $ sudo chmod +x /opt/bitnami/magento/bin/magento-cli
    $ sudo chown -R daemon:daemon /opt/bitnami/magento

Watch this video to learn how to recover application permissions:

Last modification February 9, 2023