Page 1 of 1

Scanner fails to detect anything in folder

PostPosted: Mon Dec 01, 2014 5:17 pm
by jdrch
Problem Description: Only C:\Users\Username\Music will successfully scan in. All other folders fail.
Troubleshooting Steps:
- Stopping Windows service, deleting C:\Subsonic\db, and restarting service.
- Deleting folders, rescanning, cleaning up database, re-adding folders, rescanning.
Playback Application and version:This problem appears in the web interface on the server PC.
Subsonic Version: 5.0 (build 4100) – September 21, 2014
Server Version: jetty-6.1.x, java 1.8.0_25, Windows 8 (77.5 MB / 145.0 MB)
Hardware Platform: Windows 8.1 August Update 64-bit
Java Memory Limit: 150 MB
Problem Filename: Names of problem folders are I:\Downloads\Buffer and I:\Downloads\CD
Output from ffmpeg -i: n/a, not a transcoding problem
Last ten log file lines:

Code: Select all
[12/1/14 10:42:23 AM CST]    INFO   MusicFolderDao   Deleted music folder with ID 2
[12/1/14 10:42:23 AM CST]    INFO   MusicFolderDao   Deleted music folder with ID 3
[12/1/14 10:42:23 AM CST]    INFO   MediaScannerService   Automatic media library scanning scheduled to run every 1 day(s), starting at Tue Dec 02 03:00:00 CST 2014
[12/1/14 10:42:50 AM CST]    INFO   MediaScannerService   Starting to scan media library.
[12/1/14 10:42:50 AM CST]    INFO   MediaScannerService   Scanned media library with 0 entries.
[12/1/14 10:42:50 AM CST]    INFO   MediaScannerService   Marking non-present files.
[12/1/14 10:42:53 AM CST]    INFO   MediaScannerService   Marking non-present artists.
[12/1/14 10:42:53 AM CST]    INFO   MediaScannerService   Marking non-present albums.
[12/1/14 10:42:54 AM CST]    INFO   MediaScannerService   Completed media library scan.
[12/1/14 10:42:54 AM CST]    INFO   PlaylistService   Starting playlist import.
[12/1/14 10:42:54 AM CST]    INFO   PlaylistService   Completed playlist import.
[12/1/14 10:42:54 AM CST]    INFO   PlaylistService   Starting playlist statistics update.
[12/1/14 10:42:54 AM CST]    INFO   PlaylistService   Completed playlist statistics update.
[12/1/14 10:44:21 AM CST]    INFO   MusicFolderDao   Created music folder I:\Downloads\Buffer
[12/1/14 10:44:21 AM CST]    INFO   MediaScannerService   Automatic media library scanning scheduled to run every 1 day(s), starting at Tue Dec 02 03:00:00 CST 2014
[12/1/14 10:44:24 AM CST]    INFO   MediaScannerService   Starting to scan media library.
[12/1/14 10:44:24 AM CST]    INFO   MediaScannerService   Scanned media library with 1 entries.
[12/1/14 10:44:24 AM CST]    INFO   MediaScannerService   Marking non-present files.
[12/1/14 10:44:24 AM CST]    INFO   MediaScannerService   Marking non-present artists.

Re: Scanner fails to detect anything in folder

PostPosted: Mon Dec 01, 2014 8:40 pm
by sindre_mehus
Please go to Settings > Media folders and check if Subsonic can see the I:\ drive. If that's a network-mapped drive you might have to change the Subsonic service to run as the logged-on user (in Windows Service settings) for Subsonic to see the drive.

Sindre

Re: Scanner fails to detect anything in folder

PostPosted: Tue Dec 02, 2014 4:17 pm
by jdrch
sindre_mehus wrote:Please go to Settings > Media folders and check if Subsonic can see the I:\ drive. If that's a network-mapped drive you might have to change the Subsonic service to run as the logged-on user (in Windows Service settings) for Subsonic to see the drive.

Sindre


Thanks, that worked! You can also fix it by changing permissions on a per-folder basis. I blogged about both solutions here.

BTW, I must say that for a paid service I'm very disappointed in Subsonic's really poor documentation. Both this issue and the remote connectivity one are pretty common in the forum, yet they aren't mentioned in the Installation, Getting Started, or FAQ guides (!!!???). If you're gonna charge us for something, at least for God's sake document it properly, especially when they are issues that every (Windows) Subsonic user is guaranteed to encounter due to its implementation. It took me literally 3 hours of Googling, forum reading, and trial and error to solve the connectivity problem alone, and then another couple hours to figure out the folder scanning bug is due to permissions.

Come on, your users - who pay you - deserve better than this.

Re: Scanner fails to detect anything in folder

PostPosted: Tue Dec 02, 2014 5:39 pm
by alphawave7
Newbs that need help generally are directed here:
http://monroeworld.com/android/subsonic/

I've been trying for years to pull our collective knowledge from the fora to a condensed wiki:
viewtopic.php?f=2&t=6346

Re: Scanner fails to detect anything in folder

PostPosted: Wed Dec 03, 2014 6:39 pm
by sindre_mehus
jdrch wrote:BTW, I must say that for a paid service I'm very disappointed in Subsonic's really poor documentation. Both this issue and the remote connectivity one are pretty common in the forum, yet they aren't mentioned in the Installation, Getting Started, or FAQ guides (!!!???).


Thanks for the feedback! I'll add proper documentation for this. BTW, the Subsonic Windows installer is supposed to automatically configure the firewall but perhaps that stopped working in Windows 8. Will check that.

Regards
Sindre

Re: Scanner fails to detect anything in folder

PostPosted: Wed Dec 03, 2014 6:43 pm
by jdrch
sindre_mehus wrote:
jdrch wrote:BTW, I must say that for a paid service I'm very disappointed in Subsonic's really poor documentation. Both this issue and the remote connectivity one are pretty common in the forum, yet they aren't mentioned in the Installation, Getting Started, or FAQ guides (!!!???).


Thanks for the feedback! I'll add proper documentation for this. BTW, the Subsonic Windows installer is supposed to automatically configure the firewall but perhaps that stopped working in Windows 8. Will check that.

Regards
Sindre


Thanks, much appreciated!