canvas-lms icon indicating copy to clipboard operation
canvas-lms copied to clipboard

ENVs for Database Initialization

Open argctl opened this issue 3 years ago • 1 comments

Summary: When initializing the database, the initialization ignores the ENVs

Steps to reproduce:

  1. Setup a new canvas instance
  2. Set all the canvas config for the db
  3. Run the db migration
  4. Set envs for the OS as described in https://github.com/instructure/canvas-lms/wiki/Production-Start#database-population
  5. 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.

argctl avatar Apr 08 '21 03:04 argctl

This still exists as of stable/2022-01-19

grahhnt avatar Jun 09 '22 02:06 grahhnt