You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Performing database migrations...
Operations to perform:
Apply all migrations: admin, auth, circuits, cloud, constance, contenttypes, dcim, django_celery_beat, django_celery_results, extras, ipam, nautobot_bgp_models, nautobot_device_lifecycle_mgmt, nautobot_ui_plugin, sessions, silk, social_django, taggit, tenancy, users, virtualization
Traceback (most recent call last):
File "/opt/nautobot/bin/nautobot-server", line 8, in <module>
sys.exit(main())
^^^^^^
File "/opt/nautobot/lib/python3.11/site-packages/nautobot/core/cli/__init__.py", line 293, in main
execute_from_command_line([sys.argv[0], *unparsed_args])
File "/opt/nautobot/lib/python3.11/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line
utility.execute()
File "/opt/nautobot/lib/python3.11/site-packages/django/core/management/__init__.py", line 436, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/opt/nautobot/lib/python3.11/site-packages/django/core/management/base.py", line 412, in run_from_argv
self.execute(*args, **cmd_options)
File "/opt/nautobot/lib/python3.11/site-packages/django/core/management/base.py", line 458, in execute
output = self.handle(*args, **options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/nautobot/lib/python3.11/site-packages/nautobot/core/management/commands/post_upgrade.py", line 91, in handle
call_command(
File "/opt/nautobot/lib/python3.11/site-packages/django/core/management/__init__.py", line 194, in call_command
return command.execute(*args, **defaults)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/nautobot/lib/python3.11/site-packages/django/core/management/base.py", line 458, in execute
output = self.handle(*args, **options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/nautobot/lib/python3.11/site-packages/django/core/management/base.py", line 106, in wrapper
res = handle_func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/nautobot/lib/python3.11/site-packages/django/core/management/commands/migrate.py", line 302, in handle
pre_migrate_apps = pre_migrate_state.apps
^^^^^^^^^^^^^^^^^^^^^^
File "/opt/nautobot/lib/python3.11/site-packages/django/utils/functional.py", line 57, in __get__
res = instance.__dict__[self.name] = self.func(instance)
^^^^^^^^^^^^^^^^^^^
File "/opt/nautobot/lib/python3.11/site-packages/django/db/migrations/state.py", line 566, in apps
return StateApps(self.real_apps, self.models)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/nautobot/lib/python3.11/site-packages/django/db/migrations/state.py", line 637, in __init__
raise ValueError("\n".join(error.msg for error in errors))
ValueError: The field nautobot_device_lifecycle_mgmt.ValidatedSoftwareLCM.device_roles was declared with a lazy reference to 'dcim.devicerole', but app 'dcim' doesn't provide model 'devicerole'.
The field nautobot_device_lifecycle_mgmt.ValidatedSoftwareLCM_device_roles.devicerole was declared with a lazy reference to 'dcim.devicerole', but app 'dcim' doesn't provide model 'devicerole'.
The text was updated successfully, but these errors were encountered:
Environment
Fail after upgrading
Expected Behavior
Post-upgrade scripts without errors
Observed Behavior
Fails when upgrading to the latest version
Steps to Reproduce
nautobot-server post_upgrade
The text was updated successfully, but these errors were encountered: