mherger wrote: 
> Try to get an updated image, eg. 
> https://hub.docker.com/r/lmscommunity/logitechmediaserver
> 

Indeed, I came to the same conclusion.
However, I am unable to figure out how to pull all my settings with me
over to the new version.

My current docker instance of LMS was first installed years ago using
the justifiably/logitechmediaserver image wich I found on DockerHUB.
I have updated it regularly and it is in fact currently at 8.0.0
But I have a number of custom configurations, including many plug-ins.

The folder structure outside the container was:


Code:
--------------------
    
  /mnt/music              /share/music
  /mnt/playlist           /share/public/lms/playlist
  /mnt/state              /share/public/lms/state
  
--------------------


For the new installation using your recommended container image, I
changed the mapping to:


Code:
--------------------
    
  /music              /share/music
  /playlist           /share/public/lms/playlist
  /config             /share/public/lms/state
  
--------------------


But it crashes quickly after start with the following error message:


Code:
--------------------
    usermod: no changes                                                         
                                                                                
 
  Starting Logitech Media Server on port 9000...                                
                                                                               
  [20-11-24 21:52:05.7593] main::init (388) Starting Logitech Media Server 
(v8.0.0, 1605892076, Fri Nov 20 21:34:11 CET 2020) perl 5.024001 - 
x86_64-linux-gnu-
  thread-multi                                                                  
                                                                               
  [20-11-24 21:52:06.6188] Slim::Schema::Storage::throw_exception (121) Error: 
DBI Connection failed: DBI connect('dbname=/mnt/state/cache/library.db','slimser
  ver',...) failed: unable to open database file at 
/lms/CPAN/DBIx/Class/Storage/DBI.pm line 999.                                   
                           
  [20-11-24 21:52:06.6193] Slim::Schema::Storage::throw_exception (121) 
Backtrace:                                                                      
       
  
  frame 0: Slim::Utils::Log::logBacktrace (/lms/Slim/Schema/Storage.pm line 
121)                                                                            
  frame 1: Slim::Schema::Storage::throw_exception 
(/lms/CPAN/DBIx/Class/Storage/DBI.pm line 1023)                                 
                          
  frame 2: DBIx::Class::Storage::DBI::_connect 
(/lms/CPAN/DBIx/Class/Storage/DBI.pm line 853)                                  
                             
  frame 3: DBIx::Class::Storage::DBI::_populate_dbh 
(/lms/CPAN/DBIx/Class/Storage/DBI.pm line 789)                                  
                        
  frame 4: DBIx::Class::Storage::DBI::ensure_connected 
(/lms/Slim/Schema/Storage.pm line 42)                                           
                     
  frame 5: (eval) (/lms/Slim/Schema/Storage.pm line 42)                         
                                                                            
  frame 6: Slim::Schema::Storage::dbh (/lms/Slim/Schema.pm line 283)            
                                                                            
  frame 7: Slim::Schema::_connect (/lms/Slim/Schema.pm line 129)                
                                                                            
  frame 8: Slim::Schema::init (/lms/slimserver.pl line 553)                     
                                                                            
  frame 9: main::init (/lms/slimserver.pl line 676)                             
                                                                            
  frame 10: main::main (/lms/slimserver.pl line 1211)                           
                                                                            
  
  [20-11-24 21:52:06.6199] Slim::Schema::Storage::throw_exception (121) Error: 
Carp::Clan::__ANON__(): DBI Connection failed: DBI connect('dbname=/mnt/state/ca
  che/library.db','slimserver',...) failed: unable to open database file at 
/lms/CPAN/DBIx/Class/Storage/DBI.pm line 999.                                   
   
  [20-11-24 21:52:06.6203] Slim::Schema::Storage::throw_exception (121) 
Backtrace:                                                                      
       
  
  frame 0: Slim::Utils::Log::logBacktrace (/lms/Slim/Schema/Storage.pm line 
121)                                                                            
  frame 1: Slim::Schema::Storage::throw_exception (/lms/Slim/Schema/Storage.pm 
line 46)                                                                     
  frame 2: Slim::Schema::Storage::dbh (/lms/Slim/Schema.pm line 283)            
          
--------------------


To me, it appears as if the new image is unable to understand/find the
config data. Or, maybe there is a file/folder structure mismatch between
the to images.
I definitely would try to avoid the challenge of having to redo years of
fine tuning and plug-in configurations.

Is there a way to get your image to pick up my configs' and reuse all db
files etc. ?



QNAP TS-453Be 4x3TB RAID5 QTS 4.5.1
LMS 8.0.0 running in Docker
Home Assistant v0.118 running in Docker
Pi-Hole running in Docker

QNAP TS-251 2x3TB RAID0, QTS 4.5.1
Madsonic 6.2 running in Docker
Node Red running in Docker

QNAP TS-Mini 2x1TB Raid 10, QTS 4.5.1
R&D and Test server
------------------------------------------------------------------------
oyvindo's Profile: http://forums.slimdevices.com/member.php?userid=19302
View this thread: http://forums.slimdevices.com/showthread.php?t=113294

_______________________________________________
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter

Reply via email to