TimT;683778 Wrote: 
> Perfect, thanks! This is what I did to move the cache on my MyBookLive:
> 
> Login to Putty:
> 1. Login to the MBL using Putty.
> 2. Purge Logitech Media Server:
> aptitude purge logitechmediaserver
> 3. Remove the /var/lib/squeezeboxserver directory and all of its
> files:
> rm -rf /var/lib/squeezeboxserver
> 4. Reinstall logitechmediaserver (see instructions at post #1 of this
> thread).
> 5. Stop the running LMS:
> /etc/init.d/logitechmediaserver stop
> 6. Move the default cache directory to the cache directory in the MBL's
> DataVolume folder:
> mv /var/lib/squeezeboxserver/cache
> /DataVolume/cache/squeezeboxserver
> 7. Make a copy of the server.prefs file before editing it:
> cp /var/lib/squeezeboxserver/prefs/server.prefs
> /var/lib/squeezeboxserver/prefs/server.prefs.bak
> 
> Login to WinSCP:
> 8. Login to the MBL using WinSCP.
> 9. In the directory tree, scroll to the server.prefs file. You should
> see the backup in that directory as well.
> 10. Right-click on the server.prefs file and select the Edit option.
> 11. Search on "cachedir" . The search term will find three lines in
> which the path will need to be changed from
> /var/lib/squeezeboxserver/cache to /DataVolume/cache/squeezeboxserver
> 12. After making those changes, save and close server.prefs.
> 13. Quit WinSCP.
> 
> Back in Putty:
> 14. Start LMS:
> /etc/init.d/logitechmediaserver start
> 15. Logout Putty.
> 
> Now, open the WebUI to your MyBookLive:
> 16. http://mybooklive:9000/
> 17. Open Settings and begin scanning your music files. (My scan was
> already underway, I just went looking for the results.)
> 
> I got a perfect scan the first time.

Hi,

Just tried this and it doesn't work for me.  Problems I had:


Code:
--------------------
    6. Move the default cache directory to the cache directory in the MBL's 
DataVolume folder:
  mv /var/lib/squeezeboxserver/cache /DataVolume/cache/squeezeboxserver
--------------------


This returned an error saying that it couldn't delete the target as it
was a folder.


Code:
--------------------
    11. Search on "cachedir" . The search term will find three lines in which 
the path will need to be changed from /var/lib/squeezeboxserver/cache to 
/DataVolume/cache/squeezeboxserver
--------------------


This only found two lines that needed changing.

Also when doing a scan this appears in my server log:

Code:
--------------------
    [12-01-14 13:17:23.7575] Slim::Utils::Misc::msg (1304) Warning: 
[13:17:23.7311] rollback ineffective with AutoCommit enabled at 
/usr/share/squeezeboxserver/CPAN/DBIx/Class/Storage/DBI.pm line 1200.
  [12-01-14 13:17:23.7594] Slim::Schema::Storage::throw_exception (122) Error: 
Carp::Clan::__ANON__(): DBI Exception: DBD::SQLite::db commit failed: disk I/O 
error at /usr/share/perl5/Slim/Schema/Storage.pm line 126
  [12-01-14 13:17:23.7616] Slim::Schema::Storage::throw_exception (122) 
Backtrace:
  
  frame 0: Slim::Utils::Log::logBacktrace 
(/usr/share/perl5/Slim/Schema/Storage.pm line 122)
  frame 1: Slim::Schema::Storage::throw_exception 
(/usr/share/squeezeboxserver/CPAN/DBIx/Class/Storage/DBI.pm line 660)
  frame 2: DBIx::Class::Storage::DBI::txn_do 
(/usr/share/squeezeboxserver/lib/DBIx/Class/Schema.pm line 650)
  frame 3: DBIx::Class::Schema::txn_do 
(/usr/share/perl5/Slim/Utils/Scanner/Local.pm line 844)
  frame 4: Slim::Utils::Scanner::Local::new 
(/usr/share/perl5/Slim/Utils/Scanner/Local.pm line 372)
  frame 5: Slim::Utils::Scanner::Local::__ANON__ 
