issue after upgrade #392

Closed
opened 2025-12-29 16:21:36 +01:00 by adam · 3 comments
Owner

Originally created by @aoyawale on GitHub (Aug 25, 2016).

I upgrade from the original release of netbox to the 1.4.2 and all of my devices are gone. I followed the instructions on the readmedocs. This are the errors I get in postgres:

ERROR: column dcim_device.primary_ip_id does not exist at character 2036
ERROR: column dcim_device.primary_ip_id does not exist at character 449
ERROR: column dcim_device.primary_ip_id does not exist at character 2045

Originally created by @aoyawale on GitHub (Aug 25, 2016). I upgrade from the original release of netbox to the 1.4.2 and all of my devices are gone. I followed the instructions on the readmedocs. This are the errors I get in postgres: ERROR: column dcim_device.primary_ip_id does not exist at character 2036 ERROR: column dcim_device.primary_ip_id does not exist at character 449 ERROR: column dcim_device.primary_ip_id does not exist at character 2045
adam closed this issue 2025-12-29 16:21:37 +01:00
Author
Owner

@zachmoody commented on GitHub (Aug 25, 2016):

Looks like it's querying for columns that were deprecated a few versions back. I would guess the WSGI is still running old code or it wasn't restarted.

@zachmoody commented on GitHub (Aug 25, 2016): Looks like it's querying for columns that were deprecated a few versions back. I would guess the WSGI is still running old code or it wasn't restarted.
Author
Owner

@aoyawale commented on GitHub (Aug 25, 2016):

umm I restarted nginx, I restart supervisord, I restart also netbox using supervisorctl restart netbox. Did I miss something?

@aoyawale commented on GitHub (Aug 25, 2016): umm I restarted nginx, I restart supervisord, I restart also netbox using supervisorctl restart netbox. Did I miss something?
Author
Owner

@aoyawale commented on GitHub (Aug 25, 2016):

figured it out. I had to change the gunicorn and supervisord config to the netbox-1.4.2 dir instead of the old one.

@aoyawale commented on GitHub (Aug 25, 2016): figured it out. I had to change the gunicorn and supervisord config to the netbox-1.4.2 dir instead of the old one.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#392