Simple custom script never ends #15928
Replies: 3 comments
-
Is the netbox-rq service running? |
Beta Was this translation helpful? Give feedback.
-
If you go back to the Custom Scripts Overview Page, does it show a last run? Experienced similar issue but it showed the run finished on the main page... |
Beta Was this translation helpful? Give feedback.
-
I have a similar issue. I am able to run the script using the CLI, but not the web interface. The CLI runs as the admin user (local) but the web interface runs as my LDAP user. When I run "journalctl -u netbox-rq -n 100", I end up with a message Not sure if you are using LDAP, but this was working before moving to version 4.0.6 from 3.x Scripts do run correctly in the web interface with a user that is not logging in via LDAP |
Beta Was this translation helpful? Give feedback.
-
I've started trying to learn to write some custom scripts for our Netbox instance, no matter what I include in the script it just sits and says "Results pending..." forever and ever and ever. The script never exits. I've created a bare bones script that does absolutely nothing but return a string, and same results.
Here's the code as it stands today (many things tried, but this is it as is stands):
Beta Was this translation helpful? Give feedback.
All reactions