Bug 17843 - renaming /c/squeezeboxserver/ to /c/.squeezeboxserver/
: renaming /c/squeezeboxserver/ to /c/.squeezeboxserver/
Status: RESOLVED WORKSFORME
Product: Logitech Media Server
Classification: Unclassified
Component: Database
: 7.7.1
: Infrant ReadyNAS RAIDiator (SPARC)
: P2 critical (vote)
: 7.7.2
Assigned To: Michael Herger
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-12-27 10:58 UTC by Rob Meerwijk
Modified: 2012-07-07 02:51 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rob Meerwijk 2011-12-27 10:58:20 UTC
During the upgrade from 

7.7.2~33753-sparc-readynas (dec 20th)
to 
7.7.2~33761-sparc-readynas (dec 27th)

the directory /c/squeezeboxserver/ was renamed to /c/.squeezeboxserver/

However, not all settings were changed accordingly causing the system to restart endlessly because it could no longer find the database. Also de link 
/squeezeboxserver -> /c/squeezeboxserver was not changed to 
/squeezeboxserver -> /c/.squeezeboxserver
Comment 1 Dave 2012-01-26 14:06:48 UTC
I am getting this on the 7.7.2 - r33769 nightly build on a sparc ReadyNAS nv+ after I upgraded from the 7.7.1 release version. 

I am seeing the following in the /var/log/slimserver.log:

[12-01-26 21:54:58.6057] Carp::Clan::__ANON__ (214) Warning: Carp::Clan::__ANON__(): Carp::Clan::__ANON__(): DBI Connection failed: DBI connect('dbname=/c/squeezeboxserver/cache/library.db','slimserver',...) failed: unable to open database file at /usr/share/squeezeboxserver/CPAN/DBIx/Class/Storage/DBI.pm line 999
[12-01-26 21:54:58.6145] Slim::Schema::forceCommit (2118) Warning: Trying to commit transactions before DB is initialized!
2012-01-26 21:54:58 Logitech Media Server died. Restarting.

Looking in the /c folder I only had a .squeezeboxserver folder so either the stored database path is incorrect or something is failing to rename / relink the /c/.squeezeboxserver folder during the installation.
Comment 2 SVN Bot 2012-02-01 01:11:12 UTC
 == Auto-comment from SVN commit #33801 to the slim repo by mherger ==
 == http://svn.slimdevices.com/slim?view=revision&revision=33801 ==

Fixed Bug: 17843
Description: remove invalid dbsource definition from server.prefs. It will re-set to valid default values upon next start.
Comment 3 SVN Bot 2012-02-01 03:24:30 UTC
 == Auto-comment from SVN commit #33803 to the slim repo by mherger ==
 == http://svn.slimdevices.com/slim?view=revision&revision=33803 ==

Bug: 17843
Description: override Debian defaults in Slim::Utils::OS::ReadyNAS