Bug 3448 - MySQL errors on startup
: MySQL errors on startup
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Database
: 6.5b1
: PC Windows Server 2003
: P2 critical (vote)
: ---
Assigned To: Chris Owens
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-05-25 13:11 UTC by Alex
Modified: 2008-09-15 14:39 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 Alex 2006-05-25 13:11:22 UTC
May 25 nightly build slimserver fails to start with the following error messages:

Argument "mysql" isn't numeric in numeric gt (>) at /PerlApp/DBIx/Migration.pm line 207.
DBD::mysql::st execute failed: Table 'slimserver.genres' doesn't exist at C:\Program Files\SlimServer\server\CPAN/DBIx/Class/Storage/DBI.pm line 525.
DBD::mysql::st execute failed: Table 'slimserver.tracks' doesn't exist at C:\Program Files\SlimServer\server\CPAN/DBIx/Class/Storage/DBI.pm line 525.
DBIx::Class::ResultSet::count(): Error executing 'SELECT COUNT( * ) FROM tracks me' (): DBD::mysql::st execute failed: Table 'slimserver.tracks' doesn't exist at C:\Program Files\SlimServer\server\CPAN/DBIx/Class/Storage/DBI.pm line 525.
Comment 1 Chris Owens 2006-05-25 17:05:46 UTC
6.5 is flaky at the moment due to the vast splitscanner merge yesterday, so maybe this will disappear as manifold bugs are fixed, but for now I'll just leave it assigned to me to test as 6.5 recovers.
Comment 2 Dan Sully 2006-06-05 21:43:57 UTC
Fixed in change 7761

Will be in the June 6th nightly.
Comment 3 Alex 2006-06-07 18:28:46 UTC
Now the June 6 release has the following errors:

DBIx::Class::Storage::DBI::dbh(): DBI Connection failed: install_driver(SQLite) failed: Can't load 'auto/DBD/SQLite/SQLite.dll' for module DBD::SQLite: load_file:The specified module could not be found at /PerlApp/DynaLoader.pm line 212.
 at (eval 433) line 3
Compilation failed in require at (eval 433) line 3.
Perhaps a required shared library or dll isn't installed where expected
 at C:\Program Files\SlimServer\server\CPAN/DBIx/Class/Storage/DBI.pm line 407
ERROR: forceCommit: Trying to commit transactions before DB is initialized!

Had to create DBD::SQLite::dr::imp_data_size unexpectedly at /PerlApp/DBI.pm line 1182.
Use of uninitialized value in subroutine entry at /PerlApp/DBI.pm line 1182.
Had to create DBD::SQLite::db::imp_data_size unexpectedly at /PerlApp/DBI.pm line 1182.
Use of uninitialized value in subroutine entry at /PerlApp/DBI.pm line 1182.
Comment 4 James Craig 2006-06-08 00:17:40 UTC
Worked fine for me on WinXP using the .exe version!
Comment 5 KDF 2006-06-08 01:19:52 UTC
the sqlite messages are a bit odd, now that 6.5 should be using mysql.  I suspect an upgrade script has fallen through the cracks, or a prefs file restored from backup at some point?  Try removing the db... prefs from slimserver.pref and see if that clears it up.  If you aren't tied to the rest of the prefs, you can just delete the whole file if you don't feel like editing it.
Comment 6 Dan Sully 2006-06-22 08:21:21 UTC
This should be fixed any number of ways now.. we are force-upgrading the use of SQLite to MySQL in the prefs.

Please use the latest nightly.

Thanks.