Help with upgrade from 2.8.4 -> 2.11.12 #14319
Replies: 3 comments 4 replies
-
Hi again,
|
Beta Was this translation helpful? Give feedback.
-
Netbox doesn't pin its requirements, which means that in general installation of Netbox is not reproducible. Over time, newer versions of libraries may be released which break things (e.g. with different dependencies). The problem gets worse the older the version of Netbox you're trying to install. Try replacing your requirements.txt with the appropriate one from https://github.com/markkuleinio/netbox-freezes (there is one which should work with Netbox 2.11.12). Presumably this is a stepping stone towards upgrading to 3.6.5, so this is only a temporary measure for you. Regarding your permissions problems: either use
or open a root shell with sudo before activating the virtualenv:
Or use the full path to the version of pip which is already in the venv:
|
Beta Was this translation helpful? Give feedback.
-
Hello, I did have problem before, and I selected a path upgrade from 2.9.11 to 3.1.6 :
You can adapt from your setup. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I am looking to get some help with a failing upgrade.
Excuse my ignorance but I am very much out of my wheelhouse. I will do me best to include the relevant info on the first try.
System:
Current netbox version: 2.8.4
Desired netbox version: 2.11.12
Deployment method: Option B github
Steps taken thus far:
sudo ./upgrade.sh
sudo -H ./upgrade.sh
Output and subsequent fault:
Troubleshooting
So as I understand it the script is creating a virtual environment to run the upgrade and unable to find the MarkupSafe pip package.
In an attempt to remedy this I have run this:
I am unsure if it is targeting the right environment though.
I have also reinstalled all the python3 packages as defined here: https://docs.netbox.dev/en/stable/installation/3-netbox/
I would appreciate any help in further troubleshooting this.
Thankyou.
Beta Was this translation helpful? Give feedback.
All reactions