Replies: 1 comment
-
You're going to be better off sticking with the container for troubleshooting and long-term running. This avoids the headaches of the host machine having different/conflicting versions of python and dependencies, as well as permission issues. So going back to the container, post a (redacted) copy of the Vuegraf container log so I can see what's going on there. Perhaps it's a simple issue of you needing to specify the correct internal container IP of the InfluxDB2 container. Which, by the way, if Grafana works against the InfluxDB2 container, you can look in Grafana's admin UI and find out what IP it's using to connect. That will help eliminate one unknown at least. |
Beta Was this translation helpful? Give feedback.
-
First off i'm no python guru (nor am i synology guru either). So there is that...
I found vuegraph in the docker repository from the synology UI and downloaded the image.
I made the vuegraf.json file and stored it in a directory which i mounted to /opt/vuegraph/conf
I masked my IP, API key, Organization, Email and vue password for security reasons
I should mention that both influxdb and grafana runs in separate containers on the synology device and i feed them data from hubitat. This works great. I created a new bucket for for Vuegraf on influxdb to write to. I'm using influxdb 2.6.1 if that matters.
I could not get the vuegraf python script to run properly on a container on synology. After much wrangling i logged into the synology device and attempted to run the python script directly in a shell. I found that the default python version was python3.8 and that gave me some headache. However python3.9 is installed and can be started by running python3.9.
I installed pip and from there installed the dependencies. I also installed separately the pyEmVue package using pip.
If i run this as a regular user (eg i ssh into my synology and run the command directly) i get the following error message:
If i run it as root it seems to execute more but i get a different error message:
Any suggestions to what i should at next to try to figure out why i can't get it started. I figured that if i first can get it started on the command line i stand a better chance of getting it working in a container. Any thoughts?
Beta Was this translation helpful? Give feedback.
All reactions