Fatal error on Update

Woke up and found a unhappy face on my OSCMC screen, keeps flickering from black to the bluish background and a unhappy face after numerous reboots. http://paste.osmc.io./muqaxabana.vhdl

Full logs needed, use grab-logs -A

Also try:

sudo systemctl stop mediacenter
mv .kodi/userdata/guisettings.xml .kodi/userdata/guisettings.xml.backup
sudo systemctl start mediacenter

Thanks but where does sudo grab-logs -A place the logs?

Tried the second and it failed after mv .kodi/userdata/guisettings.xml .kodi/userdata/guisettings.xml.backup

When you execute grab-logs you will get an URL which shows the place it uploaded to which you can then share.

You where in the /tmp directory when you executed the command but I assumed you where in the home directory.
So do cd /home/osmc first

Thanks again http://paste.osmc.io/ipodaxeqeh

Is this log before or after you moved guisettings?

Sorry, not sure what you mean moving guisettings. Haven’t touched the file. The terminal screenshot is after I ran the second command my.kodi/userdata/guisettings.xml .kodi/userdata/guisettings.xml.backup

I think the error of “no such file” is because it is empty. My system may not have been set up for backups as the backup file is only 1K in size

Execute:

cd /home/osmc
sudo systemctl stop mediacenter
mv .kodi/userdata/guisettings.xml .kodi/userdata/guisettings.xml.backup
sudo systemctl start mediacenter

All the commands appear to execute without error and do what they are supposed to do, but still a flashing bluish screen with a unhappy face.

Looks like bad news. I do have a backup from the last successful update in April. It is on a networked folder OSMCBACKUP_2016_04_11_10_00_28.tar .Is there any links to how to restore from a backup.

For me the issue then seems to be outside of the .kodi folder.
So just replaying the backup would not help. You would need to do a clean install and then restore the backup.

But first let’s check what might be wrong, post output of:

ls -lah /usr/share/kodi/system/keyboardlayouts/
ls -lah /usr/share/kodi/

@Bryan
Sorry, not sure what you mean moving guisettings.

By executing this command :

mv .kodi/userdata/guisettings.xml .kodi/userdata/guisettings.xml.backup

you are moving and renaming the file “guisettings.xml” which is in folder /home/osmc/.kodi/userdata in the same folder and renaming it “guisettings.xml.backup”.

According to your logs there’s an issue with the files : advancedsettings.xml, keyboard.xml and remote.xml

The file “advancedsettings.xml” is at this path : /usr/share/kodi/system
keyboard.xml and remote.xml are both in /usr/share/kodi/system/keymaps

So this why @fzinken is asking you to post output of this folders.

That’s right the backup only restores the settings . Ok for the following

ls -lah /usr/share/kodi/system/keyboardlayouts/

/home/osmc$ ls -lah /usr/share/kodi/system/keyboardlayouts/
total 96K
drwxr-xr-x 2 root root 4.0K May 3 07:09 .
drwxr-xr-x 9 root root 4.0K May 3 07:09 …
-rw-r–r-- 1 root root 780 Apr 26 23:52 arabic.xml
-rw-r–r-- 1 root root 1.4K Apr 26 23:52 bulgarian.xml
-rw-r–r-- 1 root root 1.4K Apr 26 23:52 chinese.xml
-rw-r–r-- 1 root root 784 Apr 26 23:52 czech.xml
-rw-r–r-- 1 root root 733 Apr 26 23:52 danish.xml
-rw-r–r-- 1 root root 1.8K Apr 26 23:52 english.xml
-rw-r–r-- 1 root root 811 Apr 26 23:52 french.xml
-rw-r–r-- 1 root root 744 Apr 26 23:52 german.xml
-rw-r–r-- 1 root root 793 Apr 26 23:52 greek.xml
-rw-r–r-- 1 root root 1.3K Apr 26 23:52 hebrew.xml
-rw-r–r-- 1 root root 785 Apr 26 23:52 hungarian.xml
-rw-r–r-- 1 root root 890 Apr 26 23:52 korean.xml
-rw-r–r-- 1 root root 1.3K Apr 26 23:52 lithuanian.xml
-rw-r–r-- 1 root root 736 Apr 26 23:52 norwegian.xml
-rw-r–r-- 1 root root 764 Apr 26 23:52 polish.xml
-rw-r–r-- 1 root root 805 Apr 26 23:52 portuguese.xml
-rw-r–r-- 1 root root 749 Apr 26 23:52 romanian.xml
-rw-r–r-- 1 root root 1.4K Apr 26 23:52 russian.xml
-rw-r–r-- 1 root root 798 Apr 26 23:52 spanish.xml
-rw-r–r-- 1 root root 734 Apr 26 23:52 swedish.xml
-rw-r–r-- 1 root root 746 Apr 26 23:52 turkish.xml
-rw-r–r-- 1 root root 1.4K Apr 26 23:52 ukrainian.xml

ls -lah /usr/share/kodi/

/home/osmc$ ls -lah /usr/share/kodi/
total 32K
drwxr-xr-x 6 root root 4.0K Aug 3 2015 .
drwxr-xr-x 72 root root 4.0K Dec 28 03:12 …
drwxr-xr-x 160 root root 12K Feb 28 03:27 addons
drwxr-xr-x 3 root root 4.0K May 3 07:09 media
drwxr-xr-x 9 root root 4.0K May 3 07:09 system
drwxr-xr-x 2 root root 4.0K May 3 07:09 userdata

That looks ok, so I don’t have another clue what might be wrong

Thanks for all the help. Appreciate it, Looks like a reinstall.

Good luck :relaxed:

Have you already re-installed ?
If no, last chance, could you provide output of these commands :

sudo cat /usr/share/kodi/system/advancedsettings.xml

then

ls -lAshk /usr/share/kodi/system/keymaps/

sudo cat /usr/share/kodi/system/keymaps/keyboard.xml

and finally

sudo cat /usr/share/kodi/system/keymaps/remote.xml

Yup, too late, already did a full reinstall. Thanks for the help in any event.

:hushed::v: