Issue with video library

I’m running OSMC on an RPi2 and the past week there is an issue with the Kodi database.

My video files are located on a HDD connected to my router and I access them via SMB using Kodi.

Occasionally on reboot, there are no episodes listed for some TV shows.

I usually remove the TV shows from the library and then rescan the video library. This picks up the previously missing episodes.

Prior to this, I deleted the Kodi database files to start over, but the problem has persisted.

Database\MyVideos*.db
Database\MyMusic*.db
Database\Textures*.db
Thumbnails

Anyone else having this problem and/or have a solution?

No solution can be determined until we can see some logs that indicate what the issue is…

https://discourse.osmc.tv/t/how-to-obtain-provide-necessary-info-for-a-useful-support-request-includes-current-versions/5507s