Permissions Music IP issue with squeezebox Linux

Discussion and Technical Support for general software applications and utilities including OS related issues.
animasantos
Member
Member
Posts: 11
Joined: September 18th, 2011, 8:46 pm

Re: Permissions Music IP issue with squeezebox Linux

Post by animasantos »

Thanks Ian. When I put that into the Terminal I get:

ls: cannot access /home/yourusername/.MusicMagic/default.m3lib: No such file or directory

Also, I have used the command sudo chmod -R 755 ./Music as this is the only way I can get Linux to scan my Squeezebox files and recognise the, (see http://ubuntuforums.org/showthread.php?t=1029611)

If I hold down play I get the 'Music IP' option and a scan also looks at Music IP.

Thanks so much for your help as I seem nearly there!
animasantos
Member
Member
Posts: 11
Joined: September 18th, 2011, 8:46 pm

Re: Permissions Music IP issue with squeezebox Linux

Post by animasantos »

Posts: 6
Joined: September 18th, 2011, 7:46 pm

Gave thanks: 3 times
Received thanks: 0 time

PostPosted: September 22nd, 2011, 8:06 pm
Thanks Ian. When I put that into the Terminal I get:

ls: cannot access /home/yourusername/.MusicMagic/default.m3lib: No such file or directory

Also, I have used the command sudo chmod -R 755 ./Music as this is the only way I can get Linux to scan my Squeezebox files and recognise the, (see http://ubuntuforums.org/showthread.php?t=1029611)

If I hold down play I get the 'Music IP' option and a scan also looks at Music IP.

Thanks so much for your help as I seem nearly there!
User avatar
Ian
Moderator
Posts: 752
Joined: January 1st, 2011, 7:00 am

Re: Permissions Music IP issue with squeezebox Linux

Post by Ian »

Hi there,

OK, I think I've confused you. Sorry. :oops:
When I said type "ls -al /home/yourusername/.MusicMagic/default.m3lib" I wanted you to substitute "yourusername" for your own username.
Let me explain. When you installed Ubuntu originally you entered a username. You also use this same username to log onto your server using Putty. Please use that one instead of "yourusername" in the command. So, if your username is gregs_server then you'd type this:

Code: Select all

ls -al /home/gregs_server/.MusicMagic/default.m3lib


Do you see the file now?

Re your second point and permissions. When you added your music to the MusicMagic Server web interface you must have typed in a path to your music before clicking the Add Music button. In the following command please use that path instead of MusicPath and send me the output:

Code: Select all

ls -l MusicPath


Many thanks,

Ian.
animasantos
Member
Member
Posts: 11
Joined: September 18th, 2011, 8:46 pm

Re: Permissions Music IP issue with squeezebox Linux

Post by animasantos »

Hi Ian

Please don't apologise- I was being stuoid as I knew that. I tried the following in Terminal and got this:

ls -al /home/greg/.MusicMagic/default.m3lib-rw------- 1 greg greg 4474725 2011-09-22 06:35 /home/greg/.MusicMagic/default.m3lib

I still can't see it though. When I do this in Putty I get 'ls invalid option.'.

I must admit I'm new to Linux so I get confused between Terminal and Putty. I understand Terminal, but for Putty I had to download 'PuTTy Terminal Emulator'.
Am I doing this right?

As for the music, I put in ls -l Music and got

greg@greg-HP-Mini-110-3100:~$ ls -l Music
total 916
drwxr-xr-x 3 greg greg 4096 2011-09-05 21:18 A.A. Bondy

A A Bondy is the first Artist of loads. Does that help.

Thanks Ian- I really owe you.
User avatar
Ian
Moderator
Posts: 752
Joined: January 1st, 2011, 7:00 am

Re: Permissions Music IP issue with squeezebox Linux

Post by Ian »

Hi,

Both Terminal and Putty give you command-line access to your server. Terminal is generally run directly on the server. So, you'd be using a normal desktop session directly on your server and then initiate a Terminal session from within it to type commands.
Putty is essentially the same, and allows you to issue the same commands. The difference tho is that Putty is generally run on another computer and so you're accessing your server remotely, say from a windows desktop computer. You're correct, Putty is an application that you'd not normally have on a windows desktop by default. I use Putty downloaded from here

The commands you type in either Terminal or Putty should work exactly the same. There should be no difference.

The permissions on that folder you pasted look fine. Can you now issue another "ls -l" but this time without the Music bit please. So

Code: Select all

ls -l


How did you install SqueezeboxServer and MusicIP? Did you follow my guides or someone else's? If the latter did you install either using a special username or did you use "greg" to install both of them?

Many thanks,

Ian.
animasantos
Member
Member
Posts: 11
Joined: September 18th, 2011, 8:46 pm

Re: Permissions Music IP issue with squeezebox Linux

Post by animasantos »

Hi Ian,

I get this response when I put that in.

otal 56
drwxr-xr-x 2 greg greg 4096 2011-09-22 18:33 Desktop
drwxr-xr-x 2 greg greg 4096 2011-09-10 01:28 Documents
drwxr-xr-x 2 greg greg 4096 2011-09-10 01:28 Downloads
-rw-r--r-- 1 greg greg 179 2011-09-10 01:21 examples.desktop
drwxr-xr-x 230 greg greg 12288 2011-09-11 20:45 Music
drwxr-xr-x 5 greg greg 4096 2011-09-18 18:36 MusicIP
drwxr-xr-x 2 greg greg 4096 2011-09-10 01:28 Pictures
drwx------ 3 greg greg 4096 2011-09-05 21:42 Podcasts
drwxr-xr-x 2 greg greg 4096 2011-09-10 01:28 Public
drwxr-xr-x 2 greg greg 4096 2011-09-10 01:28 Templates
drwxrwxr-x 2 greg greg 4096 2011-09-10 16:46 Ubuntu One
drwxr-xr-x 2 greg greg 4096 2011-09-10 01:28 Videos


I just downloaded squeezeboxserver from the website, and did it like that. I didn't really need any instructions, the only one being that I had Music permissions issues. It seems to be an issues others have seen:

http://ubuntuforums.org/showthread.php?t=1029611. As stated , I have had to do the following command everytime to enter music. I have quoted from the site below, and I used the latter R 755 command to get my squeezeboxserver working, but I have to do it everytime to get my music scanned when I add new music. Grrr! Anyway, thanks for the help. Also worth saying, my Music Path is currently blank in my Settings in Squeezeboxserver.

R
e: Squeezecenter is....almost working! Help requested!
I've seen this problem as well. The user "squeezecenter" needs read permissions on all the files and execute permissions on all the directories.

from your root directory, you can either make squeezecenter the owner:

sudo chown -R squeezecenter ./Music

or you can make sure everyone has read/execute permissions on the whole directory:

sudo chmod -R 755 ./Music

The latter was the default setting for my Music directory and it worked right off the install.

Also, make sure the user squeezecenter has write permissions to your Playlists directory, or they won't save.

Hope this helps.
animasantos
Member
Member
Posts: 11
Joined: September 18th, 2011, 8:46 pm

Re: Permissions Music IP issue with squeezebox Linux

Post by animasantos »

I also did it as Greg as a username I think.
animasantos
Member
Member
Posts: 11
Joined: September 18th, 2011, 8:46 pm

Re: Permissions Music IP issue with squeezebox Linux

Post by animasantos »

Right, I am so stuck. Now my squeezebox doesn't work at all due to installing MusicIP. The issue isn't permissions, more that the Music IP starts and then gets stuck on around track 250 of 5440. Therefore the Artists appear but I can't play the songs. The songs play if I add the Music File in Squeezeboxserver settings rather than leave it blacnk. The issue I now have is that I can't get the Squeezebox working having changed a lot in Music IP. I am strongly considering a fresh install and abandoning Music IP.

Sorry to benegative, and your help has been mazing. BUT it is getting too frustrating now not to be able to use the music.
User avatar
Ian
Moderator
Posts: 752
Joined: January 1st, 2011, 7:00 am

Re: Permissions Music IP issue with squeezebox Linux

Post by Ian »

Hi Greg,

I'm really not too sure what is going on to be honest. It might be the name of a particular track that is causing problems such as non-standard characters or somesuch.

I'd love to help you get to the bottom of the issue but fear it'll be a slow and painful process. Can I suggest you sign up to the slimdevices forums and ask there? http://forums.slimdevices.com/

There are some very clever people who hang out there plus the developers do too. I'm sure they'll get to the root of your problems quicker than I can.

Good luck and I'm sorry I couldn't solve it for you. :-(

Ian.
Post Reply