Upgrade from 2.11.4 to Latest Failed #11610
-
I checked my Python, Redis, and Postgres versions before I began upgrade. They all meant the requirements. This is the output I got toward the end of the upgrade. Looking for some help on how to fix what went wrong. File "netbox/manage.py", line 10, in |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
When I browse to the page I get this message in the browser: Server Error Database migrations missing - When upgrading to a new NetBox release, the upgrade script must be run to apply any new database migrations. You can run migrations manually by executing python3 manage.py migrate from the command line. Unsupported PostgreSQL version - Ensure that PostgreSQL version 10 or later is in use. You can check this by connecting to the database using NetBox's credentials and issuing a query for SELECT VERSION(). The complete exception is provided below: <class 'django.db.utils.ProgrammingError'> column extras_customfield.object_type_id does not exist Python version: 3.8.10 [Home Page] |
Beta Was this translation helpful? Give feedback.
-
I ran the "sudo NETBOX_DELETE_LEGACY_DATA=1 ./upgrade.sh" command and it went through. |
Beta Was this translation helpful? Give feedback.
I ran the "sudo NETBOX_DELETE_LEGACY_DATA=1 ./upgrade.sh" command and it went through.