Mqtt Docker Updater (MqDockerUp) is a tool for updating Docker containers. It provides an easy way to check for updates and publish changes to a MQTT broker.
I have 2 servers with docker. Both have mqdockerup. but when I start the second one, I get a lot of errors.
version: V1.8.0
Both are setup like this:
version: '3.9'
services:
mqdockerup:
image: micrib/mqdockerup:latest
restart: always
environment:
MAIN_INTERVAL: "6h"
MAIN_PREFIX: "server_lode" <--------------------------- the name is different for each server
MQTT_CONNECTIONURI: "mqtt://xxxxxxxxxxxxxxxxxxxx"
ACCESSTOKENS_GITHUB: "xxxxxxxxxxxxxxxxxxxxxxxxxx"
ACCESSTOKENS_DOCKERHUB: "xxxxxxxxxxxxxxxxxxxxxxxxxxxx"
volumes:
/var/run/docker.sock:/var/run/docker.sock # This is required to access the docker API
xxxxxxxxxxxxxxxxx:/app/data/ # This is required to store the data (database.db)
container_name: mqdockerup
But sadly once I start the second instance, I get these errors on the second server: (for every container, but I only show here for one caontainer)
Error message:
2024-07-14T13:34:47.064970741Z Failed to check for new Dockerhub image digest: Error: getaddrinfo EAI_AGAIN hub.docker.com 2024-07-14T13:34:47.065563512Z 14.07.2024 13:34:47 [error] getaddrinfo EAI_AGAIN hub.docker.com 2024-07-14T13:34:47.065942891Z 14.07.2024 13:34:47 [warn] Failed to find new digest for image micrib/mqdockerup:latest 2024-07-14T13:34:47.265113569Z 14.07.2024 13:34:47 [info] MQTT client successfully connected 2024-07-14T13:34:47.266034777Z 14.07.2024 13:34:47 [info] Checking for removed containers... 2024-07-14T13:34:47.280452044Z 14.07.2024 13:34:47 [info] Checking for containers... 2024-07-14T13:34:47.298532215Z 14.07.2024 13:34:47 [info] Checking for image updates...
But when the second I start my second container, I get errors on my first container:
2024-07-14T13:45:52.197064362Z 14.07.2024 13:45:52 [info] Next check in 6 hours 2024-07-14T13:45:52.205552466Z Failed to check for new lscr.io image digest: AxiosError: Request failed with status code 429 2024-07-14T13:45:52.205741176Z 14.07.2024 13:45:52 [error] Request failed with status code 429 2024-07-14T13:45:52.205927246Z 14.07.2024 13:45:52 [warn] Failed to find new digest for image lscr.io/linuxserver/sonarr:develop 2024-07-14T13:45:52.564888430Z Failed to check for new lscr.io image digest: AxiosError: Request failed with status code 429 2024-07-14T13:45:55.491583622Z Failed to check for new Dockerhub image digest: AxiosError: Request failed with status code 429 2024-07-14T13:45:52.565087419Z 14.07.2024 13:45:52 [error] Request failed with status code 429 2024-07-14T13:45:58.741456854Z 14.07.2024 13:45:52 [warn] Failed to find new digest for image lscr.io/linuxserver/radarr:develop 2024-07-14T13:45:57.277140428Z Failed to check for new Dockerhub image digest: AxiosError: Request failed with status code 429 2024-07-14T13:45:58.741621664Z Failed to check for new Dockerhub image digest: AxiosError: Request failed with status code 429 2024-07-14T13:45:58.741665954Z Failed to check for new Dockerhub image digest: AxiosError: Request failed with status code 429 2024-07-14T13:45:58.741572504Z 14.07.2024 13:45:52 [info] Image ghcr.io/flaresolverr/flaresolverr:latest is up-to-date 2024-07-14T13:45:58.741766064Z 14.07.2024 13:45:53 [error] Request failed with status code 429 2024-07-14T13:45:58.741806704Z 14.07.2024 13:45:53 [warn] Failed to find new digest for image portainer/portainer-ee:latest
But what I don't get is why my second instance wants to check at that time, because in the logs it says it will search in 6 hours
Hey,
I have 2 servers with docker. Both have mqdockerup. but when I start the second one, I get a lot of errors.
version: V1.8.0
Both are setup like this: version: '3.9'
services: mqdockerup: image: micrib/mqdockerup:latest restart: always environment: MAIN_INTERVAL: "6h" MAIN_PREFIX: "server_lode" <--------------------------- the name is different for each server MQTT_CONNECTIONURI: "mqtt://xxxxxxxxxxxxxxxxxxxx" ACCESSTOKENS_GITHUB: "xxxxxxxxxxxxxxxxxxxxxxxxxx" ACCESSTOKENS_DOCKERHUB: "xxxxxxxxxxxxxxxxxxxxxxxxxxxx" volumes:
But sadly once I start the second instance, I get these errors on the second server: (for every container, but I only show here for one caontainer)
Error message:
2024-07-14T13:34:47.064970741Z Failed to check for new Dockerhub image digest: Error: getaddrinfo EAI_AGAIN hub.docker.com 2024-07-14T13:34:47.065563512Z 14.07.2024 13:34:47 [error] getaddrinfo EAI_AGAIN hub.docker.com 2024-07-14T13:34:47.065942891Z 14.07.2024 13:34:47 [warn] Failed to find new digest for image micrib/mqdockerup:latest 2024-07-14T13:34:47.265113569Z 14.07.2024 13:34:47 [info] MQTT client successfully connected 2024-07-14T13:34:47.266034777Z 14.07.2024 13:34:47 [info] Checking for removed containers... 2024-07-14T13:34:47.280452044Z 14.07.2024 13:34:47 [info] Checking for containers... 2024-07-14T13:34:47.298532215Z 14.07.2024 13:34:47 [info] Checking for image updates...
But when the second I start my second container, I get errors on my first container:
2024-07-14T13:45:52.197064362Z 14.07.2024 13:45:52 [info] Next check in 6 hours 2024-07-14T13:45:52.205552466Z Failed to check for new lscr.io image digest: AxiosError: Request failed with status code 429 2024-07-14T13:45:52.205741176Z 14.07.2024 13:45:52 [error] Request failed with status code 429 2024-07-14T13:45:52.205927246Z 14.07.2024 13:45:52 [warn] Failed to find new digest for image lscr.io/linuxserver/sonarr:develop 2024-07-14T13:45:52.564888430Z Failed to check for new lscr.io image digest: AxiosError: Request failed with status code 429 2024-07-14T13:45:55.491583622Z Failed to check for new Dockerhub image digest: AxiosError: Request failed with status code 429 2024-07-14T13:45:52.565087419Z 14.07.2024 13:45:52 [error] Request failed with status code 429 2024-07-14T13:45:58.741456854Z 14.07.2024 13:45:52 [warn] Failed to find new digest for image lscr.io/linuxserver/radarr:develop 2024-07-14T13:45:57.277140428Z Failed to check for new Dockerhub image digest: AxiosError: Request failed with status code 429 2024-07-14T13:45:58.741621664Z Failed to check for new Dockerhub image digest: AxiosError: Request failed with status code 429 2024-07-14T13:45:58.741665954Z Failed to check for new Dockerhub image digest: AxiosError: Request failed with status code 429 2024-07-14T13:45:58.741572504Z 14.07.2024 13:45:52 [info] Image ghcr.io/flaresolverr/flaresolverr:latest is up-to-date 2024-07-14T13:45:58.741766064Z 14.07.2024 13:45:53 [error] Request failed with status code 429 2024-07-14T13:45:58.741806704Z 14.07.2024 13:45:53 [warn] Failed to find new digest for image portainer/portainer-ee:latest
But what I don't get is why my second instance wants to check at that time, because in the logs it says it will search in 6 hours
Any ideas?