Issue with Diun alerts reddit / selfhosted ---------------------------------------------------------------------- killmasta93 · 2023-12-30 18:25 HI I was wondering if someone could shed some light, Currently got the mail notifications working but cant seem to get it working to alert me when there is an update on the image, What i did put an old wordpress version 4.1.1 and in theory should alert me that there is an update but not doing attaching the info version: "3.5" services: diun: image: crazymax/diun:latest volumes: - "./data:/data" - "./diun.yml:/diun.yml:ro" - "/var/run/docker.sock:/var/run/docker.sock" environment: - "TZ=Europe/Paris" - "LOG_LEVEL=info" - "LOG_JSON=false" restart: always ​ db: path: diun.db watch: workers: 10 schedule: "* * * * *" firstCheckNotif: true compareDigest: true notif: mail: host: mail.domain.com port: 465 ssl: true username: alerts@domain.com password: thepass from: alerts@domain.com to: alerts@domain.com providers: docker: watchStopped: true watchByDefault: true ​ ​ diun-diun-1 | Sat, 30 Dec 2023 19:22:47 CET INF Cron initialized with schedule * * * * * diun-diun-1 | Sat, 30 Dec 2023 19:22:47 CET INF Next run in 25 seconds 844 milliseconds (2023-12-30 19:23:13.025697122 +0100 CET) diun-diun-1 | Sat, 30 Dec 2023 19:23:13 CET INF Cron triggered diun-diun-1 | Sat, 30 Dec 2023 19:23:13 CET INF Found 20 image(s) to analyze provider=docker diun-diun-1 | Sat, 30 Dec 2023 19:23:15 CET INF Jobs completed added=0 failed=0 skipped=0 unchanged=20 updated=0 diun-diun-1 | Sat, 30 Dec 2023 19:23:15 CET INF Next run in 54 seconds 478 milliseconds (2023-12-30 19:24:07.50488044 +0100 CET) diun-diun-1 | Sat, 30 Dec 2023 19:24:07 CET INF Cron triggered diun-diun-1 | Sat, 30 Dec 2023 19:24:07 CET INF Found 20 image(s) to analyze provider=docker diun-diun-1 | Sat, 30 Dec 2023 19:24:10 CET INF Jobs completed added=0 failed=0 skipped=0 unchanged=20 updated=0 diun-diun-1 | Sat, 30 Dec 2023 19:24:10 CET INF Next run in 1 minute 21 seconds (2023-12-30 19:25:28.525186566 +0100 CET) ​ ---------------------------------------------------------------------- RecursiveIterator · 2023-12-30 19:03 What is the value of `image` in your Wordpress service? ---------------------------------------------------------------------- killmasta93 · 2023-12-30 19:15 thanks for the reply, currently i put 4.1.1 ---------------------------------------------------------------------- RecursiveIterator · 2023-12-30 19:18 Then what update do you expect to see? ---------------------------------------------------------------------- killmasta93 · 2023-12-30 19:26 Wouldn't it alert me that should update to WordPress 6.1.1? ---------------------------------------------------------------------- RecursiveIterator · 2023-12-30 19:31 Nope. Diun doesn't understand versioning, or anything of that kind. What Diun does is check what `some/image:1.2.3` points to (the hash of the layer). If it's different from what your local image is, then it alerts you of an update. ---------------------------------------------------------------------- epsiblivion · 2023-12-30 19:43 if you put 4.1.1 it will only tell you if there is a new image with that tag and a different digest/sha. you need to tell it to monitor all tags in the repository and maybe filter out latest, dev, edge, etc with regex. ---------------------------------------------------------------------- killmasta93 · 2023-12-30 22:52 ohhhh gotcha gotcha thanks