[solved]W2k8Srvr Media folder not found with non local drive

Need help? Post your questions here.

Moderator: moderators

[solved]W2k8Srvr Media folder not found with non local drive

Postby Psyclone » Wed Jan 02, 2013 2:40 am

All,

First my specs:

Windows 2008 R2 server standard SP1

4.7 (build 3106) – September 12, 2012
jetty-6.1.x, java 1.6.0_27, Windows Server 2008 R2 (26.3 MB / 36.7 MB)

I just set up Subsonic for the first time ever(so presumably no legacy issues) and am unable to successfully get the app to scan a folder that does not reside on a physical drive. I've gone through all of the troubleshooting steps from multiple threads/wiki's, etc. to no avail. This includes configuring the Subsonic service to use the same account(in the administrators group) that I log into the machine with, that when logged in I have zero issues accessing any of the drive/files/folders that I am attempting to configure in the Media folders section of the Subsonic UI.

As the topic states this issue seems to specifically apply to drives/files/folders that are on a drive that is not physically attached to the machine. This conclusion is based on the following steps I've tried to get the Media Folders set up.

Things I have tried:

1. Map a media folder to a folder that is on the local c: drive. Result: Success
2. Map a media folder to a folder that is on a locally attached portable USB drive. Result: Success
3. Map a media folder that is on a drive mapped from a network shared drive. Result: 'No media folders found. Please change the settings.' message at the top of the Subsonic Web UI page and the 'Folder not found' next to the configuration for this shared folder on the Media Folders page in the Subsonic web UI.
4. Use the subst command to create a virtual drive mapped to a folder on the c: drive. Result: 'No media folders found. Please change the settings.' message at the top of the Subsonic Web UI page and the 'Folder not found' next to the configuration for this shared folder on the Media Folders page in the Subsonic web UI.
5. Map a media folder that is in a UNC path from a network shared drive. Result: 'No media folders found. Please change the settings.' message at the top of the Subsonic Web UI page and the 'Folder not found' next to the configuration for this shared folder on the Media Folders page in the Subsonic web UI.

I am at a loss. Can anyone help?

Here is the log file after restarting the service and attempting to map to a network shared drive:

Code: Select all
[1/1/13 6:22:38 PM PST]   INFO   DaoHelper   Checking database schema.
[1/1/13 6:22:38 PM PST]   INFO   DaoHelper   Done checking database schema.
[1/1/13 6:22:39 PM PST]   INFO   PlayerDao   Deleted 1 player(s) that haven't been used after Fri Nov 02 18:22:39 PDT 2012
[1/1/13 6:22:39 PM PST]   INFO   MediaScannerService   Automatic media library scanning scheduled to run every 1 day(s), starting at Wed Jan 02 03:00:00 PST 2013
[1/1/13 6:22:39 PM PST]   INFO   PodcastService   Automatic Podcast update scheduled to run every 24 hour(s), starting at Tue Jan 01 18:27:39 PST 2013
[1/1/13 6:22:42 PM PST]   INFO   NetworkService   Deleted port mapping for port 4040
[1/1/13 6:22:43 PM PST]   INFO   PlayerDao   Created player 1.
[1/1/13 6:23:21 PM PST]   INFO   MusicFolderDao   Created music folder \\192.168.1.3\e\Music
[1/1/13 6:23:21 PM PST]   INFO   MediaScannerService   Automatic media library scanning scheduled to run every 1 day(s), starting at Wed Jan 02 03:00:00 PST 2013
[1/1/13 6:23:23 PM PST]   INFO   VersionService   Resolved local Subsonic version to: 4.7
[1/1/13 6:23:24 PM PST]   INFO   VersionService   Resolved latest Subsonic final version to: 4.7
[1/1/13 6:23:24 PM PST]   INFO   VersionService   Resolved latest Subsonic beta version to: 4.7.beta3
Last edited by Psyclone on Sat Jan 19, 2013 9:07 pm, edited 1 time in total.
Psyclone
 
