Kodi 17 stuck during add-on migration - Tvheadend add-on
#1
Hi,
I am using Kodi under LibreELEC (Linux), and just tried to upgrade to Kodi 17.
For 6 hours, it has been stuck on the "Add-on migration in progress - please wait" screen.
I can connect using SSH and see that this is related to the Tvheadend add-on:

Code:
LibreELEC:~/.kodi/temp # tail -f kodi.log
06:10:00.620 T:140243609044736   ERROR: AddOnLog: Tvheadend HTSP Client: pvr.hts - Command hello failed: No response received
06:10:00.620 T:140243609044736   ERROR: AddOnLog: Tvheadend HTSP Client: pvr.hts - failed to send hello
06:10:09.620 T:140243609044736   ERROR: AddOnLog: Tvheadend HTSP Client: pvr.hts - Command hello failed: No response received
06:10:09.620 T:140243609044736   ERROR: AddOnLog: Tvheadend HTSP Client: pvr.hts - failed to send hello
06:10:18.621 T:140243609044736   ERROR: AddOnLog: Tvheadend HTSP Client: pvr.hts - Command hello failed: No response received
06:10:18.621 T:140243609044736   ERROR: AddOnLog: Tvheadend HTSP Client: pvr.hts - failed to send hello

I have checked for the tvheadend process:
Code:
2451 root       0:32 /storage/.kodi/addons/service.tvheadend42/bin/tvheadend -B -C -u root -g video -c /storage/.kodi/userdata/addon_data/service.tvheadend42

I have tried to restart it manually, without success:
Code:
06:17:57.663 T:140243609044736   ERROR: AddOnLog: Tvheadend HTSP Client: pvr.hts - failed to send hello
06:18:04.513 T:140243609044736   ERROR: AddOnLog: Tvheadend HTSP Client: pvr.hts - Command authenticate failed: Access denied

I ended up killing the kodi process:
Code:
1028 root       4:40 /usr/lib/kodi/kodi.bin --standalone -fs --lircdev /run/lirc/lircd
LibreELEC:~/.kodi/temp # kill -9 1028

And then Kodi just started Big Grin
Now I guess that I have to fix the TV.
Reply
#2
(2017-02-23, 07:23)spontex Wrote: Hi,
I am using Kodi under LibreELEC (Linux), and just tried to upgrade to Kodi 17.
For 6 hours, it has been stuck on the "Add-on migration in progress - please wait" screen.
I can connect using SSH and see that this is related to the Tvheadend add-on:

Code:
LibreELEC:~/.kodi/temp # tail -f kodi.log
06:10:00.620 T:140243609044736   ERROR: AddOnLog: Tvheadend HTSP Client: pvr.hts - Command hello failed: No response received
06:10:00.620 T:140243609044736   ERROR: AddOnLog: Tvheadend HTSP Client: pvr.hts - failed to send hello
06:10:09.620 T:140243609044736   ERROR: AddOnLog: Tvheadend HTSP Client: pvr.hts - Command hello failed: No response received
06:10:09.620 T:140243609044736   ERROR: AddOnLog: Tvheadend HTSP Client: pvr.hts - failed to send hello
06:10:18.621 T:140243609044736   ERROR: AddOnLog: Tvheadend HTSP Client: pvr.hts - Command hello failed: No response received
06:10:18.621 T:140243609044736   ERROR: AddOnLog: Tvheadend HTSP Client: pvr.hts - failed to send hello

I have checked for the tvheadend process:
Code:
2451 root       0:32 /storage/.kodi/addons/service.tvheadend42/bin/tvheadend -B -C -u root -g video -c /storage/.kodi/userdata/addon_data/service.tvheadend42

I have tried to restart it manually, without success:
Code:
06:17:57.663 T:140243609044736   ERROR: AddOnLog: Tvheadend HTSP Client: pvr.hts - failed to send hello
06:18:04.513 T:140243609044736   ERROR: AddOnLog: Tvheadend HTSP Client: pvr.hts - Command authenticate failed: Access denied

I ended up killing the kodi process:
Code:
1028 root       4:40 /usr/lib/kodi/kodi.bin --standalone -fs --lircdev /run/lirc/lircd
LibreELEC:~/.kodi/temp # kill -9 1028

And then Kodi just started Big Grin
Now I guess that I have to fix the TV.


Although tvh add-on is the last line in your log, I doubt it is causing the problem. The connection errors do not hinder the add-on from start.
Reply
#3
I think the add-on was the problem. Now everything works fine, excepted the Tvheadend client. I suspect the login/password were lost during the upgrade.
Continued on the LibreELEC forum: https://forum.libreelec.tv/thread-5370.html
Reply
#4
I mean that the problem may come either from the server or the client Tvheadend addon.
Reply
#5
I have found that the migrating message (either database or addons) can be stuck for ages, and that killing kodi does no outward harm. (Sorry that is not a technical answer).

If password was lost, just check the settings and enter them again if necessary.
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply

Logout Mark Read Team Forum Stats Members Help
Kodi 17 stuck during add-on migration - Tvheadend add-on0