Re: [SlimDevices: Plugins] WD MyBook Live NAS

2012-04-07 Thread Nasalhair

ply3908 wrote: 
 No sure why you can't move the directory.  Did you login as root?
 
 You can try copy the directory, then remove it as follow:
 
 /etc/init.d/logitechmediaserver stop (stop the daemon)
 cd /var/lib (navigate to the /var/lib directory)
 cp -R --preserve=mode,ownership,timestamps squeezeboxserver
 /DataVolume/cache/ ( copy /var/lib/squeezeboxserver to
 /DataVolume/cache/squeezeboxserver)
 rm -rf squeezeboxserver  (remove the squeezeboxserver directory after
 copy)
 ln -s /DataVolume/cache/squeezeboxserver (make a shortcut)
 /etc/init.d/logitechmediaserver start (start the daemon)

Yes I was logged in as root, and despite typing the command exactly as
stated I received the error.  

Just noticed that the commands you list here are different to the ones I
followed from your earlier post (3 posts back.)

Never mind - I've switched to 7.7.2 now.  Seems to be working.



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
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] WD MyBook Live NAS

2012-04-01 Thread Nasalhair

ply3908;697994 Wrote: 
 Here is a simpler way to move the libary cache directory:
 
 /etc/init.d/squeezeboxserver  stop 
 (stop the daemon)
 cd /var/lib
 (navigate to the /var/lib directory)
 mv squeezeboxserver  /DataVolume/cache/  ( move
 /var/lib/squeezeboxserver to /DataVolume/cache/squeezeboxserver)
 ln -s /DataVolume/cache/squeezeboxserver  (make
 a shortcut)   
 /etc/init.d/squeezeboxserver  start
 (start the daemon)

The line 

Code:

mv squeezeboxserver  /DataVolume/cache/


generates an error for me:


Code:

mv: inter-device move failed: `squeezeboxserver' to 
`/DataVolume/cache/squeezeboxserver'; unable to remove target: Is a directory



-- 
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
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] WD MyBook Live NAS

2012-01-14 Thread Nasalhair
::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
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] WD MyBook Live NAS

2012-01-14 Thread Nasalhair

TimT;683843 Wrote: 
 See Step #11 above for the three lines that were changed to point to the
 cache directory on the MBL's /DataVolume.
 
 Did you insert a space between the two path statements when you ran the
 mv command? What subdirectories are in your /DataVolume/cache directory?

As I said, I followed the instructions exactly (yes, including a space
- and in the same casing) and when I did the search it found two
locations in the file, not three.  And yes, I searched through the
whole file, twice, top down and then bottom up.

Going to uninstall it all and try again.  Eighth time lucky hopefully.


-- 
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
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] WD MyBook Live NAS

2012-01-14 Thread Nasalhair

TimT;683843 Wrote: 
 See Step #11 above for the three lines that were changed to point to the
 cache directory on the MBL's /DataVolume.
 
 Did you insert a space between the two path statements when you ran the
 mv command? What subdirectories are in your /DataVolume/cache directory?

Error when moving the cache directory:

Code:

mv: inter-device move failed: `/var/lib/squeezeboxserver/cache' to 
`/DataVolume/cache/squeezeboxserver/cache'; unable to remove target: Is a 
directory



Workaround (not sure if it will work): Renamed the cache directory in
/var/lib/squeezeboxserver to cacheOLDvia WinSCP.  Will see if it
works.

As for the three instances of cachedir to change, look at your
instructions - you point to two locations of cachedir and one of
dbsource which contains the path but no reference to cachedir in
the line.  You may wish to update the instructions.  Oh, and my line
numbers bear no resemblance to yours.

Scan now running.  One error so far, but probably not a biggie:

Code:

[12-01-14 15:19:45.5999] Slim::Display::Display::string (894) Error: 
missing string RADIOTIME_SEARCH



Fingers crossed...


-- 
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
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] WD MyBook Live NAS

2012-01-14 Thread Nasalhair

TimT;683931 Wrote: 
 I am perplexed why you are getting an error message when trying to move
 the cache directory from /var/lib/squeezeboxserver/cache to
 /DataVolume/cache/squeezeboxserver.
 
 I tried to create it manually in WinSCP but the permissions were not
 the same -- that is why I used the mv command, which replicated the
 same r/w permissions (user: squeezeboxserver, group: nobody) as in
 /var/lib/squeezeboxserver/cache.

Perplexed you may be but I got the error three times.  Also regarding
your last post, yes cachedir appears multiple times but there are
only two instances where the directory path accompanies it - the third
line to be changed has no mention of cachedir.

Further errors:

My scan has just thrown Media scan terminated unexpectedly (Scanning
Progress) on the server settings / information page.  Looking at the
logs:

Server log:

Code:

[12-01-14 17:26:38.7715] Slim::Display::Display::string (894) Error: 
missing string RADIOTIME_SEARCH
  [12-01-14 17:26:38.7737] Slim::Display::Display::string (894) Backtrace:
  
  frame 0: Slim::Utils::Log::logBacktrace 
(/usr/share/perl5/Slim/Display/Display.pm line 894)
  frame 1: Slim::Display::Display::string 
(/usr/share/perl5/Slim/Player/Player.pm line 187)
  frame 2: Slim::Player::Player::string (/usr/share/perl5/Slim/Control/Jive.pm 
line 3058)
  frame 3: Slim::Control::Jive::_localizeMenuItemText 
(/usr/share/perl5/Slim/Control/Jive.pm line 266)
  frame 4: Slim::Control::Jive::mainMenu (/usr/share/perl5/Slim/Control/Jive.pm 
line 228)
  frame 5: Slim::Control::Jive::menuQuery 
(/usr/share/perl5/Slim/Control/Request.pm line 1884)
  frame 6: (eval) (/usr/share/perl5/Slim/Control/Request.pm line 1884)
  frame 7: Slim::Control::Request::execute 
(/usr/share/perl5/Slim/Web/JSONRPC.pm line 408)
  frame 8: Slim::Web::JSONRPC::requestMethod 
(/usr/share/perl5/Slim/Web/JSONRPC.pm line 212)
  frame 9: (eval) (/usr/share/perl5/Slim/Web/JSONRPC.pm line 212)
  frame 10: Slim::Web::JSONRPC::handleURI (/usr/share/perl5/Slim/Web/HTTP.pm 
line 486)
  frame 11: Slim::Web::HTTP::processHTTP 
(/usr/share/perl5/Slim/Networking/IO/Select.pm line 139)
  frame 12: (eval) (/usr/share/perl5/Slim/Networking/IO/Select.pm line 123)
  frame 13: Slim::Networking::IO::Select::__ANON__ 
(/usr/share/perl5/Slim/Networking/IO/Select.pm line 184)
  frame 14: (eval) (/usr/share/perl5/Slim/Networking/IO/Select.pm line 184)
  frame 15: Slim::Networking::IO::Select::loop (/usr/sbin/squeezeboxserver line 
695)
  frame 16: main::idle (/usr/sbin/squeezeboxserver line 645)
  frame 17: main::main (/usr/sbin/squeezeboxserver line 1158)



Scanner log:

Code:

[12-01-14 16:14:55.1465] Slim::Schema::forceCommit (2132) Warning: Couldn't 
commit transactions to DB: [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 16:14:55.1818] Slim::Music::Import::runScanPostProcessing (400) 
Starting Database optimization.
  [12-01-14 16:14:59.2462] Slim::Music::Import::endImporter (617) Completed 
dbOptimize Scan in 4 seconds.



-- 
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
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] WD MyBook Live NAS

2012-01-14 Thread Nasalhair

Another error.  Just tried doing a look for new and changed media
items scan.

Server log: 

Code:

