Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fehler beim PSA controller in Homassistant #42

Open
Schraps opened this issue Mar 13, 2024 · 11 comments
Open

Fehler beim PSA controller in Homassistant #42

Schraps opened this issue Mar 13, 2024 · 11 comments

Comments

@Schraps
Copy link

Schraps commented Mar 13, 2024

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
Copy link

ricardolobo81 commented Mar 13, 2024

@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
Copy link
Author

Schraps commented Mar 16, 2024

@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
Copy link

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

@eerwinn
Copy link

eerwinn commented Mar 18, 2024

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
Copy link

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
Copy link

@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
Copy link

eerwinn commented Mar 19, 2024

@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.

  • Once again created a backup of the HA version with the PSA controller and restored this on my raspi.

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
Copy link

eerwinn commented Mar 25, 2024

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

@Schraps
Copy link
Author

Schraps commented Mar 26, 2024

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
Copy link

eerwinn commented Mar 27, 2024

@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 complete install I did a reboot of HA.
  • then go to PSA Controller add-On
  • and do the validation steps again. (login, get the oath token, set up OTP etc..

After this you'll be ready.

Hope this helps.

@jumpajumpa
Copy link

Thank you @ricardolobo81 it worked flawlessly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants