dfigus / addon-tvheadend

TVHeadend - Home Assistant Add-on
MIT License
3 stars 0 forks source link

Update from 5.1.11 to 6.02 is failing #296

Closed Marty56 closed 1 week ago

Marty56 commented 2 weeks ago

I tried to update to version 6.02. Tvheadend stops working. I even cannot open the WebUI anymore.

Environment

Logs

See attachment dae55a80_tvheadend_2024-11-20T11-08-27.623Z.log

Steps to reproduce

Additional Information

I have note this behavior since version 6.x was first published. Fortunately I could recover to 5.1 by using the restore function.

dfigus commented 1 week ago

Thanks for using my addon! I had a look into your logs and due to the updated TVHeadend version, TVHeadend runs a config migration at startup - and default is to create a backup upfront which can take multiple minutes depending on the size of your configuration (I had one instance with > 30 min on my installation). Here are the relevant log entries:

2024-11-20 12:05:28.708 [   INFO] config: backup: migrating config from 4.3-2323~g73a6bd00d-dirty (running 4.3-2374~g26ec161fb-dirty)
2024-11-20 12:05:28.708 [   INFO] config: backup: running, output file /config/tvheadend/backup/4.3-2323~g73a6bd00d-dirty.tar.bz2
2024-11-20 12:05:28.710 [   INFO] spawn: Executing "/bin/tar"

As long as the migration is running, you cannot use TVHeadend. However you can disable the automatic backup (this is what usually takes time) as described in my docs in case you do regular addon backups (e.g. before updating to the newest version). I'm also running it with the --nobackup.

Marty56 commented 1 week ago

Thanks for the great support. Tvheadend is working great now.

One minor issue can be seen in the protocol section. I am receiving an error:

Fehler beim Abrufen der dae55a80_tvheadend-Protokolle, Response served by service worker is an error

Should I ignore this error?

my configuration file

system_packages: []
init_commands: []
args: "--nobackup"
comskip_ini: ""
dfigus commented 1 week ago

What does protocol section mean? Is it the log (I run everything in English)?