Hello, I hope you can help because I’m out of ideas.
I’ll set the scene quickly:
Recently I noticed that my new TV show didn’t show up, and the Update Library on Startup scan got stuck at 83% for about 5 minutes before failing (I assumed).
Spent a while d1ciking around and noticed in the logs a lot of this:
2020-02-28 23:06:20.143 T:3925861088 WARNING: Process directory 'smb://192.168.0.8/Elements/tv/Grimm/' does not exist - skipping scan.
“Ah hah!” I thought. My Vero4k’s IP is 192.168.50.231, not 0.8. It used to be 0.8, but I changed routers.
I can’t for the life of me figure out how to change this in the UI, so I went into FTP and found a few files in /home/osmc/.kodi/userdata:
all referenced the 192.168.0.8 address. So I updated them all to the 50.231 address, and rebooted the Vero4k.
However, the logs STILL show the system trying to search in the 0.8 address, as per my log snippet above. How do I change this? I actually don’t really care about the watched/unwatched database stuff, I’m happy to just delete all my video sources and re-add them if that helps, but I can’t work out how to do that (and I’ve googled and clicked around; if there’s a way it’s not intuitive). How can I do this?
One thing to note - I run OSMC with a MySQL database (running on the Vero4k) so my laptop running Kodi can share the database and stay in sync. Ignore the laptop for the moment though, I haven’t even tried running that yet, I just want to fix the Vero4k. The advancedsettings.xml file on the Vero4k points at 127.0.0.1 (and always has), so there’s no IP issues there.
Does the MySQL db store the source IP in it directly? I guess this might explain the issue if so. And if so, can I just wipe the MySQL db somehow and start again? If so, how do I do this?
full logs here:
<videodatabase> <name>MyVideos</name> <host>127.0.0.1</host> <user>osmc</user> <pass>osmc</pass> <type>mysql</type> <port>3306</port> </videodatabase>