0

I am upgrading my netbox from 2.11.12 to 3.3.10.

PYTHON=/usr/local/bin/python3.9 ./upgrade.sh

At this time, a 'utilities' module error occurs in 'mkdocstrings', and I would appreciate it if you could tell me how to solve it.

Successfully installed aniso8601-9.0.1 arrow-1.1.1 cython-0.29.33 graphene-3.2.2 graphene-django-3.0.0 graphql-core-3.1.7 graphql-relay-3.1.5 graphql-scalars-0.2.4 griffe-0.25.5 mkdocstrings-python-0.8.3
Skipping local dependencies (local_requirements.txt not found)
Applying database migrations (python3 netbox/manage.py migrate)...
Operations to perform:
  Apply all migrations: admin, auth, circuits, contenttypes, dcim, django_rq, extras, ipam, sessions, social_django, taggit, tenancy, users, virtualization, wireless
Running migrations:
  No migrations to apply.
Checking for missing cable paths (python3 netbox/manage.py trace_paths --no-input)...
Found no missing console port paths; skipping
Found no missing console server port paths; skipping
Found no missing interface paths; skipping
Found no missing power feed paths; skipping
Found no missing power outlet paths; skipping
Found no missing power port paths; skipping
Finished.
Building documentation (mkdocs build)...
INFO     -  Cleaning site directory
INFO     -  Building documentation to directory: /opt/netbox-3.3.10/netbox/project-static/docs
INFO     -  The following pages exist in the docs directory, but are not included in the "nav" configuration:
              - index.md
ERROR    -  mkdocstrings: No module named 'utilities'
ERROR    -  Error reading page 'plugins/development/forms.md':
ERROR    -  Could not collect 'utilities.forms.ColorField'

I tried installing various packages/modules with pip, but it didn't work.

pip3 install netbox_topology_views sentry-sdk netbox_qrcode utilities-package mkdocstrings django-colorfield data-utilities
pip3 install django-graphiql-debug-toolbar social-auth-app-django bleach django_redis graphql-core cython graphql-scalars mkdocs mkdocs-material mkdocs-material-extensions mkdocstrings-python
park
  • 1

0 Answers0