nativeInstallermagento

Debug Magento errors

Before running the commands shown on this page, you should load the Bitnami stack environment by executing the installdir/use_APPNAME script (Linux and Mac OS X) or by clicking the shortcut in the Start Menu under “Start -> Bitnami APPNAME Stack -> Application console” (Windows). Learn more.

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 installdir/apps/magento/htdocs/ -type d -exec chmod 775 {} \;
$ sudo find installdir/apps/magento/htdocs/ -type f -exec chmod 664 {} \;
$ sudo chown -R SYSTEM_USER:APACHE_GROUP installdir/apps/magento/htdocs/

NOTE: SYSTEM_USER and APACHE_GROUP are placeholders. Replace them to set the permissions properly. If you installed the stack using admin privileges, the APACHE_GROUP placeholder can be substituted with daemon.