Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 7 of 7
  1. #1
    Senior Member
    Join Date
    Apr 2008
    Posts
    315

    Media scan terminated unexpectedly

    Here's my log. can someone tell me what I need to do to fix this? Any help is much appreciated. Delete something then do a complete rescan, maybe?

    Code:
    [17-11-01 11:24:24.5658] main::main (205) Starting Logitech Media Server scanner (v7.9.0, 1484464959, Sun Jan 15 07:29:05 CUT 2017) perl 5.014001
    [17-11-01 11:24:24.7641] Carp::Clan::__ANON__ (216) Warning: DBIx::Class::ResultSet::update_or_create(): Query returned more than one row.  SQL that returns multiple rows is DEPRECATED for ->find and ->single at /Slim/Schema.pm line 1877
    [17-11-01 11:24:24.7646] Slim::Schema::forceCommit (2149) Warning: Trying to commit transactions before DB is initialized!
    [17-11-01 11:24:30.2102] Slim::Music::Import::runImporter (511) Starting Slim::Media::MediaFolderScan scan
    [17-11-01 11:24:30.2106] Slim::Utils::Scanner::Local::rescan (181) Discovering audio files in E:\MP3
    [17-11-01 11:56:18.0268] Slim::Utils::Scanner::Local::__ANON__ (193) Start processing found tracks
    [17-11-01 11:56:18.0272] Slim::Utils::Scanner::Local::__ANON__ (201) Connect do DB
    [17-11-01 11:56:18.0273] Slim::Utils::Scanner::Local::__ANON__ (204) Get latest ID
    [17-11-01 11:56:18.0277] Slim::Utils::Scanner::Local::__ANON__ (226) Delete temporary table if exists
    [17-11-01 11:56:18.0280] Slim::Utils::Scanner::Local::__ANON__ (229) Re-build temporary table
    [17-11-01 11:56:20.6657] Slim::Utils::Scanner::Local::__ANON__ (278) Get deleted tracks count
    [17-11-01 11:56:24.5778] Slim::Utils::Scanner::Local::__ANON__ (285) Get new tracks count
    [17-11-01 11:56:24.5782] Slim::Utils::Scanner::Local::__ANON__ (290) Get changed tracks count
    [17-11-01 11:56:28.1650] Slim::Utils::Scanner::Local::__ANON__ (296) Removing deleted audio files (0)
    [17-11-01 11:56:28.1653] Slim::Utils::Scanner::Local::__ANON__ (374) Scanning new audio files (214)
    [17-11-01 11:56:28.1743] Slim::Schema::Storage::throw_exception (122) Error: DBI Exception: DBD::SQLite::st execute failed: database disk image is malformed [for Statement "
    		SELECT content_type FROM tracks WHERE url = ?
    	"]
    [17-11-01 11:56:28.1748] 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 1280)
       frame 3: Slim::Utils::Scanner::Local::_content_type (/Slim/Utils/Scanner/Local.pm line 858)
       frame 4: Slim::Utils::Scanner::Local::__ANON__ (/Slim/Utils/Scanner/Local.pm line 929)
       frame 5: Slim::Utils::Scanner::Local::new (/Slim/Utils/Scanner/Local.pm line 414)
       frame 6: Slim::Utils::Scanner::Local::__ANON__ (/Slim/Utils/Scanner/Local.pm line 446)
       frame 7: Slim::Utils::Scanner::Local::__ANON__ (/Slim/Utils/Scanner/Local/Async.pm line 84)
       frame 8: Slim::Utils::Scanner::Local::Async::__ANON__ (/Slim/Utils/Scanner/Local/Async.pm line 167)
       frame 9: Slim::Utils::Scanner::Local::Async::find (/Slim/Utils/Scanner/Local.pm line 106)
       frame 10: Slim::Utils::Scanner::Local::find (/Slim/Utils/Scanner/Local.pm line 563)
       frame 11: Slim::Utils::Scanner::Local::rescan (/Slim/Media/MediaFolderScan.pm line 67)
       frame 12: Slim::Media::MediaFolderScan::startScan (/Slim/Music/Import.pm line 513)
       frame 13: Slim::Music::Import::runImporter (/Slim/Music/Import.pm line 359)
       frame 14: Slim::Music::Import::runScan (scanner.pl line 326)
       frame 15: (eval) (scanner.pl line 320)
       frame 16: main::main (scanner.pl line 495)
    
    [17-11-01 11:56:28.1756] main::main (331) Error: Failed when running main scan: [Carp::Clan::__ANON__(): DBI Exception: DBD::SQLite::st execute failed: database disk image is malformed [for Statement "
    		SELECT content_type FROM tracks WHERE url = ?
    	"] at /Slim/Schema/Storage.pm line 126
    ]
    [17-11-01 11:56:28.1758] main::main (332) Error: Skipping post-process & Not updating lastRescanTime!

  2. #2
    Senior Member
    Join Date
    Apr 2008
    Posts
    315

    Here is the server.log file, zipped


  3. #3
    Senior Member DJanGo's Avatar
    Join Date
    Sep 2005
    Location
    Germany
    Posts
    2,371
    Quote Originally Posted by jstraw View Post
    looks like two errors

    The network is down

    Your Tags needs some love

    [17-11-01 07:39:08.2793] Slim::Menu::BrowseLibrary::_doRequest (982) Bad dispatch!
    [17-11-01 08:24:22.7344] Slim::Plugin::CLI::Plugin::cli_process (609) Error: Connections require authentication, check login command.
    [17-11-01 08:24:22.7348] Slim::Plugin::CLI::Plugin::cli_process (610) Error: Disconnecting: 10.34.0.82:804
    [17-11-01 10:46:06.6965] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /<C:\PROGRA~2\SQUEEZ~2\server\SQUEEZ~3.EXE>Slim/Networking/IO/Select.pm line 134.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0x10889bfc)
    [17-11-01 10:46:06.6971] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /<C:\PROGRA~2\SQUEEZ~2\server\SQUEEZ~3.EXE>Slim/Networking/IO/Select.pm line 134.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0x10889bfc)
    [17-11-01 10:46:06.6975] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /<C:\PROGRA~2\SQUEEZ~2\server\SQUEEZ~3.EXE>Slim/Networking/IO/Select.pm line 134.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0x10889bfc)
    [17-11-01 10:46:06.6980] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /<C:\PROGRA~2\SQUEEZ~2\server\SQUEEZ~3.EXE>Slim/Networking/IO/Select.pm line 134.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0x10889bfc)
    [17-11-01 10:46:06.6984] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /<C:\PROGRA~2\SQUEEZ~2\server\SQUEEZ~3.EXE>Slim/Networking/IO/Select.pm line 134.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0x10889bfc)
    [17-11-01 10:46:06.6988] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /<C:\PROGRA~2\SQUEEZ~2\server\SQUEEZ~3.EXE>Slim/Networking/IO/Select.pm line 134.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0x10889bfc)
    [17-11-01 10:46:06.6990] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /<C:\PROGRA~2\SQUEEZ~2\server\SQUEEZ~3.EXE>Slim/Networking/IO/Select.pm line 134.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0x10889bfc)
    [17-11-01 10:46:06.6992] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /<C:\PROGRA~2\SQUEEZ~2\server\SQUEEZ~3.EXE>Slim/Networking/IO/Select.pm line 134.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0x10889bfc)
    [17-11-01 10:46:06.6994] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /<C:\PROGRA~2\SQUEEZ~2\server\SQUEEZ~3.EXE>Slim/Networking/IO/Select.pm line 134.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0x10889bfc)
    [17-11-01 10:46:06.6996] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /<C:\PROGRA~2\SQUEEZ~2\server\SQUEEZ~3.EXE>Slim/Networking/IO/Select.pm line 134.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0x10889bfc)
    [17-11-01 10:46:06.6998] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /<C:\PROGRA~2\SQUEEZ~2\server\SQUEEZ~3.EXE>Slim/Networking/IO/Select.pm line 134.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0x10889bfc)
    [17-11-01 10:46:06.7000] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /<C:\PROGRA~2\SQUEEZ~2\server\SQUEEZ~3.EXE>Slim/Networking/IO/Select.pm line 134.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0x10889bfc)
    [17-11-01 11:17:02.2142] Slim::Utils::Misc::msg (1244) Warning: [11:17:02.2139] APE: [Tag larger than maximum possible size] E:\MP3\soulseek-downloads\complete\rossyboy\RossyBoy's The Hundred Or Nuthin Vol 100\01 - 21st Century - The World Over.mp3
    [17-11-01 11:20:18.7577] Slim::Utils::Misc::msg (1244) Warning: [11:20:18.7575] APE: [Tag larger than maximum possible size] E:\MP3\soulseek-downloads\complete\rossyboy\RossyBoy's The Hundred Or Nuthin Vol 100\01 - 21st Century - The World Over.mp3
    [17-11-01 11:20:18.8127] Slim::Utils::Misc::msg (1244) Warning: [11:20:18.8125] APE: [Tag larger than maximum possible size] E:\MP3\soulseek-downloads\complete\rossyboy\RossyBoy's The Hundred Or Nuthin Vol 100\01 - 21st Century - The World Over.mp3
    [17-11-01 11:20:18.8747] Slim::Utils::Misc::msg (1244) Warning: [11:20:18.8746] APE: [Tag larger than maximum possible size] E:\MP3\soulseek-downloads\complete\rossyboy\RossyBoy's The Hundred Or Nuthin Vol 100\01 - 21st Century - The World Over.mp3
    [17-11-01 11:20:43.2168] Slim::Schema::Storage::throw_exception (122) Error: DBI Exception: DBD::SQLite::db selectcol_arrayref failed: database disk image is malformed [for Statement "



  4. #4
    Senior Member
    Join Date
    Apr 2008
    Posts
    315
    Quote Originally Posted by DJanGo View Post
    looks like two errors

    The network is down

    Your Tags needs some love

    [17-11-01 07:39:08.2793] Slim::Menu::BrowseLibrary::_doRequest (982) Bad dispatch!
    [17-11-01 08:24:22.7344] Slim::Plugin::CLI::Plugin::cli_process (609) Error: Connections require authentication, check login command.
    [17-11-01 08:24:22.7348] Slim::Plugin::CLI::Plugin::cli_process (610) Error: Disconnecting: 10.34.0.82:804
    [17-11-01 10:46:06.6965] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /<C:\PROGRA~2\SQUEEZ~2\server\SQUEEZ~3.EXE>Slim/Networking/IO/Select.pm line 134.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0x10889bfc)
    [17-11-01 10:46:06.6971] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /<C:\PROGRA~2\SQUEEZ~2\server\SQUEEZ~3.EXE>Slim/Networking/IO/Select.pm line 134.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0x10889bfc)
    [17-11-01 10:46:06.6975] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /<C:\PROGRA~2\SQUEEZ~2\server\SQUEEZ~3.EXE>Slim/Networking/IO/Select.pm line 134.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0x10889bfc)
    [17-11-01 10:46:06.6980] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /<C:\PROGRA~2\SQUEEZ~2\server\SQUEEZ~3.EXE>Slim/Networking/IO/Select.pm line 134.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0x10889bfc)
    [17-11-01 10:46:06.6984] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /<C:\PROGRA~2\SQUEEZ~2\server\SQUEEZ~3.EXE>Slim/Networking/IO/Select.pm line 134.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0x10889bfc)
    [17-11-01 10:46:06.6988] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /<C:\PROGRA~2\SQUEEZ~2\server\SQUEEZ~3.EXE>Slim/Networking/IO/Select.pm line 134.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0x10889bfc)
    [17-11-01 10:46:06.6990] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /<C:\PROGRA~2\SQUEEZ~2\server\SQUEEZ~3.EXE>Slim/Networking/IO/Select.pm line 134.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0x10889bfc)
    [17-11-01 10:46:06.6992] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /<C:\PROGRA~2\SQUEEZ~2\server\SQUEEZ~3.EXE>Slim/Networking/IO/Select.pm line 134.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0x10889bfc)
    [17-11-01 10:46:06.6994] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /<C:\PROGRA~2\SQUEEZ~2\server\SQUEEZ~3.EXE>Slim/Networking/IO/Select.pm line 134.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0x10889bfc)
    [17-11-01 10:46:06.6996] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /<C:\PROGRA~2\SQUEEZ~2\server\SQUEEZ~3.EXE>Slim/Networking/IO/Select.pm line 134.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0x10889bfc)
    [17-11-01 10:46:06.6998] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /<C:\PROGRA~2\SQUEEZ~2\server\SQUEEZ~3.EXE>Slim/Networking/IO/Select.pm line 134.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0x10889bfc)
    [17-11-01 10:46:06.7000] Slim::Networking::IO::Select::__ANON__ (131) Error: Select task failed calling Slim::Web::HTTP::sendStreamingResponse: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /<C:\PROGRA~2\SQUEEZ~2\server\SQUEEZ~3.EXE>Slim/Networking/IO/Select.pm line 134.
    ; fh=Slim::Web::HTTP::ClientConn=GLOB(0x10889bfc)
    [17-11-01 11:17:02.2142] Slim::Utils::Misc::msg (1244) Warning: [11:17:02.2139] APE: [Tag larger than maximum possible size] E:\MP3\soulseek-downloads\complete\rossyboy\RossyBoy's The Hundred Or Nuthin Vol 100\01 - 21st Century - The World Over.mp3
    [17-11-01 11:20:18.7577] Slim::Utils::Misc::msg (1244) Warning: [11:20:18.7575] APE: [Tag larger than maximum possible size] E:\MP3\soulseek-downloads\complete\rossyboy\RossyBoy's The Hundred Or Nuthin Vol 100\01 - 21st Century - The World Over.mp3
    [17-11-01 11:20:18.8127] Slim::Utils::Misc::msg (1244) Warning: [11:20:18.8125] APE: [Tag larger than maximum possible size] E:\MP3\soulseek-downloads\complete\rossyboy\RossyBoy's The Hundred Or Nuthin Vol 100\01 - 21st Century - The World Over.mp3
    [17-11-01 11:20:18.8747] Slim::Utils::Misc::msg (1244) Warning: [11:20:18.8746] APE: [Tag larger than maximum possible size] E:\MP3\soulseek-downloads\complete\rossyboy\RossyBoy's The Hundred Or Nuthin Vol 100\01 - 21st Century - The World Over.mp3
    [17-11-01 11:20:43.2168] Slim::Schema::Storage::throw_exception (122) Error: DBI Exception: DBD::SQLite::db selectcol_arrayref failed: database disk image is malformed [for Statement "


    The network is not down. Can you tell me what in the log file suggests otherwise? How are bad tags implicated in the scan termination?

  5. #5
    Senior Member DJanGo's Avatar
    Join Date
    Sep 2005
    Location
    Germany
    Posts
    2,371
    Hi,

    i just realised - we already had some discussion - cause "jstraw This user is on your Ignore List. "

    Amyhow...


    Quote Originally Posted by jstraw View Post
    The network is not down. Can you tell me what in the log file suggests otherwise? How are bad tags implicated in the scan termination?
    The logfile did tell you what and where and after that lms quits. How would you read such lines?


    [17-11-01 11:17:02.2142] Slim::Utils::Misc::msg (1244) Warning: [11:17:02.2139] APE: [Tag larger than maximum possible size] E:\MP3\soulseek-downloads\complete\rossyboy\RossyBoy's The Hundred Or Nuthin Vol 100\01 - 21st Century - The World Over.mp3
    Leave the Tags?
    Since i like to buy my stuff - i think i already helped you enough for handling "your" soulseek-downloads.

  6. #6
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    19,779

    Media scan terminated unexpectedly

    > [17-11-01 11:56:28.1743] Slim::Schema::Storage::throw_exception (122) Error: DBI Exception: DBD::SQLite::st execute failed: database disk image is malformed

    The error says it all: your database image is malformed. Shut down LMS,
    delete library.db, restart.


    --

    Michael

  7. #7
    Senior Member
    Join Date
    Apr 2008
    Posts
    315
    Quote Originally Posted by mherger View Post
    > [17-11-01 11:56:28.1743] Slim::Schema::Storage::throw_exception (122) Error: DBI Exception: DBD::SQLite::st execute failed: database disk image is malformed

    The error says it all: your database image is malformed. Shut down LMS,
    delete library.db, restart.


    --

    Michael
    Thanks very much, Michael. I thought that was probably the relevant line. Thanks for the pointer to the specific file. As it happens, I chose to use this as motivation to update to the latest stable build and am rescanning the whole library. If I see that error again in the future, I'll know what to do.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •