anders wrote: > Hi digimaster, > > I am trying to install your package on my TX-932x NAS. This installs > perfectly and everything appears to be working, expect for the scan > library function. It only works, if the music collection is very small - > less than around 500 files. If I add more flac files to the collection, > then Rescan fails with: Media scan terminated unexpectedly (Scanning > Progress) > > You will find the scanner log file below as well as the output from > QLogitechMediaServer.sh config > > Any help/hints is much appreciated! > > Thx Anders > > The scanner log file: > > [19-02-03 16:09:39.4487] main::main (205) Starting Logitech Media Server > scanner (v7.9.2, 1548942599, Thu Jan 31 15:22:58 CET 2019) perl > 5.024004 > [19-02-03 16:09:39.6569] Slim::Schema::forceCommit (2147) Warning: > Trying to commit transactions before DB is initialized! > [19-02-03 16:09:39.7989] Slim::Music::Import::runImporter (511) Starting > Slim::Media::MediaFolderScan scan > [19-02-03 16:09:39.7995] Slim::Utils::Scanner::Local::rescan (181) > Discovering audio files in /share/music/test > [19-02-03 16:09:40.6860] Slim::Utils::Scanner::Local::__ANON__ (193) > Start processing found tracks > [19-02-03 16:09:40.6865] Slim::Utils::Scanner::Local::__ANON__ (201) > Connect do DB > [19-02-03 16:09:40.6867] Slim::Utils::Scanner::Local::__ANON__ (204) Get > latest ID > [19-02-03 16:09:40.6871] Slim::Utils::Scanner::Local::__ANON__ (226) > Delete temporary table if exists > [19-02-03 16:09:40.6874] Slim::Utils::Scanner::Local::__ANON__ (229) > Re-build temporary table > [19-02-03 16:09:40.7023] Slim::Utils::Scanner::Local::__ANON__ (278) Get > deleted tracks count > [19-02-03 16:09:40.7026] Slim::Utils::Scanner::Local::__ANON__ (285) Get > new tracks count > [19-02-03 16:09:40.7031] Slim::Utils::Scanner::Local::__ANON__ (290) Get > changed tracks count > [19-02-03 16:09:40.7033] Slim::Utils::Scanner::Local::__ANON__ (296) > Removing deleted audio files (0) > [19-02-03 16:09:40.7035] Slim::Utils::Scanner::Local::__ANON__ (374) > Scanning new audio files (2568) > [19-02-03 16:09:48.4734] Slim::Schema::Storage::throw_exception (122) > *Error: DBI Exception: DBD::SQLite::db commit failed: disk I/O error* > [19-02-03 16:09:48.4740] Slim::Schema::Storage::throw_exception (122) > Backtrace: > > frame 0: Slim::Utils::Log::logBacktrace > (/share/CACHEDEV1_DATA/.qpkg/LogitechMediaServer/SlimServer/Slim/Schema/Storage.pm > line 122) > frame 1: Slim::Schema::Storage::throw_exception > (/share/CACHEDEV1_DATA/.qpkg/LogitechMediaServer/SlimServer/CPAN/DBIx/Class/Storage/DBI.pm > line 1007) > .... shortened to stay with 10k > frame 14: (eval) > (/share/CACHEDEV1_DATA/.qpkg/LogitechMediaServer/SlimServer/scanner.pl > line 320) > frame 15: main::main > (/share/CACHEDEV1_DATA/.qpkg/LogitechMediaServer/SlimServer/scanner.pl > line 495) > > [19-02-03 16:09:48.4743] Slim::Schema::forceCommit (2161) Warning: > Couldn't commit transactions to DB: [Carp::Clan::__ANON__(): DBI > Exception: DBD::SQLite::db commit failed: disk I/O error at > /share/CACHEDEV1_DATA/.qpkg/LogitechMediaServer/SlimServer/Slim/Schema/Storage.pm > line 126 > ] > [19-02-03 16:09:48.4824] Slim::Schema::Storage::throw_exception (122) > *Error: DBI Exception: DBD::SQLite::st execute failed: constraint > failed* > foreign key constraint failed [for Statement "INSERT INTO tracks > (album,title,coverid,remote,primary_artist,added_time,audio,audio_offset,channels,content_type,lossless,titlesort,samplerate,samplesize,drm,tracknum,cover,url,vbr_scale,urlmd5,audio_size,secs,bitrate,titlesearch,timestamp,updated_time,year,filesize) > VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)"] > [19-02-03 16:09:48.4829] Slim::Schema::Storage::throw_exception (122) > Backtrace: > > frame 0: Slim::Utils::Log::logBacktrace > (/share/CACHEDEV1_DATA/.qpkg/LogitechMediaServer/SlimServer/Slim/Schema/Storage.pm > line 122) > frame 1: Slim::Schema::Storage::throw_exception > (/share/CACHEDEV1_DATA/.qpkg/LogitechMediaServer/SlimServer/CPAN/DBIx/Class/Storage/DBI.pm > line 1007) > .... shortened to stay with 10k frame 18: (eval) > (/share/CACHEDEV1_DATA/.qpkg/LogitechMediaServer/SlimServer/scanner.pl > line 320) > frame 19: main::main > (/share/CACHEDEV1_DATA/.qpkg/LogitechMediaServer/SlimServer/scanner.pl > line 495) > > [19-02-03 16:09:48.4836] main::main (331) Error: Failed when running > main scan: [Carp::Clan::__ANON__(): DBI Exception: DBD::SQLite::st > execute failed: constraint failed > foreign key constraint failed [for Statement "INSERT INTO tracks > (album,title,coverid,remote,primary_artist,added_time,audio,audio_offset,channels,content_type,lossless,titlesort,samplerate,samplesize,drm,tracknum,cover,url,vbr_scale,urlmd5,audio_size,secs,bitrate,titlesearch,timestamp,updated_time,year,filesize) > VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)"] at > /share/CACHEDEV1_DATA/.qpkg/LogitechMediaServer/SlimServer/Slim/Schema/Storage.pm > line 126 > ] > [19-02-03 16:09:48.4838] main::main (332) Error: Skipping post-process & > Not updating lastRescanTime! > > > > > [/share/CACHEDEV1_DATA/.qpkg/LogitechMediaServer] # > ./QLogitechMediaServer.sh config > The system mounts: > /share/CACHEDEV1_DATA on > /share/CACHEDEV1_DATA/.qpkg/LogitechMediaServer/.config/LMSROOT/share/CACHEDEV1_DATA > type none (rw,bind) > /share/NFSv=4 on > /share/CACHEDEV1_DATA/.qpkg/LogitechMediaServer/.config/LMSROOT/share/NFSv=4 > type none (rw,bind) > /proc on > /share/CACHEDEV1_DATA/.qpkg/LogitechMediaServer/.config/LMSROOT/proc > type none (rw,bind) > /sys on > /share/CACHEDEV1_DATA/.qpkg/LogitechMediaServer/.config/LMSROOT/sys type > none (rw,bind) > /tmp on > /share/CACHEDEV1_DATA/.qpkg/LogitechMediaServer/.config/LMSROOT/tmp type > none (rw,bind) > /mnt/ext/opt/avahi0630/var/run/dbus on > /share/CACHEDEV1_DATA/.qpkg/LogitechMediaServer/.config/LMSROOT/run/dbus > type none (ro,bind) > Network check : > qnapclub.eu37.187.75.121 > 37.187.75.121 > Network check in chroot : > qnapclub.eu37.187.75.121 > Error [DIG] in chroot! > Perl check : > version='5.24.4'; > archname='aarch64-linux-thread-multi'; > QNAP info : > QNap Model: TS-932X > QNap Nas-system Platform: aarch64 > System: aarch64-QNAP-linux-gnu > QTS Version: 436 > The bash shell : > GNU bash, version 3.2.57(1)-release (aarch64-QNAP-linux-gnu) > Copyright (C) 2007 Free Software Foundation, Inc. > The configuration:] > [Packages Root] /share/CACHEDEV1_DATA/.qpkg/LogitechMediaServer > [QPKG Share] /share/CACHEDEV1_DATA > [Chroot Root] > /share/CACHEDEV1_DATA/.qpkg/LogitechMediaServer/.config/LMSROOT > [Chroot cmd] /usr/sbin/chroot > LogitechMediaServer services found on : > [28747] > The /share/CACHEDEV1_DATA/.qpkg/LogitechMediaServer is properly > Mounted! > The LMS used options on startup : > [--daemon --httpport 9001 --user squeezeboxserver --pidfile > /share/CACHEDEV1_DATA/.qpkg/LogitechMediaServer/SlimServer/Cache/QLogitechMediaServer.pid > --priority -10 --charset utf8 --quiet] > Auto update offical releases enabled! > Nightly Releases Auto Update enabled! > The installed LMS Release 7.9.2 Version 1548942599! > Update Website .... had to be removed to be able to post but was > correct > QLogitechMediaServer runs with renice value [-10] > LMS start's with [-c 2 -n 3] ionice value > LMS start's reniced! > At Start up, PlayListDirectory will be set to read and write by > squeezeboxserver! > Gone clean up Cache/template before LMS is started! > Clean up Memory, after QLogitechMediaServer has been excuted! > QLogitechMediaServer.sh: FAILED > .config/.QLMS.func: OK > .config/.QLMS.default: FAILED > .config/qlms.sh: OK > md5sum: WARNING: 2 of 4 computed checksums did NOT match > Files are temperted! > QLogitechMediaServer [2.03.21] > [/share/CACHEDEV1_DATA/.qpkg/LogitechMediaServer] #There are two things. > First check if there if enough space available, and second why does there is a error on QLogitechMediaServer.sh and the default?
Send from my mobile Phone * maintainer of QLogitechMediaServer, QOptware-NG and QAutoSub. Qnap TS-453a, with LogitechMediaSever 7.9.2 Nightly ( with spotty, youtube, Radio Paradise a.m. ) Several raspberry with hifiberry amp+ and picoreplayer. Love logitechmediaserver for it flexibel way, to play music from different sources.* ------------------------------------------------------------------------ digimaster's Profile: http://forums.slimdevices.com/member.php?userid=66919 View this thread: http://forums.slimdevices.com/showthread.php?t=108702 _______________________________________________ Squeezecenter mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/squeezecenter