[12-01-14 17:57:20.6553] Slim::Control::Request::execute (1889) Error: 
While trying to run function coderef [Slim::Control::Commands::rescanCommand]: 
[Carp::Clan::__ANON__(): 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/%'] at 
/usr/share/perl5/Slim/Schema/Storage.pm line 126
  ]



(BTW My music is stored in the Private directory in a folder called
Shared Music.  When I configured the Logitech Media Server software
it could access this folder so rights shouldn't be the issue.)


-- 
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
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] WD MyBook Live NAS

2011-12-27 Thread Nasalhair

I've just downgraded to 7.6.1 and although the scans are completing I am
still seeing I/O errors in the log:

[11-12-27 12:38:43.8698] Slim::Schema::Storage::throw_exception (119)
Error: DBI Exception: DBD::SQLite::db commit failed: disk I/O error
[11-12-27 12:38:43.9056] Slim::Schema::Storage::throw_exception (119)
Backtrace:

frame 0: Slim::Utils::Log::logBacktrace
(/usr/share/perl5/Slim/Schema/Storage.pm line 119)
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/Schema.pm line 2078)
frame 3: (eval) (/usr/share/perl5/Slim/Schema.pm line 2078)
frame 4: Slim::Schema::forceCommit
(/usr/share/perl5/Slim/Music/Artwork.pm line 526)
frame 5: Slim::Music::Artwork::__ANON__
(/usr/share/perl5/Slim/Music/Artwork.pm line 544)
frame 6: Slim::Music::Artwork::precacheAllArtwork
(/usr/share/perl5/Slim/Music/Import.pm line 372)
frame 7: Slim::Music::Import::runScanPostProcessing
(/usr/sbin/squeezeboxserver-scanner line 342)
frame 8: (eval) (/usr/sbin/squeezeboxserver-scanner line 342)
frame 9: main::main (/usr/sbin/squeezeboxserver-scanner line 498)

[11-12-27 12:38:43.9075] Slim::Schema::forceCommit (2081) Warning:
Couldn't commit transactions to DB: [Carp::Clan::__ANON__(): DBI
Exception: DBD::SQLite::db commit failed: disk I/O error at
/usr/share/perl5/Slim/Schema/Storage.pm line 123
]


-- 
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
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] WD MyBook Live NAS

2011-12-22 Thread Nasalhair

Hi Kurt,

Well I tried uninstalling 7.7.0 last night (following the instructions
on page 5 here) and installing 7.6.3 but it wouldn't let me as it said
7.7.0 was still installed.  I've upgraded to 7.7.1 to see if it works
but the same error is appearing.

It seems to me that the Squeezebox doesn't have sufficient access to
its database for some reason which explains why it is unable to delete
records, but I could be wrong.  It's just frustrating to see several
tracks and albums in my library with missing artwork and metadata when
I know it is actually all there (it is all visible through e.g. iTunes,
MediaMonkey, VLC and Windows Media Player) but it isn't being updated on
the Squeezebox because of this issue.


-- 
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
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] WD MyBook Live NAS

2011-12-22 Thread Nasalhair

I don't have that one enabled, nor has it ever been here.


-- 
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
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] WD MyBook Live NAS

2011-12-21 Thread Nasalhair

Julio - I'm not running 7.7.1.  I'm using 7.7.0.

Think I'm going to downgrade to one of the 7.6 versions.


-- 
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
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] WD MyBook Live NAS

2011-12-18 Thread Nasalhair

Hi Nitpicker,

Thanks for that.  I've tried making both modifications and there is
good and bad news.

The good news is that the new and changed scan no longer hangs.  It
runs and does the same thing as the clear library scan, which still
doesn't actually clear the library.

The bad news is that artwork changes still aren't coming through and an
error is still being written to the log:

