Posts: 136
Joined: Nov 2014
Reputation:
3
After the upgrade to Kodi 19, all my sources "This directory contains" gets reset to "None" after a while. I configured them a few times, rescanned the database, it works OK but they eventually go back to None and when I start Kodi it has an empty database.
The media is on a NFS server (Ubuntu 20.04) if that matters.
This used to work fine in Kodi 18.
I also noticed that Kodi 19 can no longer discover/browse NFS shares, but they work if I enter nfs://<ip>/path/to/media The discover/browse part is not a big deal but I wonder if it's related to why the source type gets reset to None.
Kodi 18 was able to discover and browse them. Happening on both a CCGTV and AFTV4K.
Posts: 136
Joined: Nov 2014
Reputation:
3
Not sure when it actually happens, I turn on the TV and the CCGTV and the library is empty. This started with Kodi 19, it would be a coincidence for the CCGTV storage to go bad. And I haven't noticed any other issues with the device. Same on an AFTV4K.
I do run the Library Auto Update addon, so it is possible that it may remove items if it can't access the NFS server, but still it shouldn't change the source types to None. And I've been using this addon for years on previous versions of Kodi.
Posts: 14,211
Joined: Nov 2009
Reputation:
708
Klojum
Lost connection
Posts: 14,211
The Library Update does not remove library items, only the Clean Video Library could do that.
Also databases can handle themselves, you don't need a clean action every day. Once a month is more than enough.
Are you using a centralized database or local instances only?
Posts: 136
Joined: Nov 2014
Reputation:
3
But what resets "This directory contains: None"?
It is not an NFS timeout issue because of HDDs because in my case it's SSDs and the server is active for other reasons.
Posts: 136
Joined: Nov 2014
Reputation:
3
This thing is really bugged. I looked through the logs, nothing interesting I can see. I uninstalled it and installed it again, started clean, no addons, it still does it. Where is this setting "This directory contains" stored so I can check that it's actually written correctly? I'm not even sure it's the Library Update that changes that setting, it's as if that the setting exists in memory when I set it up but it's not persisted, so when Kodi starts again this setting for each source is gone even though the sources are still there.