NetBox Edition
NetBox Community
NetBox Version
v4.5.7
Python Version
3.12
Steps to Reproduce
- Build new NetBox folder and update the symlink to point at the new dir
- Complete all other upgrade steps before running the upgrade script itself
- Run the upgrade script in readonly mode to avoid db writes: "sudo /opt/netbox/upgrade.sh --readonly"
- Observe that the static folder in /opt/netbox/netbox did not get created
- Attempt to load the login page, observe error message regarding static content
Fix is to run manage.py collectstatic after the upgrade script, but this step isn't documented in the upgrade instructions and I assume it was intended to be automatically ran as a part of the upgrade script itself.
Expected Behavior
Per the upgrade instructions, I expect the static content to be created
Observed Behavior
Static folder does not get created
NetBox Edition
NetBox Community
NetBox Version
v4.5.7
Python Version
3.12
Steps to Reproduce
Fix is to run manage.py collectstatic after the upgrade script, but this step isn't documented in the upgrade instructions and I assume it was intended to be automatically ran as a part of the upgrade script itself.
Expected Behavior
Per the upgrade instructions, I expect the static content to be created
Observed Behavior
Static folder does not get created