Kodi 17 stuck during add-on migration – Tvheadend add-on

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.