netbox-community / netbox

The premier source of truth powering network automation. Open source under Apache 2. Try NetBox Cloud free: https://netboxlabs.com/free-netbox-cloud/
http://netboxlabs.com/oss/netbox/
Apache License 2.0
16.04k stars 2.57k forks source link

v2.8.6 -> 3.1 - Django tried to replace migration dcim.0130_sitegroup with any of [dcim.0003_squashed_0130] but wasn't able to because some of the replaced migrations are already applied. #8961

Closed DrunkMunki closed 2 years ago

DrunkMunki commented 2 years ago

NetBox version

v2.8.6

Python version

3.7

Steps to Reproduce

Upgrade Python 3.6.9 -> 3.9

add-apt-repository ppa:deadsnakes/ppa apt-get install python3.9 python3.9-venv

Confirmed running Postgresql 10

psql --version psql (PostgreSQL) 10.19 (Ubuntu 10.19-0ubuntu0.18.04.1)

Confirm Redis version

redis-server -v Redis server v=4.0.9 sha=00000000:0 malloc=jemalloc-3.6.0 bits=64 build=9435c3c2 879311f3

Move old 2.8.6 version to a new folder

mv /opt/netbox /opt/netbox_old

Create an empy folder

mkdir /opt/netbox drwxr-xr-x 2 root root 4096 Mar 25 04:30 netbox drwxr-xr-x 9 root root 4096 Jun 18 2020 netbox_old

Download latest NetBox

git clone -b master https://github.com/netbox-community/netbox.git .

Copy over settings/configs

cp /opt/netbox_old/local_requirements.txt /opt/netbox/ cp /opt/netbox_old/netbox/netbox/configuration.py /opt/netbox/netbox/netbox/ cp -pr /opt/netbox_old/netbox/media/ /opt/netbox/netbox/ cp -r /opt/netbox_old/netbox/scripts /opt/netbox/netbox/ cp -r /opt/netbox_old/netbox/reports /opt/netbox/netbox/ cp /opt/netbox_old/gunicorn.py /opt/netbox/

Run Upgrade

./upgrade.sh

--- LOG

Using Python 3.9.12 Removing old virtual environment... Creating a new virtual environment at /opt/netbox/venv... Updating pip (pip install --upgrade pip)... Requirement already satisfied: pip in ./venv/lib/python3.9/site-packages (22.0.4) pip 22.0.4 from /opt/netbox/venv/lib/python3.9/site-packages/pip (python 3.9) Installing Python system packages (pip install wheel)... Collecting wheel Downloading wheel-0.37.1-py2.py3-none-any.whl (35 kB) Installing collected packages: wheel Successfully installed wheel-0.37.1 Installing core dependencies (pip install -r requirements.txt)... Collecting Django==3.2.12 Downloading Django-3.2.12-py3-none-any.whl (7.9 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.9/7.9 MB 8.7 MB/s eta 0:00:00 Collecting django-cors-headers==3.11.0 Downloading django_cors_headers-3.11.0-py3-none-any.whl (12 kB) Collecting django-debug-toolbar==3.2.4 Downloading django_debug_toolbar-3.2.4-py3-none-any.whl (216 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 216.6/216.6 KB 2.0 MB/s eta 0:00:00 Collecting django-filter==21.1 Downloading django_filter-21.1-py3-none-any.whl (81 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 81.4/81.4 KB 4.2 MB/s eta 0:00:00 Collecting django-graphiql-debug-toolbar==0.2.0 Downloading django_graphiql_debug_toolbar-0.2.0-py3-none-any.whl (7.3 kB) Collecting django-mptt==0.13.4 Downloading django_mptt-0.13.4-py3-none-any.whl (137 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 137.1/137.1 KB 2.3 MB/s eta 0:00:00 Collecting django-pglocks==1.0.4 Using cached django-pglocks-1.0.4.tar.gz (4.1 kB) Preparing metadata (setup.py) ... done Collecting django-prometheus==2.2.0 Downloading django_prometheus-2.2.0-py2.py3-none-any.whl (29 kB) Collecting django-redis==5.2.0 Downloading django_redis-5.2.0-py3-none-any.whl (30 kB) Collecting django-rq==2.5.1 Downloading django_rq-2.5.1-py2.py3-none-any.whl (48 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.3/48.3 KB 485.1 kB/s eta 0:00:00 Collecting django-tables2==2.4.1 Downloading django_tables2-2.4.1-py2.py3-none-any.whl (93 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 93.1/93.1 KB 976.6 kB/s eta 0:00:00 Collecting django-taggit==2.1.0 Downloading django_taggit-2.1.0-py3-none-any.whl (59 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 59.1/59.1 KB 586.8 kB/s eta 0:00:00 Collecting django-timezone-field==5.0 Downloading django_timezone_field-5.0-py3-none-any.whl (10 kB) Collecting djangorestframework==3.12.4 Downloading djangorestframework-3.12.4-py3-none-any.whl (957 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 957.7/957.7 KB 9.9 MB/s eta 0:00:00 Collecting drf-yasg[validation]==1.20.0 Downloading drf_yasg-1.20.0-py2.py3-none-any.whl (1.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.6/1.6 MB 12.6 MB/s eta 0:00:00 Collecting graphene_django==2.15.0 Downloading graphene_django-2.15.0-py2.py3-none-any.whl (83 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 83.2/83.2 KB 683.4 kB/s eta 0:00:00 Collecting gunicorn==20.1.0 Downloading gunicorn-20.1.0-py3-none-any.whl (79 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 79.5/79.5 KB 803.6 kB/s eta 0:00:00 Collecting Jinja2==3.0.3 Downloading Jinja2-3.0.3-py3-none-any.whl (133 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.6/133.6 KB 1.5 MB/s eta 0:00:00 Collecting Markdown==3.3.6 Downloading Markdown-3.3.6-py3-none-any.whl (97 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 97.8/97.8 KB 684.9 kB/s eta 0:00:00 Collecting markdown-include==0.6.0 Downloading markdown-include-0.6.0.tar.gz (4.7 kB) Preparing metadata (setup.py) ... done Collecting mkdocs-material==8.2.5 Downloading mkdocs_material-8.2.5-py2.py3-none-any.whl (4.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.8/4.8 MB 5.1 MB/s eta 0:00:00 Collecting netaddr==0.8.0 Downloading netaddr-0.8.0-py2.py3-none-any.whl (1.9 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.9/1.9 MB 6.1 MB/s eta 0:00:00 Collecting Pillow==9.0.1 Downloading Pillow-9.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (4.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.3/4.3 MB 9.8 MB/s eta 0:00:00 Collecting psycopg2-binary==2.9.3 Downloading psycopg2_binary-2.9.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 9.2 MB/s eta 0:00:00 Collecting PyYAML==6.0 Downloading PyYAML-6.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (661 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 661.8/661.8 KB 18.2 MB/s eta 0:00:00 Collecting social-auth-app-django==5.0.0 Downloading social_auth_app_django-5.0.0-py3-none-any.whl (24 kB) Collecting social-auth-core==4.2.0 Downloading social_auth_core-4.2.0-py3-none-any.whl (338 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 338.6/338.6 KB 10.8 MB/s eta 0:00:00 Collecting svgwrite==1.4.1 Downloading svgwrite-1.4.1-py3-none-any.whl (66 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 67.0/67.0 KB 2.3 MB/s eta 0:00:00 Collecting tablib==3.2.0 Downloading tablib-3.2.0-py3-none-any.whl (48 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.7/48.7 KB 2.5 MB/s eta 0:00:00 Collecting tzdata==2021.5 Downloading tzdata-2021.5-py2.py3-none-any.whl (339 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 339.4/339.4 KB 7.9 MB/s eta 0:00:00 Collecting jsonschema==3.2.0 Using cached jsonschema-3.2.0-py2.py3-none-any.whl (56 kB) Collecting pytz Downloading pytz-2022.1-py2.py3-none-any.whl (503 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 503.5/503.5 KB 16.4 MB/s eta 0:00:00 Collecting sqlparse>=0.2.2 Downloading sqlparse-0.4.2-py3-none-any.whl (42 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 42.3/42.3 KB 1.9 MB/s eta 0:00:00 Collecting asgiref<4,>=3.3.2 Downloading asgiref-3.5.0-py3-none-any.whl (22 kB) Collecting django-js-asset Downloading django_js_asset-2.0.0-py3-none-any.whl (4.9 kB) Collecting six>=1.0.0 Downloading six-1.16.0-py2.py3-none-any.whl (11 kB) Collecting prometheus-client>=0.7 Downloading prometheus_client-0.13.1-py3-none-any.whl (57 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.1/57.1 KB 2.9 MB/s eta 0:00:00 Collecting redis!=4.0.0,!=4.0.1,>=3 Downloading redis-4.2.0-py3-none-any.whl (225 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 225.5/225.5 KB 8.6 MB/s eta 0:00:00 Collecting rq>=1.2 Downloading rq-1.10.1-py2.py3-none-any.whl (70 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 70.4/70.4 KB 2.4 MB/s eta 0:00:00 Collecting coreschema>=0.0.4 Using cached coreschema-0.0.4.tar.gz (10 kB) Preparing metadata (setup.py) ... done Collecting coreapi>=2.3.3 Using cached coreapi-2.3.3-py2.py3-none-any.whl (25 kB) Collecting packaging Downloading packaging-21.3-py3-none-any.whl (40 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.8/40.8 KB 2.2 MB/s eta 0:00:00 Collecting ruamel.yaml>=0.15.34 Downloading ruamel.yaml-0.17.21-py3-none-any.whl (109 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 109.5/109.5 KB 3.8 MB/s eta 0:00:00 Collecting inflection>=0.3.1 Downloading inflection-0.5.1-py2.py3-none-any.whl (9.5 kB) Collecting uritemplate>=3.0.0 Downloading uritemplate-4.1.1-py2.py3-none-any.whl (10 kB) Collecting swagger-spec-validator>=2.1.0 Downloading swagger_spec_validator-2.7.4-py2.py3-none-any.whl (27 kB) Collecting singledispatch>=3.4.0.3 Downloading singledispatch-3.7.0-py2.py3-none-any.whl (9.2 kB) Collecting promise>=2.1 Downloading promise-2.3.tar.gz (19 kB) Preparing metadata (setup.py) ... done Collecting text-unidecode Downloading text_unidecode-1.3-py2.py3-none-any.whl (78 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.2/78.2 KB 5.6 MB/s eta 0:00:00 Collecting graphql-core<3,>=2.1.0 Downloading graphql_core-2.3.2-py2.py3-none-any.whl (252 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 252.5/252.5 KB 13.4 MB/s eta 0:00:00 Collecting graphene<3,>=2.1.7 Downloading graphene-2.1.9-py2.py3-none-any.whl (107 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 107.4/107.4 KB 3.6 MB/s eta 0:00:00 Requirement already satisfied: setuptools>=3.0 in ./venv/lib/python3.9/site-packages (from gunicorn==20.1.0->-r requirements.txt (li ne 17)) (58.1.0) Collecting MarkupSafe>=2.0 Downloading MarkupSafe-2.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB) Collecting importlib-metadata>=4.4 Downloading importlib_metadata-4.11.3-py3-none-any.whl (18 kB) Collecting pymdown-extensions>=9.0 Downloading pymdown_extensions-9.3-py3-none-any.whl (216 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 216.3/216.3 KB 9.1 MB/s eta 0:00:00 Collecting pygments>=2.10 Downloading Pygments-2.11.2-py3-none-any.whl (1.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 16.6 MB/s eta 0:00:00 Collecting mkdocs>=1.2.3 Downloading mkdocs-1.2.3-py3-none-any.whl (6.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.4/6.4 MB 11.0 MB/s eta 0:00:00 Collecting mkdocs-material-extensions>=1.0 Downloading mkdocs_material_extensions-1.0.3-py3-none-any.whl (8.1 kB) Collecting requests-oauthlib>=0.6.1 Downloading requests_oauthlib-1.3.1-py2.py3-none-any.whl (23 kB) Collecting PyJWT>=2.0.0 Downloading PyJWT-2.3.0-py3-none-any.whl (16 kB) Collecting cryptography>=1.4 Downloading cryptography-36.0.2-cp36-abi3-manylinux_2_24_x86_64.whl (3.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.6/3.6 MB 11.7 MB/s eta 0:00:00 Collecting requests>=2.9.1 Downloading requests-2.27.1-py2.py3-none-any.whl (63 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 63.1/63.1 KB 1.5 MB/s eta 0:00:00 Collecting defusedxml>=0.5.0rc1 Downloading defusedxml-0.7.1-py2.py3-none-any.whl (25 kB) Collecting python3-openid>=3.0.10 Downloading python3_openid-3.2.0-py3-none-any.whl (133 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.7/133.7 KB 3.2 MB/s eta 0:00:00 Collecting oauthlib>=1.0.3 Downloading oauthlib-3.2.0-py3-none-any.whl (151 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 151.5/151.5 KB 5.5 MB/s eta 0:00:00 Collecting pyrsistent>=0.14.0 Downloading pyrsistent-0.18.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (115 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 115.6/115.6 KB 4.4 MB/s eta 0:00:00 Collecting attrs>=17.4.0 Downloading attrs-21.4.0-py2.py3-none-any.whl (60 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.6/60.6 KB 1.6 MB/s eta 0:00:00 Collecting itypes Using cached itypes-1.2.0-py2.py3-none-any.whl (4.8 kB) Collecting cffi>=1.12 Downloading cffi-1.15.0-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (444 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 444.3/444.3 KB 12.2 MB/s eta 0:00:00 Collecting aniso8601<=7,>=3 Downloading aniso8601-7.0.0-py2.py3-none-any.whl (42 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 42.0/42.0 KB 1.2 MB/s eta 0:00:00 Collecting graphql-relay<3,>=2 Downloading graphql_relay-2.0.1-py3-none-any.whl (20 kB) Collecting rx<2,>=1.6 Downloading Rx-1.6.1-py2.py3-none-any.whl (179 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 179.4/179.4 KB 7.3 MB/s eta 0:00:00 Collecting zipp>=0.5 Downloading zipp-3.7.0-py3-none-any.whl (5.3 kB) Collecting pyyaml-env-tag>=0.1 Downloading pyyaml_env_tag-0.1-py3-none-any.whl (3.9 kB) Collecting watchdog>=2.0 Downloading watchdog-2.1.6-py3-none-manylinux2014_x86_64.whl (76 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 76.5/76.5 KB 4.9 MB/s eta 0:00:00 Collecting ghp-import>=1.0 Downloading ghp_import-2.0.2-py3-none-any.whl (11 kB) Collecting mergedeep>=1.3.4 Downloading mergedeep-1.3.4-py3-none-any.whl (6.4 kB) Collecting click>=3.3 Downloading click-8.0.4-py3-none-any.whl (97 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 97.5/97.5 KB 3.6 MB/s eta 0:00:00 Collecting pyparsing!=3.0.5,>=2.0.2 Downloading pyparsing-3.0.7-py3-none-any.whl (98 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 98.0/98.0 KB 4.2 MB/s eta 0:00:00 Collecting async-timeout>=4.0.2 Downloading async_timeout-4.0.2-py3-none-any.whl (5.8 kB) Collecting deprecated>=1.2.3 Downloading Deprecated-1.2.13-py2.py3-none-any.whl (9.6 kB) Collecting typing-extensions Downloading typing_extensions-4.1.1-py3-none-any.whl (26 kB) Collecting idna<4,>=2.5 Downloading idna-3.3-py3-none-any.whl (61 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.2/61.2 KB 2.5 MB/s eta 0:00:00 Collecting certifi>=2017.4.17 Downloading certifi-2021.10.8-py2.py3-none-any.whl (149 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 149.2/149.2 KB 5.8 MB/s eta 0:00:00 Collecting charset-normalizer~=2.0.0 Downloading charset_normalizer-2.0.12-py3-none-any.whl (39 kB) Collecting urllib3<1.27,>=1.21.1 Downloading urllib3-1.26.9-py2.py3-none-any.whl (138 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 139.0/139.0 KB 2.1 MB/s eta 0:00:00 Collecting ruamel.yaml.clib>=0.2.6 Downloading ruamel.yaml.clib-0.2.6-cp39-cp39-manylinux1_x86_64.whl (539 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 539.7/539.7 KB 13.7 MB/s eta 0:00:00 Collecting pycparser Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.7/118.7 KB 5.0 MB/s eta 0:00:00 Collecting wrapt<2,>=1.10 Downloading wrapt-1.14.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (77 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 77.7/77.7 KB 2.7 MB/s eta 0:00:00 Collecting python-dateutil>=2.8.1 Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 247.7/247.7 KB 6.7 MB/s eta 0:00:00 Building wheels for collected packages: django-pglocks, markdown-include, coreschema, 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=3875 sha256=b1de4147bf419b779f299cfdd47710c8 d9ffcd9c0d889137f7fd7c50f4959fb7 Stored in directory: /root/.cache/pip/wheels/54/e4/cd/ef2952231e7b10f1b2fbe71a5cd948664a245a1b9cb71bed31 Building wheel for markdown-include (setup.py) ... done Created wheel for markdown-include: filename=markdown_include-0.6.0-py3-none-any.whl size=4589 sha256=a1f69b6a15a4df84f3eabf866a89 d2d80156ce3d19689941096133a0c73ef3c5 Stored in directory: /root/.cache/pip/wheels/46/e7/3c/4b1a286d62030d5b83c0d3b1edbe3fc75837d73e2374806fcf Building wheel for coreschema (setup.py) ... done Created wheel for coreschema: filename=coreschema-0.0.4-py3-none-any.whl size=15029 sha256=25084822e69f79a7c0b93e6715f20df4715777e 2258e7e2c4d145f86981c2747 Stored in directory: /root/.cache/pip/wheels/14/d2/2e/b54b3aa0f4d8a9f7bd628dc0ac5edb277e5ce42e45bd89dacd Building wheel for promise (setup.py) ... done Created wheel for promise: filename=promise-2.3-py3-none-any.whl size=21503 sha256=5c2b28ba456c63fd486d57a896be37fa9b3905cd0603f41 a4626cdee06e9ee86 Stored in directory: /root/.cache/pip/wheels/e1/e8/83/ddea66100678d139b14bc87692ece57c6a2a937956d2532608 Successfully built django-pglocks markdown-include coreschema promise Installing collected packages: text-unidecode, rx, pytz, netaddr, itypes, certifi, aniso8601, zipp, wrapt, watchdog, urllib3, uritem plate, tzdata, typing-extensions, tablib, svgwrite, sqlparse, six, ruamel.yaml.clib, PyYAML, pyrsistent, pyparsing, PyJWT, pygments, pycparser, psycopg2-binary, prometheus-client, Pillow, oauthlib, mkdocs-material-extensions, mergedeep, MarkupSafe, inflection, idn a, gunicorn, django-timezone-field, defusedxml, click, charset-normalizer, attrs, async-timeout, asgiref, singledispatch, ruamel.yam l, requests, pyyaml-env-tag, python3-openid, python-dateutil, promise, packaging, jsonschema, Jinja2, importlib-metadata, django-pro metheus, django-pglocks, Django, deprecated, cffi, swagger-spec-validator, requests-oauthlib, redis, Markdown, graphql-core, ghp-imp ort, djangorestframework, django-taggit, django-tables2, django-js-asset, django-filter, django-debug-toolbar, django-cors-headers, cryptography, coreschema, social-auth-core, rq, pymdown-extensions, mkdocs, markdown-include, graphql-relay, django-redis, django-mp tt, coreapi, social-auth-app-django, mkdocs-material, graphene, drf-yasg, django-rq, graphene_django, django-graphiql-debug-toolbar Successfully installed Django-3.2.12 Jinja2-3.0.3 Markdown-3.3.6 MarkupSafe-2.1.1 Pillow-9.0.1 PyJWT-2.3.0 PyYAML-6.0 aniso8601-7.0.0 asgiref-3.5.0 async-timeout-4.0.2 attrs-21.4.0 certifi-2021.10.8 cffi-1.15.0 charset-normalizer-2.0.12 click-8.0.4 coreapi-2.3.3 coreschema-0.0.4 cryptography-36.0.2 defusedxml-0.7.1 deprecated-1.2.13 django-cors-headers-3.11.0 django-debug-toolbar-3.2.4 django-filter-21.1 django-graphiql-debug-toolbar-0.2.0 django-js-asset-2.0.0 django-mptt-0.13.4 django-pglocks-1.0.4 django-prometheus-2.2.0 django-redis-5.2.0 django-rq-2.5.1 django-tables2-2.4.1 django-taggit-2.1.0 django-timezone-field-5.0 djangorestframework-3.12.4 drf-yasg-1.20.0 ghp-import-2.0.2 graphene-2.1.9 graphene_django-2.15.0 graphql-core-2.3.2 graphql-relay-2.0.1 gunicorn-20.1.0 idna-3.3 importlib-metadata-4.11.3 inflection-0.5.1 itypes-1.2.0 jsonschema-3.2.0 markdown-include-0.6.0 mergedeep-1.3.4 mkdocs-1.2.3 mkdocs-material-8.2.5 mkdocs-material-extensions-1.0.3 netaddr-0.8.0 oauthlib-3.2.0 packaging-21.3 prometheus-client-0.13.1 promise-2.3 psycopg2-binary-2.9.3 pycparser-2.21 pygments-2.11.2 pymdown-extensions-9.3 pyparsing-3.0.7 pyrsistent-0.18.1 python-dateutil-2.8.2 python3-openid-3.2.0 pytz-2022.1 pyyaml-env-tag-0.1 redis-4.2.0 requests-2.27.1 requests-oauthlib-1.3.1 rq-1.10.1 ruamel.yaml-0.17.21 ruamel.yaml.clib-0.2.6 rx-1.6.1 singledispatch-3.7.0 six-1.16.0 social-auth-app-django-5.0.0 social-auth-core-4.2.0 sqlparse-0.4.2 svgwrite-1.4.1 swagger-spec-validator-2.7.4 tablib-3.2.0 text-unidecode-1.3 typing-extensions-4.1.1 tzdata-2021.5 uritemplate-4.1.1 urllib3-1.26.9 watchdog-2.1.6 wrapt-1.14.0 zipp-3.7.0 Installing local dependencies (pip install -r local_requirements.txt)... Collecting napalm Downloading napalm-3.4.0-py2.py3-none-any.whl (256 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 256.8/256.8 KB 4.0 MB/s eta 0:00:00 Collecting django-storages Downloading django_storages-1.12.3-py3-none-any.whl (44 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 45.0/45.0 KB 645.6 kB/s eta 0:00:00 Collecting junos-eznc>=2.2.1 Downloading junos_eznc-2.6.3-py2.py3-none-any.whl (196 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 196.7/196.7 KB 2.6 MB/s eta 0:00:00 Requirement already satisfied: setuptools>=38.4.0 in ./venv/lib/python3.9/site-packages (from napalm->-r local_requirements.txt (line 1)) (58.1.0) Requirement already satisfied: pyYAML in ./venv/lib/python3.9/site-packages (from napalm->-r local_requirements.txt (line 1)) (6.0) Collecting ncclient Downloading ncclient-0.6.12.tar.gz (106 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 106.3/106.3 KB 1.3 MB/s eta 0:00:00 Preparing metadata (setup.py) ... done Collecting pyeapi>=0.8.2 Downloading pyeapi-0.8.4.tar.gz (138 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 138.1/138.1 KB 6.1 MB/s eta 0:00:00 Preparing metadata (setup.py) ... done Collecting netmiko<4.0.0,>=3.3.0 Downloading netmiko-3.4.0-py3-none-any.whl (178 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 178.9/178.9 KB 3.0 MB/s eta 0:00:00 Collecting ciscoconfparse Downloading ciscoconfparse-1.6.40-py3-none-any.whl (136 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 136.4/136.4 KB 4.9 MB/s eta 0:00:00 Collecting paramiko>=2.6.0 Downloading paramiko-2.10.3-py2.py3-none-any.whl (211 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 211.9/211.9 KB 5.1 MB/s eta 0:00:00 Requirement already satisfied: cffi>=1.11.3 in ./venv/lib/python3.9/site-packages (from napalm->-r local_requirements.txt (line 1)) (1.15.0) Collecting scp Downloading scp-0.14.4-py2.py3-none-any.whl (8.6 kB) Requirement already satisfied: netaddr in ./venv/lib/python3.9/site-packages (from napalm->-r local_requirements.txt (line 1)) (0.8.0) Requirement already satisfied: requests>=2.7.0 in ./venv/lib/python3.9/site-packages (from napalm->-r local_requirements.txt (line 1)) (2.27.1) Requirement already satisfied: jinja2 in ./venv/lib/python3.9/site-packages (from napalm->-r local_requirements.txt (line 1)) (3.0.3) Collecting lxml>=4.3.0 Downloading lxml-4.8.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (6.9 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.9/6.9 MB 9.1 MB/s eta 0:00:00 Collecting future Using cached future-0.18.2.tar.gz (829 kB) Preparing metadata (setup.py) ... done Collecting textfsm Downloading textfsm-1.1.2-py2.py3-none-any.whl (44 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 44.7/44.7 KB 630.3 kB/s eta 0:00:00 Requirement already satisfied: Django>=2.2 in ./venv/lib/python3.9/site-packages (from django-storages->-r local_requirements.txt (line 2)) (3.2.12) Requirement already satisfied: pycparser in ./venv/lib/python3.9/site-packages (from cffi>=1.11.3->napalm->-r local_requirements.txt (line 1)) (2.21) Requirement already satisfied: asgiref<4,>=3.3.2 in ./venv/lib/python3.9/site-packages (from Django>=2.2->django-storages->-r local_requirements.txt (line 2)) (3.5.0) Requirement already satisfied: sqlparse>=0.2.2 in ./venv/lib/python3.9/site-packages (from Django>=2.2->django-storages->-r local_requirements.txt (line 2)) (0.4.2) Requirement already satisfied: pytz in ./venv/lib/python3.9/site-packages (from Django>=2.2->django-storages->-r local_requirements.txt (line 2)) (2022.1) Requirement already satisfied: six in ./venv/lib/python3.9/site-packages (from junos-eznc>=2.2.1->napalm->-r local_requirements.txt (line 1)) (1.16.0) Collecting transitions Downloading transitions-0.8.11-py2.py3-none-any.whl (83 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 83.9/83.9 KB 2.8 MB/s eta 0:00:00 Collecting yamlordereddictloader Using cached yamlordereddictloader-0.4.0.tar.gz (3.3 kB) Preparing metadata (setup.py) ... done Collecting ncclient Downloading ncclient-0.6.9.tar.gz (118 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.1/118.1 KB 1.3 MB/s eta 0:00:00 Preparing metadata (setup.py) ... done Collecting pyserial Downloading pyserial-3.5-py2.py3-none-any.whl (90 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.6/90.6 KB 1.7 MB/s eta 0:00:00 Requirement already satisfied: pyparsing in ./venv/lib/python3.9/site-packages (from junos-eznc>=2.2.1->napalm->-r local_requirements.txt (line 1)) (3.0.7) Requirement already satisfied: MarkupSafe>=2.0 in ./venv/lib/python3.9/site-packages (from jinja2->napalm->-r local_requirements.txt (line 1)) (2.1.1) Collecting ntc-templates Downloading ntc_templates-3.0.0-py3-none-any.whl (303 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 303.5/303.5 KB 7.0 MB/s eta 0:00:00 Collecting tenacity Downloading tenacity-8.0.1-py3-none-any.whl (24 kB) Requirement already satisfied: cryptography>=2.5 in ./venv/lib/python3.9/site-packages (from paramiko>=2.6.0->napalm->-r local_requirements.txt (line 1)) (36.0.2) Collecting pynacl>=1.0.1 Downloading PyNaCl-1.5.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (856 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 856.7/856.7 KB 11.1 MB/s eta 0:00:00 Collecting bcrypt>=3.1.3 Downloading bcrypt-3.2.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (61 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.9/61.9 KB 1.7 MB/s eta 0:00:00 Requirement already satisfied: idna<4,>=2.5 in ./venv/lib/python3.9/site-packages (from requests>=2.7.0->napalm->-r local_requirements.txt (line 1)) (3.3) Requirement already satisfied: certifi>=2017.4.17 in ./venv/lib/python3.9/site-packages (from requests>=2.7.0->napalm->-r local_requirements.txt (line 1)) (2021.10.8) Requirement already satisfied: charset-normalizer~=2.0.0 in ./venv/lib/python3.9/site-packages (from requests>=2.7.0->napalm->-r local_requirements.txt (line 1)) (2.0.12) Requirement already satisfied: urllib3<1.27,>=1.21.1 in ./venv/lib/python3.9/site-packages (from requests>=2.7.0->napalm->-r local_requirements.txt (line 1)) (1.26.9) Collecting dnspython<3.0.0,>=2.1.0 Downloading dnspython-2.2.1-py3-none-any.whl (269 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 269.1/269.1 KB 2.4 MB/s eta 0:00:00 Collecting loguru==0.6.0 Downloading loguru-0.6.0-py3-none-any.whl (58 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.3/58.3 KB 765.6 kB/s eta 0:00:00 Collecting toml==0.10.2 Downloading toml-0.10.2-py2.py3-none-any.whl (16 kB) Collecting passlib<2.0.0,>=1.7.4 Downloading passlib-1.7.4-py2.py3-none-any.whl (525 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 525.6/525.6 KB 35.1 MB/s eta 0:00:00 Building wheels for collected packages: ncclient, pyeapi, future, yamlordereddictloader Building wheel for ncclient (setup.py) ... done Created wheel for ncclient: filename=ncclient-0.6.9-py2.py3-none-any.whl size=78216 sha256=d54e0f1453fb72772bda917dfe05384668544ec6f9c42040c85998a624f82510 Stored in directory: /root/.cache/pip/wheels/5a/11/63/41a31d9a34e8735a92f50d3ecb5318e5af6febd0bc52e846da Building wheel for pyeapi (setup.py) ... done Created wheel for pyeapi: filename=pyeapi-0.8.4-py3-none-any.whl size=90624 sha256=346da69ed61ce7ae4a3cacdb7594ef14da3452e1be2812c1e358ead02e27a678 Stored in directory: /root/.cache/pip/wheels/ec/16/22/b00b0737cfca0f4da4f33aff6f797b383dc0a5bf4b51017908 Building wheel for future (setup.py) ... done Created wheel for future: filename=future-0.18.2-py3-none-any.whl size=491070 sha256=49ed09c45a6418c251db6e42ef37f022f4eb5345c51de593c874f45fc7f88e81 Stored in directory: /root/.cache/pip/wheels/2f/a0/d3/4030d9f80e6b3be787f19fc911b8e7aa462986a40ab1e4bb94 Building wheel for yamlordereddictloader (setup.py) ... done Created wheel for yamlordereddictloader: filename=yamlordereddictloader-0.4.0-py3-none-any.whl size=4069 sha256=ed47f32820bdf0bbc49e8bb61a12a62f4b59194c6be48d9ac107f4d014260991 Stored in directory: /root/.cache/pip/wheels/26/be/2c/114a2da8d1eca28fc4ec769eab3304e854a8a2b5ca217ff9c5 Successfully built ncclient pyeapi future yamlordereddictloader Installing collected packages: pyserial, passlib, yamlordereddictloader, transitions, toml, tenacity, pyeapi, lxml, loguru, future, dnspython, textfsm, pynacl, django-storages, ciscoconfparse, bcrypt, paramiko, ntc-templates, scp, ncclient, netmiko, junos-eznc, napalm Successfully installed bcrypt-3.2.0 ciscoconfparse-1.6.40 django-storages-1.12.3 dnspython-2.2.1 future-0.18.2 junos-eznc-2.6.3 loguru-0.6.0 lxml-4.8.0 napalm-3.4.0 ncclient-0.6.9 netmiko-3.4.0 ntc-templates-3.0.0 paramiko-2.10.3 passlib-1.7.4 pyeapi-0.8.4 pynacl-1.5.0 pyserial-3.5 scp-0.14.4 tenacity-8.0.1 textfsm-1.1.2 toml-0.10.2 transitions-0.8.11 yamlordereddictloader-0.4.0 Applying database migrations (python3 netbox/manage.py migrate)... /opt/netbox/netbox/netbox/settings.py:57: UserWarning: The CACHE_TIMEOUT configuration parameter was removed in v3.0.0 and no longer has any effect. warnings.warn( /opt/netbox/netbox/netbox/settings.py:61: UserWarning: The RELEASE_CHECK_TIMEOUT configuration parameter was removed in v3.0.0 and no longer has any effect. warnings.warn( Traceback (most recent call last): File "/opt/netbox/venv/lib/python3.9/site-packages/django/db/migrations/loader.py", line 259, in build_graph self.graph.validate_consistency() File "/opt/netbox/venv/lib/python3.9/site-packages/django/db/migrations/graph.py", line 195, in validate_consistency [n.raise_error() for n in self.node_map.values() if isinstance(n, DummyNode)] File "/opt/netbox/venv/lib/python3.9/site-packages/django/db/migrations/graph.py", line 195, in [n.raise_error() for n in self.node_map.values() if isinstance(n, DummyNode)] File "/opt/netbox/venv/lib/python3.9/site-packages/django/db/migrations/graph.py", line 58, in raise_error raise NodeNotFoundError(self.error_message, self.key, origin=self.origin) django.db.migrations.exceptions.NodeNotFoundError: Migration dcim.0131_consoleport_speed dependencies reference nonexistent parent node ('dcim', '0130_sitegroup')

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "/opt/netbox/netbox/manage.py", line 10, in execute_from_command_line(sys.argv) File "/opt/netbox/venv/lib/python3.9/site-packages/django/core/management/init.py", line 419, in execute_from_command_line utility.execute() File "/opt/netbox/venv/lib/python3.9/site-packages/django/core/management/init.py", line 413, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/opt/netbox/venv/lib/python3.9/site-packages/django/core/management/base.py", line 354, in run_from_argv self.execute(*args, cmd_options) File "/opt/netbox/venv/lib/python3.9/site-packages/django/core/management/base.py", line 398, in execute output = self.handle(*args, *options) File "/opt/netbox/venv/lib/python3.9/site-packages/django/core/management/base.py", line 89, in wrapped res = handle_func(args, kwargs) File "/opt/netbox/venv/lib/python3.9/site-packages/django/core/management/commands/migrate.py", line 92, in handle executor = MigrationExecutor(connection, self.migration_progress_callback) File "/opt/netbox/venv/lib/python3.9/site-packages/django/db/migrations/executor.py", line 18, in init self.loader = MigrationLoader(self.connection) File "/opt/netbox/venv/lib/python3.9/site-packages/django/db/migrations/loader.py", line 53, in init self.build_graph() File "/opt/netbox/venv/lib/python3.9/site-packages/django/db/migrations/loader.py", line 276, in build_graph raise NodeNotFoundError( django.db.migrations.exceptions.NodeNotFoundError: Migration dcim.0131_consoleport_speed depends on nonexistent node ('dcim', '0130_sitegroup'). Django tried to replace migration dcim.0130_sitegroup with any of [dcim.0003_squashed_0130] but wasn't able to because some of the replaced migrations are already applied.

Expected Behavior

Netbox was expected to be upgraded.

Observed Behavior

After running upgrade and generating error frontend shows:

Server Error There was a problem with your request. Please contact an administrator.

The complete exception is provided below:

<class 'django.contrib.contenttypes.models.ContentType.DoesNotExist'>

ContentType matching query does not exist.

Python version: 3.9.12 NetBox version: 3.1.9 If further assistance is required, please post to the NetBox discussion forum on GitHub.

DrunkMunki commented 2 years ago

just after ive posted this i found a reference that i need to upgrade to v2.11 before going to v3.. will try that first and update

DrunkMunki commented 2 years ago

Downloaded v2.11 https://github.com/netbox-community/netbox/archive/refs/tags/v2.11.0.tar.gz

Showed an error, not sure what to make of it:

Creating a new virtual environment at /opt/netbox/venv... Updating pip (pip install --upgrade pip)... Requirement already satisfied: pip in ./venv/lib/python3.9/site-packages (22.0.4) pip 22.0.4 from /opt/netbox/venv/lib/python3.9/site-packages/pip (python 3.9) Installing Python system packages (pip install wheel)... Collecting wheel Downloading wheel-0.37.1-py2.py3-none-any.whl (35 kB) Installing collected packages: wheel Successfully installed wheel-0.37.1 Installing core dependencies (pip install -r requirements.txt)... Collecting Django==3.2 Downloading Django-3.2-py3-none-any.whl (7.9 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.9/7.9 MB 11.6 MB/s eta 0:00:00 Collecting django-cacheops==5.1 Downloading django_cacheops-5.1-py2.py3-none-any.whl (38 kB) Collecting django-cors-headers==3.7.0 Downloading django_cors_headers-3.7.0-py3-none-any.whl (12 kB) Collecting django-debug-toolbar==3.2.1 Downloading django_debug_toolbar-3.2.1-py3-none-any.whl (199 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 199.2/199.2 KB 6.1 MB/s eta 0:00:00 Collecting django-filter==2.4.0 Downloading django_filter-2.4.0-py3-none-any.whl (73 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 73.2/73.2 KB 8.6 MB/s eta 0:00:00 Collecting django-mptt==0.12.0 Downloading django_mptt-0.12.0-py2.py3-none-any.whl (111 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 111.2/111.2 KB 10.4 MB/s eta 0:00:00 Collecting django-pglocks==1.0.4 Using cached django-pglocks-1.0.4.tar.gz (4.1 kB) Preparing metadata (setup.py) ... done Collecting django-prometheus==2.1.0 Downloading django_prometheus-2.1.0-py2.py3-none-any.whl (28 kB) Collecting django-rq==2.4.1 Downloading django_rq-2.4.1-py2.py3-none-any.whl (45 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 46.0/46.0 KB 4.8 MB/s eta 0:00:00 Collecting django-tables2==2.3.4 Downloading django_tables2-2.3.4-py2.py3-none-any.whl (91 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 91.6/91.6 KB 9.8 MB/s eta 0:00:00 Collecting django-taggit==1.3.0 Downloading django_taggit-1.3.0-py3-none-any.whl (45 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 45.7/45.7 KB 5.9 MB/s eta 0:00:00 Collecting django-timezone-field==4.1.2 Downloading django_timezone_field-4.1.2-py3-none-any.whl (9.6 kB) Collecting djangorestframework==3.12.4 Downloading djangorestframework-3.12.4-py3-none-any.whl (957 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 957.7/957.7 KB 25.3 MB/s eta 0:00:00 Collecting drf-yasg[validation]==1.20.0 Downloading drf_yasg-1.20.0-py2.py3-none-any.whl (1.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.6/1.6 MB 23.8 MB/s eta 0:00:00 Collecting gunicorn==20.1.0 Downloading gunicorn-20.1.0-py3-none-any.whl (79 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 79.5/79.5 KB 7.5 MB/s eta 0:00:00 Collecting Jinja2==2.11.3 Downloading Jinja2-2.11.3-py2.py3-none-any.whl (125 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 125.7/125.7 KB 11.7 MB/s eta 0:00:00 Collecting Markdown==3.3.4 Downloading Markdown-3.3.4-py3-none-any.whl (97 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 97.6/97.6 KB 9.5 MB/s eta 0:00:00 Collecting netaddr==0.8.0 Downloading netaddr-0.8.0-py2.py3-none-any.whl (1.9 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.9/1.9 MB 19.5 MB/s eta 0:00:00 Collecting Pillow==8.2.0 Downloading Pillow-8.2.0-cp39-cp39-manylinux1_x86_64.whl (3.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 16.0 MB/s eta 0:00:00 Collecting psycopg2-binary==2.8.6 Downloading psycopg2_binary-2.8.6-cp39-cp39-manylinux1_x86_64.whl (3.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 16.0 MB/s eta 0:00:00 Collecting pycryptodome==3.10.1 Downloading pycryptodome-3.10.1-cp35-abi3-manylinux2010_x86_64.whl (1.9 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.9/1.9 MB 15.8 MB/s eta 0:00:00 Collecting PyYAML==5.4.1 Downloading PyYAML-5.4.1-cp39-cp39-manylinux1_x86_64.whl (630 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 630.1/630.1 KB 17.3 MB/s eta 0:00:00 Collecting svgwrite==1.4.1 Downloading svgwrite-1.4.1-py3-none-any.whl (66 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 67.0/67.0 KB 3.8 MB/s eta 0:00:00 Collecting tablib==3.0.0 Downloading tablib-3.0.0-py3-none-any.whl (47 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 47.9/47.9 KB 5.7 MB/s eta 0:00:00 Collecting asgiref<4,>=3.3.2 Downloading asgiref-3.5.0-py3-none-any.whl (22 kB) Collecting sqlparse>=0.2.2 Downloading sqlparse-0.4.2-py3-none-any.whl (42 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 42.3/42.3 KB 4.4 MB/s eta 0:00:00 Collecting pytz Downloading pytz-2022.1-py2.py3-none-any.whl (503 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 503.5/503.5 KB 19.2 MB/s eta 0:00:00 Collecting redis>=3.0.0 Downloading redis-4.2.0-py3-none-any.whl (225 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 225.5/225.5 KB 15.5 MB/s eta 0:00:00 Collecting six>=1.4.0 Downloading six-1.16.0-py2.py3-none-any.whl (11 kB) Collecting funcy<2.0,>=1.8 Downloading funcy-1.17-py2.py3-none-any.whl (33 kB) Collecting django-js-asset Downloading django_js_asset-2.0.0-py3-none-any.whl (4.9 kB) Collecting prometheus-client>=0.7 Downloading prometheus_client-0.13.1-py3-none-any.whl (57 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.1/57.1 KB 7.8 MB/s eta 0:00:00 Collecting rq>=1.2 Downloading rq-1.10.1-py2.py3-none-any.whl (70 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 70.4/70.4 KB 7.6 MB/s eta 0:00:00 Collecting coreapi>=2.3.3 Using cached coreapi-2.3.3-py2.py3-none-any.whl (25 kB) Collecting uritemplate>=3.0.0 Downloading uritemplate-4.1.1-py2.py3-none-any.whl (10 kB) Collecting ruamel.yaml>=0.15.34 Downloading ruamel.yaml-0.17.21-py3-none-any.whl (109 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 109.5/109.5 KB 12.9 MB/s eta 0:00:00 Collecting coreschema>=0.0.4 Using cached coreschema-0.0.4.tar.gz (10 kB) Preparing metadata (setup.py) ... done Collecting packaging Downloading packaging-21.3-py3-none-any.whl (40 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.8/40.8 KB 2.2 MB/s eta 0:00:00 Collecting inflection>=0.3.1 Downloading inflection-0.5.1-py2.py3-none-any.whl (9.5 kB) Collecting swagger-spec-validator>=2.1.0 Downloading swagger_spec_validator-2.7.4-py2.py3-none-any.whl (27 kB) Requirement already satisfied: setuptools>=3.0 in ./venv/lib/python3.9/site-packages (from gunicorn==20.1.0->-r requirements.txt (line 15)) (58.1.0) Collecting MarkupSafe>=0.23 Downloading MarkupSafe-2.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB) Collecting requests Downloading requests-2.27.1-py2.py3-none-any.whl (63 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 63.1/63.1 KB 6.0 MB/s eta 0:00:00 Collecting itypes Using cached itypes-1.2.0-py2.py3-none-any.whl (4.8 kB) Collecting deprecated>=1.2.3 Downloading Deprecated-1.2.13-py2.py3-none-any.whl (9.6 kB) Collecting async-timeout>=4.0.2 Downloading async_timeout-4.0.2-py3-none-any.whl (5.8 kB) Collecting typing-extensions Downloading typing_extensions-4.1.1-py3-none-any.whl (26 kB) Collecting pyparsing!=3.0.5,>=2.0.2 Downloading pyparsing-3.0.7-py3-none-any.whl (98 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 98.0/98.0 KB 6.8 MB/s eta 0:00:00 Collecting click>=5.0.0 Downloading click-8.0.4-py3-none-any.whl (97 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 97.5/97.5 KB 7.5 MB/s eta 0:00:00 Collecting ruamel.yaml.clib>=0.2.6 Downloading ruamel.yaml.clib-0.2.6-cp39-cp39-manylinux1_x86_64.whl (539 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 539.7/539.7 KB 11.7 MB/s eta 0:00:00 Collecting jsonschema Downloading jsonschema-4.4.0-py3-none-any.whl (72 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 72.7/72.7 KB 5.7 MB/s eta 0:00:00 Collecting wrapt<2,>=1.10 Downloading wrapt-1.14.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (77 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 77.7/77.7 KB 7.7 MB/s eta 0:00:00 Collecting attrs>=17.4.0 Downloading attrs-21.4.0-py2.py3-none-any.whl (60 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.6/60.6 KB 5.7 MB/s eta 0:00:00 Collecting pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0 Downloading pyrsistent-0.18.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (115 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 115.6/115.6 KB 9.0 MB/s eta 0:00:00 Collecting charset-normalizer~=2.0.0 Downloading charset_normalizer-2.0.12-py3-none-any.whl (39 kB) Collecting urllib3<1.27,>=1.21.1 Downloading urllib3-1.26.9-py2.py3-none-any.whl (138 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 139.0/139.0 KB 8.5 MB/s eta 0:00:00 Collecting certifi>=2017.4.17 Downloading certifi-2021.10.8-py2.py3-none-any.whl (149 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 149.2/149.2 KB 9.0 MB/s eta 0:00:00 Collecting idna<4,>=2.5 Downloading idna-3.3-py3-none-any.whl (61 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.2/61.2 KB 5.2 MB/s eta 0:00:00 Building wheels for collected packages: django-pglocks, coreschema Building wheel for django-pglocks (setup.py) ... done Created wheel for django-pglocks: filename=django_pglocks-1.0.4-py3-none-any.whl size=3875 sha256=9af5611f20edbc9ef9b3f45bc08673a818c61a67d2e7d28e62aeca5246d9ad29 Stored in directory: /root/.cache/pip/wheels/54/e4/cd/ef2952231e7b10f1b2fbe71a5cd948664a245a1b9cb71bed31 Building wheel for coreschema (setup.py) ... done Created wheel for coreschema: filename=coreschema-0.0.4-py3-none-any.whl size=15029 sha256=30a9a955500c2640ce2ef5e32a104311a23f9e05efae2747ce4bf21f6d30c47e Stored in directory: /root/.cache/pip/wheels/14/d2/2e/b54b3aa0f4d8a9f7bd628dc0ac5edb277e5ce42e45bd89dacd Successfully built django-pglocks coreschema Installing collected packages: pytz, netaddr, itypes, funcy, certifi, wrapt, urllib3, uritemplate, typing-extensions, tablib, svgwrite, sqlparse, six, ruamel.yaml.clib, PyYAML, pyrsistent, pyparsing, pycryptodome, psycopg2-binary, prometheus-client, Pillow, MarkupSafe, Markdown, inflection, idna, gunicorn, click, charset-normalizer, attrs, async-timeout, asgiref, ruamel.yaml, requests, packaging, jsonschema, Jinja2, django-prometheus, django-pglocks, Django, deprecated, swagger-spec-validator, redis, djangorestframework, django-timezone-field, django-taggit, django-tables2, django-js-asset, django-filter, django-debug-toolbar, django-cors-headers, coreschema, rq, django-mptt, django-cacheops, coreapi, drf-yasg, django-rq Successfully installed Django-3.2 Jinja2-2.11.3 Markdown-3.3.4 MarkupSafe-2.1.1 Pillow-8.2.0 PyYAML-5.4.1 asgiref-3.5.0 async-timeout-4.0.2 attrs-21.4.0 certifi-2021.10.8 charset-normalizer-2.0.12 click-8.0.4 coreapi-2.3.3 coreschema-0.0.4 deprecated-1.2.13 django-cacheops-5.1 django-cors-headers-3.7.0 django-debug-toolbar-3.2.1 django-filter-2.4.0 django-js-asset-2.0.0 django-mptt-0.12.0 django-pglocks-1.0.4 django-prometheus-2.1.0 django-rq-2.4.1 django-tables2-2.3.4 django-taggit-1.3.0 django-timezone-field-4.1.2 djangorestframework-3.12.4 drf-yasg-1.20.0 funcy-1.17 gunicorn-20.1.0 idna-3.3 inflection-0.5.1 itypes-1.2.0 jsonschema-4.4.0 netaddr-0.8.0 packaging-21.3 prometheus-client-0.13.1 psycopg2-binary-2.8.6 pycryptodome-3.10.1 pyparsing-3.0.7 pyrsistent-0.18.1 pytz-2022.1 redis-4.2.0 requests-2.27.1 rq-1.10.1 ruamel.yaml-0.17.21 ruamel.yaml.clib-0.2.6 six-1.16.0 sqlparse-0.4.2 svgwrite-1.4.1 swagger-spec-validator-2.7.4 tablib-3.0.0 typing-extensions-4.1.1 uritemplate-4.1.1 urllib3-1.26.9 wrapt-1.14.0 Installing local dependencies (pip install -r local_requirements.txt)... Collecting napalm Downloading napalm-3.4.0-py2.py3-none-any.whl (256 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 256.8/256.8 KB 8.7 MB/s eta 0:00:00 Collecting django-storages Downloading django_storages-1.12.3-py3-none-any.whl (44 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 45.0/45.0 KB 1.2 MB/s eta 0:00:00 Collecting pyeapi>=0.8.2 Downloading pyeapi-0.8.4.tar.gz (138 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 138.1/138.1 KB 13.7 MB/s eta 0:00:00 Preparing metadata (setup.py) ... done Requirement already satisfied: requests>=2.7.0 in ./venv/lib/python3.9/site-packages (from napalm->-r local_requirements.txt (line 1)) (2.27.1) Collecting ncclient Downloading ncclient-0.6.12.tar.gz (106 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 106.3/106.3 KB 13.2 MB/s eta 0:00:00 Preparing metadata (setup.py) ... done Collecting cffi>=1.11.3 Downloading cffi-1.15.0-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (444 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 444.3/444.3 KB 34.7 MB/s eta 0:00:00 Collecting future Using cached future-0.18.2.tar.gz (829 kB) Preparing metadata (setup.py) ... done Collecting netmiko<4.0.0,>=3.3.0 Downloading netmiko-3.4.0-py3-none-any.whl (178 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 178.9/178.9 KB 15.4 MB/s eta 0:00:00 Collecting textfsm Downloading textfsm-1.1.2-py2.py3-none-any.whl (44 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 44.7/44.7 KB 3.2 MB/s eta 0:00:00 Collecting paramiko>=2.6.0 Downloading paramiko-2.10.3-py2.py3-none-any.whl (211 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 211.9/211.9 KB 14.4 MB/s eta 0:00:00 Collecting ciscoconfparse Downloading ciscoconfparse-1.6.40-py3-none-any.whl (136 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 136.4/136.4 KB 12.8 MB/s eta 0:00:00 Collecting scp Downloading scp-0.14.4-py2.py3-none-any.whl (8.6 kB) Requirement already satisfied: jinja2 in ./venv/lib/python3.9/site-packages (from napalm->-r local_requirements.txt (line 1)) (2.11.3) Requirement already satisfied: netaddr in ./venv/lib/python3.9/site-packages (from napalm->-r local_requirements.txt (line 1)) (0.8.0) Requirement already satisfied: setuptools>=38.4.0 in ./venv/lib/python3.9/site-packages (from napalm->-r local_requirements.txt (line 1)) (58.1.0) Requirement already satisfied: pyYAML in ./venv/lib/python3.9/site-packages (from napalm->-r local_requirements.txt (line 1)) (5.4.1) Collecting junos-eznc>=2.2.1 Downloading junos_eznc-2.6.3-py2.py3-none-any.whl (196 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 196.7/196.7 KB 20.4 MB/s eta 0:00:00 Collecting lxml>=4.3.0 Downloading lxml-4.8.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (6.9 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.9/6.9 MB 11.4 MB/s eta 0:00:00 Requirement already satisfied: Django>=2.2 in ./venv/lib/python3.9/site-packages (from django-storages->-r local_requirements.txt (line 2)) (3.2) Collecting pycparser Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.7/118.7 KB 8.3 MB/s eta 0:00:00 Requirement already satisfied: pytz in ./venv/lib/python3.9/site-packages (from Django>=2.2->django-storages->-r local_requirements.txt (line 2)) (2022.1) Requirement already satisfied: asgiref<4,>=3.3.2 in ./venv/lib/python3.9/site-packages (from Django>=2.2->django-storages->-r local_requirements.txt (line 2)) (3.5.0) Requirement already satisfied: sqlparse>=0.2.2 in ./venv/lib/python3.9/site-packages (from Django>=2.2->django-storages->-r local_requirements.txt (line 2)) (0.4.2) Requirement already satisfied: six in ./venv/lib/python3.9/site-packages (from junos-eznc>=2.2.1->napalm->-r local_requirements.txt (line 1)) (1.16.0) Collecting yamlordereddictloader Using cached yamlordereddictloader-0.4.0.tar.gz (3.3 kB) Preparing metadata (setup.py) ... done Requirement already satisfied: pyparsing in ./venv/lib/python3.9/site-packages (from junos-eznc>=2.2.1->napalm->-r local_requirements.txt (line 1)) (3.0.7) Collecting ncclient Downloading ncclient-0.6.9.tar.gz (118 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.1/118.1 KB 7.0 MB/s eta 0:00:00 Preparing metadata (setup.py) ... done Collecting transitions Downloading transitions-0.8.11-py2.py3-none-any.whl (83 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 83.9/83.9 KB 8.3 MB/s eta 0:00:00 Collecting pyserial Downloading pyserial-3.5-py2.py3-none-any.whl (90 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.6/90.6 KB 7.6 MB/s eta 0:00:00 Requirement already satisfied: MarkupSafe>=0.23 in ./venv/lib/python3.9/site-packages (from jinja2->napalm->-r local_requirements.txt (line 1)) (2.1.1) Collecting tenacity Downloading tenacity-8.0.1-py3-none-any.whl (24 kB) Collecting ntc-templates Downloading ntc_templates-3.0.0-py3-none-any.whl (303 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 303.5/303.5 KB 16.4 MB/s eta 0:00:00 Collecting cryptography>=2.5 Downloading cryptography-36.0.2-cp36-abi3-manylinux_2_24_x86_64.whl (3.6 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.6/3.6 MB 13.3 MB/s eta 0:00:00 Collecting pynacl>=1.0.1 Downloading PyNaCl-1.5.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (856 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 856.7/856.7 KB 16.6 MB/s eta 0:00:00 Collecting bcrypt>=3.1.3 Downloading bcrypt-3.2.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (61 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.9/61.9 KB 8.2 MB/s eta 0:00:00 Requirement already satisfied: charset-normalizer~=2.0.0 in ./venv/lib/python3.9/site-packages (from requests>=2.7.0->napalm->-r local_requirements.txt (line 1)) (2.0.12) Requirement already satisfied: idna<4,>=2.5 in ./venv/lib/python3.9/site-packages (from requests>=2.7.0->napalm->-r local_requirements.txt (line 1)) (3.3) Requirement already satisfied: urllib3<1.27,>=1.21.1 in ./venv/lib/python3.9/site-packages (from requests>=2.7.0->napalm->-r local_requirements.txt (line 1)) (1.26.9) Requirement already satisfied: certifi>=2017.4.17 in ./venv/lib/python3.9/site-packages (from requests>=2.7.0->napalm->-r local_requirements.txt (line 1)) (2021.10.8) Collecting passlib<2.0.0,>=1.7.4 Downloading passlib-1.7.4-py2.py3-none-any.whl (525 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 525.6/525.6 KB 21.6 MB/s eta 0:00:00 Collecting loguru==0.6.0 Downloading loguru-0.6.0-py3-none-any.whl (58 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.3/58.3 KB 9.7 MB/s eta 0:00:00 Collecting dnspython<3.0.0,>=2.1.0 Downloading dnspython-2.2.1-py3-none-any.whl (269 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 269.1/269.1 KB 15.3 MB/s eta 0:00:00 Collecting toml==0.10.2 Downloading toml-0.10.2-py2.py3-none-any.whl (16 kB) Building wheels for collected packages: ncclient, pyeapi, future, yamlordereddictloader Building wheel for ncclient (setup.py) ... done Created wheel for ncclient: filename=ncclient-0.6.9-py2.py3-none-any.whl size=78216 sha256=f7ca1f54e9cdbc2a12e8b08212c70b37b81bf7440cb7a75cdd4a8dd2f2dffb9c Stored in directory: /root/.cache/pip/wheels/5a/11/63/41a31d9a34e8735a92f50d3ecb5318e5af6febd0bc52e846da Building wheel for pyeapi (setup.py) ... done Created wheel for pyeapi: filename=pyeapi-0.8.4-py3-none-any.whl size=90624 sha256=5266453eabff69fc4cb71e1a776ca4cee5a74b7c2360510a4a70a8f7d73b38e5 Stored in directory: /root/.cache/pip/wheels/ec/16/22/b00b0737cfca0f4da4f33aff6f797b383dc0a5bf4b51017908 Building wheel for future (setup.py) ... done Created wheel for future: filename=future-0.18.2-py3-none-any.whl size=491070 sha256=04e0444e53b70fdd1514d66e15d99b149aa365651678cb3fee770ef14ee68312 Stored in directory: /root/.cache/pip/wheels/2f/a0/d3/4030d9f80e6b3be787f19fc911b8e7aa462986a40ab1e4bb94 Building wheel for yamlordereddictloader (setup.py) ... done Created wheel for yamlordereddictloader: filename=yamlordereddictloader-0.4.0-py3-none-any.whl size=4069 sha256=e9e74dc33d1feae8c31ffec498bcf99efacd1c83c727e1af65b16fd9afa165ed Stored in directory: /root/.cache/pip/wheels/26/be/2c/114a2da8d1eca28fc4ec769eab3304e854a8a2b5ca217ff9c5 Successfully built ncclient pyeapi future yamlordereddictloader Installing collected packages: pyserial, passlib, yamlordereddictloader, transitions, toml, tenacity, pyeapi, pycparser, lxml, loguru, future, dnspython, textfsm, django-storages, ciscoconfparse, cffi, pynacl, ntc-templates, cryptography, bcrypt, paramiko, scp, ncclient, netmiko, junos-eznc, napalm Successfully installed bcrypt-3.2.0 cffi-1.15.0 ciscoconfparse-1.6.40 cryptography-36.0.2 django-storages-1.12.3 dnspython-2.2.1 future-0.18.2 junos-eznc-2.6.3 loguru-0.6.0 lxml-4.8.0 napalm-3.4.0 ncclient-0.6.9 netmiko-3.4.0 ntc-templates-3.0.0 paramiko-2.10.3 passlib-1.7.4 pycparser-2.21 pyeapi-0.8.4 pynacl-1.5.0 pyserial-3.5 scp-0.14.4 tenacity-8.0.1 textfsm-1.1.2 toml-0.10.2 transitions-0.8.11 yamlordereddictloader-0.4.0 Applying database migrations (python3 netbox/manage.py migrate)... Traceback (most recent call last): File "/opt/netbox/netbox/manage.py", line 10, in execute_from_command_line(sys.argv) File "/opt/netbox/venv/lib/python3.9/site-packages/django/core/management/init.py", line 419, in execute_from_command_line utility.execute() File "/opt/netbox/venv/lib/python3.9/site-packages/django/core/management/init.py", line 395, in execute django.setup() File "/opt/netbox/venv/lib/python3.9/site-packages/django/init.py", line 24, in setup apps.populate(settings.INSTALLED_APPS) File "/opt/netbox/venv/lib/python3.9/site-packages/django/apps/registry.py", line 114, in populate app_config.import_models() File "/opt/netbox/venv/lib/python3.9/site-packages/django/apps/config.py", line 301, in import_models self.models_module = import_module(models_module_name) File "/usr/lib/python3.9/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1030, in _gcd_import File "", line 1007, in _find_and_load File "", line 986, in _find_and_load_unlocked File "", line 680, in _load_unlocked File "", line 850, in exec_module File "", line 228, in _call_with_frames_removed File "/opt/netbox/netbox/circuits/models.py", line 6, in from dcim.models import CableTermination, PathEndpoint File "/opt/netbox/netbox/dcim/models/init.py", line 1, in from .cables import * File "/opt/netbox/netbox/dcim/models/cables.py", line 15, in from netbox.models import BigIDModel, PrimaryModel File "/opt/netbox/netbox/netbox/models.py", line 13, in from utilities.utils import serialize_object File "/opt/netbox/netbox/utilities/utils.py", line 9, in from jinja2 import Environment File "/opt/netbox/venv/lib/python3.9/site-packages/jinja2/init.py", line 12, in from .environment import Environment File "/opt/netbox/venv/lib/python3.9/site-packages/jinja2/environment.py", line 25, in from .defaults import BLOCK_END_STRING File "/opt/netbox/venv/lib/python3.9/site-packages/jinja2/defaults.py", line 3, in from .filters import FILTERS as DEFAULT_FILTERS # noqa: F401 File "/opt/netbox/venv/lib/python3.9/site-packages/jinja2/filters.py", line 13, in from markupsafe import soft_unicode ImportError: cannot import name 'soft_unicode' from 'markupsafe' (/opt/netbox/venv/lib/python3.9/site-packages/markupsafe/init.py)

Now frontend shows: 502 Bad Gateway after a reboot.

DrunkMunki commented 2 years ago

i guess next step is to upgrade each individual version ?