canvas-lms
canvas-lms copied to clipboard
ENVs for Database Initialization
Summary: When initializing the database, the initialization ignores the ENVs
Steps to reproduce:
- Setup a new canvas instance
- Set all the canvas config for the db
- Run the db migration
- Set envs for the OS as described in https://github.com/instructure/canvas-lms/wiki/Production-Start#database-population
- Wait for it to finish
Expected behavior:
It should finish without prompting the user as described in: https://github.com/instructure/canvas-lms/wiki/Production-Start#database-population
i.e. Setting all of the values (like CANVAS_LMS_ADMIN_EMAIL) should result in no prompt.
Actual behavior:
It still prompts the user instead of running it silently.
Additional notes:
I've verified that the OS has all of the envs set globally and I've tried running the command with these values prefixed.
This still exists as of stable/2022-01-19