MichelFR / MqDockerUp

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.
Apache License 2.0
66 stars 9 forks source link

Request failed, error 404 #282

Open pissten opened 6 months ago

pissten commented 6 months ago

I can't seem to get any of my containers to install/update through mqtt from HA.

In the logs i get this:

Failed to check for new Dockerhub image digest: AxiosError: Request failed with status code 404 22.04.2024 16:36:23 [error] Request failed with status code 404 Failed to check for new Dockerhub image digest: TypeError: Cannot read properties of undefined (reading 'split') 22.04.2024 16:36:28 [error] Cannot read properties of undefined (reading 'split')

This is my docker-compose:

`version: '3.9'

services: mqdockerup: image: micrib/mqdockerup:latest restart: always environment: MAIN_INTERVAL: "5m" MQTT_CONNECTIONURI: "mqtt://myhostip:1883" MQTT_USERNAME: "mqtt-user" MQTT_PASSWORD: "mqtt-password" ACCESSTOKENS_GITHUB: "ghp_XdQxxxxxxxxxxx" ACCESSTOKENS_DOCKERHUB: "dckr_pat_Oxxxxxxxxxxxxxx" DOCKER_HOST: "tcp://myhostip:2375" volumes:

github-actions[bot] commented 6 months ago

👋 Welcome to the project! Thank you for raising your first issue. We will look into it as soon as possible.

pissten commented 6 months ago

and also this:

`22.04.2024 16:50:26 [info] Finished checking for image updates 22.04.2024 16:50:26 [info] Next check in 5 minutes 22.04.2024 16:50:43 [error] MqDockerUp stopped due to an error 22.04.2024 16:50:43 [error] object 22.04.2024 16:50:43 [error] SyntaxError: Unexpected end of JSON input at JSON.parse () at IncomingMessage. (/app/src/services/DockerService.ts:23:28) at IncomingMessage.emit (node:events:517:28) at IncomingMessage.emit (node:domain:489:12) at addChunk (node:internal/streams/readable:368:12) at readableAddChunk (node:internal/streams/readable:341:9) at IncomingMessage.Readable.push (node:internal/streams/readable:278:10) at HTTPParser.parserOnBody (node:_http_common:131:24) at Socket.socketOnData (node:_http_client:541:22) at Socket.emit (node:events:517:28)

mqdockerup@1.8.0 start ts-node src/index.ts`

This keeps the container going in endless restart cycle

pissten commented 4 months ago

any help on this matter would be truly appreciated

pissten commented 3 days ago

Also when trying to update containers from within HA, i press update and get this error in log: [error] Pulling Error: Error: (HTTP code 403) unexpected - <html><body><h1>403 Forbidden</h1> Request forbidden by administrative rules.