Bugzilla – Bug 6145
Unable to open favourites.opml
Last modified: 2007-11-20 10:25:37 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 ...
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.
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
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.
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
> 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.
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
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
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
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.
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
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
Please reopen if this reoccurs.