After years of intensive use of subsonic, I am facing a very strange issue I have never seen before. Maybe you can help me this time again, I know it is not supproted anymore, and airsonic works almost as well. But if you could give me any hint or idea, this would be great.
So, just to recall, I’m using volusonic to connect volumio to my subsonic server (version 6.1.6) on an RPI4 server. This has been working for years now.
The issue I am facing is: I recently discovered that a lot of my albums have their tracks marked “non-present” by subsonic. I can see the album, because the cover file (cover.jpg) is “present”, but I can’t play any of the tracks (0 songs).
The DB is MariaDB. I cleaned everything in the DB and started a new scan.
During the scan, everything seems to be OK: I see that no “non-present” file exists:
MariaDB [subsonic]> SELECT path FROM media_file WHERE present=0;
Empty set (0.001 sec)
But, at the end of scan, I see this in the log:
[6/6/22 8:41:20 PM CEST] INFO MediaScannerService Scanned media library with 142230 entries.
[6/6/22 8:41:20 PM CEST] INFO MediaScannerService Marking non-present files.
[6/6/22 8:42:10 PM CEST] INFO MediaScannerService Marking non-present artists.
[6/6/22 8:42:10 PM CEST] INFO MediaScannerService Marking non-present albums.
[6/6/22 8:42:13 PM CEST] INFO MediaScannerService Completed media library scan.
And suddenly, a lot of tracks appear as “non present”. As you can see, it takes also a full minute ([6/6/22 8:41:20 PM CEST] to [6/6/22 8:42:10 PM CEST]) to Subsonic to mark this files “non-present”.
And I don’t know why. These files are obvioulsy present, they exist in the DB, but the “present” field is set to 0.
It always happens to all flac files of a full album.
jpg files are not impacted
Any help or hint would be appreciated.