Krisbee wrote:
> Is it worth mentioning on the wiki entry that your method allows a LMS
> 7.7.X broken by the move from perl 5.14 to 5.16 or 5.18 to be revived
> without loss of cached data, db, logs etc. ?
>
> In debian at least, you have the �squeezeboxserver� user and can't
> you simply re-use all the relevant existing /var/lib/... and var/log..
> files? Once you've built your own perl version etc. using your
> instructions, isn't all you need to do is to edit the
> /etc/int.d/logitechmediaserver file and relevant logrotate.d entry
> before restarting LMS?
>
Unless you uninstall the official package with the purge option, that't
certainly possible. It's the same as a regular update in this regard.
>
> It's also possible to run a version of LMS according to your
> instructions alongside say a nightly build if your create a new
> separate set of /var/lib/... and /var.log/... files (and if necessary
> etc/...files) along with and a relevant init.d and logrotate.d file.
> This is what I did at the weekend.
Actually, you don't even need separate directories (unless the db
structure changes - which it hasn't for a long time). Preferences also
stay the same (I'm not quite sure how LMS handles unknown prefs (e.g.
those that exist in 7.8 and don't in 7.7), but I guess the only risk
would be that they get lost)
My setup is based on symlinks:
Code:
--------------------
lrwxrwxrwx 1 root root 29 May 14 19:10 lms -> logitechmediaserver-7.7.8-git
drwxr-xr-x 13 root root 4096 Apr 26 2012
logitechmediaserver-7.7.2-33893-noCPAN
drwxr-xr-x 13 user user 4096 Sep 11 23:34 logitechmediaserver-7.7.8-git
--------------------
and the init script uses /opt/lms as the path, so switching to another
version is done by pointing the symlink to this version
[ extGUI4LMS - an alternative web interface: 'forum'
(http://forums.slimdevices.com/showthread.php?98186-Announce-Alternative-Web-Interface-(beta))
/ 'homepage' (http://code.google.com/p/extgui4lms/) ]
------------------------------------------------------------------------
Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808
View this thread: http://forums.slimdevices.com/showthread.php?t=99648
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix