Bug 15288 - 7.5.0 main branch doesn't start with SQLite preferences from embedded branch
: 7.5.0 main branch doesn't start with SQLite preferences from embedded branch
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Misc
: 7.5.0
: PC Other
: -- normal (vote)
: ---
Assigned To: Unassigned bug - please assign me!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-12-11 06:40 UTC by Joerg Schwieder
Modified: 2009-12-12 14:11 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 Joerg Schwieder 2009-12-11 06:40:43 UTC
You can't switch from 7.5.0 embedded to main if the embedded branch was set to use SQLite.

Issue is, the 
dbsource: dbi:SQLite:dbname=/var/lib/squeezeboxserver/cache/squeezebox.db
entry doesn't work for main and hinders startup.

The annoying thing is that the server doesn't start so there is no "good" way to fix the issue.

What you have to do is to remove the setting in the db.

A fix would be to ignore the setting as long as SQLite is not supported
Comment 1 SVN Bot 2009-12-11 07:53:43 UTC
 == Auto-comment from SVN commit #29590 to the slim repo by michael ==
 == https://svn.slimdevices.com/slim?view=revision&revision=29590 ==

Fixed Bug: 15288
Description: revert to using MySQL when returning from 7.5/Embedded to 7.5/trunk
Comment 2 SVN Bot 2009-12-11 07:57:32 UTC
 == Auto-comment from SVN commit #29591 to the slim repo by michael ==
 == https://svn.slimdevices.com/slim?view=revision&revision=29591 ==

Fixed Bug: 15288
Description: backport solution we already have in place in the Embedded branch
Comment 3 Jim McAtee 2009-12-12 14:11:29 UTC
A better fix would be to have separate dbi strings for SQLite and MySQL instead of trying to overwrite the one set of prefs with defaults.  The prior dbi prefs (dbusername, dbpassword and dbsource) should only be used for MySQL.