Posts: 9
Joined: Tue Jan 01, 2013 10:59 pm

Re: Win2k8Server - Media folder not found with non local dri

Postby Psyclone » Sat Jan 12, 2013 2:36 am

Bump.

Anyone have any suggestions? Is it not possible to use subsonic on a drive that's not local to the server?
Psyclone
 
Posts: 9
Joined: Tue Jan 01, 2013 10:59 pm

Re: Win2k8Server - Media folder not found with non local dri

Postby GJ51 » Sat Jan 12, 2013 3:54 am

Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Re: Win2k8Server - Media folder not found with non local dri

Postby gurutech » Mon Jan 14, 2013 12:52 am

How are you listing the media folders?

Are you using \\server\share\path, or are you mapping a drive to \\server\share\ and specifying in media folders X:\path ?

Not sure if the first method will work (it doesn't work with the Linux equivalent), but if you have many drive mappings to a single server, you will probably need to increase your IRPStackSize on the server. Default is 11 I believe, or 15. Setting this in increments of 3 will eventually allow the connection, but requires the server to be rebooted each time, and you can't go above 50.
Image
gurutech
 
Posts: 492
Joined: Sun Jan 15, 2012 9:56 pm

Re: Win2k8Server - Media folder not found with non local dri

Postby Psyclone » Fri Jan 18, 2013 3:29 pm

GJ51 wrote:http://forum.subsonic.org/forum/viewtopic.php?f=6&t=4867


I've tried everything in that thread and all others. I am assuming this is a permissions issue however as I stated, I have configured to the service to run under that same account that I log into the server with and can access the shares with no issues. Unfortunately the log file doesn't seem to provide any information.

Other suggestions?
Psyclone
 
Posts: 9
Joined: Tue Jan 01, 2013 10:59 pm

Re: Win2k8Server - Media folder not found with non local dri

Postby Psyclone » Fri Jan 18, 2013 3:39 pm

gurutech wrote:How are you listing the media folders?

Are you using \\server\share\path, or are you mapping a drive to \\server\share\ and specifying in media folders X:\path ?

Not sure if the first method will work (it doesn't work with the Linux equivalent), but if you have many drive mappings to a single server, you will probably need to increase your IRPStackSize on the server. Default is 11 I believe, or 15. Setting this in increments of 3 will eventually allow the connection, but requires the server to be rebooted each time, and you can't go above 50.


As I stated above, I have tried using the mapped drive i.e. d:\Music mapped to '\\192.168.1.3\e\Music' and also the UNC path, as listed in the log file: '\\192.168.1.3\e\Music', both produce the same result. I doubt IRPStackSize is a factor as I've only got 2 drive mappings to external resources.
Psyclone
 
Posts: 9
Joined: Tue Jan 01, 2013 10:59 pm

Re: Win2k8Server - Media folder not found with non local dri

Postby GJ51 » Fri Jan 18, 2013 4:34 pm

It's difficult to understand why this won't work for you without being able to examine your system. I have 4 instances of Subsonic running on Server 08 R2 and all are accessing network storage on a different server using UNC shares.

e.g. \\Servername\Music

Try using the Administrator account for the service permissions that Subsonic uses on the server. Make sure that Administrator/Password are the same for the server and the non-local drive you're trying to access.

Final thought. When you say non-local drive, are you talking about a NAS drive or something else that may be using a different file system than NTFS? That can certainly cause problems. If the non-local drive uses a different file system you would have to research how to read that as a UNC share on Windows. One night I spent a few hours setting up Samba on a Linux box so it could read my storage server and it was not what I would call fun.
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Re: Win2k8Server - Media folder not found with non local dri

Postby Psyclone » Fri Jan 18, 2013 5:38 pm

Non local drive refers to a drive mapped to a shared folder on a Windows 7 Ultimate box. Both NTFS.
Psyclone
 
Posts: 9
Joined: Tue Jan 01, 2013 10:59 pm

Re: Win2k8Server - Media folder not found with non local dri

Postby GJ51 » Fri Jan 18, 2013 6:10 pm

Are the username/password used for subsonic valid and identical on both machines?

Sent from my SPH-L710 using Tapatalk 2
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Re: Win2k8Server - Media folder not found with non local dri

Postby BKKKPewsey » Fri Jan 18, 2013 6:21 pm

Mapped drives do not work in SS so make sure you use the UNC path to the actual drive and not a mapped drive.
If the user a/c that SS is running under can access the shares directly e.g. not requiring any username/password info then you should be good to go
Everyone is entitled to be stupid, Image but some abuse the privilege!

Due to the confusion from too many genres of music, we have decided to put both country music and rap music into the genre of Crap music.
User avatar
BKKKPewsey
 
Posts: 2080
Joined: Mon May 23, 2011 12:16 pm
Location: United Kingdom

Re: Win2k8Server - Media folder not found with non local dri

Postby Psyclone » Fri Jan 18, 2013 6:31 pm

GJ51 wrote:Are the username/password used for subsonic valid and identical on both machines?

Sent from my SPH-L710 using Tapatalk 2


Account configs for demonstration purposes:


Server Account: 2k8Server\Administrator Password:Foo

Subsonic Service Configuration:

Account: .\Administrator
Password: Foo

Credentials stored for drive mapping:

Image

Remote Win7 Account: MediaHub\Administrator Password: Foo
Psyclone
 
Posts: 9
Joined: Tue Jan 01, 2013 10:59 pm

Re: Win2k8Server - Media folder not found with non local dri

Postby Psyclone » Fri Jan 18, 2013 7:16 pm

BKKKPewsey wrote:Mapped drives do not work in SS so make sure you use the UNC path to the actual drive and not a mapped drive.
If the user a/c that SS is running under can access the shares directly e.g. not requiring any username/password info then you should be good to go


I have tried both UNC path and mapped drives with the same results. On the Win7 box I have provided Full Access to Everyone to the shares so there should be no authentication issues at all. I am able to mapd drives and access the UNC path to the MediaHub without having to enter any credentials so I don't think this is an authentication issue either.

I'm baffled.
Psyclone
 
Posts: 9
Joined: Tue Jan 01, 2013 10:59 pm

Re: Win2k8Server - Media folder not found with non local dri

Postby GJ51 » Fri Jan 18, 2013 9:35 pm

Are the Administrator's password the same on both machines?
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Re: Win2k8Server - Media folder not found with non local dri

Postby Psyclone » Fri Jan 18, 2013 10:10 pm

Yes.
Psyclone
 
Posts: 9
Joined: Tue Jan 01, 2013 10:59 pm

Re: Win2k8Server - Media folder not found with non local dri

Postby GJ51 » Fri Jan 18, 2013 10:24 pm

OK - last question: You are entering the Foldername in Subsonic Settings/Media folders in the format,

\\Servername\Music

with the folder holding subfolders so that it looks similar to

\\Servername\Music\Artist\Album\Tracks

?

Usually when I put the Media folders into Subsonic I open the file explorer and select Network which then displays my servers. I click on my storage server and it then displays the available shares on that server. Once I select the proper folder I just cut and paste the UNC share path into Subsonic. If your doing this from the Subsonic host machine and your logged on with the same credentials that you assigned to the Subsonic service - I can't hink of any reason why it wouldn't be seeing the share.

I also use the verifier when I enter the logon into the service. Open the service properties, log on tab, This account, then use the Browse button and do the Check Names to verify accurate credential entry.

HTH
Gary J

http://bios-mods.com
http://www.maplegrovepartners.com
http://theaverageguy.tv/category/tagpodcasts/cyberfrontiers/
User avatar
GJ51
 
Posts: 3492
Joined: Wed Oct 20, 2010 11:58 pm
Location: Western New York

Next

Return to Help

Who is online

Users browsing this forum: No registered users and 35 guests