Can't create racks in 2.7.10 #3514

Closed
opened 2025-12-29 18:29:36 +01:00 by adam · 1 comment
Owner

Originally created by @jacekf on GitHub (Mar 29, 2020).

Environment

  • Python version: 3.6.3
  • NetBox version: 2.7.10

After upgrading to 2.7.10 most things works fine besides racks. I can't add racks or enter API for racks because I got the following error:

The complete exception is provided below:

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

invalid input syntax for integer: "available"
LINE 1: ... 'Test_Rack', 'Test_Rack', NULL, 158, NULL, NULL, 'available...

Steps to Reproduce

  1. Try to create rack using 2.7.10

Expected Behavior

I expect a rack to be successfully created

Observed Behavior

Error 500

Originally created by @jacekf on GitHub (Mar 29, 2020). ### Environment * Python version: 3.6.3 * NetBox version: 2.7.10 After upgrading to 2.7.10 most things works fine besides racks. I can't add racks or enter API for racks because I got the following error: The complete exception is provided below: <class 'django.db.utils.DataError'> invalid input syntax for integer: "available" LINE 1: ... 'Test_Rack', 'Test_Rack', NULL, 158, NULL, NULL, 'available... ### Steps to Reproduce 1. Try to create rack using 2.7.10 2. 3. ### Expected Behavior I expect a rack to be successfully created ### Observed Behavior Error 500
adam closed this issue 2025-12-29 18:29:36 +01:00
Author
Owner

@jeremystretch commented on GitHub (Mar 30, 2020):

I'm not able to reproduce this. The exception suggests a problem with your database; likely a missing migration. Please consider posting to the mailing list for assistance.

@jeremystretch commented on GitHub (Mar 30, 2020): I'm not able to reproduce this. The exception suggests a problem with your database; likely a missing migration. Please consider posting to the [mailing list](https://groups.google.com/forum/#!forum/netbox-discuss) for assistance.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#3514