#22 Unable to start home-assistant-snap (535)

Closed
opened 1 year ago by grzech · 2 comments
grzech commented 1 year ago

Hello,

Does someone had issue with error:

- Run post-refresh hook of "home-assistant-snap" snap if present (run hook "post-refresh": cannot snap-exec: cannot find installed snap "home-assistant-snap" at revision 535: missing file /snap/ho me-assistant-snap/535/meta/snap.yaml)

?

I don't know what happened. I only restarted whole system (Ubuntu) and after restart snap for home-assistant-snap is not starting anymore. I've performed revert and it runs correctly but when I refresh to last 535 version I'm getting this error.

When I tried to open shell for installed 535 version I was also getting the same error.

Any suggestions?

Thanks

EDIT: Mentioned file exists. It looks like I've resolved my problem but I had to revert to 533 and then:

snap remove home-assistant-snap --revision=535

and refresh again. I've also removed snapd installation file (https://askubuntu.com/questions/1075050/how-to-remove-uninstalled-snaps-from-cache) so it had to be redownloaded.

Hello, Does someone had issue with error: ```- Run post-refresh hook of "home-assistant-snap" snap if present (run hook "post-refresh": cannot snap-exec: cannot find installed snap "home-assistant-snap" at revision 535: missing file /snap/ho me-assistant-snap/535/meta/snap.yaml)``` ? I don't know what happened. I only restarted whole system (Ubuntu) and after restart snap for home-assistant-snap is not starting anymore. I've performed revert and it runs correctly but when I refresh to last 535 version I'm getting this error. When I tried to open shell for installed 535 version I was also getting the same error. Any suggestions? Thanks EDIT: Mentioned file exists. It looks like I've resolved my problem but I had to revert to 533 and then: ```snap remove home-assistant-snap --revision=535``` and refresh again. I've also removed snapd installation file (https://askubuntu.com/questions/1075050/how-to-remove-uninstalled-snaps-from-cache) so it had to be redownloaded.

Hi,

I guess something broke during the update (e.g connection interrupt). This is handled by snapd itself.

I just tried to update from 2022.10 to 2022.11 (same revisions as you) without any problem.

Hi, I guess something broke during the update (e.g connection interrupt). This is handled by snapd itself. I just tried to update from 2022.10 to 2022.11 (same revisions as you) without any problem.
grzech commented 1 year ago
Poster

Ok. Thanks. Thing is that I already had working 535. I just restarted my server and it didn't start again. Issue of course can be closed and I just wanted to let anyone know how I solved this problem (I had 535 directory copy since when I reverted and upgraded I had version from 533). Thanks again for quick reply.

Ok. Thanks. Thing is that I already had working 535. I just restarted my server and it didn't start again. Issue of course can be closed and I just wanted to let anyone know how I solved this problem (I had 535 directory copy since when I reverted and upgraded I had version from 533). Thanks again for quick reply.
Sign in to join this conversation.
No Milestone
No assignee
2 Participants
Loading...
Cancel
Save
There is no content yet.