Upgrade 3.3.7 to 3.7.8 #18993
Replies: 3 comments 2 replies
-
Same problem when upgrading from 3.6.9 to 3.7.8. |
Beta Was this translation helpful? Give feedback.
-
same here, also got it from fresh install |
Beta Was this translation helpful? Give feedback.
-
Fresh install of 3.5.8 or 3.7.x also produces this error for me. Is there a fix for this? |
Beta Was this translation helpful? Give feedback.
-
Deployment Type
Self-hosted
NetBox Version
v3.3.7
Python Version
3.11
Steps to Reproduce
cd /opt/netbox
sudo ./upgrade
full output below
upgrade.txt
`
Building documentation (mkdocs build)...
INFO - DeprecationWarning: Importing from 'mkdocs_autorefs.plugin' is deprecated. Import directly from 'mkdocs_autorefs' instead.
File "/opt/netbox-3.7.8/venv/lib/python3.11/site-packages/mkdocstrings/plugin.py", line 29, in
from mkdocs_autorefs.plugin import AutorefsPlugin
File "/opt/netbox-3.7.8/venv/lib/python3.11/site-packages/mkdocs_autorefs/plugin.py", line 12, in getattr
warnings.warn(
INFO - DeprecationWarning: Setting a fallback anchor function is deprecated and will be removed in a future release.
File "/opt/netbox-3.7.8/venv/lib/python3.11/site-packages/mkdocstrings/plugin.py", line 188, in on_config
autorefs.get_fallback_anchor = self.handlers.get_anchors
File "/opt/netbox-3.7.8/venv/lib/python3.11/site-packages/mkdocs_autorefs/_internal/plugin.py", line 562, in get_fallback_anchor
warn(
Traceback (most recent call last):
File "/opt/netbox-3.7.8/venv/bin/mkdocs", line 8, in
sys.exit(cli())
^^^^^
File "/opt/netbox-3.7.8/venv/lib/python3.11/site-packages/click/core.py", line 1161, in call
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/netbox-3.7.8/venv/lib/python3.11/site-packages/click/core.py", line 1082, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/opt/netbox-3.7.8/venv/lib/python3.11/site-packages/click/core.py", line 1697, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/netbox-3.7.8/venv/lib/python3.11/site-packages/click/core.py", line 1443, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/netbox-3.7.8/venv/lib/python3.11/site-packages/click/core.py", line 788, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/netbox-3.7.8/venv/lib/python3.11/site-packages/mkdocs/main.py", line 288, in build_command
build.build(cfg, dirty=not clean)
File "/opt/netbox-3.7.8/venv/lib/python3.11/site-packages/mkdocs/commands/build.py", line 265, in build
config = config.plugins.on_config(config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/netbox-3.7.8/venv/lib/python3.11/site-packages/mkdocs/plugins.py", line 587, in on_config
return self.run_event('config', config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/netbox-3.7.8/venv/lib/python3.11/site-packages/mkdocs/plugins.py", line 566, in run_event
result = method(item, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^
File "/opt/netbox-3.7.8/venv/lib/python3.11/site-packages/mkdocs_autorefs/_internal/plugin.py", line 180, in on_config
if self.config.link_titles == "auto":
^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'dict' object has no attribute 'link_titles'
`
Expected Behavior
success upgrade
Observed Behavior
upgrade error
Beta Was this translation helpful? Give feedback.
All reactions