Upgrade of Netbox from 4.5.6 to 4.5.7 #21872
Replies: 3 comments 2 replies
-
|
It looks like the upgrade script may not have been run. If it had been, the Could you check whether the upgrade script completed successfully and, if needed, run it again? Hope that helps! |
Beta Was this translation helpful? Give feedback.
-
|
upgrade script was executed as per the documentation link below. I have pasted the full output right before it goes south and never completes the upgrade as I never get the message sucessful upgrade and please do a restart of the netbox and netbox-rq services. [https://netboxlabs.com/docs/netbox/installation/upgrading/] Successfully installed Django-5.2.12 Jinja2-3.1.6 Markdown-3.10.2 MarkupSafe-3.0.3 Pillow-12.1.1 PyJWT-2.12.1 PyYAML-6.0.3 asgiref-3.11.1 attrs-26.1.0 babel-2.18.0 backrefs-6.2 certifi-2026.2.25 cffi-2.0.0 charset_normalizer-3.4.7 click-8.3.2 colorama-0.4.6 croniter-6.2.2 cross-web-0.4.1 cryptography-46.0.7 defusedxml-0.7.1 django-cors-headers-4.9.0 django-debug-toolbar-6.2.0 django-filter-25.2 django-graphiql-debug-toolbar-0.2.0 django-htmx-1.27.0 django-js-asset-3.1.2 django-mptt-0.18.0 django-pglocks-1.0.4 django-prometheus-2.4.1 django-redis-6.0.0 django-rich-2.2.0 django-rq-3.2.2 django-storages-1.14.6 django-tables2-2.8.0 django-taggit-6.1.0 django-timezone-field-7.2.1 djangorestframework-3.16.1 drf-spectacular-0.29.0 drf-spectacular-sidecar-2026.3.1 feedparser-6.0.12 ghp-import-2.1.0 graphene-3.4.3 graphene-django-3.2.3 graphql-core-3.2.8 graphql-relay-3.2.0 griffelib-2.0.2 gunicorn-25.3.0 idna-3.11 inflection-0.5.1 jsonschema-4.26.0 jsonschema-specifications-2025.9.1 markdown-it-py-4.0.0 mdurl-0.1.2 mergedeep-1.3.4 mkdocs-1.6.1 mkdocs-autorefs-1.4.4 mkdocs-get-deps-0.2.2 mkdocs-material-9.7.6 mkdocs-material-extensions-1.3.1 mkdocstrings-1.0.3 mkdocstrings-python-2.0.3 netaddr-1.3.0 nh3-0.3.4 oauthlib-3.3.1 paginate-0.5.7 pathspec-1.0.4 platformdirs-4.9.4 prometheus-client-0.24.1 promise-2.3 psycopg-3.3.3 psycopg-c-3.3.3 psycopg-pool-3.3.0 pycparser-3.0 pygments-2.20.0 pymdown-extensions-10.21.2 python-dateutil-2.9.0.post0 python3-openid-3.2.0 pyyaml-env-tag-1.1 redis-7.4.0 referencing-0.37.0 requests-2.33.1 requests-oauthlib-2.0.0 rich-14.3.3 rpds-py-0.30.0 rq-2.7.0 sgmllib3k-1.0.0 six-1.17.0 social-auth-app-django-5.7.0 social-auth-core-4.8.5 sorl-thumbnail-13.0.0 sqlparse-0.5.5 strawberry-graphql-0.312.2 strawberry-graphql-django-0.82.1 svgwrite-1.4.3 tablib-3.9.0 text-unidecode-1.3 typing-extensions-4.15.0 tzdata-2025.3 uritemplate-4.2.0 urllib3-2.6.3 watchdog-6.0.0 |
Beta Was this translation helpful? Give feedback.
-
|
Just to show, I do have the upgraded django-rq on the system without needing to upgrade. pip3 show django-rq |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Didn't really know where to place this discussion if this is a bug or if this has been seen by others during the upgrade process from 4.5.6 to 4.5.7.
OS: Ubuntu Server: 24.04.1
Python: 3.12
I did fresh install of 4.5.6 and found the bug that 4.5.7 fixes when looking at devices where it gives you the web page error. However after following the posted instructions using Option A of the upgrade, I can't get past this error below and the system never completes the upgrade process.
This leaves the netbox-rq service in 4.5.7 in a state where it will start and then crashes out right away. I have moved the symlink back to the 4.5.6 version and confirmed this is a upgrade issue as the system runs after moving the link back and stays running however the bug in 4.5.6 is still there.
Is there a work around or does this need to be reported as a upgrade bug report.
File "/opt/netbox-4.5.7/netbox/core/views.py", line 17, in
from django_rq.settings import get_queues_list, get_queues_map
ImportError: cannot import name 'get_queues_list' from 'django_rq.settings' (/opt/netbox-4.5.7/venv/lib/python3.12/site-packages/django_rq/settings.py)
Beta Was this translation helpful? Give feedback.
All reactions