Home of the Squeezebox™ & Transporter® network music players.
Page 80 of 81 FirstFirst ... 307078798081 LastLast
Results 791 to 800 of 810
  1. #791
    Senior Member mr-b's Avatar
    Join Date
    Feb 2007
    Location
    UK
    Posts
    329
    Ok tx. I made another share name minus the apostrophe, mounted under /mnt/music and it seemed to accept it this time.

  2. #792
    Senior Member mr-b's Avatar
    Join Date
    Feb 2007
    Location
    UK
    Posts
    329
    Hmm, I fell at the next fence.
    I left LMS to scan the library (I confirmed it was seeing music files under Info) but the next time I looked at it it had stopped.

    I checked the logs and it's crashed with a disk I/O error.

    [19-04-15 10:35:45.4685] Slim::Schema::Storage::throw_exception (122) Error: DBI Exception: DBD::SQLite::db do failed: disk I/O error
    [19-04-15 10:35:45.4693] Slim::Schema::Storage::throw_exception (122) Backtrace:

    frame 0: Slim::Utils::Log::logBacktrace (/usr/local/slimserver/Slim/Schema/Storage.pm line 122)
    frame 1: Slim::Schema::Storage::throw_exception (/usr/local/slimserver/CPAN/DBIx/Class/Storage/DBI.pm line 1007)
    frame 2: DBIx::Class::Storage:BI::__ANON__ (/usr/local/slimserver/CPAN/DBIx/Class/Storage/DBI.pm line 974)
    frame 3: DBIx::Class::Storage:BI::_do_query (/usr/local/slimserver/CPAN/DBIx/Class/Storage/DBI.pm line 945)
    frame 4: DBIx::Class::Storage:BI::connect_call_do_sql (/usr/local/slimserver/CPAN/DBIx/Class/Storage/DBI.pm line 927)
    frame 5: DBIx::Class::Storage:BI::_do_connection_actions (/usr/local/slimserver/CPAN/DBIx/Class/Storage/DBI.pm line 934)
    frame 6: DBIx::Class::Storage:BI::_do_connection_actions (/usr/local/slimserver/CPAN/DBIx/Class/Storage/DBI.pm line 874)
    frame 7: DBIx::Class::Storage:BI::_run_connection_actions (/usr/local/slimserver/CPAN/DBIx/Class/Storage/DBI.pm line 864)
    frame 8: DBIx::Class::Storage:BI::_populate_dbh (/usr/local/slimserver/CPAN/DBIx/Class/Storage/DBI.pm line 789)
    frame 9: DBIx::Class::Storage:BI::ensure_connected (/usr/local/slimserver/Slim/Schema/Storage.pm line 43)
    frame 10: (eval) (/usr/local/slimserver/Slim/Schema/Storage.pm line 43)
    frame 11: Slim::Schema::Storage::dbh (/usr/local/slimserver/Slim/Schema.pm line 287)
    frame 12: Slim::Schema::_connect (/usr/local/slimserver/Slim/Schema.pm line 130)
    frame 13: Slim::Schema::init (/usr/local/slimserver/slimserver.pl line 552)
    frame 14: main::init (/usr/local/slimserver/slimserver.pl line 675)
    frame 15: main::main (/usr/local/slimserver/slimserver.pl line 1213)

    [19-04-15 10:35:45.4700] Slim::Schema::Storage::throw_exception (122) Error: Carp::Clan::__ANON__(): DBI Exception: DBD::SQLite::db do failed: disk I/O error at /usr/local/slimserver/Slim/Schema/Storage.pm line 126
    [19-04-15 10:35:45.4705] Slim::Schema::Storage::throw_exception (122) Backtrace:

    frame 0: Slim::Utils::Log::logBacktrace (/usr/local/slimserver/Slim/Schema/Storage.pm line 122)
    frame 1: Slim::Schema::Storage::throw_exception (/usr/local/slimserver/Slim/Schema/Storage.pm line 47)
    frame 2: Slim::Schema::Storage::dbh (/usr/local/slimserver/Slim/Schema.pm line 287)
    frame 3: Slim::Schema::_connect (/usr/local/slimserver/Slim/Schema.pm line 130)
    frame 4: Slim::Schema::init (/usr/local/slimserver/slimserver.pl line 552)
    frame 5: main::init (/usr/local/slimserver/slimserver.pl line 675)
    frame 6: main::main (/usr/local/slimserver/slimserver.pl line 1213)

    [19-04-15 10:35:45.4713] Carp::Clan::__ANON__ (214) Warning: Carp::Clan::__ANON__(): Carp::Clan::__ANON__(): DBI Exception: DBD::SQLite::db do failed: disk I/O error at /usr/local/slimserver/Slim/Schema/Storage.pm line 126

    The scanner log shows nothing.

  3. #793
    Senior Member mr-b's Avatar
    Join Date
    Feb 2007
    Location
    UK
    Posts
    329
    OK I found the issue - the filesystem was full:

    [19-04-15 12:53:36.4723] main::main (332) Error: Skipping post-process & Not updating lastRescanTime!
    [19-04-15 12:53:36.4788] Slim::Schema::Storage::throw_exception (122) Error: DBI Exception: DBD::SQLite::db commit failed: database or disk is full
    [19-04-15 12:53:36.4795] Slim::Schema::Storage::throw_exception (122) Backtrace:

    Under Resize parttion ( I already expanded it to 300MB as per LM install guide) it said:

    Filesystem Size Used Available Use% Mounted on
    /dev/mmcblk0p2 286.4M 269.9M 0 100% /mnt/mmcblk0p2

    So I resized it to 500MB

    Filesystem Size Used Available Use% Mounted on
    /dev/mmcblk0p2 480.1M 190.4M 265.4M 42% /mnt/mmcblk0p2

    Then I restarted LMS but it had different problems:

    [70-01-01 00:00:15.8567] main::init (387) Starting Logitech Media Server (v7.9.2, 1543258616, Mon Nov 26 20:30:03 CET 2018) perl 5.024000 - arm-linux-gnueabihf-thread-multi-64int
    [70-01-01 00:00:16.0091] Slim::Utils::Misc::msg (1252) Warning: [00:00:16.0082] /usr/local/slimserver/Cache/cookies.dat does not seem to contain cookies at /usr/local/slimserver/CPAN/HTTP/Cookies.pm line 426.
    [19-04-15 13:54:01.5384] main::init (387) Starting Logitech Media Server (v7.9.2, 1543258616, Mon Nov 26 20:30:03 CET 2018) perl 5.024000 - arm-linux-gnueabihf-thread-multi-64int
    [19-04-15 13:54:01.6573] Slim::Utils::Misc::msg (1252) Warning: [13:54:01.6564] /usr/local/slimserver/Cache/cookies.dat does not seem to contain cookies at /usr/local/slimserver/CPAN/HTTP/Cookies.pm line 426.
    [19-04-15 13:54:01.9851] Slim::Networking::UDP::init (39) FATAL: There is already another copy of the Logitech Media Server running on this machine. (Address already in use)
    [19-04-15 13:54:01.9861] Log::Log4perl::Logger::and_die (868) Warning: FATAL: There is already another copy of the Logitech Media Server running on this machine. (Address already in use) at /usr/local/slimserver/lib/Log/Log4perl/Logger.pm line 900

    I tried removing cache and prefs but it made no difference so I removed and reinstalled LMS.
    Hopefully the scan should complete this time. It might be an idea to update the guide with the filesystem size required for the music library (I have 100k tracks).

  4. #794
    Senior Member mr-b's Avatar
    Join Date
    Feb 2007
    Location
    UK
    Posts
    329
    In case it helps anyone, I ended up having to expand the filesystem to 1000MB to cope with the library scan.

    Code:
    Filesystem                Size      Used Available Use% Mounted on
    /dev/mmcblk0p2          964.4M    650.8M    269.4M  71% /mnt/mmcblk0p2
    I'm impressed with the speed - it took just over 3h to scan around 110k tracks, when my Celeron J3455 server does it in just over 2h.

  5. #795
    Senior Member
    Join Date
    Jan 2010
    Location
    Hertfordshire
    Posts
    2,333
    Quote Originally Posted by mr-b View Post
    In case it helps anyone, I ended up having to expand the filesystem to 1000MB to cope with the library scan.

    Code:
    Filesystem                Size      Used Available Use% Mounted on
    /dev/mmcblk0p2          964.4M    650.8M    269.4M  71% /mnt/mmcblk0p2
    I'm impressed with the speed - it took just over 3h to scan around 110k tracks, when my Celeron J3455 server does it in just over 2h.
    Is there a reason why you didn't just expand the filesystem to fill the card?

    Sent from my SM-G900F using Tapatalk

  6. #796
    Senior Member mr-b's Avatar
    Join Date
    Feb 2007
    Location
    UK
    Posts
    329
    https://www.picoreplayer.org/how_to_install_lms.shtml suggested 300MB so I thought it couldn't be that much bigger than that. Plus I guessed that if I expanded the filsystem to fill the card then it might not be usable for anything else. Though as it's the start of my experience of PCP, RPi etc. I don't know what that else could be. But I do know in general it's harder to shrink filesystems than expand them! ;-)

  7. #797
    Senior Member
    Join Date
    May 2017
    Posts
    404
    How did you expand it to 1000mb?
    SqueezeBoxes: 1x Transporter (Living room) 1x SB2 (shed), 1x Radio (Kitchen), 1x Boom (Dining room), 1x piCorePlayer (jacuzzi), 1x piCorePlayer (Garden) 1x OSMC + Squeezelite (Movie room), 1x Touch (Study 2), few spare unit's
    Server: LMS on Pi3 7.9.1. on PcP 3.21
    Network: AVM Fritzbox, Netgear Smart Switch 24p, 3x Ubiquity

  8. #798
    Senior Member mr-b's Avatar
    Join Date
    Feb 2007
    Location
    UK
    Posts
    329
    I used the Resize partition function - as per the link in my post.
    I would add that LMS was unhappy afterwards with errors like the below in the log:

    [19-04-16 10:10:31.8259] Slim::Web::Template::SkinManager::_fillTemplate (337) Error: file error - failed to create compiled templates directory: /usr/local/slimserver/Cache/templates (mkdir /usr/local/slimserver/Cache: File exists at /usr/local/slimserver/lib/Template/Provider.pm line 863.

    Deleting prefs & cache didn't fix them so I ended up removing and reinstalling LMS.

  9. #799
    Senior Member
    Join Date
    May 2017
    Posts
    404
    Ok, thnx. Probably there is an elegant way of doing that so that lms is happy with it.
    SqueezeBoxes: 1x Transporter (Living room) 1x SB2 (shed), 1x Radio (Kitchen), 1x Boom (Dining room), 1x piCorePlayer (jacuzzi), 1x piCorePlayer (Garden) 1x OSMC + Squeezelite (Movie room), 1x Touch (Study 2), few spare unit's
    Server: LMS on Pi3 7.9.1. on PcP 3.21
    Network: AVM Fritzbox, Netgear Smart Switch 24p, 3x Ubiquity

  10. #800
    Senior Member mr-b's Avatar
    Join Date
    Feb 2007
    Location
    UK
    Posts
    329
    More fun and games with the library scan.

    It's crashing with a disk full error again, even though I've not added any music and only added a few plugins.
    Also the filesystem doesn't appear to be full.

    Any ideas what to do?

    Code:
    [19-04-19 16:15:43.7932] Slim::Music::Artwork::__ANON__ (738) precacheArtwork finished in 1151.19472789764
    [19-04-19 16:15:43.7939] Slim::Music::Import::endImporter (644) Completed precacheArtwork Scan in 1157 seconds.
    [19-04-19 16:15:43.7958] Slim::Schema::Storage::throw_exception (122) Error: DBI Exception: DBD::SQLite::db commit failed: database or disk is full
    [19-04-19 16:15:43.7967] Slim::Schema::Storage::throw_exception (122) Backtrace:
    
       frame 0: Slim::Utils::Log::logBacktrace (/usr/local/slimserver/Slim/Schema/Storage.pm line 122)
       frame 1: Slim::Schema::Storage::throw_exception (/usr/local/slimserver/CPAN/DBIx/Class/Storage/DBI.pm line 1007)
       frame 2: DBIx::Class::Storage::DBI::__ANON__ (/usr/local/slimserver/Slim/Schema.pm line 2158)
       frame 3: (eval) (/usr/local/slimserver/Slim/Schema.pm line 2158)
       frame 4: Slim::Schema::forceCommit (/usr/local/slimserver/Slim/Music/Import.pm line 649)
       frame 5: Slim::Music::Import::endImporter (/usr/local/slimserver/Slim/Music/Artwork.pm line 754)
       frame 6: Slim::Music::Artwork::precacheAllArtwork (/usr/local/slimserver/Slim/Music/Import.pm line 432)
       frame 7: Slim::Music::Import::runScanPostProcessing (/usr/local/slimserver/scanner.pl line 337)
       frame 8: (eval) (/usr/local/slimserver/scanner.pl line 337)
       frame 9: main::main (/usr/local/slimserver/scanner.pl line 495)
    
    [19-04-19 16:15:43.7973] Slim::Schema::forceCommit (2161) Warning: Couldn't commit transactions to DB: [Carp::Clan::__ANON__(): DBI Exception: DBD::SQLite::db commit failed: database or disk is full at /usr/local/slimserver/Slim/Schema/Storage.pm line 126
    ]
    Code:
    Filesystem                Size      Used Available Use% Mounted on
    /dev/mmcblk0p2          964.4M    723.8M    196.5M  79% /mnt/mmcblk0p2

Posting Permissions

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