Enable Menu Customisation does nothing

This is going to be a several step process. First we need to start you off with a new Kodi configuration:

sudo systemctl stop mediacenter
mv .kodi .kodi.save
sudo systemctl start mediacenter

And see if the error still happens. If everything seems OK, then we can restore your user settings:

sudo systemctl stop mediacenter
mv .kodi/userdata/Database/Addons27.db .kodi/userdata/Database/Addons27.db.save
cp -r .kodi.save/userdata .kodi/userdata

The above step may take a little while to run depending on how large your database and the thumbnail cache is. Once that is done, restore the newly created Addons27:

rm .kodi/userdata/Database/Addons27.db
mv .kodi/userdata/Database/Addons27.db.save .kodi/userdata/Database/Addons27.db

And finally restart Kodi:

sudo systemctl start mediacenter

Don’t forget to enable the skin helper again.
I hope that this will fix things for you.

I’ll give it a try and get back to you.
Thanks for all the help so far!

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sat Jul 13 20:36:31 2019 from 192.168.50.14
osmc@osmc:~$ sudo systemctl stop mediacenter
osmc@osmc:~$ mv .kodi .kodi.save
osmc@osmc:~$ sudo systemctl start mediacenter
osmc@osmc:~$ Connection to 192.168.50.226 closed by remote host.
Connection to 192.168.50.226 closed.
PS C:\Users\Omen> ssh osmc@192.168.50.226
osmc@192.168.50.226’s password:
Linux osmc 3.14.29-150-osmc #1 SMP osmc-ccachefix aarch64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sat Jul 13 23:01:21 2019 from 192.168.50.14
osmc@osmc:~$ sudo systemctl stop mediacenter
osmc@osmc:~$ mv .kodi/userdata/Database/Addons27.db .kodi/userdata/Database/Addons27.db.save
osmc@osmc:~$ cp -r .kodi.save/userdata .kodi/userdata
osmc@osmc:~$ rm .kodi/userdata/Database/Addons27.db
rm: cannot remove ‘.kodi/userdata/Database/Addons27.db’: No such file or directory
osmc@osmc:~$ mv .kodi/userdata/Database/Addons27.db.save .kodi/userdata/Database/Addons27.db
osmc@osmc:~$ sudo systemctl start mediacenter
osmc@osmc:~$

Now my Vero boots up as if it’s been factory reset.
No library.
No customized home menu.
Hopefully we can restore my settings because otherwise I have a lot of work to do.

Newest log: https://paste.osmc.tv/isizipajeq

You should have your database still.

ls -lh .kodi/userdata/Database
ls -lh .kodi.save/userdata/Database
cat .kodi.save/userdata/advancedsettings.xml

Show me the output of those commands please.

osmc@osmc:~$ ls -lh .kodi/userdata/Database
total 2.0M
-rw-r--r-- 1 osmc osmc 1.3M Jul 13 23:02 Addons27.db
drwxr-xr-x 2 osmc osmc 4.0K Jul 13 23:02 CDDB
-rw-r--r-- 1 osmc osmc  28K Jul 13 23:02 Epg12.db
-rw-r--r-- 1 osmc osmc 212K Jul 13 23:02 MyMusic72.db
-rw-r--r-- 1 osmc osmc 368K Jul 13 23:02 MyVideos116.db
-rw-r--r-- 1 osmc osmc  40K Jul 13 23:02 TV32.db
-rw-r--r-- 1 osmc osmc  76K Jul 13 23:12 Textures13.db
-rw-r--r-- 1 osmc osmc  20K Jul 13 23:02 ViewModes6.db
osmc@osmc:~$ ls -lh .kodi.save/userdata/Database
total 38M
-rw-r--r-- 1 osmc osmc  28K Aug  5  2018 ADSP0.db
-rw-r--r-- 1 osmc osmc 1.4M Jul 13 22:48 Addons27.db
drwxr-xr-x 2 osmc osmc 4.0K Aug  5  2018 CDDB
-rw-r--r-- 1 osmc osmc  28K Aug  5  2018 Epg11.db
-rw-r--r-- 1 osmc osmc  28K Apr 22 01:43 Epg12.db
-rw-r--r-- 1 osmc osmc 344K Jan 16 21:04 MyMusic60.db
-rw-r--r-- 1 osmc osmc 376K Jun 15 21:50 MyMusic72.db
-rw-r--r-- 1 osmc osmc  15M Apr 21 23:54 MyVideos107.db
-rw-r--r-- 1 osmc osmc  14M Jul 13 22:27 MyVideos116.db
-rw-r--r-- 1 osmc osmc  32K Aug  5  2018 TV29.db
-rw-r--r-- 1 osmc osmc  40K Apr 22 01:43 TV32.db
-rw-r--r-- 1 osmc osmc 7.6M Jul 13 22:27 Textures13.db
-rw-r--r-- 1 osmc osmc  28K Jun 23 20:17 ViewModes6.db
osmc@osmc:~$ cat .kodi.save/userdata/advancedsettings.xml
cat: .kodi.save/userdata/advancedsettings.xml: No such file or directory
osmc@osmc:~$

