Bugzilla – Bug 14519
Debian installer doesn't migrate settings from old squeezecenter
Last modified: 2009-10-22 11:23:19 UTC
Installing the 7.4.0 deb didn't seem to make any attempt to migrate my prefs/ or Plugins/ from the previous SqueezeCenter 7.3.3 installation. Copying those dirs from /var/lib/squeezecenter to /var/lib/squeezeboxserver seemed to do the trick. Given how much time can be spent tweaking settings, they really should be migrated between versions.
Perhaps things are different with Ubuntu, but this works OK for me. Could you post specifically what preferences you noticed weren't migrated? Were any preferences migrated? My SN login was migrated perfectly, however the skin setting didn't go so well but that may have been a caching/browser issue.
Yes, sorry it was late at night :) Nothing was migrated. - Debian Lenny - dpkg -r squeezecenter (to uninstall squeezecenter but let configuration remain) - dpkg -i squeezeboxserver_7.4.0_all.deb At that point /var/lib/squeezeboxserver was empty, and going to the web interface kicks off the config wizard like on a fresh install. Stopped squeezeboxserver, copied over the dirs from /var/lib/squeezecenter, restarted squeezeboxserver and this time it recognised the configuration. This is all in a VM, which I snapshotted before the upgrade - so I should be able to reproduce this. Does 7.4 deb check if squeezecenter package is installed to decide to copy prefs? If so it may be checking for state "installed" rather than "config-files" (see man dpkg). Just a guess.
(In reply to comment #2) > Does 7.4 deb check if squeezecenter package is installed to decide to copy > prefs? If so it may be checking for state "installed" rather than > "config-files" (see man dpkg). Just a guess. Mark or Matt, can either of you answer this?
There is no code in the Debian package that looks for old config files from SqueezeCenter. This only got finished for Windows and OSX systems, not our Linux distributions. This bug should be assigned to Mark I believe to be taken care of for 7.4.1.
> There is no code in the Debian package that looks for old config files > from SqueezeCenter. Oh, there is, in Slim::Utils::OS::migratePrefs or similar. I'll take a look at this early next week. Matt - do you know whether the installation does create the prefs folder or not?
I'm almost positive that it does create the prefs folder...
> I'm almost positive that it does create the prefs folder... That might be it: the SBS internal code doesn't check existence of every file, but only the folder's. We'll need to at least check for server.prefs too.
== Auto-comment from SVN commit #28782 to the slim repo by michael == == https://svn.slimdevices.com/slim?view=revision&revision=28782 == Fixed Bug: 14519 +1 Description: our Linux packages are creating the prefs folder during installation. Thus checking for the existence of that folder is not good enough. We'll check for the existence of the server.prefs too
This bug has been marked as fixed in the 7.4.1 release version of SqueezeBox Server! Please see the Release Notes for all the details: http://wiki.slimdevices.com/index.php/Release_Notes If you haven't already, please download and install the new version from http://www.logitechsqueezebox.com/support/download-squeezebox-server.html If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.