Custom Scripts uploaded thru Web GUI are no longer updated #19716
Unanswered
cw-nss
asked this question in
Help Wanted!
Replies: 1 comment
-
I think we encounter the same issue. Also when I try to upload a new script I get the following message in the web gui: But when I do a ls in the directory, I see the script: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Netbox v4.3.1 on Ubuntu 22.04; installed using git method
Prior to upgrading to 4.3.1, we were able to upload new versions of our custom scripts through the web GUI. Now, after upgrading to v4.3.1, this method no longer appears to work for us.
Upon upload, a new file is created in the /opt/netbox/netbox/scripts/ directory. If the original script was named "port-config.py" then the newly-uploaded versions will have a name like "port-config_5dRgwIP.py" and "port-config_Wt0wMRx.py". Changes included in the newly-uploaded version are not included in the script in Netbox.
Have we managed to break something?
Beta Was this translation helpful? Give feedback.
All reactions