Re: [SlimDevices: SqueezeCenter] Music File Scan stops

2019-08-05 Thread Otto-Wilhelm


d6jg wrote: 
> Stop LMS
> Inside your cache folder rename library.db to library.db.OLD (just in
> case)
> Start LMS and perform a clear and rescan

Thank you very much, scan is running now.



1 transporter with touch for controlling,
1 squeezebox 3,
6 squeezebox radio,
3 squeezebox controllers,
ipeng on IPhones and IPads,
LMS unter Max2Play on Odroid XU4,
LMS with MusicIP unter Windows Homeserver 2011 on Compulab Intense PC
(Intel i5, 2.1 GHz, 8 GB;
ROON under Windows Server 2012 R2 Essentials on Dell PowerEdge T630 with
2x Intel Xeon E5-2630L v3 @ 1.80 GHz 8 core CPUs and 48 GB,
2 Bluesound Node 2 as ROON endpoints

Otto-Wilhelm's Profile: http://forums.slimdevices.com/member.php?userid=2
View this thread: http://forums.slimdevices.com/showthread.php?t=110822

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


Re: [SlimDevices: SqueezeCenter] Music File Scan stops

2019-08-05 Thread d6jg


Otto-Wilhelm wrote: 
> I have a problem on one of my LMS installations: The music file scan
> stops more or less immediately after having it started. Apparently a
> database file got corrupted. In the log I find the following:
> 
> 
[19-08-05 15:59:18.0417] main::main (205) Starting Logitech
> Media Server scanner (v7.9.2, 1564788734, Sat Aug  3 01:38:17 WEDT 2019)
> perl 5.014001
> [19-08-05 15:59:18.1900] Slim::Schema::forceCommit (2144) Warning:
> Trying to commit transactions before DB is initialized!
> [19-08-05 15:59:18.7768] Slim::Music::Import::runImporter (511) Starting
> Slim::Media::MediaFolderScan scan
> [19-08-05 15:59:18.7775] Slim::Utils::Scanner::Local::rescan (181)
> Discovering audio files in Y:\M
> [19-08-05 15:59:18.7809] Slim::Schema::Storage::throw_exception (122)
> Error: DBI Exception: DBD::SQLite::db do failed: database disk image is
> malformed
> [19-08-05 15:59:18.7816] Slim::Schema::Storage::throw_exception (122)
> Backtrace:
> 
> frame 0: Slim::Utils::Log::logBacktrace (/Slim/Schema/Storage.pm line
> 122)
> frame 1: Slim::Schema::Storage::throw_exception
> (/DBIx/Class/Storage/DBI.pm line 1006)
> frame 2: DBIx::Class::Storage::DBI::__ANON__
> (/Slim/Utils/Scanner/Local.pm line 64)
> frame 3: Slim::Utils::Scanner::Local::find
> (/Slim/Utils/Scanner/Local.pm line 563)
> frame 4: Slim::Utils::Scanner::Local::rescan
> (/Slim/Media/MediaFolderScan.pm line 67)
> frame 5: Slim::Media::MediaFolderScan::startScan
> (/Slim/Music/Import.pm line 513)
> frame 6: Slim::Music::Import::runImporter (/Slim/Music/Import.pm line
> 359)
> frame 7: Slim::Music::Import::runScan (scanner.pl line 326)
> frame 8: (eval) (scanner.pl line 320)
> frame 9: main::main (scanner.pl line 495)
> 
> [19-08-05 15:59:18.7833] main::main (331) Error: Failed when running
> main scan: [Carp::Clan::__ANON__(): DBI Exception: DBD::SQLite::db do
> failed: database disk image is malformed at /Slim/Schema/Storage.pm line
> 126
> ]
> [19-08-05 15:59:18.7836] main::main (332) Error: Skipping post-process &
> Not updating lastRescanTime!
> 
> Is there an easy way to resolve this? Thank you in advance for your
> help.

Stop LMS
Inside your cache folder rename library.db to library.db.OLD (just in
case)
Start LMS and perform a clear and rescan



VB2.4[/B] STORAGE *QNAP TS419P (NFS)
[B]Living Room* - Joggler & SB3 -> Onkyo TS606 -> Celestion F20s
*Office* - Pi3+Sreen -> Sony TAFE320 -> Celestion F10s / Pi2+DAC & SB3
-> Onkyo CRN755 -> Wharfedale Modus Cubes
*Dining Room* -> SB Boom 
*Kitchen* -> UE Radio (upgraded to SB Radio)
*Bedroom (Bedside)* - Pi2+DAC ->ToppingTP21 ->AKG Headphones
*Bedroom (TV)* - SB Touch ->Sherwood AVR ->Mordaunt Short M10s
Everything controlled by iPeng

d6jg's Profile: http://forums.slimdevices.com/member.php?userid=44051
View this thread: http://forums.slimdevices.com/showthread.php?t=110822

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


[SlimDevices: SqueezeCenter] Music File Scan stops

2019-08-05 Thread Otto-Wilhelm


I have a problem on one of my LMS installations: The music file scan
stops more or less immediately after having it started. Apparently a
database file got corrupted. In the log I find the following:


[19-08-05 15:59:18.0417] main::main (205) Starting Logitech
Media Server scanner (v7.9.2, 1564788734, Sat Aug  3 01:38:17 WEDT 2019)
perl 5.014001
[19-08-05 15:59:18.1900] Slim::Schema::forceCommit (2144) Warning:
Trying to commit transactions before DB is initialized!
[19-08-05 15:59:18.7768] Slim::Music::Import::runImporter (511) Starting
Slim::Media::MediaFolderScan scan
[19-08-05 15:59:18.7775] Slim::Utils::Scanner::Local::rescan (181)
Discovering audio files in Y:\M
[19-08-05 15:59:18.7809] Slim::Schema::Storage::throw_exception (122)
Error: DBI Exception: DBD::SQLite::db do failed: database disk image is
malformed
[19-08-05 15:59:18.7816] Slim::Schema::Storage::throw_exception (122)
Backtrace:

frame 0: Slim::Utils::Log::logBacktrace (/Slim/Schema/Storage.pm line
122)
frame 1: Slim::Schema::Storage::throw_exception
(/DBIx/Class/Storage/DBI.pm line 1006)
frame 2: DBIx::Class::Storage::DBI::__ANON__
(/Slim/Utils/Scanner/Local.pm line 64)
frame 3: Slim::Utils::Scanner::Local::find
(/Slim/Utils/Scanner/Local.pm line 563)
frame 4: Slim::Utils::Scanner::Local::rescan
(/Slim/Media/MediaFolderScan.pm line 67)
frame 5: Slim::Media::MediaFolderScan::startScan
(/Slim/Music/Import.pm line 513)
frame 6: Slim::Music::Import::runImporter (/Slim/Music/Import.pm line
359)
frame 7: Slim::Music::Import::runScan (scanner.pl line 326)
frame 8: (eval) (scanner.pl line 320)
frame 9: main::main (scanner.pl line 495)

[19-08-05 15:59:18.7833] main::main (331) Error: Failed when running
main scan: [Carp::Clan::__ANON__(): DBI Exception: DBD::SQLite::db do
failed: database disk image is malformed at /Slim/Schema/Storage.pm line
126
]
[19-08-05 15:59:18.7836] main::main (332) Error: Skipping post-process &
Not updating lastRescanTime!

Is there an easy way to resolve this? Thank you in advance for your
help.



1 transporter with touch for controlling,
1 squeezebox 3,
6 squeezebox radio,
3 squeezebox controllers,
ipeng on IPhones and IPads,
LMS unter Max2Play on Odroid XU4,
LMS with MusicIP unter Windows Homeserver 2011 on Compulab Intense PC
(Intel i5, 2.1 GHz, 8 GB;
ROON under Windows Server 2012 R2 Essentials on Dell PowerEdge T630 with
2x Intel Xeon E5-2630L v3 @ 1.80 GHz 8 core CPUs and 48 GB,
2 Bluesound Node 2 as ROON endpoints

Otto-Wilhelm's Profile: http://forums.slimdevices.com/member.php?userid=2
View this thread: http://forums.slimdevices.com/showthread.php?t=110822

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


Re: [SlimDevices: SqueezeCenter] LMS web interface keeps becoming unresponsive on Debian 10

2019-08-05 Thread bpa


bpa wrote: 
> There are lots of 30 sec timeouts - I picked ImageProxy as it looked
> promising and already got log messages. It seems not ImageProxy but
> maybe something related - I'll look at other possible 30 secs timeouts.

The log message "Resizing" is called after a call to LMS "idlestreams"
which is basically letting the routine pass controlback to LMS to
schedule pending tasks - I assume because routine expects resizing could
be time consuming and it is better to clear pending tasks. So the 30
secs delay may be due to one of these "Pending tasks".


Code:


main::idleStreams();
  
main::INFOLOG && $isInfo && $log->info("  Resizing: $fullpath using 
spec $spec");
  




bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=110772

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