Here's how I replaced SoA's LMS server with the one from aur some weeks
ago:
1. Login to the console as root or use ssh from a remote client (ssh
root@your-ip-address)
2. Remove SoA's LMS /server version
Code:
--------------------
# cd /aur/soa-aur
# ./soa-installremove-componets.sh remove server79
--------------------
3. Create a user account if not already done (makepkg may not be run as
root) and switch to it.
Code:
--------------------
# useradd -m johndoe
# su - johndoe
--------------------
4. Download, unpack, build and install logitechmediaserver package from
aur
Code:
--------------------
$ mkdir lms
$ cd lms
$ wget
https://aur.archlinux.org/cgit/aur.git/snapshot/logitechmediaserver.tar.gz
$ tar xf logitechmediaserver.tar.gz
$ cd logitechmediaserver
$ makepkg
$ sudo pacman -U logitechmediaserver-7.9.0.arch2-1-armv7h.pkg.tar
--------------------
5. Switch back to root and enable/start lms service. Check service
status which should be active (running).
Code:
--------------------
$ exit
# systemctl enable logitechmediaserver
# systemctl start logitechmediaserver
# systemctl status logitechmediaserver
--------------------
6. Optionally change the server79 line in
/usr/share/lua/5.1/soa-web/Update.lua
Code:
--------------------
local opts = {
squeezelite = { 'squeezelite', 'squeezelite' },
ffmpeg = { 'ffmpeg' },
jivelite = { 'jivelite' },
server78 = { 'logitechmediaserver-7.8-lms', 'squeezeserver' },
-- server79 = { 'logitechmediaserver-7.9-lms', 'squeezeserver' }
server79 = { 'logitechmediaserver', 'squeezeserver' }
--------------------
7. Restart soa-web service
Code:
--------------------
# systemctl restart soa-web
--------------------
This will enable the Squeeze Server tab again from the SoA webpage. It
will also show that LMS is installed on the Update tab with the aur
version.
Good luck.
------------------------------------------------------------------------
IanDury's Profile: http://forums.slimdevices.com/member.php?userid=63494
View this thread: http://forums.slimdevices.com/showthread.php?t=101624
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix