Upgrading from 2.8 is failing... #8871
-
Hello everyone, First of all : thanks a lot for this awesome piece of software that Netbox is... We never came across a better IPAM software that is easy enought for low tech people to apprehend, but complex enough to respond to the most advanced needs. Now, to my question : I'm in the process of upgrading an old version of Netbox (2.5... don't ask why we never upgraded before...) to something fancier and (definitely) more recent... I managed to upgrade everything to 2.8.9 after upgrading the server OS and libraries (Debian 9 => 10 => 11 and python 3.5 => 3.9). However, even after searching everywhere, I'm stuck on the upgrade from 2.8.9 to 2.9.11 or any later releases (2.11.12 is not working either). Here is the error I have running the upgrade script for 2.9.11 or 2.11.12, at the Database migration step : Operations to perform: The above exception was the direct cause of the following exception: Traceback (most recent call last): Would you have any idea on why it happens... And how to solve this ? I searched everywhere for a similar issue, but didn't find anything relevant... Your help would be most helpful ! Kind regards. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This looks like a PostgreSQL syntax error. Postgres minimum versions have changed over time and, as I remember it, aren't checked by the upgrade script. Make sure you're running at least v10 if you want to be safe per the docs; I've run v12 successfully with NetBox 2.11 in the past. |
Beta Was this translation helpful? Give feedback.
This looks like a PostgreSQL syntax error. Postgres minimum versions have changed over time and, as I remember it, aren't checked by the upgrade script. Make sure you're running at least v10 if you want to be safe per the docs; I've run v12 successfully with NetBox 2.11 in the past.