Netbox 'Platforms' Device Count not updated when adding Platform type #3903

Closed
opened 2025-12-29 18:31:53 +01:00 by adam · 3 comments
Owner

Originally created by @nathanaelpearson on GitHub (Jul 27, 2020).

Environment
Python version: 3.6.9
NetBox version: v2.8.8

Steps to Reproduce
Update a device with a platform created in the 'Platform' section.
navigate to the Platform List
View 'Devices' Column

Observed Behavior
Counter remains at 0, however when you click on the 0, it takes you to a list of devices with this 'Platform'.
Also found that a device that did have a previous platform and changed to a new one still shows in the previous platform column.

Resolution Steps
Only way to update the field is to delete the 'Platform' and recreate it.

Originally created by @nathanaelpearson on GitHub (Jul 27, 2020). Environment Python version: 3.6.9 NetBox version: v2.8.8 Steps to Reproduce Update a device with a platform created in the 'Platform' section. navigate to the Platform List View 'Devices' Column Observed Behavior Counter remains at 0, however when you click on the 0, it takes you to a list of devices with this 'Platform'. Also found that a device that did have a previous platform and changed to a new one still shows in the previous platform column. Resolution Steps Only way to update the field is to delete the 'Platform' and recreate it.
adam added the status: duplicate label 2025-12-29 18:31:53 +01:00
adam closed this issue 2025-12-29 18:31:53 +01:00
Author
Owner

@jeremystretch commented on GitHub (Jul 27, 2020):

This looks like essentially the same issue described in #3672: a limitation of the caching function. If you disable caching (by setting CACHE_TIMEOUT=0 in configuration.py), does it resolve the issue? This would confirm that it's a caching issue.

@jeremystretch commented on GitHub (Jul 27, 2020): This looks like essentially the same issue described in #3672: a limitation of the caching function. If you disable caching (by setting `CACHE_TIMEOUT=0` in `configuration.py`), does it resolve the issue? This would confirm that it's a caching issue.
Author
Owner

@nathanaelpearson commented on GitHub (Jul 27, 2020):

This looks like essentially the same issue described in #3672: a limitation of the caching function. If you disable caching (by setting CACHE_TIMEOUT=0 in configuration.py), does it resolve the issue? This would confirm that it's a caching issue.

HI, I have changed the Cache Timeout in the config to 0, restarted the Netbox service and restarted the server but still have the same issue. The platform list shows 0 but when you click on the platform name it shows the device.

Kind regards

@nathanaelpearson commented on GitHub (Jul 27, 2020): > This looks like essentially the same issue described in #3672: a limitation of the caching function. If you disable caching (by setting CACHE_TIMEOUT=0 in configuration.py), does it resolve the issue? This would confirm that it's a caching issue. HI, I have changed the Cache Timeout in the config to 0, restarted the Netbox service and restarted the server but still have the same issue. The platform list shows 0 but when you click on the platform name it shows the device. Kind regards
Author
Owner

@jeremystretch commented on GitHub (Jul 27, 2020):

Sorry; this is a duplicate of #4894 and has been fixed for the next release. Apologies for not catching that earlier.

@jeremystretch commented on GitHub (Jul 27, 2020): Sorry; this is a duplicate of #4894 and has been fixed for the next release. Apologies for not catching that earlier.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#3903