flobz / psacc-ha

psa_car_controller addons for Home Assistant
GNU General Public License v3.0
45 stars 44 forks source link

Fehler beim PSA controller in Homassistant #42

Open Schraps opened 6 months ago

Schraps commented 6 months ago

Hallo, iI'm tying to install HA Add-On The Repository was added without issue. While trying to install I recieve the failure message:

"Add-on konnte nicht installiert werden Can't install flobz/psa_car_controller:v3.4.2: 404 Client Error for http+docker://localhost/v1.43/images/flobz/psa_car_controller:v3.4.2/json: Not Found ("No such image: flobz/psa_car_controller:v3.4.2") " Any idea what is wrong ?

ricardolobo81 commented 6 months ago

@Schraps, go to SSH and execute the command below:

docker pull flobz/psa_car_controller:v3.4.2

After the docker pull, go to Home Assistant and try to update the plugin.

In my case, this solve the same issue that you have.

Schraps commented 6 months ago

@ricardolobo81 thanks for the fast answer. Follow up question: as docker is currently not installed at my Raspi hosting HA - is it required to run HA also in a docker container or is it sufficient to add docker and than pull car controller in an container ?

jumpajumpa commented 6 months ago

Hi, I have the same problem and same question about docker command (not available in my ssh module).

eerwinn commented 6 months ago

Hi,

I have the same problem as @Schraps I don't have docker installed on my raspi either. @ricardolobo81 is this a requirement since i can't find it anywhere.

The logging of HA does not provide a lot of information.

Failed to install add-on Can't install flobz/psa_car_controller:v3.4.2: 404 Client Error for http+docker://localhost/v1.43/images/flobz/psa_car_controller:v3.4.2/json: Not Found ("No such image: flobz/psa_car_controller:v3.4.2")

ricardolobo81 commented 6 months ago

Hello to all (@Schraps @jumpajumpa @eerwinn )

Let's see if I can help.

I have my Home Assistant installed on a Raspberry Pi and I think Home Assistant itself creates containers for each of the add-ons.

The steps below were the ones that solved the problem of updating the psa_car_controller.

1 - Install the add-ond: Advanced SSH & Web Terminal 2 - Disable "Protection mode" and Enable "Show in sidebar" at the "Advanced SSH & Web Terminal" configuration tab. 3 - At the sidebar, chose "Terminal". 4 - At the Terminal, execute the command below: docker pull flobz/psa_car_controller:v3.4.2

After executing the command in the SSH console, wait for the process to complete. Next, click on the add-on update.

The plugin will now update without any problems.

I hope I've helped.

ricardolobo81 commented 6 months ago

@Schraps @jumpajumpa @eerwinn

Once you've managed to update the psa_car_controller, you'll have to do the authentication process in the add-on again.

I recommend that you follow the tutorial below:

[How to] Connect with the new procedure

eerwinn commented 6 months ago

@ricardolobo81 Thank you for your reply. To be sure I didn't make any mistake, I created a VM with a new a fresh HA installation. Restored a backup which i've created on my raspi, and then tried to install the add-on again. This worked.

After that I was able to see in the supervisor log that a that container was created successfully.

This was just a workaround but I still don't know why I am unable to do a fresh add-on install from the repo. It must be something on my raspi which is preventing the add-on from installing succesfully.

eerwinn commented 6 months ago

@ricardolobo81 Same issue on the latest update so I tried your solution mentioned in previous post and this works like a charm.

Schraps commented 6 months ago

Hello to all (@Schraps @jumpajumpa @eerwinn )

Let's see if I can help.

I have my Home Assistant installed on a Raspberry Pi and I think Home Assistant itself creates containers for each of the add-ons.

The steps below were the ones that solved the problem of updating the psa_car_controller.

1 - Install the add-ond: Advanced SSH & Web Terminal 2 - Disable "Protection mode" and Enable "Show in sidebar" at the "Advanced SSH & Web Terminal" configuration tab. 3 - At the sidebar, chose "Terminal". 4 - At the Terminal, execute the command below: docker pull flobz/psa_car_controller:v3.4.2

After executing the command in the SSH console, wait for the process to complete. Next, click on the add-on update.

The plugin will now update without any problems.

I hope I've helped.

@ricardolobo81 thanks a lot for the reply. The process on the advanced ssh runs well. But I got stuck with the update. When installing the pas car controller Add-on I get the errot message "Can't install flobz/psa_car_controller:v3.5.0: 404 Client Error for http+docker://localhost/v1.43/images/flobz/psa_car_controller:v3.5.0/json: Not Found ("No such image: flobz/psa_car_controller:v3.5.0")" This seems obvious as the docker pull end with: Status downloaded newer image for flobz/pas_car_controller:v3.4.2 docker.io/flobz/psa_car_controller:v3.4.2 so the (stupid?) question is how to come from 3.4.2 to 3.5.0 ? I did not find any add-on update button

eerwinn commented 6 months ago

@Schraps

Run the same steps like @ricardolobo81 mentioned. To download / update the latest version only change step 4:

At the terminal executee the command: docker pull flobz/psa_car_controller:v3.5.0

After this you'll be ready.

Hope this helps.

jumpajumpa commented 5 months ago

Thank you @ricardolobo81 it worked flawlessly.