Debug Canvas LMS errors

Locate log files

The Canvas LMS logs are stored at the log folder inside the CanvasLMS installation directory. Depending on your installation type, you will find the log files in the following paths:

  • Approach A (Bitnami installations using system packages): /opt/bitnami/canvaslms/log/production.log and /opt/bitnami/canvaslms/log/delayed_job.log.

  • Approach B (Self-contained Bitnami installations): /opt/bitnami/apps/canvaslms/htdocs/log/production.log and /opt/bitnami/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 December 21, 2022