YunoHost-Apps / homeassistant_ynh

Home automation platform package for YunoHost
https://www.home-assistant.io/
Apache License 2.0
21 stars 16 forks source link

Upgrade fails, then restore fails after Bookworm migration #360

Closed tituspijean closed 2 months ago

tituspijean commented 2 months ago

Failed upgrade log: https://paste.yunohost.org/raw/ewawuxaqow

Failed subsequent restore: https://paste.yunohost.org/raw/kopagicuma

ewilly commented 2 months ago

Coule you try testing branche with --force ?

Le 1 août 2024 06:57:09 GMT+02:00, tituspijean @.***> a écrit :

Failed upgrade log: https://paste.yunohost.org/raw/ewawuxaqow

Failed subsequent restore: https://paste.yunohost.org/raw/kopagicuma

-- Reply to this email directly or view it on GitHub: https://github.com/YunoHost-Apps/homeassistant_ynh/issues/360 You are receiving this because you are subscribed to this thread.

Message ID: @.***>

tituspijean commented 2 months ago

I have patched the script in my backup, but it still cannot restore due to the following error:

Info: [###########++.......] > Updating the pyhton link in the pyhton virtual environment...
Warning: head: cannot open '/var/www/homeassistant/bin/hass' for reading: No such file or directory
ewilly commented 2 months ago

hum really strange because that's the main executable of homeassistant... did homeassitant works after you migration and before updating it ? something went wrong not sure if it's due to the migration process i didn't try it for now and will be away for next weeks. better is to reinstall (all you configuration is on the data dir which should survive when removing app but perhaps make a backup of /home/yunohost.app/homeassistant).

tituspijean commented 2 months ago

I was able to do some black magic (manually reinstall hass), the testing branch upgrade does not fail. :)