Hi, all!
A noob question..
I run LMS on an odroid HC2 which uses a SDC card to host the system
(debian stretch+OMV+LMS).
In order to reduce writes on SD card, I tried to use
/etc/init.d/logitechmediaserver config path (prefs, cache, log) to set
them to an external HD (/sharedfolder for OMV).
Set the perms to squeezeboxserver:nogroup after copying all files from
/var/lib/squeezeboxserver.
And renamed /var/lib/squeezeboxserver to /var/lib/squeezeboxserver.old
for backup purpose.
Then reinstalled lms (latest version as of June 18).
However, now I get :
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-06-27 09:33:12.0215] 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)
which is solved naturally by re-renaming to /var/lib/squeezeboxserver.
Does it mean that paths are hard-coded and there is no way to use LMS as
I intended?
Some explanations would be welcomed!!!!
Thks you all!
------------------------------------------------------------------------
mascaret's Profile: http://forums.slimdevices.com/member.php?userid=68225
View this thread: http://forums.slimdevices.com/showthread.php?t=109195
_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter