Debug Canvas LMS 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 MacOS) or by clicking the shortcut in the Start Menu under “Start -> Bitnami APPNAME Stack -> Application console” (Windows). On OS X VMs, the installation directory is /opt/bitnami and OS X VM users can click the “Open Terminal” button to run commands. Learn more about the Bitnami stack environment and about OS X VMs.

Locate log files

The Canvas LMS logs are stored at installdir/apps/canvaslms/htdocs/log/production.log and installdir/apps/canvaslms/htdocs/log/delayed_job.log.

Troubleshoot upload/attachment errors in courses

If you are running Canvas LMS in a Unix system and you experience errors while trying to upload or attach a file or an image to a course, it may be due to the sticky bit in the /tmp folder. Canvas LMS performs a couple of operations in the folder /tmp while uploading a file or an image, and it requires the sticky bit to be set on that folder. To enable it you can execute the following command:

$ sudo chmod +t /tmp
Last modification April 8, 2020