(/usr/share/perl5/Slim/Utils/Scheduler.pm line 156)
  frame 6: (eval) (/usr/share/perl5/Slim/Utils/Scheduler.pm line 156)
  frame 7: Slim::Utils::Scheduler::run_tasks (/usr/sbin/squeezeboxserver line 
678)
  frame 8: main::idle (/usr/sbin/squeezeboxserver line 645)
  frame 9: main::main (/usr/sbin/squeezeboxserver line 1158)
  
  [12-01-14 13:17:23.7638] Slim::Utils::Scheduler::run_tasks (163) Error: 
Scheduler task failed: Carp::Clan::__ANON__(): Carp::Clan::__ANON__(): DBI 
Exception: DBD::SQLite::db commit failed: disk I/O error at 
/usr/share/perl5/Slim/Schema/Storage.pm line 126
  [12-01-14 13:20:16.2650] Slim::Utils::Scanner::Local::rescan (171) 
Discovering audio files in /shares/Private/Shared Music
  [12-01-14 13:20:17.7426] Slim::Schema::Storage::throw_exception (122) Error: 
DBI Exception: DBD::SQLite::db do failed: disk I/O error [for Statement "DELETE 
FROM scanned_files WHERE url = 'file:///shares/Private/Shared%20Music' OR url 
LIKE 'file:///shares/Private/Shared%20Music/%'"]
  [12-01-14 13:20:17.7454] Slim::Schema::Storage::throw_exception (122) 
Backtrace:
  
  frame 0: Slim::Utils::Log::logBacktrace 
(/usr/share/perl5/Slim/Schema/Storage.pm line 122)
  frame 1: Slim::Schema::Storage::throw_exception 
(/usr/share/squeezeboxserver/CPAN/DBIx/Class/Storage/DBI.pm line 1006)
  frame 2: DBIx::Class::Storage::DBI::__ANON__ 
(/usr/share/perl5/Slim/Utils/Scanner/Local.pm line 60)
  frame 3: Slim::Utils::Scanner::Local::find 
(/usr/share/perl5/Slim/Utils/Scanner/Local.pm line 515)
  frame 4: Slim::Utils::Scanner::Local::rescan 
(/usr/share/perl5/Slim/Control/Commands.pm line 2555)
  frame 5: Slim::Control::Commands::__ANON__ 
(/usr/share/perl5/Slim/Control/Commands.pm line 2563)
  frame 6: Slim::Control::Commands::rescanCommand 
(/usr/share/perl5/Slim/Control/Request.pm line 1884)
  frame 7: (eval) (/usr/share/perl5/Slim/Control/Request.pm line 1884)
  frame 8: Slim::Control::Request::execute 
(/usr/share/perl5/Slim/Music/Import.pm line 707)
  frame 9: Slim::Music::Import::nextScanTask 
(/usr/share/perl5/Slim/Web/Settings/Server/Basic.pm line 156)
  frame 10: Slim::Web::Settings::Server::Basic::handler 
(/usr/share/perl5/Slim/Web/HTTP.pm line 1122)
  frame 11: Slim::Web::HTTP::generateHTTPResponse 
(/usr/share/perl5/Slim/Web/HTTP.pm line 924)
  frame 12: Slim::Web::HTTP::processURL (/usr/share/perl5/Slim/Web/HTTP.pm line 
734)
  frame 13: Slim::Web::HTTP::processHTTP 
(/usr/share/perl5/Slim/Networking/IO/Select.pm line 139)
  frame 14: (eval) (/usr/share/perl5/Slim/Networking/IO/Select.pm line 123)
  frame 15: Slim::Networking::IO::Select::__ANON__ 
(/usr/share/perl5/Slim/Networking/IO/Select.pm line 184)
  frame 16: (eval) (/usr/share/perl5/Slim/Networking/IO/Select.pm line 184)
  frame 17: Slim::Networking::IO::Select::loop (/usr/sbin/squeezeboxserver line 
695)
  frame 18: main::idle (/usr/sbin/squeezeboxserver line 645)
  frame 19: main::main (/usr/sbin/squeezeboxserver line 1158)
--------------------


Any ideas?


-- 
Nasalhair
------------------------------------------------------------------------
Nasalhair's Profile: http://forums.slimdevices.com/member.php?userid=52383
View this thread: http://forums.slimdevices.com/showthread.php?t=84735

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to