I have two rPi set up for the children and they are having some issues.
They started getting sad face reboots after we suffered a few power cuts over summer. Stupidly I neglected looking at them properly and simply rebooted them over and over until they came back and then said I would look at them properly another time.
Well, now one of them wont boot at all, just a page of text of the OSMC splash screen followed by a sad face over and over. I have tried about 30 or 40 times and no luck. The other one I can get to boot every now and then.
My plan was to get the one that does sometimes boot up and running, update it (this has been neglected too), do a backup of all of their customised interface, and transfer it to the one that doesn’t boot at all.
However, I cannot even update the one that sometimes boot. All I get is a message saying addon failed.
I didn’t know what logs would be needed, so I did the lot.
Well the easiest way is get a new SD Card, do a clean install of OSMC on it and then connect a SD Card Reader with the old card to it that allows you to retrieve all your files.
Second option as Sad Face just means Kodi (UI) is crashing you should still be able to access command line via SSH that also allows you to retrieve all files.
Plug the old SD card into a SD Card reader and connect it to OSMC.
You could then use the File Manager to transfer but it would be more save to login via command line (SSH) and just do the adaptations manually.
Well depends what you what to take over.
Check <path to old sd>/home/osmc/.kodi/userdata/sources.xml <path to old sd>/home/osmc/.kodi/userdata/guisettings.xml
and potentially <path to old sd>/home/osmc/.kodi/userdata/advancedsettings.xml
If you are sure that all old files are still ok you can also copy the whole <path to old sd>/home/osmc/.kodi folder from the old SD Card
Yeah I tried the guisettings.xml as assumed that would do the bulk of it, but it just rebooted exactly the same, with the file size back to standard. It’s like it just got overwritten at boot.
Is there a trick to finding out the path? Nowhere in Kodi is telling me.
I have even copied just the guisettings.xml file onto a blank usb drive, and I still can’t work out the path as there is no reference to it anywhere. All I can find is the drive name.