I’ve installed everything correctly as far as I know and I see one “set” of logs in the terminal and one line of those same logs on the /store/ directory i created.
but the logs say it can’t find any watcher.
And even tho I’m (no longer…) getting any errors in the logs about connecting to my MQTT broker (so I think it connected OK…maybe…?) I’m not seeing any mqtt messages on my selected topic. I’ve set the cron for every minute just to make sure I know everything is working before I set it back to once a day.
Here is my docker run command:
sudo docker run -d --name wud -e WUD_LOG_LEVEL="DEBUG" -v "/var/run/docker.sock:/var/run/docker.sock" -v /home/finity/docker/wud/store:/store -e WUD_WATCHER_DOCKER_LOCAL_CRON="1 * * * *" -e WUD_TRIGGER_MQTT_MOSQUITTO_URL="mqtt://192.168.1.11:1883" -e WUD_TRIGGER_MQTT_MOSQUITTO_USER="myuser" -e WUD_TRIGGER_MQTT_MOSQUITTO_PASSWORD="mypwd" -e WUD_TRIGGER_MQTT_MOSQUITTO_TOPIC="wud/image" fmartinou/whats-up-docker
Here is the log:
finity@NUC:~$ sudo docker container logs -f wud
{"name":"whats-up-doc","hostname":"380f02898055","pid":1,"level":30,"msg":"What's up, docker? is starting","time":"2020-02-03T22:29:40.090Z","v":0}
{"name":"whats-up-doc","hostname":"380f02898055","pid":1,"level":30,"msg":"Init DB (/store/wud.json)","time":"2020-02-03T22:29:40.092Z","v":0}
{"name":"whats-up-doc","hostname":"380f02898055","pid":1,"level":30,"msg":"Register all components for provider mqtt","time":"2020-02-03T22:29:40.100Z","v":0}
{"name":"whats-up-doc","hostname":"380f02898055","pid":1,"level":30,"msg":"Register component Mosquitto of type Mqtt with configuration {\"url\":\"mqtt://192.168.1.11:1883\",\"user\":\"myuser\",\"topic\":\"wud/image\",\"password\":\"mypwd\"}","time":"2020-02-03T22:29:40.198Z","v":0}
{"name":"whats-up-doc","hostname":"380f02898055","pid":1,"level":30,"msg":"No Watcher found => Init a default Docker one","time":"2020-02-03T22:29:40.208Z","v":0}
{"name":"whats-up-doc","hostname":"380f02898055","pid":1,"level":30,"msg":"Register component Local of type Docker with configuration {}","time":"2020-02-03T22:29:40.513Z","v":0}
{"name":"whats-up-doc","hostname":"380f02898055","pid":1,"level":30,"msg":"Schedule runner (0 * * * *)","time":"2020-02-03T22:29:40.516Z","v":0}
{"name":"whats-up-doc","hostname":"380f02898055","pid":1,"level":20,"msg":"Check https://hub.docker.com/fmartinou/whats-up-docker:latest","time":"2020-02-03T22:29:40.604Z","v":0}
{"name":"whats-up-doc","hostname":"380f02898055","pid":1,"level":20,"msg":"Check https://hub.docker.com/library/influxdb:latest","time":"2020-02-03T22:29:40.611Z","v":0}
{"name":"whats-up-doc","hostname":"380f02898055","pid":1,"level":20,"msg":"Check https://hub.docker.com/raymondmm/tasmoadmin:latest","time":"2020-02-03T22:29:40.611Z","v":0}
{"name":"whats-up-doc","hostname":"380f02898055","pid":1,"level":20,"msg":"Check https://hub.docker.com/esphome/esphome:1.13.6","time":"2020-02-03T22:29:40.612Z","v":0}
{"name":"whats-up-doc","hostname":"380f02898055","pid":1,"level":20,"msg":"Check https://hub.docker.com/linuxserver/code-server:latest","time":"2020-02-03T22:29:40.612Z","v":0}
{"name":"whats-up-doc","hostname":"380f02898055","pid":1,"level":20,"msg":"Check https://hub.docker.com/nodered/node-red:latest","time":"2020-02-03T22:29:40.613Z","v":0}
{"name":"whats-up-doc","hostname":"380f02898055","pid":1,"level":20,"msg":"Check https://hub.docker.com/homeassistant/home-assistant:latest","time":"2020-02-03T22:29:40.613Z","v":0}
{"name":"whats-up-doc","hostname":"380f02898055","pid":1,"level":20,"msg":"Check https://hub.docker.com/philhawthorne/ha-dockermon:latest","time":"2020-02-03T22:29:40.614Z","v":0}
{"name":"whats-up-doc","hostname":"380f02898055","pid":1,"level":20,"msg":"Check https://hub.docker.com/linuxserver/openvpn-as:latest","time":"2020-02-03T22:29:40.614Z","v":0}
{"name":"whats-up-doc","hostname":"380f02898055","pid":1,"level":20,"msg":"Check https://hub.docker.com/nekmo/amazon-dash:latest","time":"2020-02-03T22:29:40.615Z","v":0}
{"name":"whats-up-doc","hostname":"380f02898055","pid":1,"level":20,"msg":"Check https://hub.docker.com/acockburn/appdaemon:latest","time":"2020-02-03T22:29:40.615Z","v":0}
{"name":"whats-up-doc","hostname":"380f02898055","pid":1,"level":20,"msg":"Check https://hub.docker.com/library/eclipse-mosquitto:latest","time":"2020-02-03T22:29:40.615Z","v":0}
{"name":"whats-up-doc","hostname":"380f02898055","pid":1,"level":20,"msg":"Check https://hub.docker.com/linuxserver/syncthing:latest","time":"2020-02-03T22:29:40.616Z","v":0}
{"name":"whats-up-doc","hostname":"380f02898055","pid":1,"level":20,"msg":"Check https://hub.docker.com/linuxserver/letsencrypt:latest","time":"2020-02-03T22:29:40.616Z","v":0}
{"name":"whats-up-doc","hostname":"380f02898055","pid":1,"level":20,"msg":"Check https://hub.docker.com/portainer/portainer:latest","time":"2020-02-03T22:29:40.616Z","v":0}
Anything that you can see I’m doing wrong?