Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.9.4 - Model Migration Warning? #1034

Closed
robclarkey opened this issue Apr 4, 2017 · 2 comments
Closed

v1.9.4 - Model Migration Warning? #1034

robclarkey opened this issue Apr 4, 2017 · 2 comments
Labels
type: bug A confirmed report of unexpected behavior in the application

Comments

@robclarkey
Copy link

Issue type: Bug Report

Python version: 2.7.5
NetBox version: 1.9.4 (upgrading from 1.9.3

Error Message:
Your models 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.

Got the above when upgrading from v1.9.3 to v1.9.4. Not sure if this is intentional (changes in the model that will be added in a future release), or if it's a bug.

Upgrade Steps:

  1. Stopped Webserver (Apache).
  2. Downloaded v1.9.4.zip file to /opt
  3. Extracted zip to /opt/netbox-1.9.4
  4. Copied configuration.py & ldap_config.py from /opt/netbox/netbox/netbox to /opt/netbox-1.9.4/netbox/netbox
  5. Deleted /opt/netbox symlink.
  6. Recreated /opt/netbox symlink pointing to /opt/netbox-1.9.4
  7. Ran upgrade.sh inside /opt/netbox.
  8. Started webserver.
@jeremystretch jeremystretch added the type: bug A confirmed report of unexpected behavior in the application label Apr 4, 2017
@jeremystretch
Copy link
Member

Sorry about that. I've created patch release v1.9.4-r1 to fix this.

@robclarkey
Copy link
Author

@jeremystretch Perfect! Thank you! 😃

lampwins pushed a commit to lampwins/netbox that referenced this issue Oct 13, 2017
@lock lock bot locked as resolved and limited conversation to collaborators Jan 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug A confirmed report of unexpected behavior in the application
Projects
None yet
Development

No branches or pull requests

2 participants