-
Notifications
You must be signed in to change notification settings - Fork 12
Description
Diode NetBox Plugin version
1.0.0
NetBox version
NetBox Community v4.2.8 (2025-04-22)
Diode version
latest git
Diode SDK type
diode-sdk-python
Diode SDK version
v1.0.0
Steps to reproduce
- Server installation (https://github.com/netboxlabs/diode/tree/develop/diode-server#readme)
- Plugin install (which fails): https://github.com/netboxlabs/diode-netbox-plugin
According to docs, migrate:
(venv) root@netbox:/opt/netbox# cd /opt/netbox/netbox
./manage.py migrate netbox_diode_plugin
Operations to perform:
Apply all migrations: netbox_diode_plugin
Running migrations:
No migrations to apply.
Your models in app(s): 'netbox_diode_plugin' 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.
Also makemigrations does not work
CommandError: This command is available for development purposes only. It will
NOT resolve any issues with missing or unapplied migrations. For assistance,
please post to the NetBox discussion forum on GitHub:
https://github.com/netbox-community/netbox/discussions
Then try to run the usual stuff:
python3 /opt/netbox/netbox/manage.py migrate
python3 /opt/netbox/netbox/manage.py collectstatic
venv) root@netbox:/opt/netbox/netbox# python3 /opt/netbox/netbox/manage.py migrate
Operations to perform:
Apply all migrations: account, auth, circuits, contenttypes, core, dcim, django_rq, extras, ipam, netbox_acls, netbox_bgp, netbox_config_diff, netbox_diode_plugin, netbox_floorplan, netbox_inventory, netbox_secrets, netbox_topology_views, sessions, social_django, taggit, tenancy, users, validity, virtualization, vpn, wireless
Running migrations:
No migrations to apply.
Your models in app(s): 'netbox_diode_plugin' 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.
CommandError: This command is available for development purposes only. It will
NOT resolve any issues with missing or unapplied migrations. For assistance,
please post to the NetBox discussion forum on GitHub:
https://github.com/netbox-community/netbox/discussions
Please advise
Expected behavior
working :-)
Observed behavior
see above.