CAN'T INDEX MUSIC ON A NETWORK SHARE

Need help? Post your questions here.

Moderator: moderators

CAN'T INDEX MUSIC ON A NETWORK SHARE

Postby jomaweb » Thu Oct 01, 2009 6:36 pm

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)
jomaweb
 
Posts: 15
Joined: Mon Mar 30, 2009 6:36 pm

Postby jigsaw » Fri Oct 02, 2009 5:50 am

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.
Currently without Subsonic due to hardware failure :(
User avatar
jigsaw
 
Posts: 242
Joined: Sat Oct 13, 2007 12:01 pm
Location: Stavanger, Norway

Postby jomaweb » Fri Oct 02, 2009 7:14 am

Yes, is Mounted using samba, and I can see in Nautilus the path to access the share as
smb:/networkspace/MUSIC
jomaweb
 
Posts: 15
Joined: Mon Mar 30, 2009 6:36 pm

Postby jigsaw » Fri Oct 02, 2009 11:19 pm

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 :)
Currently without Subsonic due to hardware failure :(
User avatar
jigsaw
 
Posts: 242
Joined: Sat Oct 13, 2007 12:01 pm
Location: Stavanger, Norway

Mounts

Postby Aethies » Sat Oct 03, 2009 3:16 pm

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
Aethies

Ubuntu Server 12.04
===================
3,281 artists
9,432 albums
113,608 songs
2636.09 GB (10,769 hours)
===================
User avatar
Aethies
 
Posts: 197
Joined: Fri Oct 24, 2008 4:33 pm

Postby jomaweb » Mon Oct 05, 2009 5:42 pm

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
jomaweb
 
Posts: 15
Joined: Mon Mar 30, 2009 6:36 pm

Postby jigsaw » Mon Oct 05, 2009 5:57 pm

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.
Currently without Subsonic due to hardware failure :(
User avatar
jigsaw
 
Posts: 242
Joined: Sat Oct 13, 2007 12:01 pm
Location: Stavanger, Norway

Postby jomaweb » Mon Oct 05, 2009 6:59 pm

I got that point. I've modified the command to suit my particular case. Anyway no success
jomaweb
 
Posts: 15
Joined: Mon Mar 30, 2009 6:36 pm

Postby jigsaw » Mon Oct 05, 2009 7:29 pm

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.
Currently without Subsonic due to hardware failure :(
User avatar
jigsaw
 
Posts: 242
Joined: Sat Oct 13, 2007 12:01 pm
Location: Stavanger, Norway

Postby jomaweb » Mon Oct 05, 2009 8:15 pm

No offended.
I don`t know how nautilus mounted the share but in Nautilus the path to access the folder is
smb:/networkspace/MUSIC
jomaweb
 
Posts: 15
Joined: Mon Mar 30, 2009 6:36 pm

Postby jigsaw » Tue Oct 06, 2009 5:08 am

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.
Currently without Subsonic due to hardware failure :(
User avatar
jigsaw
 
Posts: 242
Joined: Sat Oct 13, 2007 12:01 pm
Location: Stavanger, Norway

Postby jomaweb » Tue Oct 06, 2009 7:18 am

No. Networkspace is the machine Name, and MUSIC is the folder name.
jomaweb
 
Posts: 15
Joined: Mon Mar 30, 2009 6:36 pm

Postby jigsaw » Tue Oct 06, 2009 6:29 pm

Did you try Aethies tip on fstab then? Followed by "mount -a"
Which OS are you on by the way?
Currently without Subsonic due to hardware failure :(
User avatar
jigsaw
 
Posts: 242
Joined: Sat Oct 13, 2007 12:01 pm
Location: Stavanger, Norway

Re: CAN'T INDEX MUSIC ON A NETWORK SHARE

Postby jomaweb » Tue Oct 06, 2009 7:45 pm

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
jomaweb
 
Posts: 15
Joined: Mon Mar 30, 2009 6:36 pm

Postby jigsaw » Tue Oct 06, 2009 8:41 pm

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 =".
Currently without Subsonic due to hardware failure :(
User avatar
jigsaw
 
Posts: 242
Joined: Sat Oct 13, 2007 12:01 pm
Location: Stavanger, Norway

Next

Return to Help

Who is online

Users browsing this forum: No registered users and 28 guests