Bug 6145 - Unable to open favourites.opml
: Unable to open favourites.opml
Status: RESOLVED WORKSFORME
Product: Logitech Media Server
Classification: Unclassified
Component: Player UI
: 7.0
: Other Ubuntu Linux
: P2 normal (vote)
: ---
Assigned To: Unassigned bug - please assign me!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-11-12 12:46 UTC by Stefan Kinell
Modified: 2007-11-20 10:25 UTC (History)
2 users (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Kinell 2007-11-12 12:46:59 UTC
Background:
I run Slimserver on Ubuntu Linux 7.04
I have a Squezebox3 and I also run Softsqueeze on my Vista PC. Same behaviour on both "devices" with this bug

Problem:
Navigating to the favourites in the main menu. Error message:
Unable to open file '/storage/Music/favorites.opml'

And obviously, I can not see any favorites.


Also, when trying to edit favourites from the Squeezecenter web interface, I get the error message:
"Error Saving File /storage/Music/favorites.opml"

I even chmoded the file so it should have no problem with write access:

stefan@server:~$ ls -la /storage/Music
...
-rwxrwxrwx   1 stefan stefan        0 2007-11-06 14:00 favorites.opml
...
Comment 1 KDF 2007-11-12 15:08:48 UTC
what about permissions on /storage/Music/ ?  that too must be readable/executable for the slimserver user to be able to access any files under it.
Comment 2 Stefan Kinell 2007-11-13 04:09:16 UTC
stefan@server:~$ ls -la /storage/Music
total 14068
drwxr-xr-x 327 stefan stefan    16384 2007-11-12 21:45 .
drwxr-xr-x  15 stefan stefan     4096 2007-07-07 08:19 ..

So that should not be a problem

/Stefan
Comment 3 Michael Herger 2007-11-13 05:23:12 UTC
Stefan - what version of SC are you using? Adrian's done some fixes to the Favorites plugin which were related to bug 5341 (change 14585). Can you still reproduce your issue?

Also: is SC7 run as user stefan? IMHO by default it is not. Please verify this, too. Thanks.
Comment 4 Stefan Kinell 2007-11-13 06:22:22 UTC
Hi,

Process ID Owner CPU Started Command 
29739 slimserver 0.0 % Nov12 /bin/bash /usr/sbin/slimserver_safe /usr/sbin/slimserver --prefsfile /etc/slimse ... 
29814 slimserver 0.3 % Nov12 /usr/bin/perl -w /usr/sbin/slimserver --prefsfile /etc/slimserver/slimserver.pre ... 
31561 slimserver 0.5 % Nov12 /usr/sbin/mysqld --defaults-file=/var/cache/slimserver/my.cnf 

But what difference should that make when the directory and file are "chmodded" 777?

Can you please guide me on how to run these processes as user "stefan" to see if it makes a differance.

/Stefan

Comment 5 Michael Herger 2007-11-13 06:31:05 UTC
> But what difference should that make when the directory and file are "chmodded"
> 777?

According to your previous response your folder isn't writable by anyone but the owner.
Comment 6 Stefan Kinell 2007-11-13 07:32:55 UTC
Hi,
If I do:
ls -la /storage 

the response is

drwxrwxrwx 327 stefan stefan 16384 2007-11-13 16:17 Music

Doesn't that make /storage/Music writable for all users? (I'm not an linux expert)

/Stefan
Comment 7 Stefan Kinell 2007-11-13 12:16:08 UTC
Hi,
I forgot to post what version I was running. According to the settings I got this information:

SqueezeCenter-version: 7.0 - 14312 - Debian - SV - iso-8859-1
Server IP address: 111.111.111.111 (OK, I changed this ;-) )
Perl-version: 5.8.8 i486-linux-gnu-thread-multi
MySQL-version: 5.0.45-Debian_1ubuntu3 

Hostname: xxx.xxx.xxx (and this one...)

Serverns port: 9000

Totalt antal anslutna spelare: 1

/Stefan
Comment 8 Stefan Kinell 2007-11-14 11:06:33 UTC
Hm,
I just did a restart on my server and by coincidence the favourites function now works. What pusseled me the most was that on squezecenter, some favourites showed up in the menue but when trying to acces one from the squeezebox, it failed.

I'll keep an eye on this and will post back if I get the same error again.

/Stefan
Comment 9 Michael Herger 2007-11-19 05:45:45 UTC
Thanks for the feedback. Could you please test again with the latest build? Some changes were done to the favorites behaviour which fixed an issue with playing favorites from the player interface.
Comment 10 Stefan Kinell 2007-11-20 01:14:44 UTC
Hi,
Could you please advice on how to upgrade to latest release? When I ran update on the slimserver on Ubuntu with "debian.slimdevices.com unstable" as source, I still have SqueezeCenter-version: 7.0 - 14312 - Debian - SV - iso-8859-1

Thanks
Stefan
Comment 11 Stefan Kinell 2007-11-20 03:19:17 UTC
Hi,
OK, I found it... I'm now running "SqueezeCenter-version: 7.0 - 14863 - Debian - SV - utf8". Will report back later on how things are going.

/Stefan
Comment 12 Chris Owens 2007-11-20 10:25:37 UTC
Please reopen if this reoccurs.