Page 1 of 2

CAN'T INDEX MUSIC ON A NETWORK SHARE

PostPosted: Thu Oct 01, 2009 6:36 pm
by jomaweb
Hi all

I love this incredible piece of software, but since I moved my music folder to a NAS i'm unable to index and share the music.

I've tried different sintax for my shared folder.

/networkspace/MUSIC
smb:/networkspace/MUSIC
//networkspace/MUSIC

Subsonic installed and working under ubuntu Linux (before moving my music folder worked fine)

PostPosted: Fri Oct 02, 2009 5:50 am
by jigsaw
Hi jomaweb

Have you mounted the NAS using Samba from you Ubuntu-server? What is the path you use to access the share from say a terminal? It should work to put that in the share-folders settings in subsonic. I'm running server from Fedora 11 with all my media on a windows xp, just accessing through samba and works perfectly.

PostPosted: Fri Oct 02, 2009 7:14 am
by jomaweb
Yes, is Mounted using samba, and I can see in Nautilus the path to access the share as
smb:/networkspace/MUSIC

PostPosted: Fri Oct 02, 2009 11:19 pm
by jigsaw
I think Nautilus might "help" you in accessing the samba-share. Could you find what path you would have to use to access the share from a terminal on the server? That path should be the only thing necessary to put in the configuration in Subsonic.

I have for instance mapped the d-drive on my windows host winxp to a folder, but all is done from /mnt and down - so I would type /mnt/winxp/d/music - which is access to the music-share.. Hope I'm not causing more confusion than help here :)

Mounts

PostPosted: Sat Oct 03, 2009 3:16 pm
by Aethies
jomaweb wrote:Yes, is Mounted using samba, and I can see in Nautilus the path to access the share as
smb:/networkspace/MUSIC


Try mounting the nas share using smbmount from a command line, or just type:

mount -t cifs //nas/music /mnt/music

To auto-mount my shares, I use the following in the fstab ike this:

//nas/music /mnt/music cifs username=server_user,password=server_password,uid=1000,gid=users 0 0

PostPosted: Mon Oct 05, 2009 5:42 pm
by jomaweb
mount -t cifs //nas/music /mnt/music gives me the following message:

Mounting the DFS root for a particular server not implemented yet
No ip address specified and hostname not found

PostPosted: Mon Oct 05, 2009 5:57 pm
by jigsaw
jomaweb wrote:mount -t cifs //nas/music /mnt/music gives me the following message:

Mounting the DFS root for a particular server not implemented yet
No ip address specified and hostname not found


Well in your case it's not //nas/music is it.. It's this one:
smb:/networkspace/MUSIC
which then would be //networkspaces/MUSIC I guess.. Aethies was merely giving you the generic command to use. The last field /mnt/music is the folder to mount it to, change this also to what you wish.

PostPosted: Mon Oct 05, 2009 6:59 pm
by jomaweb
I got that point. I've modified the command to suit my particular case. Anyway no success

PostPosted: Mon Oct 05, 2009 7:29 pm
by jigsaw
My bad, no offense intended :)
However the error message "No ip address specified and hostname not found" implies that your computer does not recognize //networkspaces as host. What is the hostname or ip that you used in Nautilus to map up the drive? If it works with samba then it should also work with the mount command.

PostPosted: Mon Oct 05, 2009 8:15 pm
by jomaweb
No offended.
I don`t know how nautilus mounted the share but in Nautilus the path to access the folder is
smb:/networkspace/MUSIC

PostPosted: Tue Oct 06, 2009 5:08 am
by jigsaw
Hmm.. Not too familiar with Nautilus, but this article ( http://www.redhat.com/docs/manuals/ente ... share.html ) suggests that in your case networkspace is actually a workgroup, is this correct?

In any case you could try to follow the tips here ( http://tldp.org/HOWTO/SMB-HOWTO-8.html ) and see if you cannot figure out what's the correct setup for you installation.

PostPosted: Tue Oct 06, 2009 7:18 am
by jomaweb
No. Networkspace is the machine Name, and MUSIC is the folder name.

PostPosted: Tue Oct 06, 2009 6:29 pm
by jigsaw
Did you try Aethies tip on fstab then? Followed by "mount -a"
Which OS are you on by the way?

Re: CAN'T INDEX MUSIC ON A NETWORK SHARE

PostPosted: Tue Oct 06, 2009 7:45 pm
by jomaweb
jomaweb wrote:Subsonic installed and working under ubuntu Linux (before moving my music folder worked fine)


tried fstab settings too.
Maybe it's impossible for linux to share a folder under samba not being the owner

PostPosted: Tue Oct 06, 2009 8:41 pm
by jigsaw
I'm running Subsonic on Fedora 11 with every single media file is on a external harddrive connected to my Windows XP and accessed as standard shared folder and samba client on the Fedora. Works like a charm. You need to make sure the folder is shared correctly from the windows-host and that you have the necessary things on the Linux server to mount it - e.g. samba client and cifs-driver. If you're not sure I seem to recall you can run "dmesg | tail" right after running the mount command and see if it says anything like "CIFS VFS: cifs_mount failed w/return code =".