LukasGrebe / ha-addons

Addons for Home Assistant
GNU General Public License v3.0
37 stars 42 forks source link

cannot upgrade to 23.2.1 - 500 Server Error #60

Closed xpavli44 closed 11 months ago

xpavli44 commented 11 months ago

I am trying to update ebusd addon it fails with following error

Can't install ghcr.io/lukasgrebe/ha-addon-ebusd-armv7:23.2.1: 500 Server Error for http+docker://localhost/v1.42/images/create?tag=23.2.1&fromImage=ghcr.io%2Flukasgrebe%2Fha-addon-ebusd-armv7&platform=linux%2Farm%2Fv7: Internal Server Error ("manifest unknown")

How can I fix it pls?

tjorim commented 11 months ago

While the build succeeded, it was unable to push the docker image: https://github.com/LukasGrebe/ha-addons/actions/runs/5563665379/jobs/10162757431#step:4:1 I hope https://github.com/LukasGrebe/ha-addons/pull/59 fixes this, but we need the maintainer for this.

MityaDVG commented 11 months ago

Same problem Can't install ghcr.io/lukasgrebe/ha-addon-ebusd-amd64:23.2.1: 500 Server Error for http+docker://localhost/v1.42/images/create?tag=23.2.1&fromImage=ghcr.io%2Flukasgrebe%2Fha-addon-ebusd-amd64&platform=linux%2Famd64: Internal Server Error ("manifest unknown")

Gazki commented 11 months ago

I can confirm the problem. If you want to upgrage or install 23.2.1, you got the error message.

tjorim commented 11 months ago

Version 23.2.2 was pushed which also includes ebusd 23.2. Either go to the list of add-ons or system>updates, there you can click on the reload icon in the top right. Version 23.2.2 should show up as an update and new installs should work again as well.

mainmind83 commented 11 months ago

Version 23.2.2 was pushed which also includes ebusd 23.2. Either go to the list of add-ons or system>updates, there you can click on the reload icon in the top right. Version 23.2.2 should show up as an update and new installs should work again as well.

Fixed, thanks @tjorim

hvorragend commented 11 months ago

Update was successful. But the docker container state is "starting" and not "running" or "healthy".

mainmind83 commented 11 months ago

Restarting HAOS still "starting" state...

Details

23-07-17 00:58:03 WARNING (MainThread) [supervisor.addons.addon] Watchdog found addon eBUSd is unhealthy, restarting... 23-07-17 00:58:03 INFO (SyncWorker_0) [supervisor.docker.interface] Stopping addon_2ad9b828_ebusd application 23-07-17 00:58:08 INFO (SyncWorker_0) [supervisor.docker.interface] Cleaning addon_2ad9b828_ebusd application 23-07-17 00:58:08 INFO (SyncWorker_4) [supervisor.docker.addon] Starting Docker add-on ghcr.io/lukasgrebe/ha-addon-ebusd-amd64 with version 23.2.2 23-07-17 01:00:08 WARNING (MainThread) [supervisor.addons.addon] Timeout while waiting for addon eBUSd to start, took more then 120 seconds

mousetwentytwo commented 11 months ago

Same issue here, still in starting state.

I guess its the newly added nice HEALTHCHECK introduced for port 8888 while service starts on 8889 At least my logs suggest that.

s6-rc: info: service legacy-services successfully started ebusd --foreground --httpport=8889 --mqtthost=core-mosquitto --mqttport=1883 --mqttuser=addons --mqttpass=khm --scanconfig --mqttjson --lograwdata --latency=0 --accesslevel=* --pollinterval=1 --mqttint=/etc/ebusd/mqtt-hassio.cfg --mqtttopic=ebusd --device=ens:/dev/ttyUSB0 --log=all:notice 2023-07-17 04:53:23.204 [main notice] ebusd 23.2.p20230716 started with auto scan on device: /dev/ttyUSB0, enhanced high speed 2023-07-17 04:53:24.172 [bus notice] device status: resetting

tjorim commented 11 months ago

Please open a new issue as it is not related to this on. I'm currently still on holiday but will check it out when back in a few days. I thought I just changed the docker health check to the new format. Not sure why it is giving issues now, but DO NOT ENABLE WATCHDOG: it will result in the add-on being restarted over and over again. Port 8889 will not work for everyone, only when you enable that port.