[11-12-18 13:23:06.2983] Slim::Music::Import::runImporter (478)
Starting Slim::Music::PlaylistFolderScan scan
[11-12-18 13:23:06.3002] Slim::Utils::Scanner::Local::rescan (171)
Discovering audio files in /DataVolume/shares/Private/Shared Music
[11-12-18 13:23:08.8847] 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:///DataVolume/shares/Private/Shared%20Music' OR url LIKE
'file:///DataVolume/shares/Private/Shared%20Music/%']
[11-12-18 13:23:08.8868] 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/Music/PlaylistFolderScan.pm line 86)
frame 5: Slim::Music::PlaylistFolderScan::startScan
(/usr/share/perl5/Slim/Music/Import.pm line 480)
frame 6: Slim::Music::Import::runImporter
(/usr/share/perl5/Slim/Music/Import.pm line 320)
frame 7: Slim::Music::Import::runScan
(/usr/sbin/squeezeboxserver-scanner line 334)
frame 8: (eval) (/usr/sbin/squeezeboxserver-scanner line 328)
frame 9: main::main (/usr/sbin/squeezeboxserver-scanner line 509)

[11-12-18 13:23:08.8892] main::main (340) Error: Failed when running
main scan: [Carp::Clan::__ANON__(): DBI Exception: DBD::SQLite::db do
failed: disk I/O error [for Statement DELETE FROM scanned_files WHERE
url = 'file:///DataVolume/shares/Private/Shared%20Music' OR url LIKE
'file:///DataVolume/shares/Private/Shared%20Music/%'] at
/usr/share/perl5/Slim/Schema/Storage.pm line 126
]
[11-12-18 13:23:08.8908] main::main (341) Error: Skipping post-process
 Not updating lastRescanTime!

Not sure if it makes a difference but my media (I've got the
Squeezeboxserver scanning just for music, not photos etc.) is stored in
the private folder, but if I look at the MBL admin website the user
called squeezeboxserver (all in lower case) has full access to this
share.

Thanks for your help with this.  Apart from the scans not working
properly and the error in the log it is working perfectly and serving
music out to my hifi with no issues.


-- 
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
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] WD MyBook Live NAS

2011-12-17 Thread Nasalhair

Hi.  I'm running LMS 7.7 on my MyBook Live and it is working really well
- massive thanks to everyone here for the instructions.  There's just
one problem.  Whenever I do a rescan (Look for new and changed media
files) the scan seems to hang.  On the other hand, if I do a clear
library and rescan everything scan it just seems to pick up new items,
not empty the whole library as changes to e.g. album art aren't coming
through.

Looking at the log this error appears:

[11-12-17 10:33:36.1836] Slim::Music::Import::runImporter (478)
Starting Slim::Music::PlaylistFolderScan scan
[11-12-17 10:33:36.1856] Slim::Utils::Scanner::Local::rescan (171)
Discovering audio files in /DataVolume/shares/Private/Shared Music
[11-12-17 10:33:38.3060] 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:///DataVolume/shares/Private/Shared%20Music' OR url LIKE
'file:///DataVolume/shares/Private/Shared%20Music/%']
[11-12-17 10:33:38.3081] 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/Music/PlaylistFolderScan.pm line 86)
frame 5: Slim::Music::PlaylistFolderScan::startScan
(/usr/share/perl5/Slim/Music/Import.pm line 480)
frame 6: Slim::Music::Import::runImporter
(/usr/share/perl5/Slim/Music/Import.pm line 320)
frame 7: Slim::Music::Import::runScan
(/usr/sbin/squeezeboxserver-scanner line 334)
frame 8: (eval) (/usr/sbin/squeezeboxserver-scanner line 328)
frame 9: main::main (/usr/sbin/squeezeboxserver-scanner line 509)

[11-12-17 10:33:38.3105] main::main (340) Error: Failed when running
main scan: [Carp::Clan::__ANON__(): DBI Exception: DBD::SQLite::db do
failed: disk I/O error [for Statement DELETE FROM scanned_files WHERE
url = 'file:///DataVolume/shares/Private/Shared%20Music' OR url LIKE
'file:///DataVolume/shares/Private/Shared%20Music/%'] at
/usr/share/perl5/Slim/Schema/Storage.pm line 126
]

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
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins