You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The NetBox WSGI service fails to start, returning the following error:
ImproperlyConfigured: Requested setting DATABASES, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.
This issue has been traced to code intended to verify the PostgreSQL database version during initialization. However, the required settings variable is not available at the time of execution.
This issues does not affect the development server (manage.py runserver).
The text was updated successfully, but these errors were encountered:
The logic which validates the PostgreSQL database version has been moved out of the main code and into the relevant migration (extras.0008_reports), which will run only when the migration is applied.
lampwins
pushed a commit
to lampwins/netbox
that referenced
this issue
Oct 13, 2017
Issue type
[ ] Feature request
[x] Bug report
[ ] Documentation
Environment
Description
The NetBox WSGI service fails to start, returning the following error:
This issue has been traced to code intended to verify the PostgreSQL database version during initialization. However, the required
settings
variable is not available at the time of execution.This issues does not affect the development server (
manage.py runserver
).The text was updated successfully, but these errors were encountered: