whats-up-docker icon indicating copy to clipboard operation
whats-up-docker copied to clipboard

WUD did not show update and experience error

Open ranrinc opened this issue 1 year ago • 14 comments

I got this registry error which caused many problems in HASS. Unsure what happened but it seems that docker.io hubs did not perform checks.

The error messages Screen Shot 2022-07-24 at 11 31 10 AM

I also update WUD manually since it's stuck on 5.17.2 and has to update to 5.19.0

this also seems odd Screen Shot 2022-07-24 at 12 58 40 PM

ranrinc avatar Jul 24 '22 04:07 ranrinc

Hi,

In your screenshot, I cannot see any error message to help me understand what goes wrong; do you have any logs you can paste here?

If you have mounted a volume to keep the state, please remove it first to start from scratch.

fmartinou avatar Jul 24 '22 08:07 fmartinou

I got this registry error which caused many problems in HASS. Unsure what happened but it seems that docker.io hubs did not perform checks.

The error messages Screen Shot 2022-07-24 at 11 31 10 AM

I also update WUD manually since it's stuck on 5.17.2 and has to update to 5.19.0

this also seems odd Screen Shot 2022-07-24 at 12 58 40 PM

I believe on my first screenshot it showed that it did not find the registry and an error appeared for influxdb

Screen Shot 2022-07-24 at 3 52 27 PM
06:06:50.280  WARN whats-up-docker/watcher.docker.dockerapp2lxc: Error when processing (Unsupported Registry unknown) (container=dockerapp2lxc_uptime-kuma)
06:06:50.280  WARN whats-up-docker/watcher.docker.dockerapp2lxc: Error when processing some containers (Cannot read properties of undefined (reading 'tag'))
06:06:50.284  WARN whats-up-docker: dockersyno_broadlinkmanager - No Registry Provider found
06:06:50.284  WARN whats-up-docker: dockersyno_tautulli - No Registry Provider found
06:06:50.285  WARN whats-up-docker/watcher.docker.dockersyno: Error when processing (Unsupported Registry unknown) (container=dockersyno_tautulli)
06:06:50.286  WARN whats-up-docker/watcher.docker.dockersyno: Error when processing (Unsupported Registry unknown) (container=dockersyno_broadlinkmanager)
06:06:50.286  WARN whats-up-docker/watcher.docker.dockersyno: Error when processing some containers (Cannot read properties of undefined (reading 'tag'))
06:06:50.307  WARN whats-up-docker: dockerrpi_authelia - No Registry Provider found
06:06:50.318  WARN whats-up-docker: dockerrpi_redis - No Registry Provider found
06:06:50.320  WARN whats-up-docker/watcher.docker.dockerrpi: Error when processing (Unsupported Registry unknown) (container=dockerrpi_authelia)
06:06:50.320  WARN whats-up-docker/watcher.docker.dockerrpi: Error when processing (Unsupported Registry unknown) (container=dockerrpi_redis)
06:06:50.321  WARN whats-up-docker/watcher.docker.dockerrpi: Error when processing some containers (Cannot read properties of undefined (reading 'tag'))
06:06:50.658  WARN whats-up-docker/watcher.docker.dockerapp2lxc: Error when processing (401 - {"errors":[{"code":"UNAUTHORIZED","message":"authentication required"}]}) (container=dockerapp2lxc_healthchecks)
07:00:00.173  INFO whats-up-docker/watcher.docker.portlxc: Cron started (0 * * * *)
07:00:00.183  WARN whats-up-docker: portlxc_portainer - No Registry Provider found
07:00:00.183  WARN whats-up-docker/watcher.docker.portlxc: Error when processing (Unsupported Registry unknown) (container=portlxc_portainer)
07:00:00.184  WARN whats-up-docker/watcher.docker.portlxc: Error when processing some containers (Cannot read properties of undefined (reading 'tag'))
07:00:00.184  INFO whats-up-docker/watcher.docker.portlxc: Cron finished (0 containers watched, 0 errors, 0 available updates)
07:00:00.207  INFO whats-up-docker/watcher.docker.port2lxc: Cron started (0 * * * *)
07:00:00.208  INFO whats-up-docker/watcher.docker.dockerrpi: Cron started (0 * * * *)
07:00:00.209  INFO whats-up-docker/watcher.docker.dockerhass: Cron started (0 * * * *)
07:00:00.210  INFO whats-up-docker/watcher.docker.dockersyno: Cron started (0 * * * *)
07:00:00.211  INFO whats-up-docker/watcher.docker.dockerapp1lxc: Cron started (0 * * * *)
07:00:00.216  INFO whats-up-docker/watcher.docker.dockerapp2lxc: Cron started (0 * * * *)
07:00:00.235  WARN whats-up-docker: dockerapp1lxc_influxdb - No Registry Provider found
07:00:00.236  WARN whats-up-docker/watcher.docker.dockerapp1lxc: Error when processing (Unsupported Registry unknown) (container=dockerapp1lxc_influxdb)
07:00:00.237  WARN whats-up-docker/watcher.docker.dockerapp1lxc: Error when processing some containers (Cannot read properties of undefined (reading 'tag'))
07:00:00.237  INFO whats-up-docker/watcher.docker.dockerapp1lxc: Cron finished (0 containers watched, 0 errors, 0 available updates)
07:00:00.245  WARN whats-up-docker: port2lxc_portainer - No Registry Provider found
07:00:00.245  WARN whats-up-docker/watcher.docker.port2lxc: Error when processing (Unsupported Registry unknown) (container=port2lxc_portainer)
07:00:00.245  WARN whats-up-docker/watcher.docker.port2lxc: Error when processing some containers (Cannot read properties of undefined (reading 'tag'))
07:00:00.245  INFO whats-up-docker/watcher.docker.port2lxc: Cron finished (0 containers watched, 0 errors, 0 available updates)
07:00:00.259  WARN whats-up-docker: dockersyno_tautulli - No Registry Provider found
07:00:00.264  WARN whats-up-docker: dockersyno_broadlinkmanager - No Registry Provider found
07:00:00.266  WARN whats-up-docker/watcher.docker.dockersyno: Error when processing (Unsupported Registry unknown) (container=dockersyno_tautulli)
07:00:00.266  WARN whats-up-docker/watcher.docker.dockersyno: Error when processing (Unsupported Registry unknown) (container=dockersyno_broadlinkmanager)
07:00:00.267  WARN whats-up-docker/watcher.docker.dockersyno: Error when processing some containers (Cannot read properties of undefined (reading 'tag'))
07:00:00.268  INFO whats-up-docker/watcher.docker.dockersyno: Cron finished (0 containers watched, 0 errors, 0 available updates)
07:00:00.280  WARN whats-up-docker: dockerapp2lxc_uptime-kuma - No Registry Provider found
07:00:00.282  WARN whats-up-docker: dockerapp2lxc_bitwarden - No Registry Provider found
07:00:00.283  WARN whats-up-docker: dockerapp2lxc_Dashy - No Registry Provider found
07:00:00.283  WARN whats-up-docker: dockerapp2lxc_drawio - No Registry Provider found
07:00:00.285  WARN whats-up-docker/watcher.docker.dockerapp2lxc: Error when processing (Unsupported Registry unknown) (container=dockerapp2lxc_drawio)
07:00:00.285  WARN whats-up-docker/watcher.docker.dockerapp2lxc: Error when processing (Unsupported Registry unknown) (container=dockerapp2lxc_Dashy)
07:00:00.286  WARN whats-up-docker/watcher.docker.dockerapp2lxc: Error when processing (Unsupported Registry unknown) (container=dockerapp2lxc_bitwarden)
07:00:00.286  WARN whats-up-docker/watcher.docker.dockerapp2lxc: Error when processing (Unsupported Registry unknown) (container=dockerapp2lxc_uptime-kuma)
07:00:00.287  WARN whats-up-docker/watcher.docker.dockerapp2lxc: Error when processing some containers (Cannot read properties of undefined (reading 'tag'))
07:00:00.287  INFO whats-up-docker/watcher.docker.dockerapp2lxc: Cron finished (0 containers watched, 0 errors, 0 available updates)
07:00:00.297  WARN whats-up-docker: dockerrpi_authelia - No Registry Provider found
07:00:00.304  WARN whats-up-docker: dockerrpi_redis - No Registry Provider found
07:00:00.305  WARN whats-up-docker/watcher.docker.dockerrpi: Error when processing (Unsupported Registry unknown) (container=dockerrpi_authelia)
07:00:00.306  WARN whats-up-docker/watcher.docker.dockerrpi: Error when processing (Unsupported Registry unknown) (container=dockerrpi_redis)
07:00:00.306  WARN whats-up-docker/watcher.docker.dockerrpi: Error when processing some containers (Cannot read properties of undefined (reading 'tag'))
07:00:00.306  INFO whats-up-docker/watcher.docker.dockerrpi: Cron finished (0 containers watched, 0 errors, 0 available updates)
07:00:00.625  WARN whats-up-docker/watcher.docker.dockerapp2lxc: Error when processing (401 - {"errors":[{"code":"UNAUTHORIZED","message":"authentication required"}]}) (container=dockerapp2lxc_healthchecks)
07:00:02.478  INFO whats-up-docker/watcher.docker.dockerhass: Cron finished (11 containers watched, 0 errors, 6 available updates)
08:00:00.012  INFO whats-up-docker/watcher.docker.portlxc: Cron started (0 * * * *)
08:00:00.014  INFO whats-up-docker/watcher.docker.port2lxc: Cron started (0 * * * *)
08:00:00.015  INFO whats-up-docker/watcher.docker.dockerrpi: Cron started (0 * * * *)
08:00:00.023  WARN whats-up-docker: portlxc_portainer - No Registry Provider found
08:00:00.024  WARN whats-up-docker/watcher.docker.portlxc: Error when processing (Unsupported Registry unknown) (container=portlxc_portainer)
08:00:00.024  WARN whats-up-docker/watcher.docker.portlxc: Error when processing some containers (Cannot read properties of undefined (reading 'tag'))
08:00:00.024  INFO whats-up-docker/watcher.docker.portlxc: Cron finished (0 containers watched, 0 errors, 0 available updates)
08:00:00.039  INFO whats-up-docker/watcher.docker.dockerhass: Cron started (0 * * * *)
08:00:00.041  WARN whats-up-docker: port2lxc_portainer - No Registry Provider found
08:00:00.041  WARN whats-up-docker/watcher.docker.port2lxc: Error when processing (Unsupported Registry unknown) (container=port2lxc_portainer)
08:00:00.042  WARN whats-up-docker/watcher.docker.port2lxc: Error when processing some containers (Cannot read properties of undefined (reading 'tag'))
08:00:00.042  INFO whats-up-docker/watcher.docker.port2lxc: Cron finished (0 containers watched, 0 errors, 0 available updates)
08:00:00.046  INFO whats-up-docker/watcher.docker.dockersyno: Cron started (0 * * * *)
08:00:00.047  INFO whats-up-docker/watcher.docker.dockerapp1lxc: Cron started (0 * * * *)
08:00:00.048  INFO whats-up-docker/watcher.docker.dockerapp2lxc: Cron started (0 * * * *)
08:00:00.081  WARN whats-up-docker: dockerrpi_redis - No Registry Provider found
08:00:00.083  WARN whats-up-docker: dockerrpi_authelia - No Registry Provider found
08:00:00.084  WARN whats-up-docker/watcher.docker.dockerrpi: Error when processing (Unsupported Registry unknown) (container=dockerrpi_authelia)
08:00:00.085  WARN whats-up-docker/watcher.docker.dockerrpi: Error when processing (Unsupported Registry unknown) (container=dockerrpi_redis)
08:00:00.085  WARN whats-up-docker/watcher.docker.dockerrpi: Error when processing some containers (Cannot read properties of undefined (reading 'tag'))
08:00:00.085  INFO whats-up-docker/watcher.docker.dockerrpi: Cron finished (0 containers watched, 0 errors, 0 available updates)
08:00:00.091  WARN whats-up-docker: dockerapp2lxc_bitwarden - No Registry Provider found
08:00:00.091  WARN whats-up-docker: dockerapp2lxc_uptime-kuma - No Registry Provider found
08:00:00.092  WARN whats-up-docker: dockerapp1lxc_influxdb - No Registry Provider found
08:00:00.093  WARN whats-up-docker/watcher.docker.dockerapp1lxc: Error when processing (Unsupported Registry unknown) (container=dockerapp1lxc_influxdb)
08:00:00.093  WARN whats-up-docker/watcher.docker.dockerapp1lxc: Error when processing some containers (Cannot read properties of undefined (reading 'tag'))
08:00:00.093  INFO whats-up-docker/watcher.docker.dockerapp1lxc: Cron finished (0 containers watched, 0 errors, 0 available updates)
08:00:00.097  WARN whats-up-docker: dockersyno_tautulli - No Registry Provider found
08:00:00.098  WARN whats-up-docker: dockerapp2lxc_drawio - No Registry Provider found
08:00:00.099  WARN whats-up-docker: dockerapp2lxc_Dashy - No Registry Provider found
08:00:00.100  WARN whats-up-docker/watcher.docker.dockerapp2lxc: Error when processing (Unsupported Registry unknown) (container=dockerapp2lxc_drawio)
08:00:00.101  WARN whats-up-docker/watcher.docker.dockerapp2lxc: Error when processing (Unsupported Registry unknown) (container=dockerapp2lxc_Dashy)
08:00:00.101  WARN whats-up-docker/watcher.docker.dockerapp2lxc: Error when processing (Unsupported Registry unknown) (container=dockerapp2lxc_bitwarden)
08:00:00.101  WARN whats-up-docker/watcher.docker.dockerapp2lxc: Error when processing (Unsupported Registry unknown) (container=dockerapp2lxc_uptime-kuma)
08:00:00.102  WARN whats-up-docker/watcher.docker.dockerapp2lxc: Error when processing some containers (Cannot read properties of undefined (reading 'tag'))
08:00:00.102  INFO whats-up-docker/watcher.docker.dockerapp2lxc: Cron finished (0 containers watched, 0 errors, 0 available updates)
08:00:00.108  WARN whats-up-docker: dockersyno_broadlinkmanager - No Registry Provider found
08:00:00.109  WARN whats-up-docker/watcher.docker.dockersyno: Error when processing (Unsupported Registry unknown) (container=dockersyno_tautulli)
08:00:00.109  WARN whats-up-docker/watcher.docker.dockersyno: Error when processing (Unsupported Registry unknown) (container=dockersyno_broadlinkmanager)
08:00:00.110  WARN whats-up-docker/watcher.docker.dockersyno: Error when processing some containers (Cannot read properties of undefined (reading 'tag'))
08:00:00.110  INFO whats-up-docker/watcher.docker.dockersyno: Cron finished (0 containers watched, 0 errors, 0 available updates)
08:00:00.630  WARN whats-up-docker/watcher.docker.dockerapp2lxc: Error when processing (401 - {"errors":[{"code":"UNAUTHORIZED","message":"authentication required"}]}) (container=dockerapp2lxc_healthchecks)
08:00:02.239  INFO whats-up-docker/watcher.docker.dockerhass: Cron finished (11 containers watched, 0 errors, 6 available updates)
08:35:45.547  INFO whats-up-docker/watcher.docker.dockersyno: Status changed from exited to running (container=dockersyno_JDownloader)

ranrinc avatar Jul 24 '22 08:07 ranrinc

It looks like WUD failed to start the component responsible for the Docker Hub integration 🤔 I don't know if you still have the logs from the start of the process to see why it's failing?

In all cases, I suggest you to remove the state and restart from fresh.

Regarding the 401 errors, I guess it's related to images from lscr.io? If so, please take a look at https://github.com/fmartinou/whats-up-docker/issues/143 to track any progress on this.

fmartinou avatar Jul 24 '22 09:07 fmartinou

It looks like WUD failed to start the component responsible for the Docker Hub integration 🤔 I don't know if you still have the logs from the start of the process to see why it's failing?

In all cases, I suggest you to remove the state and restart from fresh.

Regarding the 401 errors, I guess it's related to images from lscr.io? If so, please take a look at #143 to track any progress on this.

Hi there,

I miss this question and have not resolved the issue. The strangest thing is not all getting the same unsupported registry several of my apps do being recognize and on the same docker server.

BTW when you said remove state, what do you mean?

ranrinc avatar Dec 09 '22 14:12 ranrinc

Hi,

BTW when you said remove state, what do you mean?

I mean, if you have mounted a volume to the wud container, erase the content and restart the container to start from scratch.

fmartinou avatar Dec 09 '22 14:12 fmartinou

