mirror of
https://github.com/netbox-community/netbox.git
synced 2026-01-11 21:10:29 +01:00
Migration from 3.7.8 to 4.2.1 #10926
Closed
opened 2025-12-29 21:37:49 +01:00 by adam
·
8 comments
No Branch/Tag Specified
main
update-changelog-comments-docs
feature-removal-issue-type
20911-dropdown
20239-plugin-menu-classes-mutable-state
21097-graphql-id-lookups
feature
fix_module_substitution
20923-dcim-templates
20044-elevation-stuck-lightmode
feature-ip-prefix-link
v4.5-beta1-release
20068-import-moduletype-attrs
20766-fix-german-translation-code-literals
20378-del-script
7604-filter-modifiers-v3
circuit-swap
12318-case-insensitive-uniqueness
20637-improve-device-q-filter
20660-script-load
19724-graphql
20614-update-ruff
14884-script
02496-max-page
19720-macaddress-interface-generic-relation
19408-circuit-terminations-export-templates
20203-openapi-check
fix-19669-api-image-download
7604-filter-modifiers
19275-fixes-interface-bulk-edit
fix-17794-get_field_value_return_list
11507-show-aggregate-and-rir-on-api
9583-add_column_specific_search_field_to_tables
v4.5.0
v4.4.10
v4.4.9
v4.5.0-beta1
v4.4.8
v4.4.7
v4.4.6
v4.4.5
v4.4.4
v4.4.3
v4.4.2
v4.4.1
v4.4.0
v4.3.7
v4.4.0-beta1
v4.3.6
v4.3.5
v4.3.4
v4.3.3
v4.3.2
v4.3.1
v4.3.0
v4.2.9
v4.3.0-beta2
v4.2.8
v4.3.0-beta1
v4.2.7
v4.2.6
v4.2.5
v4.2.4
v4.2.3
v4.2.2
v4.2.1
v4.2.0
v4.1.11
v4.1.10
v4.1.9
v4.1.8
v4.2-beta1
v4.1.7
v4.1.6
v4.1.5
v4.1.4
v4.1.3
v4.1.2
v4.1.1
v4.1.0
v4.0.11
v4.0.10
v4.0.9
v4.1-beta1
v4.0.8
v4.0.7
v4.0.6
v4.0.5
v4.0.3
v4.0.2
v4.0.1
v4.0.0
v3.7.8
v3.7.7
v4.0-beta2
v3.7.6
v3.7.5
v4.0-beta1
v3.7.4
v3.7.3
v3.7.2
v3.7.1
v3.7.0
v3.6.9
v3.6.8
v3.6.7
v3.7-beta1
v3.6.6
v3.6.5
v3.6.4
v3.6.3
v3.6.2
v3.6.1
v3.6.0
v3.5.9
v3.6-beta2
v3.5.8
v3.6-beta1
v3.5.7
v3.5.6
v3.5.5
v3.5.4
v3.5.3
v3.5.2
v3.5.1
v3.5.0
v3.4.10
v3.4.9
v3.5-beta2
v3.4.8
v3.5-beta1
v3.4.7
v3.4.6
v3.4.5
v3.4.4
v3.4.3
v3.4.2
v3.4.1
v3.4.0
v3.3.10
v3.3.9
v3.4-beta1
v3.3.8
v3.3.7
v3.3.6
v3.3.5
v3.3.4
v3.3.3
v3.3.2
v3.3.1
v3.3.0
v3.2.9
v3.2.8
v3.3-beta2
v3.2.7
v3.3-beta1
v3.2.6
v3.2.5
v3.2.4
v3.2.3
v3.2.2
v3.2.1
v3.2.0
v3.1.11
v3.1.10
v3.2-beta2
v3.1.9
v3.2-beta1
v3.1.8
v3.1.7
v3.1.6
v3.1.5
v3.1.4
v3.1.3
v3.1.2
v3.1.1
v3.1.0
v3.0.12
v3.0.11
v3.0.10
v3.1-beta1
v3.0.9
v3.0.8
v3.0.7
v3.0.6
v3.0.5
v3.0.4
v3.0.3
v3.0.2
v3.0.1
v3.0.0
v2.11.12
v3.0-beta2
v2.11.11
v2.11.10
v3.0-beta1
v2.11.9
v2.11.8
v2.11.7
v2.11.6
v2.11.5
v2.11.4
v2.11.3
v2.11.2
v2.11.1
v2.11.0
v2.10.10
v2.10.9
v2.11-beta1
v2.10.8
v2.10.7
v2.10.6
v2.10.5
v2.10.4
v2.10.3
v2.10.2
v2.10.1
v2.10.0
v2.9.11
v2.10-beta2
v2.9.10
v2.10-beta1
v2.9.9
v2.9.8
v2.9.7
v2.9.6
v2.9.5
v2.9.4
v2.9.3
v2.9.2
v2.9.1
v2.9.0
v2.9-beta2
v2.8.9
v2.9-beta1
v2.8.8
v2.8.7
v2.8.6
v2.8.5
v2.8.4
v2.8.3
v2.8.2
v2.8.1
v2.8.0
v2.7.12
v2.7.11
v2.7.10
v2.7.9
v2.7.8
v2.7.7
v2.7.6
v2.7.5
v2.7.4
v2.7.3
v2.7.2
v2.7.1
v2.7.0
v2.6.12
v2.6.11
v2.6.10
v2.6.9
v2.7-beta1
Solcon-2020-01-06
v2.6.8
v2.6.7
v2.6.6
v2.6.5
v2.6.4
v2.6.3
v2.6.2
v2.6.1
v2.6.0
v2.5.13
v2.5.12
v2.6-beta1
v2.5.11
v2.5.10
v2.5.9
v2.5.8
v2.5.7
v2.5.6
v2.5.5
v2.5.4
v2.5.3
v2.5.2
v2.5.1
v2.5.0
v2.4.9
v2.5-beta2
v2.4.8
v2.5-beta1
v2.4.7
v2.4.6
v2.4.5
v2.4.4
v2.4.3
v2.4.2
v2.4.1
v2.4.0
v2.3.7
v2.4-beta1
v2.3.6
v2.3.5
v2.3.4
v2.3.3
v2.3.2
v2.3.1
v2.3.0
v2.2.10
v2.3-beta2
v2.2.9
v2.3-beta1
v2.2.8
v2.2.7
v2.2.6
v2.2.5
v2.2.4
v2.2.3
v2.2.2
v2.2.1
v2.2.0
v2.1.6
v2.2-beta2
v2.1.5
v2.2-beta1
v2.1.4
v2.1.3
v2.1.2
v2.1.1
v2.1.0
v2.0.10
v2.1-beta1
v2.0.9
v2.0.8
v2.0.7
v2.0.6
v2.0.5
v2.0.4
v2.0.3
v2.0.2
v2.0.1
v2.0.0
v2.0-beta3
v1.9.6
v1.9.5
v2.0-beta2
v1.9.4-r1
v1.9.3
v2.0-beta1
v1.9.2
v1.9.1
v1.9.0-r1
v1.8.4
v1.8.3
v1.8.2
v1.8.1
v1.8.0
v1.7.3
v1.7.2-r1
v1.7.1
v1.7.0
v1.6.3
v1.6.2-r1
v1.6.1-r1
1.6.1
v1.6.0
v1.5.2
v1.5.1
v1.5.0
v1.4.2
v1.4.1
v1.4.0
v1.3.2
v1.3.1
v1.3.0
v1.2.2
v1.2.1
v1.2.0
v1.1.0
v1.0.7-r1
v1.0.7
v1.0.6
v1.0.5
v1.0.4
v1.0.3-r1
v1.0.3
1.0.0
Labels
Clear labels
beta
breaking change
complexity: high
complexity: low
complexity: medium
needs milestone
netbox
pending closure
plugin candidate
pull-request
severity: high
severity: low
severity: medium
status: accepted
status: backlog
status: blocked
status: duplicate
status: needs owner
status: needs triage
status: revisions needed
status: under review
topic: GraphQL
topic: Internationalization
topic: OpenAPI
topic: UI/UX
topic: cabling
topic: event rules
topic: htmx navigation
topic: industrialization
topic: migrations
topic: plugins
topic: scripts
topic: templating
topic: testing
type: bug
type: deprecation
type: documentation
type: feature
type: housekeeping
type: translation
Mirrored from GitHub Pull Request
No Label
type: bug
Milestone
No items
No Milestone
Projects
Clear projects
No project
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: starred/netbox#10926
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Remi-2025 on GitHub (Mar 20, 2025).
Deployment Type
Self-hosted
NetBox Version
v4.2.1
Python Version
3.10
Steps to Reproduce
hello
I try to migrate from 3.7.8 to 4.2.1 (why because in the doc this is the latest release where requirements for
PostgreSQL | 12+) I plan to upgrade psql later
Expected Behavior
no issue linked to PSQL 13
Observed Behavior
when launching upgrade i got an error about PSQL 13
You are installing (or upgrading to) NetBox version 4.2.1 Using Python 3.10.16 Creating a new virtual environment at /opt/netbox-4.2.1/venv... Updating pip (pip install --upgrade pip)... WARNING: The directory '/home/ubuntu/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag. Requirement already satisfied: pip in ./venv/lib/python3.10/site-packages (23.0.1) Collecting pip Downloading pip-25.0.1-py3-none-any.whl (1.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 470.9 kB/s eta 0:00:00 Installing collected packages: pip Attempting uninstall: pip Found existing installation: pip 23.0.1 Uninstalling pip-23.0.1: Successfully uninstalled pip-23.0.1 Successfully installed pip-25.0.1 pip 25.0.1 from /opt/netbox-4.2.1/venv/lib/python3.10/site-packages/pip (python 3.10) Installing Python system packages (pip install wheel)... WARNING: The directory '/home/ubuntu/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag. Collecting wheel Downloading wheel-0.45.1-py3-none-any.whl.metadata (2.3 kB) Downloading wheel-0.45.1-py3-none-any.whl (72 kB) Installing collected packages: wheel Successfully installed wheel-0.45.1 Installing core dependencies (pip install -r requirements.txt)... WARNING: The directory '/home/ubuntu/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag. Collecting Django==5.1.4 (from -r requirements.txt (line 1)) Downloading Django-5.1.4-py3-none-any.whl.metadata (4.2 kB) Collecting django-cors-headers==4.6.0 (from -r requirements.txt (line 2)) Downloading django_cors_headers-4.6.0-py3-none-any.whl.metadata (16 kB) Collecting django-debug-toolbar==4.4.6 (from -r requirements.txt (line 3)) Downloading django_debug_toolbar-4.4.6-py3-none-any.whl.metadata (3.9 kB) Collecting django-filter==24.3 (from -r requirements.txt (line 4)) Downloading django_filter-24.3-py3-none-any.whl.metadata (5.2 kB) Collecting django-htmx==1.21.0 (from -r requirements.txt (line 5)) Downloading django_htmx-1.21.0-py3-none-any.whl.metadata (2.6 kB) Collecting django-graphiql-debug-toolbar==0.2.0 (from -r requirements.txt (line 6)) Downloading django_graphiql_debug_toolbar-0.2.0-py3-none-any.whl.metadata (3.5 kB) Collecting django-mptt==0.16.0 (from -r requirements.txt (line 7)) Downloading django_mptt-0.16.0-py3-none-any.whl.metadata (5.2 kB) Collecting django-pglocks==1.0.4 (from -r requirements.txt (line 8)) Downloading django-pglocks-1.0.4.tar.gz (4.1 kB) Preparing metadata (setup.py) ... done Collecting django-prometheus==2.3.1 (from -r requirements.txt (line 9)) Downloading django_prometheus-2.3.1-py2.py3-none-any.whl.metadata (9.4 kB) Collecting django-redis==5.4.0 (from -r requirements.txt (line 10)) Downloading django_redis-5.4.0-py3-none-any.whl.metadata (32 kB) Collecting django-rich==1.13.0 (from -r requirements.txt (line 11)) Downloading django_rich-1.13.0-py3-none-any.whl.metadata (7.7 kB) Collecting django-rq==3.0 (from -r requirements.txt (line 12)) Downloading django_rq-3.0.0-py2.py3-none-any.whl.metadata (18 kB) Collecting django-taggit==6.1.0 (from -r requirements.txt (line 13)) Downloading django_taggit-6.1.0-py3-none-any.whl.metadata (3.5 kB) Collecting django-tables2==2.7.5 (from -r requirements.txt (line 14)) Downloading django_tables2-2.7.5-py3-none-any.whl.metadata (6.0 kB) Collecting django-timezone-field==7.0 (from -r requirements.txt (line 15)) Downloading django_timezone_field-7.0-py3-none-any.whl.metadata (12 kB) Collecting djangorestframework==3.15.2 (from -r requirements.txt (line 16)) Downloading djangorestframework-3.15.2-py3-none-any.whl.metadata (10 kB) Collecting drf-spectacular==0.28.0 (from -r requirements.txt (line 17)) Downloading drf_spectacular-0.28.0-py3-none-any.whl.metadata (14 kB) Collecting drf-spectacular-sidecar==2024.12.1 (from -r requirements.txt (line 18)) Downloading drf_spectacular_sidecar-2024.12.1-py3-none-any.whl.metadata (3.4 kB) Collecting feedparser==6.0.11 (from -r requirements.txt (line 19)) Downloading feedparser-6.0.11-py3-none-any.whl.metadata (2.4 kB) Collecting gunicorn==23.0.0 (from -r requirements.txt (line 20)) Downloading gunicorn-23.0.0-py3-none-any.whl.metadata (4.4 kB) Collecting Jinja2==3.1.5 (from -r requirements.txt (line 21)) Downloading jinja2-3.1.5-py3-none-any.whl.metadata (2.6 kB) Collecting Markdown==3.7 (from -r requirements.txt (line 22)) Downloading Markdown-3.7-py3-none-any.whl.metadata (7.0 kB) Collecting mkdocs-material==9.5.49 (from -r requirements.txt (line 23)) Downloading mkdocs_material-9.5.49-py3-none-any.whl.metadata (18 kB) Collecting mkdocstrings==0.27.0 (from mkdocstrings[python-legacy]==0.27.0->-r requirements.txt (line 24)) Downloading mkdocstrings-0.27.0-py3-none-any.whl.metadata (8.1 kB) Collecting netaddr==1.3.0 (from -r requirements.txt (line 25)) Downloading netaddr-1.3.0-py3-none-any.whl.metadata (5.0 kB) Collecting nh3==0.2.20 (from -r requirements.txt (line 26)) Downloading nh3-0.2.20-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.0 kB) Collecting Pillow==11.1.0 (from -r requirements.txt (line 27)) Downloading pillow-11.1.0-cp310-cp310-manylinux_2_28_x86_64.whl.metadata (9.1 kB) Collecting psycopg==3.2.3 (from psycopg[c,pool]==3.2.3->-r requirements.txt (line 28)) Downloading psycopg-3.2.3-py3-none-any.whl.metadata (4.3 kB) Collecting PyYAML==6.0.2 (from -r requirements.txt (line 29)) Downloading PyYAML-6.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.1 kB) Collecting requests==2.32.3 (from -r requirements.txt (line 30)) Downloading requests-2.32.3-py3-none-any.whl.metadata (4.6 kB) Collecting rq==2.1.0 (from -r requirements.txt (line 31)) Downloading rq-2.1.0-py3-none-any.whl.metadata (5.8 kB) Collecting social-auth-app-django==5.4.2 (from -r requirements.txt (line 32)) Downloading social_auth_app_django-5.4.2-py3-none-any.whl.metadata (3.2 kB) Collecting social-auth-core==4.5.4 (from -r requirements.txt (line 33)) Downloading social_auth_core-4.5.4-py3-none-any.whl.metadata (4.1 kB) Collecting strawberry-graphql==0.256.1 (from -r requirements.txt (line 34)) Downloading strawberry_graphql-0.256.1-py3-none-any.whl.metadata (7.5 kB) Collecting strawberry-graphql-django==0.52.0 (from -r requirements.txt (line 35)) Downloading strawberry_graphql_django-0.52.0-py3-none-any.whl.metadata (4.9 kB) Collecting svgwrite==1.4.3 (from -r requirements.txt (line 36)) Downloading svgwrite-1.4.3-py3-none-any.whl.metadata (8.8 kB) Collecting tablib==3.7.0 (from -r requirements.txt (line 37)) Downloading tablib-3.7.0-py3-none-any.whl.metadata (3.8 kB) Collecting tzdata==2024.2 (from -r requirements.txt (line 38)) Downloading tzdata-2024.2-py2.py3-none-any.whl.metadata (1.4 kB) Collecting asgiref<4,>=3.8.1 (from Django==5.1.4->-r requirements.txt (line 1)) Downloading asgiref-3.8.1-py3-none-any.whl.metadata (9.3 kB) Collecting sqlparse>=0.3.1 (from Django==5.1.4->-r requirements.txt (line 1)) Downloading sqlparse-0.5.3-py3-none-any.whl.metadata (3.9 kB) Collecting graphene-django>=2.0.0 (from django-graphiql-debug-toolbar==0.2.0->-r requirements.txt (line 6)) Downloading graphene_django-3.2.3-py2.py3-none-any.whl.metadata (8.2 kB) Collecting django-js-asset (from django-mptt==0.16.0->-r requirements.txt (line 7)) Downloading django_js_asset-3.1.2-py3-none-any.whl.metadata (6.4 kB) Collecting six>=1.0.0 (from django-pglocks==1.0.4->-r requirements.txt (line 8)) Downloading six-1.17.0-py2.py3-none-any.whl.metadata (1.7 kB) Collecting prometheus-client>=0.7 (from django-prometheus==2.3.1->-r requirements.txt (line 9)) Downloading prometheus_client-0.21.1-py3-none-any.whl.metadata (1.8 kB) Collecting redis!=4.0.0,!=4.0.1,>=3 (from django-redis==5.4.0->-r requirements.txt (line 10)) Downloading redis-5.2.1-py3-none-any.whl.metadata (9.1 kB) Collecting rich>=10 (from django-rich==1.13.0->-r requirements.txt (line 11)) Downloading rich-13.9.4-py3-none-any.whl.metadata (18 kB) Collecting uritemplate>=2.0.0 (from drf-spectacular==0.28.0->-r requirements.txt (line 17)) Downloading uritemplate-4.1.1-py2.py3-none-any.whl.metadata (2.9 kB) Collecting jsonschema>=2.6.0 (from drf-spectacular==0.28.0->-r requirements.txt (line 17)) Downloading jsonschema-4.23.0-py3-none-any.whl.metadata (7.9 kB) Collecting inflection>=0.3.1 (from drf-spectacular==0.28.0->-r requirements.txt (line 17)) Downloading inflection-0.5.1-py2.py3-none-any.whl.metadata (1.7 kB) Collecting sgmllib3k (from feedparser==6.0.11->-r requirements.txt (line 19)) Downloading sgmllib3k-1.0.0.tar.gz (5.8 kB) Preparing metadata (setup.py) ... done Collecting packaging (from gunicorn==23.0.0->-r requirements.txt (line 20)) Downloading packaging-24.2-py3-none-any.whl.metadata (3.2 kB) Collecting MarkupSafe>=2.0 (from Jinja2==3.1.5->-r requirements.txt (line 21)) Downloading MarkupSafe-3.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.0 kB) Collecting babel~=2.10 (from mkdocs-material==9.5.49->-r requirements.txt (line 23)) Downloading babel-2.17.0-py3-none-any.whl.metadata (2.0 kB) Collecting colorama~=0.4 (from mkdocs-material==9.5.49->-r requirements.txt (line 23)) Downloading colorama-0.4.6-py2.py3-none-any.whl.metadata (17 kB) Collecting mkdocs-material-extensions~=1.3 (from mkdocs-material==9.5.49->-r requirements.txt (line 23)) Downloading mkdocs_material_extensions-1.3.1-py3-none-any.whl.metadata (6.9 kB) Collecting mkdocs~=1.6 (from mkdocs-material==9.5.49->-r requirements.txt (line 23)) Downloading mkdocs-1.6.1-py3-none-any.whl.metadata (6.0 kB) Collecting paginate~=0.5 (from mkdocs-material==9.5.49->-r requirements.txt (line 23)) Downloading paginate-0.5.7-py2.py3-none-any.whl.metadata (11 kB) Collecting pygments~=2.16 (from mkdocs-material==9.5.49->-r requirements.txt (line 23)) Downloading pygments-2.19.1-py3-none-any.whl.metadata (2.5 kB) Collecting pymdown-extensions~=10.2 (from mkdocs-material==9.5.49->-r requirements.txt (line 23)) Downloading pymdown_extensions-10.14.3-py3-none-any.whl.metadata (3.0 kB) Collecting regex>=2022.4 (from mkdocs-material==9.5.49->-r requirements.txt (line 23)) Downloading regex-2024.11.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (40 kB) Collecting click>=7.0 (from mkdocstrings==0.27.0->mkdocstrings[python-legacy]==0.27.0->-r requirements.txt (line 24)) Downloading click-8.1.8-py3-none-any.whl.metadata (2.3 kB) Collecting mkdocs-autorefs>=1.2 (from mkdocstrings==0.27.0->mkdocstrings[python-legacy]==0.27.0->-r requirements.txt (line 24)) Downloading mkdocs_autorefs-1.4.1-py3-none-any.whl.metadata (13 kB) Collecting platformdirs>=2.2 (from mkdocstrings==0.27.0->mkdocstrings[python-legacy]==0.27.0->-r requirements.txt (line 24)) Downloading platformdirs-4.3.7-py3-none-any.whl.metadata (11 kB) Collecting typing-extensions>=4.6 (from psycopg==3.2.3->psycopg[c,pool]==3.2.3->-r requirements.txt (line 28)) Downloading typing_extensions-4.12.2-py3-none-any.whl.metadata (3.0 kB) Collecting charset-normalizer<4,>=2 (from requests==2.32.3->-r requirements.txt (line 30)) Downloading charset_normalizer-3.4.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (35 kB) Collecting idna<4,>=2.5 (from requests==2.32.3->-r requirements.txt (line 30)) Downloading idna-3.10-py3-none-any.whl.metadata (10 kB) Collecting urllib3<3,>=1.21.1 (from requests==2.32.3->-r requirements.txt (line 30)) Downloading urllib3-2.3.0-py3-none-any.whl.metadata (6.5 kB) Collecting certifi>=2017.4.17 (from requests==2.32.3->-r requirements.txt (line 30)) Downloading certifi-2025.1.31-py3-none-any.whl.metadata (2.5 kB) Collecting oauthlib>=1.0.3 (from social-auth-core==4.5.4->-r requirements.txt (line 33)) Downloading oauthlib-3.2.2-py3-none-any.whl.metadata (7.5 kB) Collecting requests-oauthlib>=0.6.1 (from social-auth-core==4.5.4->-r requirements.txt (line 33)) Downloading requests_oauthlib-2.0.0-py2.py3-none-any.whl.metadata (11 kB) Collecting PyJWT>=2.7.0 (from social-auth-core==4.5.4->-r requirements.txt (line 33)) Downloading PyJWT-2.10.1-py3-none-any.whl.metadata (4.0 kB) Collecting cryptography>=1.4 (from social-auth-core==4.5.4->-r requirements.txt (line 33)) Downloading cryptography-44.0.2-cp39-abi3-manylinux_2_28_x86_64.whl.metadata (5.7 kB) Collecting defusedxml>=0.5.0rc1 (from social-auth-core==4.5.4->-r requirements.txt (line 33)) Downloading defusedxml-0.8.0rc2-py2.py3-none-any.whl.metadata (33 kB) Collecting python3-openid>=3.0.10 (from social-auth-core==4.5.4->-r requirements.txt (line 33)) Downloading python3_openid-3.2.0-py3-none-any.whl.metadata (1.6 kB) Collecting graphql-core<3.4.0,>=3.2.0 (from strawberry-graphql==0.256.1->-r requirements.txt (line 34)) Downloading graphql_core-3.2.6-py3-none-any.whl.metadata (11 kB) Collecting python-dateutil<3.0.0,>=2.7.0 (from strawberry-graphql==0.256.1->-r requirements.txt (line 34)) Downloading python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB) Collecting mkdocstrings-python-legacy>=0.2.1 (from mkdocstrings[python-legacy]==0.27.0->-r requirements.txt (line 24)) Downloading mkdocstrings_python_legacy-0.2.5-py3-none-any.whl.metadata (5.2 kB) Collecting psycopg-c==3.2.3 (from psycopg[c,pool]==3.2.3->-r requirements.txt (line 28)) Downloading psycopg_c-3.2.3.tar.gz (598 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 598.9/598.9 kB 895.1 kB/s eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting psycopg-pool (from psycopg[c,pool]==3.2.3->-r requirements.txt (line 28)) Downloading psycopg_pool-3.2.6-py3-none-any.whl.metadata (2.6 kB) Collecting cffi>=1.12 (from cryptography>=1.4->social-auth-core==4.5.4->-r requirements.txt (line 33)) Downloading cffi-1.17.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (1.5 kB) Collecting graphene<4,>=3.0 (from graphene-django>=2.0.0->django-graphiql-debug-toolbar==0.2.0->-r requirements.txt (line 6)) Downloading graphene-3.4.3-py2.py3-none-any.whl.metadata (6.9 kB) Collecting graphql-relay<4,>=3.1.1 (from graphene-django>=2.0.0->django-graphiql-debug-toolbar==0.2.0->-r requirements.txt (line 6)) Downloading graphql_relay-3.2.0-py3-none-any.whl.metadata (12 kB) Collecting promise>=2.1 (from graphene-django>=2.0.0->django-graphiql-debug-toolbar==0.2.0->-r requirements.txt (line 6)) Downloading promise-2.3.tar.gz (19 kB) Preparing metadata (setup.py) ... done Collecting text-unidecode (from graphene-django>=2.0.0->django-graphiql-debug-toolbar==0.2.0->-r requirements.txt (line 6)) Downloading text_unidecode-1.3-py2.py3-none-any.whl.metadata (2.4 kB) Collecting attrs>=22.2.0 (from jsonschema>=2.6.0->drf-spectacular==0.28.0->-r requirements.txt (line 17)) Downloading attrs-25.3.0-py3-none-any.whl.metadata (10 kB) Collecting jsonschema-specifications>=2023.03.6 (from jsonschema>=2.6.0->drf-spectacular==0.28.0->-r requirements.txt (line 17)) Downloading jsonschema_specifications-2024.10.1-py3-none-any.whl.metadata (3.0 kB) Collecting referencing>=0.28.4 (from jsonschema>=2.6.0->drf-spectacular==0.28.0->-r requirements.txt (line 17)) Downloading referencing-0.36.2-py3-none-any.whl.metadata (2.8 kB) Collecting rpds-py>=0.7.1 (from jsonschema>=2.6.0->drf-spectacular==0.28.0->-r requirements.txt (line 17)) Downloading rpds_py-0.23.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.1 kB) Collecting ghp-import>=1.0 (from mkdocs~=1.6->mkdocs-material==9.5.49->-r requirements.txt (line 23)) Downloading ghp_import-2.1.0-py3-none-any.whl.metadata (7.2 kB) Collecting mergedeep>=1.3.4 (from mkdocs~=1.6->mkdocs-material==9.5.49->-r requirements.txt (line 23)) Downloading mergedeep-1.3.4-py3-none-any.whl.metadata (4.3 kB) Collecting mkdocs-get-deps>=0.2.0 (from mkdocs~=1.6->mkdocs-material==9.5.49->-r requirements.txt (line 23)) Downloading mkdocs_get_deps-0.2.0-py3-none-any.whl.metadata (4.0 kB) Collecting pathspec>=0.11.1 (from mkdocs~=1.6->mkdocs-material==9.5.49->-r requirements.txt (line 23)) Downloading pathspec-0.12.1-py3-none-any.whl.metadata (21 kB) Collecting pyyaml-env-tag>=0.1 (from mkdocs~=1.6->mkdocs-material==9.5.49->-r requirements.txt (line 23)) Downloading pyyaml_env_tag-0.1-py3-none-any.whl.metadata (4.1 kB) Collecting watchdog>=2.0 (from mkdocs~=1.6->mkdocs-material==9.5.49->-r requirements.txt (line 23)) Downloading watchdog-6.0.0-py3-none-manylinux2014_x86_64.whl.metadata (44 kB) INFO: pip is looking at multiple versions of mkdocstrings-python-legacy to determine which version is compatible with other requirements. This could take a while. Collecting mkdocstrings-python-legacy>=0.2.1 (from mkdocstrings[python-legacy]==0.27.0->-r requirements.txt (line 24)) Downloading mkdocstrings_python_legacy-0.2.4-py3-none-any.whl.metadata (5.2 kB) Collecting pytkdocs>=0.14 (from mkdocstrings-python-legacy>=0.2.1->mkdocstrings[python-legacy]==0.27.0->-r requirements.txt (line 24)) Downloading pytkdocs-0.16.5-py3-none-any.whl.metadata (8.7 kB) Collecting async-timeout>=4.0.3 (from redis!=4.0.0,!=4.0.1,>=3->django-redis==5.4.0->-r requirements.txt (line 10)) Downloading async_timeout-5.0.1-py3-none-any.whl.metadata (5.1 kB) Collecting markdown-it-py>=2.2.0 (from rich>=10->django-rich==1.13.0->-r requirements.txt (line 11)) Downloading markdown_it_py-3.0.0-py3-none-any.whl.metadata (6.9 kB) Collecting pycparser (from cffi>=1.12->cryptography>=1.4->social-auth-core==4.5.4->-r requirements.txt (line 33)) Downloading pycparser-2.22-py3-none-any.whl.metadata (943 bytes) Collecting mdurl~=0.1 (from markdown-it-py>=2.2.0->rich>=10->django-rich==1.13.0->-r requirements.txt (line 11)) Downloading mdurl-0.1.2-py3-none-any.whl.metadata (1.6 kB) Downloading Django-5.1.4-py3-none-any.whl (8.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.3/8.3 MB 562.5 kB/s eta 0:00:00 Downloading django_cors_headers-4.6.0-py3-none-any.whl (12 kB) Downloading django_debug_toolbar-4.4.6-py3-none-any.whl (229 kB) Downloading django_filter-24.3-py3-none-any.whl (95 kB) Downloading django_htmx-1.21.0-py3-none-any.whl (6.9 kB) Downloading django_graphiql_debug_toolbar-0.2.0-py3-none-any.whl (7.3 kB) Downloading django_mptt-0.16.0-py3-none-any.whl (115 kB) Downloading django_prometheus-2.3.1-py2.py3-none-any.whl (29 kB) Downloading django_redis-5.4.0-py3-none-any.whl (31 kB) Downloading django_rich-1.13.0-py3-none-any.whl (8.9 kB) Downloading django_rq-3.0.0-py2.py3-none-any.whl (64 kB) Downloading django_taggit-6.1.0-py3-none-any.whl (75 kB) Downloading django_tables2-2.7.5-py3-none-any.whl (95 kB) Downloading django_timezone_field-7.0-py3-none-any.whl (13 kB) Downloading djangorestframework-3.15.2-py3-none-any.whl (1.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 364.6 kB/s eta 0:00:00 Downloading drf_spectacular-0.28.0-py3-none-any.whl (103 kB) Downloading drf_spectacular_sidecar-2024.12.1-py3-none-any.whl (2.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.4/2.4 MB 487.8 kB/s eta 0:00:00 Downloading feedparser-6.0.11-py3-none-any.whl (81 kB) Downloading gunicorn-23.0.0-py3-none-any.whl (85 kB) Downloading jinja2-3.1.5-py3-none-any.whl (134 kB) Downloading Markdown-3.7-py3-none-any.whl (106 kB) Downloading mkdocs_material-9.5.49-py3-none-any.whl (8.7 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.7/8.7 MB 2.5 MB/s eta 0:00:00 Downloading mkdocstrings-0.27.0-py3-none-any.whl (30 kB) Downloading netaddr-1.3.0-py3-none-any.whl (2.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.3/2.3 MB 2.9 MB/s eta 0:00:00 Downloading nh3-0.2.20-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (744 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 744.4/744.4 kB 3.0 MB/s eta 0:00:00 Downloading pillow-11.1.0-cp310-cp310-manylinux_2_28_x86_64.whl (4.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.5/4.5 MB 2.8 MB/s eta 0:00:00 Downloading psycopg-3.2.3-py3-none-any.whl (197 kB) Downloading PyYAML-6.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (751 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 751.2/751.2 kB 2.3 MB/s eta 0:00:00 Downloading requests-2.32.3-py3-none-any.whl (64 kB) Downloading rq-2.1.0-py3-none-any.whl (96 kB) Downloading social_auth_app_django-5.4.2-py3-none-any.whl (27 kB) Downloading social_auth_core-4.5.4-py3-none-any.whl (410 kB) Downloading strawberry_graphql-0.256.1-py3-none-any.whl (295 kB) Downloading strawberry_graphql_django-0.52.0-py3-none-any.whl (92 kB) Downloading svgwrite-1.4.3-py3-none-any.whl (67 kB) Downloading tablib-3.7.0-py3-none-any.whl (47 kB) Downloading tzdata-2024.2-py2.py3-none-any.whl (346 kB) Downloading asgiref-3.8.1-py3-none-any.whl (23 kB) Downloading babel-2.17.0-py3-none-any.whl (10.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.2/10.2 MB 1.4 MB/s eta 0:00:00 Downloading certifi-2025.1.31-py3-none-any.whl (166 kB) Downloading charset_normalizer-3.4.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (146 kB) Downloading click-8.1.8-py3-none-any.whl (98 kB) Downloading colorama-0.4.6-py2.py3-none-any.whl (25 kB) Downloading cryptography-44.0.2-cp39-abi3-manylinux_2_28_x86_64.whl (4.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.2/4.2 MB 2.7 MB/s eta 0:00:00 Downloading defusedxml-0.8.0rc2-py2.py3-none-any.whl (25 kB) Downloading graphene_django-3.2.3-py2.py3-none-any.whl (114 kB) Downloading graphql_core-3.2.6-py3-none-any.whl (203 kB) Downloading idna-3.10-py3-none-any.whl (70 kB) Downloading inflection-0.5.1-py2.py3-none-any.whl (9.5 kB) Downloading jsonschema-4.23.0-py3-none-any.whl (88 kB) Downloading MarkupSafe-3.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (20 kB) Downloading mkdocs-1.6.1-py3-none-any.whl (3.9 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.9/3.9 MB 3.8 MB/s eta 0:00:00 Downloading mkdocs_autorefs-1.4.1-py3-none-any.whl (5.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.8/5.8 MB 5.7 MB/s eta 0:00:00 Downloading mkdocs_material_extensions-1.3.1-py3-none-any.whl (8.7 kB) Downloading mkdocstrings_python_legacy-0.2.4-py3-none-any.whl (27 kB) Downloading oauthlib-3.2.2-py3-none-any.whl (151 kB) Downloading packaging-24.2-py3-none-any.whl (65 kB) Downloading paginate-0.5.7-py2.py3-none-any.whl (13 kB) Downloading platformdirs-4.3.7-py3-none-any.whl (18 kB) Downloading prometheus_client-0.21.1-py3-none-any.whl (54 kB) Downloading pygments-2.19.1-py3-none-any.whl (1.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 8.4 MB/s eta 0:00:00 Downloading PyJWT-2.10.1-py3-none-any.whl (22 kB) Downloading pymdown_extensions-10.14.3-py3-none-any.whl (264 kB) Downloading python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB) Downloading python3_openid-3.2.0-py3-none-any.whl (133 kB) Downloading redis-5.2.1-py3-none-any.whl (261 kB) Downloading regex-2024.11.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (781 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 781.7/781.7 kB 4.7 MB/s eta 0:00:00 Downloading requests_oauthlib-2.0.0-py2.py3-none-any.whl (24 kB) Downloading rich-13.9.4-py3-none-any.whl (242 kB) Downloading six-1.17.0-py2.py3-none-any.whl (11 kB) Downloading sqlparse-0.5.3-py3-none-any.whl (44 kB) Downloading typing_extensions-4.12.2-py3-none-any.whl (37 kB) Downloading uritemplate-4.1.1-py2.py3-none-any.whl (10 kB) Downloading urllib3-2.3.0-py3-none-any.whl (128 kB) Downloading django_js_asset-3.1.2-py3-none-any.whl (5.9 kB) Downloading psycopg_pool-3.2.6-py3-none-any.whl (38 kB) Downloading async_timeout-5.0.1-py3-none-any.whl (6.2 kB) Downloading attrs-25.3.0-py3-none-any.whl (63 kB) Downloading cffi-1.17.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (446 kB) Downloading ghp_import-2.1.0-py3-none-any.whl (11 kB) Downloading graphene-3.4.3-py2.py3-none-any.whl (114 kB) Downloading graphql_relay-3.2.0-py3-none-any.whl (16 kB) Downloading jsonschema_specifications-2024.10.1-py3-none-any.whl (18 kB) Downloading markdown_it_py-3.0.0-py3-none-any.whl (87 kB) Downloading mergedeep-1.3.4-py3-none-any.whl (6.4 kB) Downloading mkdocs_get_deps-0.2.0-py3-none-any.whl (9.5 kB) Downloading pathspec-0.12.1-py3-none-any.whl (31 kB) Downloading pytkdocs-0.16.5-py3-none-any.whl (38 kB) Downloading pyyaml_env_tag-0.1-py3-none-any.whl (3.9 kB) Downloading referencing-0.36.2-py3-none-any.whl (26 kB) Downloading rpds_py-0.23.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (386 kB) Downloading watchdog-6.0.0-py3-none-manylinux2014_x86_64.whl (79 kB) Downloading text_unidecode-1.3-py2.py3-none-any.whl (78 kB) Downloading mdurl-0.1.2-py3-none-any.whl (10.0 kB) Downloading pycparser-2.22-py3-none-any.whl (117 kB) Building wheels for collected packages: django-pglocks, psycopg-c, sgmllib3k, promise Building wheel for django-pglocks (setup.py) ... done Created wheel for django-pglocks: filename=django_pglocks-1.0.4-py3-none-any.whl size=3854 sha256=331c083371309acc6e6e7b418fd068511d09ff4e6fb98605e2cdc66b739607a3 Stored in directory: /tmp/pip-ephem-wheel-cache-7_9qr4t6/wheels/19/64/4e/aa14b57f878bfd7cc9894b0aba7789d382f466dabd0d53761c Building wheel for psycopg-c (pyproject.toml) ... done Created wheel for psycopg-c: filename=psycopg_c-3.2.3-cp310-cp310-linux_x86_64.whl size=2278084 sha256=938cd11eda5cbdbbecb8a304b4df188349f3210c87e876f1375abfcfa3845c9b Stored in directory: /tmp/pip-ephem-wheel-cache-7_9qr4t6/wheels/ac/d8/d4/6e29194faee676194bca92e04439806269ec1578645b9af84a Building wheel for sgmllib3k (setup.py) ... done Created wheel for sgmllib3k: filename=sgmllib3k-1.0.0-py3-none-any.whl size=6047 sha256=f35eae72dfe7bce851de68e10170b9a5cb548f5dcd396d70a66b188ff456b596 Stored in directory: /tmp/pip-ephem-wheel-cache-7_9qr4t6/wheels/f0/69/93/a47e9d621be168e9e33c7ce60524393c0b92ae83cf6c6e89c5 Building wheel for promise (setup.py) ... done Created wheel for promise: filename=promise-2.3-py3-none-any.whl size=21484 sha256=40f777a6e6836c6a810de76bd74e39a3ffcc5892c2757b45c2d3f0772b14b925 Stored in directory: /tmp/pip-ephem-wheel-cache-7_9qr4t6/wheels/54/4e/28/3ed0e1c8a752867445bab994d2340724928aa3ab059c57c8db Successfully built django-pglocks psycopg-c sgmllib3k promise Installing collected packages: text-unidecode, sgmllib3k, paginate, watchdog, urllib3, uritemplate, tzdata, typing-extensions, tablib, svgwrite, sqlparse, six, rpds-py, regex, PyYAML, pytkdocs, PyJWT, pygments, pycparser, psycopg-c, prometheus-client, platformdirs, Pillow, pathspec, packaging, oauthlib, nh3, netaddr, mkdocs-material-extensions, mergedeep, mdurl, MarkupSafe, Markdown, inflection, idna, graphql-core, feedparser, defusedxml, colorama, click, charset-normalizer, certifi, babel, attrs, async-timeout, requests, referencing, redis, pyyaml-env-tag, python3-openid, python-dateutil, pymdown-extensions, psycopg-pool, psycopg, promise, mkdocs-get-deps, markdown-it-py, Jinja2, gunicorn, graphql-relay, django-prometheus, django-pglocks, cffi, asgiref, strawberry-graphql, rq, rich, requests-oauthlib, jsonschema-specifications, graphene, ghp-import, Django, cryptography, strawberry-graphql-django, social-auth-core, mkdocs, jsonschema, graphene-django, drf-spectacular-sidecar, djangorestframework, django-timezone-field, django-taggit, django-tables2, django-rq, django-rich, django-redis, django-js-asset, django-htmx, django-filter, django-debug-toolbar, django-cors-headers, social-auth-app-django, mkdocs-material, mkdocs-autorefs, drf-spectacular, django-mptt, django-graphiql-debug-toolbar, mkdocstrings, mkdocstrings-python-legacy Successfully installed Django-5.1.4 Jinja2-3.1.5 Markdown-3.7 MarkupSafe-3.0.2 Pillow-11.1.0 PyJWT-2.10.1 PyYAML-6.0.2 asgiref-3.8.1 async-timeout-5.0.1 attrs-25.3.0 babel-2.17.0 certifi-2025.1.31 cffi-1.17.1 charset-normalizer-3.4.1 click-8.1.8 colorama-0.4.6 cryptography-44.0.2 defusedxml-0.8.0rc2 django-cors-headers-4.6.0 django-debug-toolbar-4.4.6 django-filter-24.3 django-graphiql-debug-toolbar-0.2.0 django-htmx-1.21.0 django-js-asset-3.1.2 django-mptt-0.16.0 django-pglocks-1.0.4 django-prometheus-2.3.1 django-redis-5.4.0 django-rich-1.13.0 django-rq-3.0.0 django-tables2-2.7.5 django-taggit-6.1.0 django-timezone-field-7.0 djangorestframework-3.15.2 drf-spectacular-0.28.0 drf-spectacular-sidecar-2024.12.1 feedparser-6.0.11 ghp-import-2.1.0 graphene-3.4.3 graphene-django-3.2.3 graphql-core-3.2.6 graphql-relay-3.2.0 gunicorn-23.0.0 idna-3.10 inflection-0.5.1 jsonschema-4.23.0 jsonschema-specifications-2024.10.1 markdown-it-py-3.0.0 mdurl-0.1.2 mergedeep-1.3.4 mkdocs-1.6.1 mkdocs-autorefs-1.4.1 mkdocs-get-deps-0.2.0 mkdocs-material-9.5.49 mkdocs-material-extensions-1.3.1 mkdocstrings-0.27.0 mkdocstrings-python-legacy-0.2.4 netaddr-1.3.0 nh3-0.2.20 oauthlib-3.2.2 packaging-24.2 paginate-0.5.7 pathspec-0.12.1 platformdirs-4.3.7 prometheus-client-0.21.1 promise-2.3 psycopg-3.2.3 psycopg-c-3.2.3 psycopg-pool-3.2.6 pycparser-2.22 pygments-2.19.1 pymdown-extensions-10.14.3 python-dateutil-2.9.0.post0 python3-openid-3.2.0 pytkdocs-0.16.5 pyyaml-env-tag-0.1 redis-5.2.1 referencing-0.36.2 regex-2024.11.6 requests-2.32.3 requests-oauthlib-2.0.0 rich-13.9.4 rpds-py-0.23.1 rq-2.1.0 sgmllib3k-1.0.0 six-1.17.0 social-auth-app-django-5.4.2 social-auth-core-4.5.4 sqlparse-0.5.3 strawberry-graphql-0.256.1 strawberry-graphql-django-0.52.0 svgwrite-1.4.3 tablib-3.7.0 text-unidecode-1.3 typing-extensions-4.12.2 tzdata-2024.2 uritemplate-4.1.1 urllib3-2.3.0 watchdog-6.0.0 Skipping local dependencies (local_requirements.txt not found) Applying database migrations (python3 netbox/manage.py migrate)... Traceback (most recent call last): File "/opt/netbox-4.2.1/netbox/manage.py", line 10, in <module> execute_from_command_line(sys.argv) File "/opt/netbox-4.2.1/venv/lib/python3.10/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line utility.execute() File "/opt/netbox-4.2.1/venv/lib/python3.10/site-packages/django/core/management/__init__.py", line 436, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/opt/netbox-4.2.1/venv/lib/python3.10/site-packages/django/core/management/base.py", line 413, in run_from_argv self.execute(*args, **cmd_options) File "/opt/netbox-4.2.1/venv/lib/python3.10/site-packages/django/core/management/base.py", line 459, in execute output = self.handle(*args, **options) File "/opt/netbox-4.2.1/venv/lib/python3.10/site-packages/django/core/management/base.py", line 107, in wrapper res = handle_func(*args, **kwargs) File "/opt/netbox-4.2.1/venv/lib/python3.10/site-packages/django/core/management/commands/migrate.py", line 101, in handle self.check(databases=[database]) File "/opt/netbox-4.2.1/venv/lib/python3.10/site-packages/django/core/management/base.py", line 486, in check all_issues = checks.run_checks( File "/opt/netbox-4.2.1/venv/lib/python3.10/site-packages/django/core/checks/registry.py", line 88, in run_checks new_errors = check(app_configs=app_configs, databases=databases) File "/opt/netbox-4.2.1/venv/lib/python3.10/site-packages/django/core/checks/urls.py", line 44, in check_url_namespaces_unique all_namespaces = _load_all_namespaces(resolver) File "/opt/netbox-4.2.1/venv/lib/python3.10/site-packages/django/core/checks/urls.py", line 63, in _load_all_namespaces url_patterns = getattr(resolver, "url_patterns", []) File "/opt/netbox-4.2.1/venv/lib/python3.10/site-packages/django/utils/functional.py", line 47, in __get__ res = instance.__dict__[self.name] = self.func(instance) File "/opt/netbox-4.2.1/venv/lib/python3.10/site-packages/django/urls/resolvers.py", line 718, in url_patterns patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module) File "/opt/netbox-4.2.1/venv/lib/python3.10/site-packages/django/utils/functional.py", line 47, in __get__ res = instance.__dict__[self.name] = self.func(instance) File "/opt/netbox-4.2.1/venv/lib/python3.10/site-packages/django/urls/resolvers.py", line 711, in urlconf_module return import_module(self.urlconf_name) File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1050, in _gcd_import File "<frozen importlib._bootstrap>", line 1027, in _find_and_load File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 688, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 883, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/opt/netbox-4.2.1/netbox/netbox/urls.py", line 27, in <module> path('core/', include('core.urls')), File "/opt/netbox-4.2.1/venv/lib/python3.10/site-packages/django/urls/conf.py", line 39, in include urlconf_module = import_module(urlconf_module) File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1050, in _gcd_import File "<frozen importlib._bootstrap>", line 1027, in _find_and_load File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 688, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 883, in exec_module File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed File "/opt/netbox-4.2.1/netbox/core/urls.py", line 4, in <module> from . import views File "/opt/netbox-4.2.1/netbox/core/views.py", line 200, in <module> class ObjectChangeListView(generic.ObjectListView): File "/opt/netbox-4.2.1/netbox/core/views.py", line 201, in ObjectChangeListView queryset = ObjectChange.objects.valid_models() File "/opt/netbox-4.2.1/venv/lib/python3.10/site-packages/django/db/models/manager.py", line 87, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) File "/opt/netbox-4.2.1/netbox/core/querysets.py", line 18, in valid_models content_types = ContentType.objects.get_for_models(*apps.get_models()).values() File "/opt/netbox-4.2.1/venv/lib/python3.10/site-packages/django/contrib/contenttypes/models.py", line 91, in get_for_models for ct in cts: File "/opt/netbox-4.2.1/venv/lib/python3.10/site-packages/django/db/models/query.py", line 400, in __iter__ self._fetch_all() File "/opt/netbox-4.2.1/venv/lib/python3.10/site-packages/django/db/models/query.py", line 1928, in _fetch_all self._result_cache = list(self._iterable_class(self)) File "/opt/netbox-4.2.1/venv/lib/python3.10/site-packages/django/db/models/query.py", line 91, in __iter__ results = compiler.execute_sql( File "/opt/netbox-4.2.1/venv/lib/python3.10/site-packages/django/db/models/sql/compiler.py", line 1572, in execute_sql cursor = self.connection.cursor() File "/opt/netbox-4.2.1/venv/lib/python3.10/site-packages/django/utils/asyncio.py", line 26, in inner return func(*args, **kwargs) File "/opt/netbox-4.2.1/venv/lib/python3.10/site-packages/django/db/backends/base/base.py", line 320, in cursor return self._cursor() File "/opt/netbox-4.2.1/venv/lib/python3.10/site-packages/django/db/backends/base/base.py", line 296, in _cursor self.ensure_connection() File "/opt/netbox-4.2.1/venv/lib/python3.10/site-packages/django/utils/asyncio.py", line 26, in inner return func(*args, **kwargs) File "/opt/netbox-4.2.1/venv/lib/python3.10/site-packages/django/db/backends/base/base.py", line 279, in ensure_connection self.connect() File "/opt/netbox-4.2.1/venv/lib/python3.10/site-packages/django/utils/asyncio.py", line 26, in inner return func(*args, **kwargs) File "/opt/netbox-4.2.1/venv/lib/python3.10/site-packages/django/db/backends/base/base.py", line 258, in connect self.init_connection_state() File "/opt/netbox-4.2.1/venv/lib/python3.10/site-packages/django/db/backends/postgresql/base.py", line 398, in init_connection_state super().init_connection_state() File "/opt/netbox-4.2.1/venv/lib/python3.10/site-packages/django/db/backends/base/base.py", line 225, in init_connection_state self.check_database_version_supported() File "/opt/netbox-4.2.1/venv/lib/python3.10/site-packages/django/db/backends/base/base.py", line 200, in check_database_version_supported raise NotSupportedError( django.db.utils.NotSupportedError: PostgreSQL 13 or later is required (found 12.22).@Remi-2025 commented on GitHub (Mar 20, 2025):
going to 4.1.11 is OK
in fact doc needs to be updated i think
@jeremystretch commented on GitHub (Mar 20, 2025):
The upgrade instructions for NetBox v4.2 very clearly states that PostgreSQL 13 or later is required:
You'll need to upgrade your PostgreSQL database before upgrading to NetBox v4.2. I'd recommend upgrading to PostgreSQL 14 at a minimum as NetBox v4.3 will drop support for PostgreSQL 13.
@Remi-2025 commented on GitHub (Mar 20, 2025):
@Remi-2025 commented on GitHub (Mar 20, 2025):
it is written 12+ not 13
@jeremystretch commented on GitHub (Mar 20, 2025):
Please use the current documentation (linked) when upgrading.
@Remi-2025 commented on GitHub (Mar 20, 2025):
i use this one which seems to be official : https://github.com/netbox-community/netbox/blob/v4.2.1/docs/installation/upgrading.md
@Remi-2025 commented on GitHub (Mar 20, 2025):
as said at the begining i was looking for latest release with psql 12
and check the link i provide it is written 12 and in fact it should not and should be 13
@Remi-2025 commented on GitHub (Mar 20, 2025):
i solve my upgrade by going to 4.1.11
i only speak about doc