Posts: 200
Joined: Sep 2010
Reputation:
0
mrpg
Senior Member
Posts: 200
Dear Sir/Madam,
I am using kodi 18 nightly, on Ubuntu Bionic.
About once a week, it crashes , and i have to delete /home/myuser/.kodi/userdata/profiles.xml or kodi wont start again.
After doing that, all my settings in kodi are lost, it does not matter if i save profiles.xml and copy it back, all settings are still lost.
I understand i am using a developer version of kodi, and that it will have problems, so i guess what i am asking for is :
Can i save my kodi settings somehow? so that if it crashes, i can quickly get my settings back?
Br
Patric
Posts: 23,265
Joined: Aug 2011
Reputation:
1,074
fritsch
Team-Kodi Developer
Posts: 23,265
Start with posting your crashlog, please. Without additional information a bump is useless.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Posts: 23,265
Joined: Aug 2011
Reputation:
1,074
fritsch
Team-Kodi Developer
Posts: 23,265
1) Stop kodi
2) cp -R ~/.kodi ~/mykodi-backup
In case of restore:
1) rm -rf ~/.kodi
2) cp -R ~/mykodi-backup ~/.kodi
Backup often, backup early
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Posts: 29
Joined: Sep 2011
Reputation:
1
The issue is that crashes shouldn't happen (even on nightlies), and when they do, you shouldn't lose your data. Kodi developers are trying to see your logs so they can hopefully find out what is causing the crash and potentially what is causing your profile to lose data.
Without knowing what in your profile is getting screwed up, it's hard to know what you should back up and restore and the simple answer is to just say backup everything and restore everything.
Posts: 200
Joined: Sep 2010
Reputation:
0
mrpg
Senior Member
Posts: 200
Hi i know everyone is trying to help, but where kodi settings are saved should be documented somewhere? Or is it randomly scattered around in the .kodi folder? Normally in most apps you have one or two files that contains most settings.
Posts: 23,265
Joined: Aug 2011
Reputation:
1,074
fritsch
Team-Kodi Developer
Posts: 23,265
Normally users post their logfile and the root-cause can be identified and fixed.
To answer your question: This is not the case here. Kodi has guisettings and others in xml format and a whole of databases for video / audio / whatever to store meta information. Additionally there is a addon database referencing a lot of local installed addons.
Means: copy the whole folder, remove your thumb caches.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Posts: 200
Joined: Sep 2010
Reputation:
0
mrpg
Senior Member
Posts: 200
Ok let me ask it in a different manner,
Which file contains the settings for :
Which dvd region i am in?
Skip steps back and forth (10sec/30sec etc)
Which sound card is used in kodi?
If i post a debug log , i will get suggestions on how i fix the crash, not how i save settings, which is the only thing i am after.
Best regards
Patric