Ok, do this then to get the database back:

sudo systemctl stop mediacender
mv .kodi/userdata/Database .kodi/userdata/Database.save
cp -r .kodi.save/userdata/Database .kodi/userdata/Database
cp .kodi/userdata/Database.save/Addons27.db .kodi/userdata/Database/Addons27.db
sudo systemctl start mediacenter

That should restore the databases.

osmc@osmc:~$ sudo systemctl stop mediacender
Failed to stop mediacender.service: Unit mediacender.service not loaded.
osmc@osmc:~$ mv .kodi/userdata/Database .kodi/userdata/Database.save
osmc@osmc:~$ cp -r .kodi.save/userdata/Database .kodi/userdata/Database
osmc@osmc:~$ cp .kodi/userdata/Database.save/Addons27.db .kodi/userdata/Database/Addons27.db
osmc@osmc:~$ sudo systemctl start mediacenter
osmc@osmc:~$ Connection to 192.168.50.226 closed by remote host.

Database is back.
What about settings?

You mean the gui settings? Try stopping kodi again and:

cp .kodi.save/userdata/guisettings.xml .kodi/userdata/guisettings.xml

and start Kodi again.

Didnt work.
Maybe I need to install all these skin addons first.

What exactly isn’t working now? Still getting the error? Because starting with a new Kodi config should have reset all of the default addons. If you had any other addons then you will have to reinstall them.

Yeah that error is gone for sure now.
But unfortunately so are all my settings and movie sets and my childrens profile and…
It’s pretty much as if I just got it for the first time right now.

Time to grab a beer I guess and do this from scratch.
Unless you got another trick up your sleave?

AFAIK movie sets are stored in the database, so that may just be a setting to get it to show the sets.

You did do

systemctl stop mediacenter

before copying guisettings.xml, right?

As to the childrens profile, you will find the original in .kodi.save/userdata/profiles

Create a new profile (using the same name) for the kids. Then stop Kodi and copy all the file in .kodi.save/userdata/profiles/ to .kodi/userdata/profiles/. Something like this:

rm -rf .kodi/userdata/profiles/Kids/*
cp -r .kodi.save/userdata/profiles/Kids/* .kodi/userdata/profiles/Kids

should do the trick.

The problem is all my settings are default, so I enabled movie sets that fixed that.
I view everything in list mode but for some reeson when I go into a movie set it displays as wall.
So I changed it, then went into another set and that new set was displayed as wall.
Do I need to change this on every set now (I didn’t before) or is ther some global option/setting I’m missing?

I’m not sure where that information is stored, so it may be easier to just fix them manually if you don’t have lots of them. I’m gonna have one more beer myself and then it’s bedtime for me as I have to be up in 8 hours since I work today. I could dig into where the set information is being saved but it won’t be until I get home from work. At least I got you back up and running mostly :upside_down_face:

Thanks for all your help!

No problem. Sorry I didn’t get it completely fixed for you, but at least we got close. I think I know where I went wrong in my instructions but I’d have to do some testing to be sure. I think where I was wrong was when I had you do the original cp -r .kodi.save.. I now think it should have been cp -r --remove-destination .kodi.save...