Page 1 of 1

Subsonic doesn't see my samba shares ?

PostPosted: Sun Oct 03, 2010 11:13 am
by kirby_blue
Hello happy subsonic users !!

I just installed subsonic an hour ago and it is awesome !! Working waay better than orb for music streaming...Except for one thing : it cannot seem to be able to reference my samba shares.

I tried adding the share via two different ways (for the same folder) but neither worked :

\\192.168.1.2\share\Music
Z:\Music

btw, the 192.168.1.2 machine needs a username and password to connect to it...where can I specify that ?
(I read on another forum post that reading from smb wasn't a good idea but I really wanna try by myself)

Thank you!

PostPosted: Sun Oct 10, 2010 5:18 pm
by kirby_blue
I tried everything :

192.168.1.2\share\Music
\\user:pass@192.168.1.2\share\Music
Z:\Music
C:\Documents and Settings\MyUserName\Desktop\Music.lnk

but nothing works :(

Has no one a clue on this ?

PostPosted: Mon Oct 11, 2010 12:31 pm
by kermit22
What version of Windows are you using for your Subsonic server? If it it windows I think you will need to run the service with the credentials that work on your samba shares. If you need further direction let me know what version of Windows and I can give you more detailed directions.

PostPosted: Mon Oct 11, 2010 6:33 pm
by kirby_blue
Hi !

Thanks for your answer.

My subsonic server is installed on a laptop which runs Windows XP Pro SP3. Please tell me what you know :D

PostPosted: Mon Oct 11, 2010 8:24 pm
by kermit22
I'm not an expert on windows services and samba shares by any means so hopefully this will work. :D

The first thing to do is create a windows user with the same credentials as your samba share.

Then make sure that user has read/write privileges on the C:\subsonic folder and the C:\program files\subsonic folder.

The click on the Start button and click Run. Type services.msc and hit enter.
Scroll down to the Subsonic service and double click it. Go to the log on tab and choose This Account and use the user credentials that you set up on your samba share and hopefully subsonic will be able to connect to your shares without any issue.

If you need more detailed instruction for any of the steps let me know and I'll make some screenshots for you.

good luck

PostPosted: Tue Oct 12, 2010 8:46 pm
by kirby_blue
So I tried what you said but here's the error I get :

HTTP ERROR: 503
SERVICE_UNAVAILABLE
RequestURI=/
Powered by jetty://

I logged in under the newly created account, which can access the samba shares without being prompted for the password. I also checked that it can modify both subsonic folders and it does. So I don't know what could be the problem ?

Please tell me that you know what the issue is... :wink:

PostPosted: Tue Oct 12, 2010 9:35 pm
by kermit22
You shouldn't need to log into the computer with new account. Just have the subsonic service start using the new account's username and password. If you do that you should be able to access your subsonic again and hopefully your samba shares will be indexed too.

If it doesn't work when you are logged on with your normal account then switch your subsonic logon account back to Local System Account and check the "Allow this account to interact with the desktop" checkbox.

PostPosted: Wed Oct 13, 2010 7:53 am
by kirby_blue
Sorry I wasn't clear enough : I indeed tried both solutions :
1. Logged in with my normal account, running subsonic service under samba user name and password
2. Logged in with my new account, I checked that the account had proper permissions and then also tried running the service.

Error 503 for both.


So now I should try to revert the service to using my Local System Account and simply tick the "Allow this account to interact with the desktop", right ?
(not at home for the moment and remote access blocked at work so I'll try this evening)

PostPosted: Thu Oct 14, 2010 7:48 pm
by kirby_blue
"Allow this account to interact with the desktop" doesn't seem to change anything (tried under both windows accounts).

Any other idea ? :roll:

Re: Subsonic doesn't see my samba shares ?

PostPosted: Tue Nov 20, 2012 1:26 pm
by tygerfish
FYI, this is from a permissions issue. Note that if you run the service as Local System (default) it works fine. Haven't figured out the exact local security policy to change, but if you add the user that you are running the service as to the "Administrators" group, it should work fine. Just make sure the service user has a really good password if you do this!