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
Today I noticed a bunch of APPS_NOT_READY_WARNING_MSG messages while running upgrade.sh. I've never noticed this before, perhaps it's related to a newer Django version? I'm running Netbox 4.0.6. I haven't noticed any real issue, but I'm wondering if I did something wrong... Here's an example:
Applying database migrations (python3 netbox/manage.py migrate)...
/opt/netbox-4.0.6/venv/lib/python3.12/site-packages/django/db/backends/utils.py:98: RuntimeWarning: Accessing the database during app initialization is discouraged. To fix this warning, avoid executing queries in AppConfig.ready() or when your app modules are imported.
warnings.warn(self.APPS_NOT_READY_WARNING_MSG, category=RuntimeWarning)
Operations to perform:
Apply all migrations: account, auth, circuits, contenttypes, core, db, dcim, django_rq, extras, ipam, netbox_attachments, sessions, social_django, taggit, tenancy, users, virtualization, vpn, wireless
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Today I noticed a bunch of
APPS_NOT_READY_WARNING_MSG
messages while runningupgrade.sh
. I've never noticed this before, perhaps it's related to a newer Django version? I'm running Netbox 4.0.6. I haven't noticed any real issue, but I'm wondering if I did something wrong... Here's an example:Beta Was this translation helpful? Give feedback.
All reactions