Dont know if this helps - my only attempt at LMS via RPI required that
after connecting USB disk and mounting i had to 'CHMOD -R 777' the
directory containing data before LMS could access it... this has to be
repeated every time i add more music to the disk...
Be warned - im kinda a noob at
Changed back to
Code:
SLIMOPTIONS=""
CACHEDIR=/new location/logitechmediaserver/cache
restarted lms service and rescanned... again with succes...
Thx again for the help!!
BosseJ wrote:
> Roland0 advised (correctly) against setting the SLIMOPTIONS variable to
> "--cachedir /new location/logitechmediaserver/cache". See item #13 in
> this thread.
> It may work now but you have a start command that has two "--cachedir"
> directives and it may cause problems in some
Checked server.prefs for 'librarycachedir' and it was already pointin to
the new cahce dir.
I then:
stopped lms service
erased the entry in server.prefs: dbsource:
dbi:SQLite:dbname=/var/lib/squeezeboxserver/cache/library.db
and changed
Code:
SLIMOPTIONS=""
Roland0 wrote:
> Depending on which music importers are used, LMS either uses it's
> internal scanner, or runs scanner.pl as an external process.
> Maybe one of the two uses the old location, the other the new. Why this
> happens, I have no clue.
> Things you could try:
> - check if any entry
mherger wrote:
> > Maybe one of the two uses the old location, the other the new. Why
> this
> > happens, I have no clue.
>
> There's another pref "librarycachedir" which is being generated upon
> first start (IIRC). That's what's being used for the library files. You
>
> might need to reset
At the moment the server runs, scanning without problems... the only
'problem' is that for some reason sqllite db are created on the old AND
the new cache dir...
Any ideas why this happens??? Obviously i would prefer that only the new
cachedir is used...
Thx...
So...
Ensured user squeezeboxserver had rights to the new cache dir...
Stopped service, deleted old cachedir (but this time i left in the
various directories - DownloadedPlugins, InstalledPlugins...) after
copying everything to new cachedir, restarted service..
Then when opening the server
Looking through server.prefs for squeezeboxserver it looks as though the
sqlite db still needs to be in the original cache directory???
Any idea how i move this to new location???
THildebrandt's Profile:
Looks like it didnt work after all...
Thinking i could remove the old cachedir now that a new has been
definded (copied the old to the new location, of course) i now get this
result when initiating scan of my music library:
Code:
service logitechmediaserver status
Once i got rid of the spelling errors this seems to work:
Code:
# User to run Logitech Media Server as
SLIMUSER=squeezeboxserver
SLIMOPTIONS=""
CACHEDIR=/new location/logitechmediaserver/cache
Thank you!
Roland0 wrote:
> For debian / ubuntu, the file to edit would be
> /etc/default/logitechmediaserver
/etc/default/logitechmediaserver edited from
Code:
# User to run Logitech Media Server as
SLIMUSER=squeezeboxserver
SLIMOPTIONS=""
to
Hello!
New installation of openmediavault; installed LMS 7.9.1 flawlessly.
I want to move the location of the cache to other drive; tried editing
server.pref without luck, broke LMS requiring new installation...
Somewhere i stumbled across a reference til specifying the cachedir by
adding an
13 matches
Mail list logo