-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
bugSomething isn't workingSomething isn't working
Description
NetBox version
4.5.0
Describe the bug
Database migrations for netbox_config_diff are missing, causing server errors when accessing certain pages.
To Reproduce
Steps to reproduce the behavior:
- Update Netbox to 4.5.0
- Go to https://netbox.example.com/plugins/config-diff/configuration-requests/
- See error
Expected behavior
Configuration Requests page shows
Additional context
<class 'django.db.utils.ProgrammingError'>
column netbox_config_diff_configurationrequest.owner_id does not exist
LINE 1: ...g_diff_configurationrequest"."custom_field_data", "netbox_co...
^
Python version: 3.12.3
NetBox version: 4.5.0-Docker-3.4.2
Plugins:
netbox_branching: 0.8.0
netbox_config_diff: 2.12.0
netbox_floorplan: 0.9.0
netbox_interface_synchronization: 4.1.7
netbox_napalm_plugin: 0.3.3
netbox_qrcode: 0.0.20
netbox_reorder_rack: 1.1.4
netbox_topology_views: 4.5.0
The request which yielded the above error is shown below:
GET https://netbox.example.com/plugins/config-diff/configuration-requests/
$ python3 manage.py migrate
🧬 loaded config '/etc/netbox/config/configuration.py'
🧬 loaded config '/etc/netbox/config/extra.py'
🧬 loaded config '/etc/netbox/config/logging.py'
🧬 loaded config '/etc/netbox/config/plugins.py'
Operations to perform:
Apply all migrations: account, auth, circuits, contenttypes, core, dcim, django_rq, extras, ipam, netbox_branching, netbox_config_diff, netbox_floorplan, netbox_napalm_plugin, netbox_topology_views, sessions, social_django, taggit, tenancy, thumbnail, users, virtualization, vpn, wireless
Running migrations:
No migrations to apply.
Your models in app(s): 'netbox_config_diff' have changes that are not yet reflected in a migration, and so won't be applied.
Run 'manage.py makemigrations' to make new migrations, and then re-run 'manage.py migrate' to apply them.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working