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.

  • Thanks chewitt

    One detail I did not tell about : as I am setting up a new PC (hardware and software), I also decided to rationalize the hard drives organisation. So I'll redefine my sources from scratch and not use the old sources.xml file.

    So, to be sure :

    00 - backup advancedsettings.xml and a few addon settings from userdata (Remote addon typically) from Libreelec 8

    0- update MariaDB (and possibly DSM too) on Synology

    So I'll define brand new sources directly from Kodi on the fresh install.

    It's a bit more complicated than copy/pasting from old install to new install, but the steps you describe are the same right ?

    1 - clean install on one device

    2- define paths/Media types on Kodi's interface form that device --> generate new sources.xml

    3- check SMB access

    4- paste advancedsettings.xml on the migrated device

    5- restart Kodi and launch the DB migration


    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.

    Can you explain that ? I did not understand.What do you mean by "SSH in to tail the kodi.log file" ?

    Many thanks :thumbup: