Bug 9403 - information browser forgets RSS feeds and resets to factory default when squeezecenter is restarted
: information browser forgets RSS feeds and resets to factory default when sque...
Status: RESOLVED INVALID
Product: Logitech Media Server
Classification: Unclassified
Component: Misc
: 7.2
: PC Linux (other)
: -- normal (vote)
: ---
Assigned To: Ross Levine
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-09-05 05:25 UTC by gpvos+sdv
Modified: 2011-03-16 04:39 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gpvos+sdv 2008-09-05 05:25:17 UTC
I can enter a new RSS feed in the Squeezecenter interface, and it works from the Controller. However, whenever I restart Squeezecenter, all self-entered RSS feeds are forgotten and all deleted default RSS feeds appear again; the information browser menu has reset itself to the factory default settings. The same for podcasts. I can add and delete favorites without any problems, however. I currently only use my Squeezebox Duet for internet radio, my music library is still empty.

After a look in the logfile, it appears that the directory /var/lib/squeezecenter/prefs/plugin is not writable. And indeed, the following command given as root fixes the problem:

chown squeezecenter.squeezecenter /var/lib/squeezecenter/prefs/plugin

I had the same problem with 7.0 and 7.1. This may be specific to the Gentoo ebuild: media-sound/squeezecenter-7.2.0 (USE="avahi flac lame ogg -alac -bonjour -musepack -wavpack").

Here is the fragment from the logfile with all entries of a squeezecenter restart:

[08-09-05 13:48:47.3951] main::checkDataSource (904) Warning: Schema updated or no tracks in the database, initiating scan.
[08-09-05 13:48:47.4143] Slim::Utils::Prefs::Namespace::savenow (321) Error: can't save /var/lib/squeezecenter/prefs/plugin/rescan.prefs: Permission denied at /usr/lib/perl5/vendor_perl/5.8.8/Slim/Utils/Prefs/Namespace.pm line 310.
[08-09-05 13:48:47.4149] Slim::Utils::Prefs::Namespace::savenow (321) Error: can't save /var/lib/squeezecenter/prefs/plugin/podcast.prefs: Permission denied at /usr/lib/perl5/vendor_perl/5.8.8/Slim/Utils/Prefs/Namespace.pm line 310.
[08-09-05 13:48:47.4155] Slim::Utils::Prefs::Namespace::savenow (321) Error: can't save /var/lib/squeezecenter/prefs/plugin/infobrowser.prefs: Permission denied at /usr/lib/perl5/vendor_perl/5.8.8/Slim/Utils/Prefs/Namespace.pm line 310.
[08-09-05 13:48:47.4175] Slim::Utils::Prefs::Namespace::savenow (321) Error: can't save /var/lib/squeezecenter/prefs/plugin/rssnews.prefs: Permission denied at /usr/lib/perl5/vendor_perl/5.8.8/Slim/Utils/Prefs/Namespace.pm line 310.
[08-09-05 13:48:47.4214] Slim::Utils::Prefs::Namespace::savenow (321) Error: can't save /var/lib/squeezecenter/prefs/plugin/itunes.prefs: Permission denied at /usr/lib/perl5/vendor_perl/5.8.8/Slim/Utils/Prefs/Namespace.pm line 310.
[08-09-05 13:48:47.4219] Slim::Utils::Prefs::Namespace::savenow (321) Error: can't save /var/lib/squeezecenter/prefs/plugin/state.prefs: Permission denied at /usr/lib/perl5/vendor_perl/5.8.8/Slim/Utils/Prefs/Namespace.pm line 310.
[08-09-05 13:48:47.4224] Slim::Utils::Prefs::Namespace::savenow (321) Error: can't save /var/lib/squeezecenter/prefs/plugin/randomplay.prefs: Permission denied at /usr/lib/perl5/vendor_perl/5.8.8/Slim/Utils/Prefs/Namespace.pm line 310.
[08-09-05 13:48:47.4228] Slim::Utils::Prefs::Namespace::savenow (321) Error: can't save /var/lib/squeezecenter/prefs/plugin/jiveextras.prefs: Permission denied at /usr/lib/perl5/vendor_perl/5.8.8/Slim/Utils/Prefs/Namespace.pm line 310.
[08-09-05 13:48:47.4233] Slim::Utils::Prefs::Namespace::savenow (321) Error: can't save /var/lib/squeezecenter/prefs/plugin/radiotime.prefs: Permission denied at /usr/lib/perl5/vendor_perl/5.8.8/Slim/Utils/Prefs/Namespace.pm line 310.
[08-09-05 13:48:47.4237] Slim::Utils::Prefs::Namespace::savenow (321) Error: can't save /var/lib/squeezecenter/prefs/plugin/datetime.prefs: Permission denied at /usr/lib/perl5/vendor_perl/5.8.8/Slim/Utils/Prefs/Namespace.pm line 310.
[08-09-05 13:48:47.4257] Slim::Utils::Prefs::Namespace::savenow (321) Error: can't save /var/lib/squeezecenter/prefs/plugin/cli.prefs: Permission denied at /usr/lib/perl5/vendor_perl/5.8.8/Slim/Utils/Prefs/Namespace.pm line 310.
[08-09-05 13:48:47.4261] Slim::Utils::Prefs::Namespace::savenow (321) Error: can't save /var/lib/squeezecenter/prefs/plugin/musicip.prefs: Permission denied at /usr/lib/perl5/vendor_perl/5.8.8/Slim/Utils/Prefs/Namespace.pm line 310.

Some possibly interesting data from the status screen:

SqueezeCenter Version: 7.2 - 22900 @ Tue Aug 26 10:59:13 PDT 2008 - Gentoo - EN - iso-8859-1
Perl Version: 5.8.8 i686-linux
MySQL Version: 5.0.54-log 
Platform Architecture: i686-linux

Cache Folder /var/lib/squeezecenter/cache
Preferences Folder /var/lib/squeezecenter/prefs
Plugin Folders /usr/sbin/Slim/Plugin, /var/lib/squeezecenter/Plugins, /usr/lib/perl5/vendor_perl/5.8.8/Slim/Plugin
Comment 1 gpvos+sdv 2008-09-05 08:53:23 UTC
Since this bug is probably Gentoo-specific, I have also reported it at http://bugs.gentoo.org/show_bug.cgi?id=236795 .
Comment 2 James Richardson 2008-09-08 14:22:15 UTC
QA to reproduce
Comment 3 James Richardson 2008-09-17 06:39:56 UTC
Ross: can you take a crack at reproducing this, please provide a log if possible.
Comment 4 Chris Owens 2008-09-22 09:55:41 UTC
So this is obviously the interesting part of the log:

can't save /var/lib/squeezecenter/prefs/plugin/musicip.prefs: Permission denied

We're going to close this for now since it seems like it's this Gentoo issue.  Please reopen if there's anything more that needs to be done on our end.

Thanks!