Bugzilla – Bug 6310
SC Writing to Database Before DB Initialized Prevents Windows SC From Starting
Last modified: 2008-12-18 11:12:53 UTC
I installed the special Windows SqueezeCenter version from December 10th while SqueezeCenter was still running. After the installation finished, Squeezecenter was never up and running. I took a look, and started up SqueezeCenter manually. I got an error "Slim::Schema::forceCommit <1358> Warning: Trying to commit transactions before DB is initialized!" I uninstalled SqueezeCenter and reinstalled it. This time it started up just fine without any intervention from me. Screenshot follows.
Created attachment 2492 [details] XP command line window
Was there a scan still at work when you launched the update?
Nope ... no scan. I launched the Windows install when it was just running. Then I typed "squeezecenter" on the command line after I took a look at Windows Task Manager and saw that squeezecenter.exe wasn't running. If it was, I would have stopped it first.
Saw same thing with Dec 16 2007 build. Installed on Windows 2000 laptop at home without stopping older one. SqueezeCenter didn't start again, saw same message when starting from command line. Again, the second reinstall after uninstalling the first one started up just fine. I think it's something to do with installing on top of a currently running SqueezeCenter. Don't know why, but I don't feel like trying it again to verify. Maybe I'll do that with next nightly.
Mickey, are you running SC as a service or app? I still can't reproduce.
I think I finally found it: you're running as an application, right? In this case the installer doesn't wait for the process to be stopped. Will have to fix this.
Mickey - I've added some code in change 15362 which should check the application as well as the service. You should find it in the 12-18 nightly.
Mickey: can you verify that this is fixed and close the bug?
I am running as an app on a dedicated, single-user Windows box. I will check it out tomorrow.
Tried December 18th nightly and did not see the problem anymore. Yay!
This bug is being closed since it was resolved for a version which is now released! Please download the new version of SqueezeCenter (formerly SlimServer) at http://www.slimdevices.com/su_downloads.html If you are still seeing this bug, please re-open it and we will consider it for a future release.