expaso / hassos-addon-timescaledb

A HomeAssistant add-on containing PostgreSQL, psql client and TimeScaleDb
Apache License 2.0
51 stars 14 forks source link

installation timescaledb failed in HA RPI4 #45

Closed todool closed 2 months ago

todool commented 5 months ago

I am not able to install timescaledb in raspberry Pi 4, see log. All other addons are working fine,

2024-05-14 08:17:43.508 INFO (MainThread) [supervisor.docker.interface] Downloading docker image husselhans/hassos-addon-timescaledb-aarch64 with tag 4.0.1. 2024-05-14 08:17:44.797 ERROR (MainThread) [supervisor.docker.interface] Can't install husselhans/hassos-addon-timescaledb-aarch64:4.0.1: 500 Server Error for http+docker://localhost/v1.44/images/husselhans/hassos-addon-timescaledb-aarch64:4.0.1/json: Internal Server Error ("layer does not exist") HA: Core 2024.5.3 Supervisor 2024.05.1

expaso commented 5 months ago

Hi @todool , That almost looks like dockerhub screwed up... Maybe it's a temporary issue on their side, but if you still have this issue, can I perhaps assist you trough discord?

Invite link: https://discord.gg/JktdYKhE

ruben-s commented 5 months ago

Hi,

I also tried to install Timescale DB. The install failed with following message:

Can't install husselhans/hassos-addon-timescaledb-amd64:4.0.1: 404 Client Error for http+docker://localhost/v1.45/images/husselhans/hassos-addon-timescaledb-amd64:4.0.1/json: Not Found ("No such image: husselhans/hassos-addon-timescaledb-amd64:4.0.1")

What supprises me is that it seems to try to download the docker image from localhost. It should go to docker hub? Can you point me to the location of the config for this, then I can try to alter it to point to docker hub.

This is on Home Assistant Supervised 24.3.3 installed on a intel pc on debian 12.

Thx for your feed-back.

br, Ruben

expaso commented 2 months ago

Hi @ruben-s ,

Sorry for the late reply. I have no config file with that specific path.. It's like homeassistant or your local docker config makes that up by itself for some reason..?

The actual images for your platform are here: https://hub.docker.com/repository/docker/husselhans/hassos-addon-timescaledb-amd64/general

Are you actually still experience this issue?

ruben-s commented 2 months ago

Hi @expaso,

thanks for following up (even with the delay ;-).

I should have updated this request. It can be closed.

I no longer have this problem. The cause of my problem was apparently lack of disk space on my HA server to download the docker image to. (I had to repartition and re-install).

A potential improvement would be a more appropriate error message? It took me quite a while to go from this error message to conclude that the cause was lack of disk space. But possibly the error comes from HA itself?

Regardless, many thanks for your very nice work.

best regards, Ruben

expaso commented 2 months ago

Hi Ruben ,

I cannot control the error message. It's not the addon that does this, it's the supervisor of HA. Thank for replying! I will close the issue. Glad the fix was easy for my part ;)