Help: Upgrade from 2.6.2 (docker) to 4.2.3 Linux Install #18655
-
I am working with my company now that is on an old install of Netbox docker 2.6.2 and has a ton of info in there. I would like to somehow get that data moved into a new install of Netbox on Linux. What would the best upgrade path be to get that done? I am sure I can't go from 2.6.2 to 4.2.3 in one big swoop. TIA |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
Considering the official docs, you should upgrade in multiple steps:
I recommend setting up a non-Docker installation of NetBox 2.6.2, restoring the database, and then performing the upgrades step by step. |
Beta Was this translation helpful? Give feedback.
-
I just started to dig into this and setup the new server with 2.6.2 but when I get to the upgrade.sh script I get the following. sudo -u netbox /opt/netbox/upgrade.sh × This environment is externally managed
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages. |
Beta Was this translation helpful? Give feedback.
-
Just for reference:
|
Beta Was this translation helpful? Give feedback.
Considering the official docs, you should upgrade in multiple steps:
I recommend setting up a non-Docker installation of NetBox 2.6.2, restoring the database, and then performing the upgrades step by step.