Install production canvas-lms on ubuntu 20.04 container

645 views
Skip to first unread message

Tom Reijnders

unread,
Feb 14, 2021, 2:37:52 PM2/14/21
to Canvas LMS Users
I am trying to install canvas-lms on Ubuntu 20.04 container (8 cores, 8Gb mem) using  https://github.com/instructure/canvas-lms/wiki/Production-Start. I needed to set locale first, but than the setup went smoothly.

But.... it doesn't work. It complains about 'Incomplete response received from application'.

In the apache error, I find the follwoing:

App 8233 output: [ 2021-02-14 19:26:42.9010 8233/0x000056522e9d6878(Worker 1) utils.rb ]: *** Exception ArgumentError in Rack application object (Missing `secret_key_base` for 'production' environment, set this string with `rails credentials:edit`) (process 8233, thread 0x000056522e9d6878(Worker 1)):

Any idea what I missed and how to fix this? There are loads of google results for Missing `secret_key_base` for 'production' environment, but I do not want to experiment too much. Any hint is welcome.

Cheers,

Tom


Tom Reijnders

unread,
Feb 14, 2021, 3:17:23 PM2/14/21
to Canvas LMS Users
After setting up a config/secrets.yml file, things started to work.
Reply all
Reply to author
Forward
0 new messages