Update from LE 8 to LE 12

  • Hi

    I've been using Kodi for ages and Libreelec for a long time.

    As everything was working fine, I did not make any update for years. So both of my clients (one Raspberry Pi and one old PC) are still on Libreelec 8/Kodi 17.1

    Today, I have to set up a new PC, device that will host some of my hard drives inside. And it will run Win11.

    So it's finally time to get ride of SMB1 protocole for sharing files over my local network and to upgrade Libreelec too.

    As my database is hosted on an old Synology NAS, it's just a bit more complicated to make the update

    Do you confirm that I should :

    - backup the advancedsettings.xml from a client running Libreelec 8

    - make a fresh clear install of Libreelec 12 on one client (Rapsberry Pi is easier)

    - connect it to the network and copy/paste the old advancedsettings.xml to the correct folder on the Rapsberry Pi running Libreelec 12

    - run Libreelec 12/Kodi 18 and define the paths (and login/password because of SMB2 protocol)

    - make a fresh clear install of Libreelec 12 on the other client (old PC)

    - paste advancedsettings.xml and sources.xml to the correct folder on the PC running Libreelec 12


    Am I correct ?


    Thanks for the help !:thumbup:

  • Yep, you have to install from scratch due to Python version change since LE 10. Read here about backup & restore:

    garrison
    June 14, 2020 at 4:08 PM
  • Da Flex it's not a different architecture.

    rolapinou Basically correct. I would clean install then add sources.xml and check the SMB access is working fine. Then I would stop Kodi and move the SQL database config to advancedsettings.xml and restart Kodi to start the DB migration. I doubt there's much else that can or should be reused from the older install, perhaps some addon settings from userdata.

    Note that current Kodi requires MySQL/MariaDB v5.7 or newer so check the version on the Synology first. I'd also SSH in to tail the kodi.log file to check for errors during the DB migration as it will need to step through quite a few versions and will take time.