Sorry I should have specified. The Web UI still shows 2.10.5.
Here is the output
xx@xxx:~$ ls -ld /opt/netbox
drwxr-xr-x 10 root root 4096 May 18 20:08 /opt/netbox
xx@xxx:~$ ls -l /opt/netbox
total 6992
-rw-r--r-- 1 root root 117 Mar 5 02:56 CHANGELOG.md
-rw-r--r-- 1 root root 9278 Mar 5 02:56 CONTRIBUTING.md
-rw-r--r-- 1 root root 10174 Mar 5 02:56 LICENSE.txt
-rw-r--r-- 1 root root 72 Mar 5 02:56 NOTICE
-rw-r--r-- 1 root root 2480 Mar 5 02:56 README.md
drwxr-xr-x 2 root root 4096 Mar 17 22:24 __pycache__
-rw-r--r-- 1 root root 2438 Mar 5 02:56 base_requirements.txt
drwxr-xr-x 2 root root 4096 Mar 5 02:56 contrib
drwxr-xr-x 13 root root 4096 Mar 5 02:56 docs
-rw-r--r-- 1 root root 486 Mar 17 22:17 gunicorn.py
-rw-r--r-- 1 root root 44 Mar 18 00:39 local_requirements.txt
-rw-r--r-- 1 root root 4129 Mar 5 02:56 mkdocs.yml
drwxr-xr-x 18 root root 4096 Mar 5 03:34 netbox
lrwxrwxrwx 1 root root 20 May 18 19:36 netbox-2.10.10 -> /opt/netbox-2.10.10/
-rw-r--r-- 1 root root 496 Mar 17 22:48 requirements.txt
drwxr-xr-x 3 root root 4096 Mar 5 02:56 scripts
-rwxr-xr-x 1 root root 3616 Mar 5 02:56 upgrade.sh
-rw-r--r-- 1 root root 7066062 May 18 19:36 v2.10.10.tar.gz
drwxr-xr-x 6 root root 4096 May 18 20:08 venv
xx@xxxx:~$
--
You received this message because you are subscribed to the Google Groups "NetBox" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
netbox-discus...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/netbox-discuss/8feee8a8-87a7-4ab4-9397-b7dfd1cc845fn%40googlegroups.com.
Hello Brian,
I don’t have the initial install via git, but the upgrade needs to happen via tar as I don’t want the most recent version of netbox.
Any ideas on workarounds ? Thank you.
To view this discussion on the web visit https://groups.google.com/d/msgid/netbox-discuss/cfa11c42-568e-4f7a-a5e7-8a9c0b892e6cn%40googlegroups.com.
If I were to follow the git pull method,
```
Operations to perform:
Apply all migrations: admin, auth, circuits, contenttypes, dcim, extras, ipam, secrets, sessions, taggit, tenancy, users, virtualization
Running migrations:
Applying extras.0054_standardize_models...Traceback (most recent call last):
File "/opt/netbox/venv/lib/python3.6/site-packages/django/db/backends/utils.py", line 84, in _execute
return self.cursor.execute(sql, params)
psycopg2.errors.ObjectNotInPrerequisiteState: sequence must have same owner as table it is linked to
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "netbox/manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "/opt/netbox/venv/lib/python3.6/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line
utility.execute()
File "/opt/netbox/venv/lib/python3.6/site-packages/django/core/management/__init__.py", line 413, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/opt/netbox/venv/lib/python3.6/site-packages/django/core/management/base.py", line 354, in run_from_argv
self.execute(*args, **cmd_options)
File "/opt/netbox/venv/lib/python3.6/site-packages/django/core/management/base.py", line 398, in execute
output = self.handle(*args, **options)
File "/opt/netbox/venv/lib/python3.6/site-packages/django/core/management/base.py", line 89, in wrapped
res = handle_func(*args, **kwargs)
File "/opt/netbox/venv/lib/python3.6/site-packages/django/core/management/commands/migrate.py", line 246, in handle
fake_initial=fake_initial,
File "/opt/netbox/venv/lib/python3.6/site-packages/django/db/migrations/executor.py", line 117, in migrate
state = self._migrate_all_forwards(state, plan, full_plan, fake=fake, fake_initial=fake_initial)
File "/opt/netbox/venv/lib/python3.6/site-packages/django/db/migrations/executor.py", line 147, in _migrate_all_forwards
state = self.apply_migration(state, migration, fake=fake, fake_initial=fake_initial)
File "/opt/netbox/venv/lib/python3.6/site-packages/django/db/migrations/executor.py", line 227, in apply_migration
state = migration.apply(state, schema_editor)
File "/opt/netbox/venv/lib/python3.6/site-packages/django/db/migrations/migration.py", line 126, in apply
operation.database_forwards(self.app_label, schema_editor, old_state, project_state)
File "/opt/netbox/venv/lib/python3.6/site-packages/django/db/migrations/operations/fields.py", line 244, in database_forwards
schema_editor.alter_field(from_model, from_field, to_field)
File "/opt/netbox/venv/lib/python3.6/site-packages/django/db/backends/base/schema.py", line 595, in alter_field
old_db_params, new_db_params, strict)
File "/opt/netbox/venv/lib/python3.6/site-packages/django/db/backends/postgresql/schema.py", line 198, in _alter_field
new_db_params, strict,
File "/opt/netbox/venv/lib/python3.6/site-packages/django/db/backends/base/schema.py", line 780, in _alter_field
self.execute(sql, params)
File "/opt/netbox/venv/lib/python3.6/site-packages/django/db/backends/base/schema.py", line 145, in execute
cursor.execute(sql, params)
File "/opt/netbox/venv/lib/python3.6/site-packages/cacheops/transaction.py", line 97, in execute
result = self._no_monkey.execute(self, sql, params)
File "/opt/netbox/venv/lib/python3.6/site-packages/django/db/backends/utils.py", line 66, in execute
return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
File "/opt/netbox/venv/lib/python3.6/site-packages/django/db/backends/utils.py", line 75, in _execute_with_wrappers
return executor(sql, params, many, context)
File "/opt/netbox/venv/lib/python3.6/site-packages/django/db/backends/utils.py", line 84, in _execute
return self.cursor.execute(sql, params)
File "/opt/netbox/venv/lib/python3.6/site-packages/django/db/utils.py", line 90, in __exit__
raise dj_exc_value.with_traceback(traceback) from exc_value
File "/opt/netbox/venv/lib/python3.6/site-packages/django/db/backends/utils.py", line 84, in _execute
return self.cursor.execute(sql, params)
django.db.utils.OperationalError: sequence must have same owner as table it is linked to
xxxx:/opt/netbox$
```
To view this discussion on the web visit https://groups.google.com/d/msgid/netbox-discuss/BYAPR04MB5623F5B1BF9DA029C47AB80A8A3E9%40BYAPR04MB5623.namprd04.prod.outlook.com.
I don’t have the initial install via git, but the upgrade needs to happen via tar as I don’t want the most recent version of netbox.
django.db.utils.OperationalError: sequence must have same owner as table it is linked to