Hi,

BTW when you said remove state, what do you mean?

I mean, if you have mounted a volume to the wud container, erase the content and restart the container to start from scratch.

yeah... I already tried that several times with the same result. However, the same docker hub release does get noticed without a problem. I'm not talking from another docker-machine but under the same docker.

ranrinc avatar Dec 10 '22 09:12 ranrinc

I try to scan only the docker that runs WUD with several apps. 4 apps got the informations correctly, however, the other 4 did not or failed to connect to the docker hub.

12:29:24.039  INFO whats-up-docker: What's up Docker? is starting (version = 6.0.0)
12:29:24.039  INFO whats-up-docker/store: Load store from (/store/wud.json)
12:29:24.046  INFO whats-up-docker/store: Create Collection app
12:29:24.047  INFO whats-up-docker/store: Migrate data from version undefined to version 6.0.0
12:29:24.047  INFO whats-up-docker/store: Create Collection containers
12:29:24.047  INFO whats-up-docker/prometheus: Init Prometheus module
12:29:24.050  INFO whats-up-docker/registry: Register all components of kind trigger for provider mqtt
12:29:24.085  INFO whats-up-docker/trigger.mqtt.mosquitto: Register with configuration {"url":"mqtt://192.168:1883","hass":{"enabled":true,"prefix":"homeassistant"},"topic":"wud/container","tls":{"rejectunauthorized":true},"threshold":"all","mode":"simple","once":true,"simpletitle":"New ${kind} found for container ${name}","simplebody":"Container ${name} running with ${kind} ${local} can be updated to ${kind} ${remote}\n${link}","batchtitle":"${count} updates available"}
12:29:24.197  INFO whats-up-docker/registry.ecr: Register with configuration {}
12:29:24.197  INFO whats-up-docker/registry.ghcr: Register with configuration {}
12:29:24.198  INFO whats-up-docker/registry.hotio: Register with configuration {}
12:29:24.199  INFO whats-up-docker/registry.hub: Register with configuration {}
12:29:24.199  INFO whats-up-docker/registry.quay: Register with configuration {}
12:29:24.199  INFO whats-up-docker/registry: No Watcher configured => Init a default one (Docker with default options)
12:29:24.433  INFO whats-up-docker/watcher.docker.local: Register with configuration {"socket":"/var/run/docker.sock","port":2375,"cron":"0 * * * *","watchbydefault":true,"watchall":false,"watchevents":true}
12:29:24.434  INFO whats-up-docker/watcher.docker.local: Cron scheduled (0 * * * *)
12:29:24.440  INFO whats-up-docker/registry: Register all components of kind authentication for provider basic
12:29:24.442  INFO whats-up-docker/authentication.basic.ranrinc: Register with configuration {"user":"ranrinc","hash":"$***********************************0"}
12:29:24.452  INFO whats-up-docker/api: Server listening on port 3000 (HTTPS)
12:29:25.444  INFO whats-up-docker/watcher.docker.local: Cron started (0 * * * *)
12:29:25.447  INFO whats-up-docker/watcher.docker.local: Listening to docker events
12:29:25.460  WARN whats-up-docker: local_bitwarden - No Registry Provider found
12:29:25.462  WARN whats-up-docker: local_healthchecks - No Registry Provider found
12:29:25.464  WARN whats-up-docker: local_drawio - No Registry Provider found
12:29:25.467  WARN whats-up-docker: local_uptime-kuma - No Registry Provider found
12:29:25.468  WARN whats-up-docker: local_snapdrop - No Registry Provider found
12:29:25.471  WARN whats-up-docker/watcher.docker.local: Error when processing (Unsupported Registry unknown) (container=local_uptime-kuma)
12:29:25.472  INFO whats-up-docker/trigger.mqtt.mosquitto: Add hass device [id=wud_container_local_uptime-kuma]
12:29:25.473  WARN whats-up-docker/watcher.docker.local: Error when processing (Unsupported Registry unknown) (container=local_snapdrop)
12:29:25.473  INFO whats-up-docker/trigger.mqtt.mosquitto: Add hass device [id=wud_container_local_snapdrop]
12:29:25.473  WARN whats-up-docker/watcher.docker.local: Error when processing (Unsupported Registry unknown) (container=local_drawio)
12:29:25.474  INFO whats-up-docker/trigger.mqtt.mosquitto: Add hass device [id=wud_container_local_drawio]
12:29:25.474  WARN whats-up-docker/watcher.docker.local: Error when processing (Unsupported Registry unknown) (container=local_bitwarden)
12:29:25.474  INFO whats-up-docker/trigger.mqtt.mosquitto: Add hass device [id=wud_container_local_bitwarden]
12:29:25.474  WARN whats-up-docker/watcher.docker.local: Error when processing (Unsupported Registry unknown) (container=local_healthchecks)
12:29:25.474  INFO whats-up-docker/trigger.mqtt.mosquitto: Add hass device [id=wud_container_local_healthchecks]
12:29:27.288  INFO whats-up-docker/trigger.mqtt.mosquitto: Add hass device [id=wud_container_local_xiaomi_token_extractor]
12:29:27.442  INFO whats-up-docker/trigger.mqtt.mosquitto: Add hass device [id=wud_container_local_Dashy]
12:29:27.817  INFO whats-up-docker/trigger.mqtt.mosquitto: Add hass device [id=wud_container_local_wud]
12:29:27.818  INFO whats-up-docker/watcher.docker.local: Cron finished (8 containers watched, 5 errors, 0 available updates)

Attach the entire logs for that specific docker.

ranrinc avatar Dec 11 '22 12:12 ranrinc

I think I figure out where the error coming from. When I rerun all my apps from CLI - Docker-Compose then WUD will correctly detect my registry. However, if I update the apps from portainer then it will say error. Redone my entire applications and it now shows the right result. Now to update in the future will be painful.

ranrinc avatar Dec 12 '22 03:12 ranrinc

Hi, I have the same issue. Something is weird with the combination of Portainer and WUD. As soon as I create the container with Portainer's authenticated Dockerhub registry, WUD shows the error message "No Registry Provider found" and the above shown error messages for each container created with that registry. If I remove the authenticated Dockerhub registry and recreate the container with the un-authenticated Dockerhub registry, everything works well. An unauthenticated ghcr.io registry, which I also have in my Portainer setup, is not affected by this issue.

mhosse avatar Dec 13 '22 23:12 mhosse

I have the same issue. Portainer prepends "docker.io" registry url to all hub images. For example, "docker.io/fatedier/frps" instead of "fatedier/frps" as the image name. It looks like WUD doesn't recognize "docker.io" as hub.

sjtuross avatar Jan 24 '23 08:01 sjtuross

Hi,

@sjtuross is right; I'm gonna fix it.

fmartinou avatar Jan 28 '23 15:01 fmartinou

The fix is in progress: https://github.com/fmartinou/whats-up-docker/commit/4aad54865c3bac3f03d9ef7faed589fda5315042

fmartinou avatar Jan 28 '23 16:01 fmartinou

The fix is in progress: 4aad548

yay... thank you..

ranrinc avatar Jan 29 '23 02:01 ranrinc

The latest 6.0.2 includes the fix; I hope it resolves your issue 🤞.

fmartinou avatar Jan 29 '23 09:01 fmartinou