-
-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KeyError: 'LOGIN_REQUIRED' #400
Comments
Confirmed behavior: In development, these values get populated because the app context is restarted to go into debugging mode, but in production the app context doesn't restart so they after first launch they are just left empty. WorkaroundRestarting the container should cause the values to get populated and workaround this bug until the update is merged that fixes this issue. Production
Development
The correct thing to do here is to move these to migrations that do conditional execution (i.e. if the value is already set in the database, don't set change the user's setting). |
… at init This closes #400 and sets the standard behavior of any new required defaults being populated in migrations.
… at init This closes #400 and sets the standard behavior of any new required defaults being populated in migrations.
Sentry issue: NATLAS-SERVER-Z |
… at init This closes #400 and sets the standard behavior of any new required defaults being populated in migrations.
… at init This closes #400 and sets the standard behavior of any new required defaults being populated in migrations.
It looks like when creating a new database, the required values aren't being set correctly. Lazy initialization of these config options is probably to blame and the database config options should probably be moved into a migration. Either that or we need to make a clear distinction to ensure the app's first launch does all the setup things it needs to do.
Sentry Issue: NATLAS-SERVER-10
The text was updated successfully, but these errors were encountered: