Django: Server Error after update to v2.2.1 #1325

Closed
opened 2025-12-29 16:31:27 +01:00 by adam · 1 comment
Owner

Originally created by @markh0338 on GitHub (Oct 17, 2017).

Issue type

[ ] Feature request
[ x ] Bug report
[ ] Documentation

Environment

  • Python version: 2.7.5
  • NetBox version: 2.2.1

Description

I upgraded from 2.0.9 to 2.2.1 and when trying to view a device in any rack I get the following error.

<class 'django.db.utils.ProgrammingError'>

column ipam_service.virtual_machine_id does not exist
LINE 1: ...vice"."last_updated", "ipam_service"."device_id", "ipam_serv...
^

I followed the upgrade instructions and ran ./upgrade.sh -2 and this was the result.

Let me know if you need any other logs or info.

Originally created by @markh0338 on GitHub (Oct 17, 2017). <!-- Before opening a new issue, please search through the existing issues to see if your topic has already been addressed. Note that you may need to remove the "is:open" filter from the search bar to include closed issues. Check the appropriate type for your issue below by placing an x between the brackets. If none of the below apply, please raise your issue for discussion on our mailing list: https://groups.google.com/forum/#!forum/netbox-discuss Please note that issues which do not fall under any of the below categories will be closed. ---> ### Issue type [ ] Feature request <!-- Requesting the implementation of a new feature --> [ x ] Bug report <!-- Reporting unexpected or erroneous behavior --> [ ] Documentation <!-- Proposing a modification to the documentation --> <!-- Please describe the environment in which you are running NetBox. (Be sure to verify that you are running the latest stable release of NetBox before submitting a bug report.) --> ### Environment * Python version: 2.7.5 <!-- Example: 3.5.4 --> * NetBox version: 2.2.1 <!-- Example: 2.1.3 --> <!-- BUG REPORTS must include: * A list of the steps needed to reproduce the bug * A description of the expected behavior * Any relevant error messages (screenshots may also help) FEATURE REQUESTS must include: * A detailed description of the proposed functionality * A use case for the new feature * A rough description of any necessary changes to the database schema * Any relevant third-party libraries which would be needed --> ### Description I upgraded from 2.0.9 to 2.2.1 and when trying to view a device in any rack I get the following error. <class 'django.db.utils.ProgrammingError'> column ipam_service.virtual_machine_id does not exist LINE 1: ...vice"."last_updated", "ipam_service"."device_id", "ipam_serv... ^ I followed the upgrade instructions and ran ./upgrade.sh -2 and this was the result. Let me know if you need any other logs or info.
adam closed this issue 2025-12-29 16:31:27 +01:00
Author
Owner

@jeremystretch commented on GitHub (Oct 17, 2017):

Thank you for your interest in NetBox. GitHub issues are intended for reporting bugs and requesting features, and must be submitted using the template provided here. For general discussion, questions, or assistance with installation issues, please post to our mailing list.

@jeremystretch commented on GitHub (Oct 17, 2017): Thank you for your interest in NetBox. GitHub issues are intended for reporting bugs and requesting features, and must be submitted using the template provided [here](https://raw.githubusercontent.com/digitalocean/netbox/develop/.github/ISSUE_TEMPLATE.md). For general discussion, questions, or assistance with installation issues, please post to our [mailing list](https://groups.google.com/forum/#!forum/netbox-discuss).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#1325