Hi Linux Gurus,

My Duet is on the way as a Christmas present, so it seems like a good
idea to get the software working first. But I am having problems and
would appreciate some help. The logitech support desk have tried but
have failed to duplicate the issue. They suggested that this forum was
the best place to go.

My server is running Ubuntu Lucid, and I have tried installing
squeezeboxserver7.5.1 which is the default from the Logitech website

This does not scan my files in to the library. So reading on the
forums
that this has scanning bugs I tried the beta which was suggested:
7.5.2~31545

Still no joy I'm afraid.

The scanner log says:

[10-11-26 18:39:23.1516] main::main (180) Starting Squeezebox Server
scanner (v7.5.2, r31545, Fri Nov 26 02:01:27 PST 2010) perl 5.010001
[10-11-26 18:39:25.4563] main::main (271) Removing artwork cache...
[10-11-26 18:39:25.4704] Slim::Music::Import::runImporter (566)
Starting Slim::Music::MusicFolderScan scan
[10-11-26 18:39:26.3618] Slim::Music::Import::endImporter (700)
Completed Slim::Music::MusicFolderScan Scan in 0 seconds.
[10-11-26 18:39:26.3652] Slim::Music::Import::runScanPostProcessing
(429) Starting merge of various artists albums
[10-11-26 18:39:26.4082] Slim::Music::Import::endImporter (700)
Completed mergeVariousAlbums Scan in 0 seconds.
[10-11-26 18:39:26.4523] Slim::Music::Import::runScanPostProcessing
(437) Starting artwork scan
[10-11-26 18:39:26.5241] Slim::Music::Import::endImporter (700)
Completed findArtwork Scan in 0 seconds.
[10-11-26 18:39:26.5379] Slim::Music::Import::runScanPostProcessing
(483) Starting Database optimization.
[10-11-26 18:39:29.6593] Slim::Music::Import::endImporter (700)
Completed dbOptimize Scan in 3 seconds.

which does not look wrong to me.

the log gives:
2010-11-26 18:38:56 squeezeboxserver_safe started.
[10-11-26 18:39:00.7233] main::init (323) Starting Squeezebox Server
(v7.5.2, r31545, Fri Nov 26 02:01:27 PST 2010) perl 5.010001
[10-11-26 18:39:07.1346] Slim::Schema::init (147) Warning: Creating new
database - empty database or database from 6.3.x found
[10-11-26 18:39:07.1400] Slim::Schema::Storage::throw_exception (82)
Error: DBI Exception: DBD::mysql::st execute failed: Table
'slimserver.dbix_migration' doesn't exist [for Statement "SELECT value
FROM dbix_migration WHERE name = ?;
"]
[10-11-26 18:39:07.1414] Slim::Schema::Storage::throw_exception (82)
Backtrace:

frame 0: Slim::Utils::Log::logBacktrace
(/usr/share/perl5/Slim/Schema/Storage.pm line 82)
frame 1: Slim::Schema::Storage::throw_exception
(/usr/share/squeezeboxserver/CPAN/DBIx/Class/Storage/DBI.pm line 957)
frame 2: DBIx::Class::Storage::DBI::__ANON__
(/usr/share/squeezeboxserver/lib/DBIx/Migration.pm line 237)
frame 3: (eval) (/usr/share/squeezeboxserver/lib/DBIx/Migration.pm line
233)
frame 4: DBIx::Migration::_version
(/usr/share/squeezeboxserver/lib/DBIx/Migration.pm line 149)
frame 5: DBIx::Migration::version (/usr/share/perl5/Slim/Schema.pm line
478)
frame 6: Slim::Schema::migrateDB (/usr/share/perl5/Slim/Schema.pm line
161)
frame 7: Slim::Schema::init (/usr/share/perl5/Slim/Music/Import.pm line
744)
frame 8: Slim::Music::Import::_checkLibraryStatus
(/usr/share/perl5/Slim/Music/Import.pm line 677)
frame 9: Slim::Music::Import::useImporter
(/usr/share/perl5/Slim/Music/MusicFolderScan.pm line 48)
frame 10: Slim::Music::MusicFolderScan::init
(/usr/sbin/squeezeboxserver line 435)
frame 11: main::init (/usr/sbin/squeezeboxserver line 578)
frame 12: main::main (/usr/sbin/squeezeboxserver line 1072)

[10-11-26 18:39:07.1440] Slim::Schema::Storage::throw_exception (82)
Error: DBI Exception: DBD::mysql::st execute failed: Table
'slimserver.dbix_migration' doesn't exist [for Statement "SELECT value
FROM dbix_migration WHERE name = ?;
"]
[10-11-26 18:39:07.1452] Slim::Schema::Storage::throw_exception (82)
Backtrace:

frame 0: Slim::Utils::Log::logBacktrace
(/usr/share/perl5/Slim/Schema/Storage.pm line 82)
frame 1: Slim::Schema::Storage::throw_exception
(/usr/share/squeezeboxserver/CPAN/DBIx/Class/Storage/DBI.pm line 957)
frame 2: DBIx::Class::Storage::DBI::__ANON__
(/usr/share/squeezeboxserver/lib/DBIx/Migration.pm line 237)
frame 3: (eval) (/usr/share/squeezeboxserver/lib/DBIx/Migration.pm line
233)
frame 4: DBIx::Migration::_version
(/usr/share/squeezeboxserver/lib/DBIx/Migration.pm line 78)
frame 5: DBIx::Migration::migrate (/usr/share/perl5/Slim/Schema.pm line
480)
frame 6: Slim::Schema::migrateDB (/usr/share/perl5/Slim/Schema.pm line
161)
frame 7: Slim::Schema::init (/usr/share/perl5/Slim/Music/Import.pm line
744)
frame 8: Slim::Music::Import::_checkLibraryStatus
(/usr/share/perl5/Slim/Music/Import.pm line 677)
frame 9: Slim::Music::Import::useImporter
(/usr/share/perl5/Slim/Music/MusicFolderScan.pm line 48)
frame 10: Slim::Music::MusicFolderScan::init
(/usr/sbin/squeezeboxserver line 435)
frame 11: main::init (/usr/sbin/squeezeboxserver line 578)
frame 12: main::main (/usr/sbin/squeezeboxserver line 1072)

[10-11-26 18:39:20.9966] main::checkDataSource (974) Warning: Schema
updated or no tracks in the database, initiating scan.

Since this is a clean install an empty database seems very likely.
the mysql logs are empty.

The helpdesk suggested the issue is that the server is starting in
safemode and cannot connect the mysql database.

The server is started by the init.d script, which I don't completely
understand. 

So perhaps there is something weird about how I installed it. 
This is what I did.

sudo dpkg -i squeezeboxserver_7.5.2~31545_all.deb

That tells me I need mysql so I do the following:

sudo apt-get -f install

It installs and starts up squeezebox server 

peter 2033 0.0 0.0 4248 1372 ? S 12:08 0:00 /bin/bash
/usr/sbin/squeezeboxserver_safe /usr/sbin/squeezeboxserver --pre
peter 2065 0.0 0.0 3236 636 ? S 12:09 0:00 sleep 5
peter 2066 0.0 0.0 2716 1068 pts/0 R+ 12:09 0:00 ps -aux

But this appears to be in safemode still.

I suspect I have missed something stupid,but any help would be great

Thanks
Peter Jackson


-- 
prju68
------------------------------------------------------------------------
prju68's Profile: http://forums.slimdevices.com/member.php?userid=41724
View this thread: http://forums.slimdevices.com/showthread.php?t=83660

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to