kbialek / deye-inverter-mqtt

Reads Deye solar inverter metrics and posts them over MQTT
Apache License 2.0
230 stars 50 forks source link

Docker on Synology NAS DS920+ witth Portainer #191

Closed K3vb3rt closed 3 months ago

K3vb3rt commented 3 months ago

Hardware (please complete the following information): Synology DS920+

Inverter model: Deye SUN800-G3-EU Software (please complete the following information): Docker/Portainer

deye-inverter-mqtt version: 2024.07.1 DEYE_LOGGER_IP_ADDRESS=192.168.1.145 DEYE_LOGGER_PORT=8899 DEYE_LOGGER_SERIAL_NUMBER=39010XXXXX

MQTT_HOST=192.168.1.144 MQTT_PORT=1883 MQTT_USERNAME=mqtt-user MQTT_PASSWORD=ck9jPbpwXXXXXXXXX MQTT_TOPIC_PREFIX=deye

LOG_LEVEL=INFO DEYE_DATA_READ_INTERVAL=10 DEYE_METRIC_GROUPS=string DEYE_FEATURE_SET_TIME=true

Every time I try to install the container in Docker or Portainer I get this error and I have to remove it manually. Any idea what I can to? It worked until I installed watchtower and it pulled the latest image.

Bildschirmfoto 2024-08-20 um 16 04 13
kbialek commented 3 months ago

No idea tbh. I can only speculate. This seems to be quite common problem. Look here. Maybe it's caused by some file permission issue. Maybe watchtower runs as a different user (possibly root) and modifies file permissions.

K3vb3rt commented 3 months ago

I handled it by myself by completely removing my Docker (container station) and rebuilding from ground. Now it works! Thank you ;-)