Kodi Community Forum
Solved Reset Kodi installation? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: Solved Reset Kodi installation? (/showthread.php?tid=355000)



Reset Kodi installation? - DoctorJellybean - 2020-06-06

If I can't get my current issue resolved (being addressed in a separate thread), then maybe I should reset the Kodi installation.

Googling leads me to various mentions of a @Karellen- removed zip (there appears to be various variations of the name) like in @Karellen- Link removed. Is it safe, and the only way?


RE: Reset Kodi installation? - black_eagle - 2020-06-06

Renaming the .kodi directory to something like .kodi-bak is the easiest and safest way to reset everything.  Do that whilst Kodi is not running and then start it.  It will recreate the directory with the default settings.  No need for a plugin at all.  In fact, I think it's on our banned list https://kodi.wiki/view/Official:Forum_rules/Banned_add-ons


RE: Reset Kodi installation? - DoctorJellybean - 2020-06-06

(2020-06-06, 10:16)black_eagle Wrote: Renaming the .kodi directory to something like .kodi-bak is the easiest and safest way to reset everything.  Do that whilst Kodi is not running and then start it.  It will recreate the directory with the default settings.  No need for a plugin at all.  In fact, I think it's on our banned list https://kodi.wiki/view/Official:Forum_rules/Banned_add-ons

Thanks. I wasn't sure, that's why I asked first Smile

Ok, is there a guide somewhere to show me how to get to the .kodi folder for renaming? I'm using Qnap NAS TS-251+ and things like SSH, Telnet, Putty, etc are the dark arts. I'm willing to try it tho. Pity it's not accessible through Windows like a mapped\networked drive.


RE: Reset Kodi installation? - DarrenHill - 2020-06-06

Operating system:
  • Android - Android/data/org.xbmc.kodi/files/.kodi
  • iOS - /private/var/mobile/Library/Preferences/Kodi
  • LibreELEC - /storage/.kodi
  • Linux - ~/.kodi
  • OSMC - /home/osmc/.kodi
  • Mac - /Users/<your_user_name>/Library/Application Support/Kodi
  • Windows - %APPDATA%\Kodi
  • Windows UWP - %LOCALAPPDATA%\Packages\XBMCFoundation.Kodi_4n2hpmxwrvr6p\LocalCache\Roaming\Kodi\

Taken from the userdata (wiki) entry from the wiki, which is a sub-folder from the kodi/.kodi folder.

How to get to it varies per OS and whether there is direct access (e.g. via Windows File Explorer) or if you need to remote access into the device (e.g. via SSH). If you need help with stuff like using Putty for SSH access, a quick Google search will give you suitable guides (this one for example).

Editted to add - how to SSH into your QNAP.


RE: Reset Kodi installation? - black_eagle - 2020-06-06

Hmm, don't have one of those but I would imagine that you can enable SSH on your NAS via the web interface.  Once done and set up with a password then you can connect using putty.  Once connected, navigate to the required directory with cd /opt/Kodi18 then do mv .kodi .kodi-bak .  To check that the directory has been renamed you can enter ls -alh which should give you a directory listing of all files and directories in the current directory (/opt/Kodi18) including hidden ones (the . in front of kodi means that that directory is normally hidden).

Do note that unlike Windows, Linux is cAsE sensitive so Kodi18 is not the same as kodi18.


RE: Reset Kodi installation? - DaVu - 2020-06-06

As you might have some kind of a master password to access your NAS, that password should also apply to an SSH connection. So first you should educate yourself how to SSH into your NAS. While using Windows, you are able to use putty and then use the username and password for your master user. You also might have to enable ssh on your NAS first (depends on the system in use). After you are logged in via SSH, then the only commands you need to know are: 

cd <directoryname> - to change into a directory
cd .. - to go back to the directory where you have been before
ls -al - to show the content of a directory (also hidden files as the ".kodi" folder is a hidden one)
mv <current_name> <new_name> - to rename folder/files
rm -rf <name> - to remove folders or files. Use that with caution as files/folder which are deleted with that command are completely gone

You are searching for a folder named ".kodi". After you found it use either the "rm -rf" or the "mv" command to either remove that folder or rename it.


RE: Reset Kodi installation? - DoctorJellybean - 2020-06-06

I finally managed to rename the .kodi folder using WinSCP. Thank you for all your help, I wouldn't have been able to do it without your assistance.


Reset Kodi installation? - DarrenHill - 2020-06-06

Thread marked solved.