Bug 6310 - SC Writing to Database Before DB Initialized Prevents Windows SC From Starting
: SC Writing to Database Before DB Initialized Prevents Windows SC From Starting
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Database
: 7.0
: PC Windows XP
: P2 normal (vote)
: ---
Assigned To: Michael Herger
: database
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-12-10 14:35 UTC by Mickey Gee
Modified: 2008-12-18 11:12 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments
XP command line window (72.74 KB, image/jpeg)
2007-12-10 14:38 UTC, Mickey Gee
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mickey Gee 2007-12-10 14:35:58 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.
Comment 1 Mickey Gee 2007-12-10 14:38:14 UTC
Created attachment 2492 [details]
XP command line window
Comment 2 Michael Herger 2007-12-10 14:44:45 UTC
Was there a scan still at work when you launched the update?
Comment 3 Mickey Gee 2007-12-10 14:59:48 UTC
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.
Comment 4 Mickey Gee 2007-12-16 17:24:39 UTC
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.
Comment 5 Michael Herger 2007-12-17 02:21:10 UTC
Mickey, are you running SC as a service or app? I still can't reproduce.
Comment 6 Michael Herger 2007-12-17 02:35:54 UTC
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.
Comment 7 Michael Herger 2007-12-17 06:02:46 UTC
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.
Comment 8 Blackketter Dean 2007-12-17 10:09:17 UTC
Mickey: can you verify that this is fixed and close the bug?
Comment 9 Mickey Gee 2007-12-17 10:21:15 UTC
I am running as an app on a dedicated, single-user Windows box. I will check it out tomorrow.
Comment 10 Mickey Gee 2007-12-18 11:13:59 UTC
Tried December 18th nightly and did not see the problem anymore. Yay!
Comment 11 Chris Owens 2008-03-07 09:04:29 UTC
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.