Release check not working (apparently) #6432

Closed
opened 2025-12-29 19:40:38 +01:00 by adam · 3 comments
Owner

Originally created by @EHRETic on GitHub (May 2, 2022).

NetBox version

v3.2.1

Python version

3.9

Steps to Reproduce

Hello there,

I've configured the following in my configuration file as mentioned here and I know there is a newer version available (3.2.2) but I don't see any sign in the main page (connected as admin, my only user)

# This repository is used to check whether there is a new release of NetBox available. Set to None to disable the
# version check or use the URL below to check for release in the official NetBox repository.
# RELEASE_CHECK_URL = None
RELEASE_CHECK_URL = 'https://api.github.com/repos/netbox-community/netbox/releases'

Python version is 3.9.6

Hope I didn't do anything wrong as I already missed this option in the documentation... 😉

Expected Behavior

Should display a message to administrative users on the home page when a new release is detected.

Observed Behavior

I don't see any error

Originally created by @EHRETic on GitHub (May 2, 2022). ### NetBox version v3.2.1 ### Python version 3.9 ### Steps to Reproduce Hello there, I've configured the following in my configuration file as mentioned [here](https://docs.netbox.dev/en/stable/configuration/optional-settings/#release_check_url) and I know there is a newer version available (3.2.2) but I don't see any sign in the main page (connected as admin, my only user) ``` # This repository is used to check whether there is a new release of NetBox available. Set to None to disable the # version check or use the URL below to check for release in the official NetBox repository. # RELEASE_CHECK_URL = None RELEASE_CHECK_URL = 'https://api.github.com/repos/netbox-community/netbox/releases' ``` Python version is 3.9.6 Hope I didn't do anything wrong as [I already missed this option](https://github.com/netbox-community/netbox/issues/9237) in the documentation... 😉 ### Expected Behavior Should display a message to administrative users on the home page when a new release is detected. ### Observed Behavior I don't see any error
adam closed this issue 2025-12-29 19:40:38 +01:00
Author
Owner

@kkthxbye-code commented on GitHub (May 2, 2022):

The check runs when the housekeeping command is executed. Make sure you have setup housekeeping.

https://docs.netbox.dev/en/stable/administration/housekeeping/

To verify you can trigger it manually:

python manage.py housekeeping

@kkthxbye-code commented on GitHub (May 2, 2022): The check runs when the housekeeping command is executed. Make sure you have setup housekeeping. https://docs.netbox.dev/en/stable/administration/housekeeping/ To verify you can trigger it manually: `python manage.py housekeeping`
Author
Owner

@EHRETic commented on GitHub (May 2, 2022):

python manage.py housekeeping

Hi,

Thanks a lot for helping. In that particular case, I'm getting an error with the command :

Traceback (most recent call last):
  File "/opt/netbox-3.2.1/netbox/manage.py", line 8, in <module>
    from django.core.management import execute_from_command_line
ModuleNotFoundError: No module named 'django'

I'm now wondering if there is not somewhere a misconfiguration from day 1 as I think I got the same missing django message by trying to install a map plugin (abandoned the idea for now). Netbox overall seems to work/update without any issue.

Netbox is installed on a dedicated VM, without docker and is installed that way (folder structure) on an AlmaLinux box and runs behind an NGINX reverse:
image

If somebody can help with this error too, that would be very nice, thanks in advance! 😉

@EHRETic commented on GitHub (May 2, 2022): > `python manage.py housekeeping` Hi, Thanks a lot for helping. In that particular case, I'm getting an error with the command : ``` Traceback (most recent call last): File "/opt/netbox-3.2.1/netbox/manage.py", line 8, in <module> from django.core.management import execute_from_command_line ModuleNotFoundError: No module named 'django' ``` I'm now wondering if there is not somewhere a misconfiguration from day 1 as I think I got the same missing django message by trying to install a map plugin (abandoned the idea for now). Netbox overall seems to work/update without any issue. Netbox is installed on a dedicated VM, without docker and is installed that way (folder structure) on an AlmaLinux box and runs behind an NGINX reverse: ![image](https://user-images.githubusercontent.com/28634810/166219084-191a287a-0815-49d2-be01-97fc034100e0.png) If somebody can help with this error too, that would be very nice, thanks in advance! 😉
Author
Owner

@kkthxbye-code commented on GitHub (May 2, 2022):

You need to activate the venv before running the command.

Please consult the documentation here:

https://docs.netbox.dev/en/stable/development/getting-started/#create-a-python-virtual-environment

@kkthxbye-code commented on GitHub (May 2, 2022): You need to activate the venv before running the command. Please consult the documentation here: https://docs.netbox.dev/en/stable/development/getting-started/#create-a-python-virtual-environment
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#6432