For anyone upgrading to 12.2 who needs to move from tvh 4.2 to 4.3, you CAN (unofficially) migrate your setup

  • I asked about this here a few years ago and have since migrated two setups successfully. This is unsupported/unofficial, but ... it receives the "works on my machine" certification.

    The basic steps are:

    1. Install 4.2 and 4.3 side by side
    2. Stop the services for both
      • systemctl stop service.tvheadend42
      • systemctl stop service.tvheadend43
    3. Make a backup of both paths
      • cp -r /storage/.kodi/userdata/addon_data/service.tvheadend42 /storage/.kodi/userdata/addon_data/service.tvheadend42.BACKUP
      • cp -r /storage/.kodi/userdata/addon_data/service.tvheadend43 /storage/.kodi/userdata/addon_data/service.tvheadend43.BACKUP
    4. Copy the contents of tvheadend42 to tvheadend43
      • cp -r /storage/.kodi/userdata/addon_data/service.tvheadend42/* /storage/.kodi/userdata/addon_data/service.tvheadend43/
    5. Start the 4.3 service
      • systemctl start service.tvheadend43
    6. Log into the 4.3 service and, if necessary, go through the initial setup experience. The service should pick up everything you had configured in 4.2 and just run, but you should double check everything just to be sure. (I don't remember if I did the initial setup before copying everything over or after, but I do remember you have to go through it at least once after you install 4.3)

    Disclaimer: It's been 2+ years since I did my last migration, so if I forgot something please add to the thread for the benefit of others who are in the same boat.

  • Hi Kendalvandyke!

    Thanks for your description for migrating freom TVH 4.2 -> TV4.3!:)

    4 days ago, I did exactly the same at my Libreelec 12.2 raspi 4 as you described it here, except going throuh the installation wizzard, because everything I had in 4.2 was obviously also in 4.3. I was really happy, that it went so easily.

    But, as I restartet my Raspi the next day, no TV or Radio channel worked (but everything else did). After selecting a channel, you see the circles in the middle of the screen, but nothing is happening.

    So I did the whole procedure again, with the same outcome: After copying the whole "userdata" and restarting the service, it works fine, but stopping and restarting the service or having a new start of the raspi, there's no streaming possible anymore - till I copy the userdata directory again.

    In the meantime I could reproduce that serveral times.

    Strange. I've no idea where to look further. I checked all things I'd a clue to look after. Neither the kodi log nor the TVHeadend log showed an obvious issue after selecting a TV/Radio channel. Guess, it may be a bagatelle.

    Hope, anyone has an idea or hint, where I can find the reason for this behavour.

  • I'm not quite sure, if this solved my problems finally, but the reason was obvious copying the TVH 42 userdata into the the TVH 43 userdata directory without checking every (config)file in the userdata directory for strings with "tvheadhend42" and changing it to "tvheadhend43" at least. Yet the whole system workes again after restarting the web-wizzard, not before, as far as I montored the last hours.