Report is showing no results and status "Errored" #8520
-
Hello there, I am running Netbox (v3.1.6) in docker. I am aware that there is a separate respository for docker related topics. Since my request is about reports I thought this repository is the proper place. If that'st not the case, please accept my apology :) Now let me explain what I want to achieve: I created a custom field for devices that holds a date. This date shows the end of the service contract for the device. Now I am trying to create a report that checks the custom field and compares it to the current date, resulting in a list of devices and the end of their service contract. I already have a report file with logic that works afaik. (When I remove all NetBox related variables and give
I also checked the netbox shell to make sure that my custom field is working as expected.
I currently have two devices in NetBox as you can see above. Given the current date my if/else loop should output:
The report is available in the Web interface. Running it from the Web shows Status "Errored" and an empty report result. Running it from the CLI only shows "Finished"
Regardless how I run it,
So this is my current status, now of to the questions:
Your help is greatly appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Thanks to Kim in slack I was able to figure out the problem. My netbox-worker container had no access to the report file. Of course it was a docker related problem 🙈 |
Beta Was this translation helpful? Give feedback.
Thanks to Kim in slack I was able to figure out the problem. My netbox-worker container had no access to the report file. Of course it was a docker related problem 🙈