Re: [SlimDevices: SqueezeCenter] Relocate LMS files to another disk

2018-09-16 Thread Roland0
xavier1306 wrote: > But the result is the same : > > [18-09-16 17:18:38.2159] Slim::Utils::Misc::msg (1252) Warning: > [17:18:38.2146] DBD::SQLite::db do failed: database is locked at > /usr/share/perl5/$Delete the file /media/lms/cache/cache.db and start > from scratch.

Re: [SlimDevices: SqueezeCenter] Relocate LMS files to another disk

2018-09-16 Thread xavier1306
DJanGo wrote: > Which OS are you using? > These steps did help me to get lms on debian to a ramdisk (but there was > no real speedup) so i dont use it anymore. I am on raspbian running LMS and retropie. I want to speed up response of perl scripts (namely squeezealert with domoticz). The rest

Re: [SlimDevices: SqueezeCenter] Relocate LMS files to another disk

2018-09-16 Thread DJanGo
xavier1306 wrote: > I am doing this way but can't achieve the non standard directories to > work :( > I always got error on cache.db in the log, and LMS does not start. > I think it is something with permissions, but everything looks correct > (user:group is squeezeboxserver:none, define in

Re: [SlimDevices: SqueezeCenter] Relocate LMS files to another disk

2018-09-16 Thread xavier1306
DJanGo wrote: > Hi, > > afaik some paths are hardcoded but that doesnt mean you cant use lms on > a hd. > > just stop lms > rename the /var/lib/squeezeboxserver/ to /var/lib/squeezeboxserver.org/ > add a mountpoint from the disk to /var/lib/squeezeboxserver > mount that disk via fstab as auto

Re: [SlimDevices: SqueezeCenter] Relocate LMS files to another disk

2018-06-29 Thread mascaret
bpa wrote: > I've got non standard dirs with no problem. > > I think you should delete all files in the move cache directory and > rebuild all the files inlcuding library.db. Cache entries may be holding > old paths somewhere. Actually, I intend to do a full reinstall of LMS (after a

Re: [SlimDevices: SqueezeCenter] Relocate LMS files to another disk

2018-06-27 Thread bpa
mascaret wrote: > Looks like Slim (I suppose it's the player interface in LMS's web page) > can't stand the non-standard dir/prefs.. I've got non standard dirs with no problem. I think you should delete all files in the move cache directory and rebuild all the files inlcuding library.db.

Re: [SlimDevices: SqueezeCenter] Relocate LMS files to another disk

2018-06-27 Thread mascaret
DJanGo wrote: > Hi, > > afaik some paths are hardcoded but that doesnt mean you cant use lms on > a hd. > > just stop lms > rename the /var/lib/squeezeboxserver/ to /var/lib/squeezeboxserver.org/ > add a mountpoint from the disk to /var/lib/squeezeboxserver > mount that disk via fstab as auto

Re: [SlimDevices: SqueezeCenter] Relocate LMS files to another disk

2018-06-27 Thread DJanGo
mascaret wrote: > > Does it mean that paths are hard-coded and there is no way to use LMS as > I intended? > > Some explanations would be welcomed > Thks you all! Hi, afaik some paths are hardcoded but that doesnt mean you cant use lms on a hd. just stop lms rename the

[SlimDevices: SqueezeCenter] Relocate LMS files to another disk

2018-06-27 Thread mascaret
Hi, all! A noob question.. I run LMS on an odroid HC2 which uses a SDC card to host the system (debian stretch+OMV+LMS). In order to reduce writes on SD card, I tried to use /etc/init.d/logitechmediaserver config path (prefs, cache, log) to set them to an external HD (/sharedfolder for OMV). Set