If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
In case anyone wants to try LMS or Squeezelite on Alpine Linux, here are some directions for adding my repo and installing the packages. I'm leaving the armel repo online but I'm not really updating it anymore (see downthread, Ralphy provided lms and updated squeezelite packages for the armel repo) since my experience with the circa 2011 Dell M300 wasn't that great. I had fun working on it with Ralphy's help but ultimately I decided to move on and picked up an x86_64 Dell/Wyse 5070 which has been awesome so far as my new home server (with LMS). I hope to add some arm packages also, for rpi4 and pi zero w, not sure when I'll get to it though.
I've got a cron job running on my x86_64 build machine that checks for LMS updates at the nightly downloads page then rebuilds the nocpan package and updates the repo accordingly. Picked up the change to build 1590299558 and the updated package was available in the repo as of this morning.
//edit, only going to run this once a week at 0300 EST on Saturday.
Here's the script I'm using, improvements welcome!
Code:
#!/bin/sh
cd "/home/sodface/aports/main/lms-nocpan"
newfrag=$(wget -q http://downloads.slimdevices.com/nightly/?ver=8.0 -O - | grep noCPAN.tgz | cut -d'/' -f4,5 | cut -d'"' -f1)
commit=$(printf "${newfrag}" | cut -d'/' -f1)
build=$(printf "${newfrag}" | cut -d'-' -f3)
if ! grep -q ${build} APKBUILD
then
sed -i "s/_build=\".*\"/_build=\"${build}\"/" APKBUILD
sed -i "s/_commit=\".*\"/_commit=\"${commit}\"/" APKBUILD
abuild -q checksum
abuild -qr
abuild -q cleanoldpkg
else
echo "No update on $(date)"
fi
Code:
Logitech Media Server Version: 8.0.0 - 1590299558 @ Sun May 24 08:24:36 CEST 2020
Hostname: server
Server IP Address: 10.0.0.10
Server HTTP Port Number: 9000
Operating system: Alpine Linux - EN - utf8
Platform Architecture: unknown
Perl Version: 5.30.2 - x86_64-linux-thread-multi
Audio::Scan: 1.02
IO::Socket::SSL: 2.068
Database Version: DBD::SQLite 1.58 (sqlite 3.22.0)
Total Players Recognized: 3
Thanks to Ralphy, the lms and squeezelite packages are added to the armel repo. I'm not able to test them however so feedback is welcome! The lms-nocpan package for armel should be updated once a week (or more often if I run it manually) along with the x86_64 and any other architectures I add since it doesn't need to be compiled, just packaged.
FYI, I don't think anyone is using my alpine packages, but just a head's up that I moved the repo (and sodface.com) to a different instance out there in the cloud somewhere. It was originally running on a canned CentOS image available from the hosting provider and it was bugging me on a number of levels that I wasn't running Alpine, one of which was that it just didn't seem right to have an Alpine package repo hosted on a CentOS VM.
The move was a geographic region change and IP address change. DNS is updated and everything seems to be resolving and working ok for me. Let me know if you have any issues.
Exactly what I was looking for, I have a number of Wyse thin clients which will run Daphile but what I want is LMS and Squeezelite instead.
A link to anything updated would be appreciated.
Thanks
diode84
Exactly what I was looking for, I have a number of Wyse thin clients which will run Daphile but what I want is LMS and Squeezelite instead.
A link to anything updated would be appreciated.
Thanks
diode84
Hi diode84, the info in the first post is still accurate. Install Alpine then:
- download and add my public key (link in #1) to /etc/apk/keys
- add http://www.sodface.com/repo to /etc/apk/repositories
- sudo apk update
- sudo apk add lms squeezelite
- edit /etc/conf.d/squeezelite config file to add any startup options you need
- sudo rc-update add lms
- sudo rc-update add squeezelite
- reboot
LMS is updated every Saturday morning. Versions currently in the repo:
Hi diode84, the info in the first post is still accurate. Install Alpine then:
- download and add my public key (link in #1) to /etc/apk/keys
- add http://www.sodface.com to /etc/apk/repositories
- sudo apk update
- sudo apk add lms squeezelite
- edit /etc/conf.d/squeezelite config file to add any startup options you need
- sudo rc-update add lms
- sudo rc-update add squeezelite
- reboot
[/code]
I am struggling a bit with Alpine linux. I can set it up to a terminal but get no gui. Is there a gui and is there a forum that helps with Alpine install that is a regular forum.
I am struggling a bit with Alpine linux. I can set it up to a terminal but get no gui. Is there a gui and is there a forum that helps with Alpine install that is a regular forum.
Unfortunately there is no forum, just a wiki, a couple mailing lists, and their GitLab issue tracker. There is no gui by default but you can add one fairly easily with a meta-package I believe but I think that changed a bit recently. I'm running xfce on the laptop I'm typing this on and on another thin client (samsung cloud monitor) but not on any of the Wyse's - I'm cli only on those.
Unfortunately there is no forum, just a wiki, a couple mailing lists, and their GitLab issue tracker. There is no gui by default but you can add one fairly easily with a meta-package I believe but I think that changed a bit recently. I'm running xfce on the laptop I'm typing this on and on another thin client (samsung cloud monitor) but not on any of the Wyse's - I'm cli only on those.
I'm working on getting LMS functioning again on Alpine 3.13.2. I'd say "Don't Panic!" except I don't think anybody except me is using my packages. I upgraded my server earlier to Alpine 3.13.2 and didn't realize until 8 hours or so later that LMS isn't starting. Perl version changed to:
This is perl 5, version 32, subversion 0 (v5.32.0) built for x86_64-linux-thread-multi
which I think is the culprit. I'm currently rebuilding the modules. We'll see how good my notes were.
New modules package uploaded to repo:
lms-modules-8.2-r0.apk
for x86_64 only. Let me know if anyone needs any other architecture built.
LMS is back up and running for me.
[21-02-20 20:40:31.8953] main::init (389) Starting Logitech Media Server (v8.2.0, 1613803910, Sat Feb 20 08:18:40 CET 2021) perl 5.032000 - x86_64-linux-thread-multi
> New modules package uploaded to repo:
> lms-modules-8.2-r0.apk
>
> for x86_64 only. Let me know if anyone needs any other architecture
> built.
Haha... for a short moment I was wondering whether this would allow me
to run LMS on the iPhone using iSH . But that seems to be 686, rather
than x86_64.
Michael
"It doesn't work - what shall I do?" - "Please check your server.log and/or scanner.log file!"
(LMS: Settings/Information)
I decided I wanted to rename the lms packages slightly to make them less version specific except for the lms-nocpan package. Probably a bad idea as I borked up my own server install and ended up having to walk through the setup again like it was an initial install. Oops.
Here's the new package names with most of them just being "8" and lms-nocpan being more specific:
We process personal data about users of our site, through the use of cookies and other technologies, to deliver our services, personalize advertising, and to analyze site activity. We may share certain information about our users with our advertising and analytics partners. For additional details, refer to our Privacy Policy.
By clicking "I AGREE" below, you agree to our Privacy Policy and our personal data processing and cookie practices as described therein. You also acknowledge that this forum may be hosted outside your country and you consent to the collection, storage, and processing of your data in the country where this forum is hosted.
Comment