LMS restarting with DB access error?
citymonitor opened this issue · 0 comments
citymonitor commented
Hi there,
I'm trying to migrate a running version of this docker container to a new one. Therefore I copied the contents of the old mounted volume /srv/squeezebox to the local dir and start the container (compose-file).
However, it keeps restarting with the following error:
[18-12-23 18:32:55.1339] main::init (387) Starting Logitech Media Server (v7.9.1, 1522157629, Fri Mar 30 12:25:29 CEST 2018) perl 5.022001 - x86_64-linux-gnu-thread-multi
[18-12-23 18:32:55.2896] Slim::Schema::Storage::throw_exception (122) Error: DBI Connection failed: DBI connect('dbname=/var/lib/squeezeboxserver/cache/library.db','slimserver',...) failed: unable to open database file at /usr/share/squeezeboxserver/CPAN/DBIx/Class/Storage/DBI.pm line 999.
[18-12-23 18:32:55.2898] Slim::Schema::Storage::throw_exception (122) Backtrace:
frame 0: Slim::Utils::Log::logBacktrace (/usr/share/perl5/Slim/Schema/Storage.pm line 122)
frame 1: Slim::Schema::Storage::throw_exception (/usr/share/squeezeboxserver/CPAN/DBIx/Class/Storage/DBI.pm line 1023)
frame 2: DBIx::Class::Storage::DBI::_connect (/usr/share/squeezeboxserver/CPAN/DBIx/Class/Storage/DBI.pm line 853)
frame 3: DBIx::Class::Storage::DBI::_populate_dbh (/usr/share/squeezeboxserver/CPAN/DBIx/Class/Storage/DBI.pm line 789)
frame 4: DBIx::Class::Storage::DBI::ensure_connected (/usr/share/perl5/Slim/Schema/Storage.pm line 43)
frame 5: (eval) (/usr/share/perl5/Slim/Schema/Storage.pm line 43)
frame 6: Slim::Schema::Storage::dbh (/usr/share/perl5/Slim/Schema.pm line 287)
frame 7: Slim::Schema::_connect (/usr/share/perl5/Slim/Schema.pm line 130)
frame 8: Slim::Schema::init (/usr/sbin/squeezeboxserver line 552)
frame 9: main::init (/usr/sbin/squeezeboxserver line 675)
frame 10: main::main (/usr/sbin/squeezeboxserver line 1213)
[18-12-23 18:32:55.2901] Slim::Schema::Storage::throw_exception (122) Error: Carp::Clan::__ANON__(): DBI Connection failed: DBI connect('dbname=/var/lib/squeezeboxserver/cache/library.db','slimserver',...) failed: unable to open database file at /usr/share/squeezeboxserver/CPAN/DBIx/Class/Storage/DBI.pm line 999.
[18-12-23 18:32:55.2903] Slim::Schema::Storage::throw_exception (122) Backtrace:
frame 0: Slim::Utils::Log::logBacktrace (/usr/share/perl5/Slim/Schema/Storage.pm line 122)
frame 1: Slim::Schema::Storage::throw_exception (/usr/share/perl5/Slim/Schema/Storage.pm line 47)
frame 2: Slim::Schema::Storage::dbh (/usr/share/perl5/Slim/Schema.pm line 287)
frame 3: Slim::Schema::_connect (/usr/share/perl5/Slim/Schema.pm line 130)
frame 4: Slim::Schema::init (/usr/sbin/squeezeboxserver line 552)
frame 5: main::init (/usr/sbin/squeezeboxserver line 675)
frame 6: main::main (/usr/sbin/squeezeboxserver line 1213)
[18-12-23 18:32:55.2905] Carp::Clan::__ANON__ (214) Warning: Carp::Clan::__ANON__(): Carp::Clan::__ANON__(): DBI Connection failed: DBI connect('dbname=/var/lib/squeezeboxserver/cache/library.db','slimserver',...) failed: unable to open database file at /usr/share/squeezeboxserver/CPAN/DBIx/Class/Storage/DBI.pm line 999.
[18-12-23 18:32:55.2907] Slim::Schema::forceCommit (2149) Warning: Trying to commit transactions before DB is initialized!
Any idea what's wrong here?