I just had this same issue. I wasn't able to get a number of albums to update (I have ~2500 artists in library) and I decided to try a trick that previously worked, removing the media folder and readding it to subsonic. After this I hoped the scan would again run across everything and index many of the "missing" albums/artists. It didn't work!
I then tried removing (first backing up!) and recreating the DB... It still would only refresh "1" node:
- Code: Select all
[2017-02-03 22:18:29,805] INFO VersionService - Resolved latest Subsonic final version to: 6.0
[2017-02-03 22:18:29,805] INFO VersionService - Resolved latest Subsonic beta version to: 6.0.beta2
[2017-02-03 22:18:59,888] INFO MusicFolderDao - Created music folder /var/music
[2017-02-03 22:18:59,888] INFO MediaScannerService - Automatic media library scanning scheduled to run every 1 day(s), starting at Sat Feb 04 21:00:00 EST 2017
[2017-02-03 22:19:03,537] INFO MediaScannerService - Starting to scan media library.
[2017-02-03 22:19:03,578] INFO MediaScannerService - Scanned media library with 1 entries.
[2017-02-03 22:19:03,578] INFO MediaScannerService - Marking non-present files.
[2017-02-03 22:19:03,578] INFO MediaScannerService - Marking non-present artists.
[2017-02-03 22:19:03,579] INFO MediaScannerService - Marking non-present albums.
[2017-02-03 22:19:03,580] INFO MediaScannerService - Completed media library scan.
[2017-02-03 22:19:03,680] INFO PlaylistService - Starting playlist import.
[2017-02-03 22:19:03,682] INFO PlaylistService - Completed playlist import.
[2017-02-03 22:19:10,945] INFO MediaScannerService - Automatic media library scanning scheduled to run every 1 day(s), starting at Sat Feb 04 03:00:00 EST 2017
[2017-02-03 22:19:30,862] INFO MediaScannerService - Starting to scan media library.
[2017-02-03 22:19:30,867] INFO MediaScannerService - Scanned media library with 1 entries.
[2017-02-03 22:19:30,867] INFO MediaScannerService - Marking non-present files.
[2017-02-03 22:19:30,868] INFO MediaScannerService - Marking non-present artists.
[2017-02-03 22:19:30,868] INFO MediaScannerService - Marking non-present albums.
[2017-02-03 22:19:30,868] INFO MediaScannerService - Completed media library scan.
[2017-02-03 22:19:30,957] INFO PlaylistService - Starting playlist import.
[2017-02-03 22:19:30,957] INFO PlaylistService - Completed playlist import.
[2017-02-03 22:23:12,754] INFO PodcastService - Starting scheduled Podcast refresh.
[2017-02-03 22:23:12,754] INFO PodcastService - Completed scheduled Podcast refresh.
Frustrating!
I made sure the install ("media") user had full read/write to the directory... I made sure the music was actually there... I recreated the DB and everything again... still only "1 entries."
I then noticed something strange. The man library folder (/var/music) had a modified date of sometime in 1969! Strange... but I do update this from a mounted Windows share with rsync... I've seen stranger things.
After running 'touch' on that folder and also those inside the library the scan proceeded as expected and my library was reindexed and available.
Thank you for the idea!
Cheers,
Bryce