#2 Can't install; hook connect-plug-configurations is failing

Closed
opened 3 years ago by JanLochi · 9 comments
JanLochi commented 3 years ago

Hey,

The snap won't install succesfully, because of an error in the hook script. Any ideas? Should it point to the settings of home-assistant-snap or is this an issue with the very first install? Thank you! :-)

Jan

$ sudo snap install home-assistant-configurator
error: cannot perform the following tasks:
- Hook connect-plug-configurations von Snap "home-assistant-configurator" ausführen (run hook "connect-plug-configurations": [Errno 2] No such file or directory: '/var/snap/home-assistant-configurator/68/settings.conf')
Hey, The snap won't install succesfully, because of an error in the hook script. Any ideas? Should it point to the settings of home-assistant-snap or is this an issue with the very first install? Thank you! :-) Jan ```bash $ sudo snap install home-assistant-configurator error: cannot perform the following tasks: - Hook connect-plug-configurations von Snap "home-assistant-configurator" ausführen (run hook "connect-plug-configurations": [Errno 2] No such file or directory: '/var/snap/home-assistant-configurator/68/settings.conf') ```

Hi Jan,

It seems like the settings file is missing. I'll take a look what's causing this. It might be removed or moved from the source code.

I'll keep your posted.

Hi Jan, It seems like the settings file is missing. I'll take a look what's causing this. It might be removed or moved from the source code. I'll keep your posted.
JanLochi commented 3 years ago
Poster

Hey Joachim,

Ohh man, I accidentally opened the issue in the wrong project. I guess you already realized that. It's "home-assistant-configurator" that wont install. Sorry for that!

Hey Joachim, Ohh man, I accidentally opened the issue in the wrong project. I guess you already realized that. It's "home-assistant-configurator" that wont install. Sorry for that!

Yeah, I got it from the output you pasted ✌️

Do you know the architecture you're running it on? Operating system?

Yeah, I got it from the output you pasted ✌️ Do you know the architecture you're running it on? Operating system?
JanLochi commented 3 years ago
Poster

Great :-)

$ uname -a
Linux .... 5.4.0-52-generic #57-Ubuntu SMP Thu Oct 15 10:57:00 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
$ lsb_release -a
...
Description:    Ubuntu 20.04.1 LTS

Great :-) ``` $ uname -a Linux .... 5.4.0-52-generic #57-Ubuntu SMP Thu Oct 15 10:57:00 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux $ lsb_release -a ... Description: Ubuntu 20.04.1 LTS ```

Thanks! I'll debug and get back to you. :)

Thanks! I'll debug and get back to you. :)

Seems like the «auto-connection» between home-assistant-snap and the configurator happens before the install-script is executed, and that the connection-hook requires data that is set by the install-script.

I would have to go back to the drawing board and figure out how I can overcome this issue. I'm waiting for a build to finish, so I can debug the auto-connection further.

Seems like the «auto-connection» between `home-assistant-snap` and the `configurator` happens before the install-script is executed, and that the connection-hook requires data that is set by the install-script. I would have to go back to the drawing board and figure out how I can overcome this issue. I'm waiting for a build to finish, so I can debug the auto-connection further.

A fix is pushed to the edge channel. I will place it in the stable channel as soon as the build for every architecture is ready, and tested successfully. :)

The amd64 build is finished and you can give it a try with

snap install home-assistant-configurator --edge

Let me know if the problem is solved.

A fix is pushed to the edge channel. I will place it in the stable channel as soon as the build for every architecture is ready, and tested successfully. :) The `amd64` build is finished and you can give it a try with ``` snap install home-assistant-configurator --edge ``` Let me know if the problem is solved.
JanLochi commented 3 years ago
Poster

Solved. :-D Thanks a lot!

Solved. :-D Thanks a lot!

Happy to help, and thank you for reporting the issue! :) It's in the stable channel now.

Happy to help, and thank you for reporting the issue! :) It's in the stable channel now.
Sign in to join this conversation.
No Milestone
No assignee
2 Participants
Loading...
Cancel
Save
There is no content yet.