Upgrade 3.1.3 to latest NetBox version. Database migrations missing? and Unsupported PostgreSQL version? #10831
Unanswered
jjevans069
asked this question in
Q&A
Replies: 1 comment
-
Nevermind. Found this and all is good. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello upgraded from 3.1.3 to latest version of Netbox following instructions:
https://github.com/netbox-community/netbox/blob/develop/docs/installation/upgrading.md
The only errors I get are:
File "/opt/netbox/netbox/dcim/migrations/0145_site_remove_deprecated_fields.py", line 15, in check_legacy_data raise DataError(
django.db.utils.DataError: Unable to proceed with deleting asn field from Site model: Found 4 sites with legacy ASN data. Please ensure all legacy site ASN data has been migrated to ASN objects before proceeding. Or, set the NETBOX_DELETE_LEGACY_DATA environment variable to bypass this safeguard and delete all legacy site ASN data.
WARNING: The directory '/home/administrator/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag.
I flowed this discussion and I am getting same error at login:
#8991
I still am unable to bring up login page for Nebox.
Any insight as to how I can resolve would be appreciated.
I can post the install log but didnt want to build a wall of text...lol
Thank you for your insight,
J
Versions:
administrator@netbox-inf001:/opt/netbox$ python -V
Python 3.10.8
administrator@netbox-inf001:~$ /usr/lib/postgresql/10/bin/postgres -V
postgres (PostgreSQL) 10.22 (Ubuntu 10.22-0ubuntu0.18.04.1)
administrator@netbox-inf001:~$ redis-server --version
Redis server v=4.0.9 sha=00000000:0 malloc=jemalloc-3.6.0 bits=64 build=9435c3c2879311f3
administrator@netbox-inf001:~$ cat /etc/os-release
NAME="Ubuntu"
VERSION="18.04.6 LTS (Bionic Beaver)"
Beta Was this translation helpful? Give feedback.
All reactions