Upgrade netbox from v3.7.8 to v.4.0.5 error #16543
Replies: 3 comments 1 reply
-
Seems that |
Beta Was this translation helpful? Give feedback.
-
I managed to proceed with the previous error by adding django-htmx==1.17.3 to the requirements.txt file, but now the upgrade stucks due to ImportError: cannot import name 'UNSET' from 'strawberry' ..... |
Beta Was this translation helpful? Give feedback.
-
I finally managed to upgrade to version 4.0.5 by installing the 4.0.5 requirements.txt and base_requirements.txt before the upgrade. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I tried to upgrade netbox from version v3.7.8 to v4.0.5 and I have the following error. Do you have any ideas?
Traceback (most recent call last):
File "/opt/netbox-4.0.5/netbox/manage.py", line 10, in
execute_from_command_line(sys.argv)
File "/opt/netbox-4.0.5/venv/lib/python3.10/site-packages/django/core/management/init.py", line 442, in execute_from_command_line
utility.execute()
File "/opt/netbox-4.0.5/venv/lib/python3.10/site-packages/django/core/management/init.py", line 416, in execute
django.setup()
File "/opt/netbox-4.0.5/venv/lib/python3.10/site-packages/django/init.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File "/opt/netbox-4.0.5/venv/lib/python3.10/site-packages/django/apps/registry.py", line 91, in populate
app_config = AppConfig.create(entry)
File "/opt/netbox-4.0.5/venv/lib/python3.10/site-packages/django/apps/config.py", line 193, in create
import_module(entry)
File "/usr/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1004, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'django_htmx'
Beta Was this translation helpful? Give feedback.
All reactions