iDebugAll/nextbox-ui-plugin

migration problems after upgrade

zippi-ifn opened this issue · 2 comments

Hello everyone,

Running into issues with migration after upgrade:

(venv) root@netbox:/opt/netbox/netbox# python3 manage.py migrate
Operations to perform:
  Apply all migrations: admin, auth, circuits, contenttypes, core, dcim, django_rq, extras, ipam, nextbox_ui_plugin, sessions, social_django, taggit, tenancy, users, virtualization, wireless
Running migrations:
  No migrations to apply.
  Your models in app(s): 'nextbox_ui_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.

(venv) root@netbox:/opt/netbox/netbox# python3 manage.py makemigrations
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

Python version: 3.10.12
NetBox version: 3.5.6

Also tried to rerun the complete upgrade, recreating the venv, reinstalled the plugin via pip3 but no luck so far.

Do you have any idea what I am missing here?

@zippi-ifn :

I just ran into the same thing: you need to enable "DEVELOPER = True" (no quotes) in your configuration.py file.

@webboy71 Thanks, that helped a lot.