Need help in upgrading netbox from 2.7.11 to next version #15592
Replies: 2 comments 2 replies
-
From a Netbox point of view, you need to upgrade from 2.7.11 to 2.11.12 as the first step, then to 3.7.4 as the second step. (There are no sequencing requirements except that you must upgrade to 2.11.x before you upgrade to 3.x) However, you also need to ensure you have the correct dependencies.
However, for such a large upgrade I strongly recommend you do this using completely fresh VMs rather than in-place upgrades.
There have been large changes to the Netbox data models and APIs, so any existing integrations you have (e.g. to the REST API) will need to be modified to work with the new version. Read the release notes for all intervening vX.X.0 versions and look for "Breaking changes" If you want to do an "in place" upgrade then you do this at your own risk - make sure you've backed up your Postgres database first - although an in-place upgrade to 2.11.12 is relatively low risk. The upgrade steps are documented here. Be careful to use the correct set of steps, depending on whether the installation was originally from git or from a tarball. (Using Check that your existing installation is is using a virtualenv (this was introduced in 2.7.9 I believe) and running from systemd rather than supervisord (I'm not sure when that change was made). If either of those is not the case then it makes an in-place upgrade more difficult. |
Beta Was this translation helpful? Give feedback.
-
thank you so much for your guidelines, upgraded the netbox to 3.2.9 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Team,
We are using netbox 2.7.11 on CentOS Linux release 8.1.1911
[root@netb]# python3 -V
Python 3.6.8
[root@netb]# find / -name postgres
/usr/bin/postgres
/usr/pgsql-9.6/bin/postgres
[root@netb]# redis-server --version
Redis server v=5.0.3 sha=00000000:0 malloc=jemalloc-5.1.0 bits=64 build=8c0bf22bfba82c8f
I would like to know to which version we can proceed with upgrade. Since I saw in the net that we can perform only sequential upgrade so I would to know which version we can perform next. Also I need to steps to perform the upgrade
Beta Was this translation helpful? Give feedback.
All reactions