PDA

View Full Version : SBS on ubuntu is loosing the files



fkjensen
2010-08-23, 12:07
Hi Guys,

Trying to setup SBS on an ubuntu box for a friend. I have one running on the same hardware, and it works great (earlier version of ubuntu though).

Well, we got everything working. I.e. changed the file permissions to 755, uploaded the music from an xp box via samba, scanned the music library, and played music with SB touch and soft squeeze. In short - everything is working fine!

Now for the strange problem.
Rebooting the server results in the players and the SBS can't see any music. And in the web interface under the information tab it says "Library statistics: no music library configured", even though the music folder is configured under the basic settings tab.

Restarting the SBS with
sudo /etc/init.d/squeezeboxserver stop
sudo /etc/init.d/squeezeboxserver start
via ssh solves the problem and we can see and play the music again, and the web interface has the correct library statistics (instead of "no music library configured"). However, when we exit ssh (we use putty from xp), the music continues, but the players can't find the next track. If we stay logged on with ssh, the players just keeps playing the next tracks and seems to be working fine.

The behaviour is reproducible.

I am really confused!!
Any ideas?

~Frank

snarlydwarf
2010-08-23, 12:25
Is this an external drive...

perhaps one that is mounted only when you are logged in?

fkjensen
2010-08-23, 13:22
No it's not an external drive. The music is in /home/name/Music, where /home is a separate partition on the disk (the only disk in the server). We can access /home/name via samba without explicit logging in with ssh.

It's an ubuntu server install, if that's makes any difference.

~Frank

mudlark
2010-08-24, 00:39
have you changed the permissions of the folder in which the music is stored?

fkjensen
2010-08-24, 06:37
have you changed the permissions of the folder in which the music is stored?

No, I haven't changed anything.
And even if I did, the permissions shouldn't change just because I reboot the server, restart the SBS software and/or log out from ssh, should it?
This is not a one time deal, it happens every time.

~Frank