Scanning Media Folders stops prematurely

Need help? Post your questions here.

Moderator: moderators

Scanning Media Folders stops prematurely

Postby therider62 » Sat Oct 08, 2016 6:30 am

Hello

My new subsonic installation doesn't show all the media files. It looks like Scanning Media Folders function stops prematurely for some reason, but it is not giving me any hint upon the reason.

I just installed the latest subsonic on my Synology NAS. First I installed Java 7 and Tomcat 7, then I copied subsonic.war to the Tomcat apps directory, created /var/subsonic with access for user http, then subsonic could be launched in the browser. But scanning the media folders stops after just a few hundred, where there should be more than 10000.

The media library files haven been copied to the NAS in the usual way, and I explicitly configured read/write access rights for the user "http", which Tomcat is running under.
I configured the media folders like this:
Music: /volume1/music
Video: /volume1/video

The log (see below) is not giving any problem indication. I have no idea, if a particular file or directory is stopping the process or what the reason could be. Not enough memory? Wrong access rights? Configuration problem? Can anybody help?

Subsonic version: 6.0 (build a7857c) – April 30, 2016
Server version: Apache Tomcat/7.0.69, java 1.7.0_111, Linux (99.7 MB / 153.1 MB)
NAS type: DS216play
NAS firmware version: DSM 6.0.2-8451 Update 1

Code: Select all
[10/8/16 7:06:27 AM GMT+01:00]   INFO   MediaScannerService   Starting to scan media library.
[10/8/16 7:06:40 AM GMT+01:00]   INFO   MediaScannerService   Scanned media library with 250 entries.
[10/8/16 7:06:50 AM GMT+01:00]   INFO   MediaScannerService   Scanned media library with 416 entries.
[10/8/16 7:06:50 AM GMT+01:00]   INFO   MediaScannerService   Marking non-present files.
[10/8/16 7:06:50 AM GMT+01:00]   INFO   MediaScannerService   Marking non-present artists.
[10/8/16 7:06:50 AM GMT+01:00]   INFO   MediaScannerService   Marking non-present albums.
[10/8/16 7:06:50 AM GMT+01:00]   INFO   MediaScannerService   Completed media library scan.
[10/8/16 7:06:51 AM GMT+01:00]   INFO   PlaylistService   Starting playlist import.
[10/8/16 7:06:51 AM GMT+01:00]   INFO   PlaylistService   Completed playlist import.
therider62
 
Posts: 6
Joined: Wed Sep 12, 2012 2:07 pm

Re: Scanning Media Folders stops prematurely

Postby MacDonals » Thu Oct 13, 2016 7:25 pm

Not a fix but I posted a workaround here:

viewtopic.php?f=2&t=16936
MacDonals
 
Posts: 4
Joined: Thu Feb 06, 2014 3:01 pm

Re: Scanning Media Folders stops prematurely

Postby therider62 » Fri Oct 14, 2016 10:42 am

Thanks for the hint. But, good grief, what a drag... :)
therider62
 
Posts: 6
Joined: Wed Sep 12, 2012 2:07 pm

Re: Scanning Media Folders stops prematurely

Postby SHANE523 » Mon Oct 17, 2016 3:58 pm

My setup.
Windows 10
Media on E: (E:\Music\) then within that folder artists are in alphabetical folders, Yes in a Y folder, Disturbed in a D folder for example.
Subsonic latest version

Replaced my data drives with new 3TB drives (Mirrored) so I had to copy my files back to the new drives. Subsonic would not find anything past P. After checking permissions, deleting the media folder, cleaning database, restarting the service, restarting the PC and so on I finally got it to work by uninstalling current version and going back to a beta version, adding the media folder, running the scan then upgrading back to the latest when the scan was done.

All files are now found in the scan.

If it makes any sense the P folder was around 25k items scanned.
SHANE523
 
Posts: 6
Joined: Thu May 16, 2013 7:52 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 20 guests