netbox update from 3.5.9 to 3.6.1 #13835
Replies: 7 comments 3 replies
-
nextbox_ui_plugin is not currently supported on 3.6. Disable the plugin and try the update again. |
Beta Was this translation helpful? Give feedback.
-
I disabled the plugin and tried to update. apt update && apt upgrade Without any errors after ./upgrade.sh and sudo systemctl restart netbox netbox-rq I still have version 3.5.9. |
Beta Was this translation helpful? Give feedback.
-
git checkout master M netbox/netbox/settings.py git pull origin master From https://github.com/digitalocean/netbox
git status On branch master Changes not staged for commit: Untracked files: no changes added to commit (use "git add" and/or "git commit -a") git show commit 0dbfbf6 (HEAD -> master) Merge pull request #13591 from netbox-community/develop Correct version number Would be this the problem? Applying database migrations (python3 netbox/manage.py migrate)... |
Beta Was this translation helpful? Give feedback.
-
Applying database migrations (python3 netbox/manage.py migrate)... ... Completed. Total entries: 7108
|
Beta Was this translation helpful? Give feedback.
-
This means it was unable to bring the local code repository up to date (and it remains 140 commits behind the upstream repository) because you made a local change to this file. This is an internal part of Netbox that you're not supposed to change.
Alternatively:
will temporarily revert your local changes, update the code, and then reapply the changes. This normally works, and will leave your settings.py file in its modified state. However if you've modified it in a way which is incompatible with an upstream change to this file, then there will be a merge conflict that you'll have to fix (the file will have both changes, marked with |
Beta Was this translation helpful? Give feedback.
-
git diff diff --git a/netbox/netbox/settings.py b/netbox/netbox/settings.py I used it and after that ./upgrade.sh worked. Migrations finished successfully. |
Beta Was this translation helpful? Give feedback.
-
Thank you, your advice are very helpful. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I have trouble a problem with update Netbox from 3.5.9 to 3.6.1.
Successfully installed Pillow-9.5.0 django-auth-ldap-4.5.0 netbox_qrcode-0.0.10 nextbox-ui-plugin-0.13.0 pyasn1-modules-0.3.0 pypng-0.20220715.0 python-ldap-3.4.3 qrcode-7.4.2
Applying database migrations (python3 netbox/manage.py migrate)...
Operations to perform:
Apply all migrations: admin, auth, circuits, contenttypes, core, dcim, django_rq, extras, ipam, nextbox_ui_plugin, sessions, social_django, taggit, tenancy, users, virtualization, wireless
Running migrations:
No migrations to apply.
Your models in app(s): 'nextbox_ui_plugin' have changes that are not yet reflected in a migration, and so won't be applied.
Run 'manage.py makemigrations' to make new migrations, and then re-run 'manage.py migrate' to apply them.
Beta Was this translation helpful? Give feedback.
All reactions