Hey guys,
I've made an installer to avoid wasting time everytime I want to
install/update lms on my server and nas.
It will download and install LMS without having to compile everything
every time and it will check for updates and update lms when requested.
I'm going to share it because maybe it
Used the instructions posted earlier in this thread, except within my
already running 7.8 lms in my 11-STABLE jail - I didn't use a separate
jail to build it.
If I do a fresh install of LMS in a new FreeBSD jail, what config files
do I need to copy out of my old jail?
You'll certainly want to use LMS' prefs folder. It contains (at least)
server.prefs, plus for all the plugins. Try to find it on your system
and link accordingly. I can't help with
I'm sending this note in the hopes that someone has traveled this route
and knows the answer, rather than my discovering it from yet another
painful learning experience (like my earlier post on recovering from a
perl update.)
If I do a fresh install of LMS in a new FreeBSD jail, what config
I've been running on a March 2015 nightly build of LMS for quite some
time.
I'm preparing to upgrade, but we're going to go from FreeBSD 9.3 to
FreeBSD 11 first, and that will take some time.
Today I badly broke my lms execution environment by trying to install
emacs.
pkg install emacs25
Thanks for the review. I'd missed the description and that that the
generic Unix version is now used.
With a bit of fiddling, I came up with a change that now correctly finds
the nightly.
I've submitted the following patch to the github as issue#1:
Code:
wcattey wrote:
> My lms hasn't been updated since being installed with a nightly of 7.9.0
> taken in 2015, so I need to update.
>
> How nice that there's now a script to take care of the sundry nigglies.
> Thank you RichieB!
>
> Unfortunately, there is no
>
My lms hasn't been updated since being installed with a nightly of 7.9.0
taken in 2015, so I need to update.
How nice that there's now a script to take care of the sundry nigglies.
Thank you RichieB!
Unfortunately, there is no
Im running FreeNAS-9.10.2-U6 (561f0d7a1) has anyone managed to install
LMS on this build. I have run RichieB script in the build_lms. The
shell closes after about 5min into the
installtion, the last message on the screen is "resolving deltas"
Anyone have any ideas what the problem could be?
After 4 busy evenings LMS is running :cool:
The problem is with PERL versions.
Perl, FreeNAS11:
Code:
[root@freenas11 ~]# perl --version
This is perl 5, version 20, subversion 3 (v5.20.3) built for
amd64-freebsd-threa
alayer wrote:
> @Krisbee I think you're right - there must be a stupid, simple error I
> made somewhere, but I can't find it. In #51 there is only:
>
>
> >
Code:
> > EDIT: Tried it again. Now it works! Thanks alot!
> >
>
> but why "it works"
@Krisbee I think you're right - there must be a stupid, simple error I
made somewhere, but I can't find it. In #51 there is only:
Code:
EDIT: Tried it again. Now it works! Thanks alot!
but why "it works" now??? In my case there are no problems
alayer wrote:
> 1. I built lms in lms_build jail, using RichieB script
> (https://github.com/RichieB2B/lms-freenas ).
> After 30 minutes - success!
> >
Code:
> > Building complete! The result is in
/tmp/LMS/logitechmediaserver-7.9.0-FreeBSD.tar
>
mherger wrote:
> >The following modules failed to load: DBI EV XML::Parser::Expat
> HTML::Parser JSON::XS Digest::SHA1 YAML::XS Sub::Name
> >
> >
> > Why it doesn't work? Everything (PERL version, LMS version, users,
> > groups, access rights etc) seems to be OK, but it doesn't
alayer wrote:
> Hi!
> I have a problem with LMS on Freenas 11. When I try to run LMS, I have a
> message:
>
> >
Code:
> > Starting lms.
> The following modules failed to load: DBI EV XML::Parser::Expat
HTML::Parser JSON::XS Digest::SHA1 YAML::XS Sub::Name
>
The following modules failed to load: DBI EV XML::Parser::Expat HTML::Parser
JSON::XS Digest::SHA1 YAML::XS Sub::Name
Why it doesn't work? Everything (PERL version, LMS version, users,
groups, access rights etc) seems to be OK, but it doesn't work...
Quite obviously the Perl version
Hi!
I have a problem with LMS on Freenas 11. When I try to run LMS, I have a
message:
Code:
Starting lms.
The following modules failed to load: DBI EV XML::Parser::Expat HTML::Parser
JSON::XS Digest::SHA1 YAML::XS Sub::Name
Why it
Not sure what I missed, but going through it again seems to have fixed
it for me as well. Thanks folks!
samael's Profile: http://forums.slimdevices.com/member.php?userid=66701
View this thread:
I don't know what I changed. But in a second try it did work.
Gesendet von meinem ONEPLUS A3003 mit Tapatalk
mrMuppet's Profile: http://forums.slimdevices.com/member.php?userid=34722
View this thread:
mrMuppet wrote:
> EDIT: Tried it again. Now it works! Thanks alot!
I'm having exactly your problem. What did you do to resolve it?
samael's Profile: http://forums.slimdevices.com/member.php?userid=66701
View this
Thanks to the info posted in this thread, and RichieB git files, I was
able to build LMS in a FreeNAS jail without problem. Took the short-cut
to use a single jail to both build and test run LMS. Tested the LMS
port in another jail, and it builds without error. I feel far more
confident now
These two vids give a good impression of the direction of FreeNAS
Jordan Hubbard - FreeNAS 10: Challenges of building a modern Enterprise
Storage Appliance on FreeBSD: https://youtu.be/W0hrlsIVst0
Jordan Hubbard - FreeNAS 10 @ BayLISA: https://youtu.be/UpO1YUG8S6c
The underlying complexity
I'm in a quite similar situation. I just build my own NAS, testing it
out a bit. I settled on using ZFS for data integrity, but have not
decided on the OS. I prefer Debian CLI but am quite charmed by how
complete FreeNAS is. It has most of the things like logging, checks,
alerts and reporting
RichieB wrote:
> The port you pointed to is from October 2016 which is not bad, but I
> like to be able to choose what LMS version I run. With the script I
> posted creating a working LMS version for FreeNAS is very easy (just
> takes a little compilation time).
>
> The problem with iohyve (and
The port you pointed to is from October 2016 which is not bad, but I
like to be able to choose what LMS version I run. With the script I
posted creating a working LMS version for FreeNAS is very easy (just
takes a little compilation time).
The problem with iohyve (and other open source VM
I'm a FreeNas/FreeBSD novice who mostly uses linux and have not tried
the instructions in this thread or RichieB's build script. But this
port may provide an alternative:
https://www.freshports.org/audio/logitechmediaserver/ I installed this
port in a FreeBSD 11 VM and it works. I think I read
I've created a build script using the information in this thread:
https://github.com/RichieB2B/lms-freenas
I'm sure it can be automated even more, but that is for another weekend.
RichieB's Profile:
Thanks everyone for contributing to this thread. I'm trying it out right
now.
For a true copy-paste experience use this to avoid pkg asking if you
really want to download the packages:
Code:
setenv ASSUME_ALWAYS_YES YES
Tried it:
Code:
service lms start
Starting lms.
The following modules failed to load: DBI EV XML::Parser::Expat HTML::Parser
JSON::XS Digest::SHA1 YAML::XS Sub::Name
***
NOTE:
If you're running some unsupported Linux/Unix platform, please use
Right. For everyone who struggles with this, I got it working under
freenas 9.10.2 tonight after fiddling a bit. To sort of summarize i'll
be stealing a lot from get.amped. All credits go to him & all others in
this tread for helping me figure out what was happening. Turns out
slimserver-vendor
hey again
So I've been using LMS on FreeNAS for about half a year now and it works
perfectly with the exception of Spotify integration (it has some
problems on emulated Squeeze Players). I saw that this problem has been
addressed in a newer version of the LMS 7.9 nightly and I wanted to ask
if
cooppw02 wrote:
> I'd just like to chime in and say thanks to those that made and
> contributed to this thread. The instructions worked pretty much
> flawlessly; the only thing I had to do differently was to change the
> perl 5.20.2 references to 5.20.3.
I tried it, changed the reference and
oh ok, that's it and it works with LMS? that does also work for other
decoders?
thx and cheers
Fenix4k's Profile: http://forums.slimdevices.com/member.php?userid=54540
View this thread:
Fenix4k wrote:
>
> Just one more question: pufnstuf (on the first page) said he installed
> FAAD port manually. Can anyone explain me how to do that?
>
I don't use FreeNAS but if you can install packages then
Code:
pkg install faad2
on the
Hey guys
with this whole thread, installation of LMS on freenas 9.10 works
perfectly as far as I can tell. Thank you!
Just one more question: pufnstuf (on the first page) said he installed
FAAD port manually. Can anyone explain me how to do that? I tried to
contact him per PM but it seems my
I have working 7.9 now so all is well but I was thinking about what
> happens when I want update LMS, let's say in six months or a year. How
Check https://github.com/Logitech/slimserver/tree/public/7.9/CPAN for
any recent change. If in doubt, come here to ask :-)
Chances are you won't have
mherger wrote:
>
> I do understand that the situation currently can be a bit confusing. I
> don't know of a simple response to your problem. Because it also depends
>
> on Perl versions etc.
>
> It's probably easiest to build your binaries, then run LMS with
> --d_startup enabled to get the
Michael, how can a user like me know which modules have been updated
easily? If I know what has been updated I can figure out which modules
to copy across from my own building of slimserver-vendor. Alternatively
I may try copying across more of my build into a noCPAN nightly and see
what happens.
> how can a user like me know which modules have been updated easily?
> If I know what has been updated I can figure out which modules to
> copy across from my own building of slimserver-vendor.
I do understand that the situation currently can be a bit confusing. I
don't know of a simple
mherger wrote:
> I don't think that
> Image::Scale per se is a problem. But you'd have to not only copy the
> compiled binary file, but its Scale.pm file, too. Otherwise the latter
> used by LMS would require a binary version 0.8, instead of the 0.11
> you've found. I don't remember exactly
Can anyone explain what has changed with Image::Scale moving from 0.8 to
0.11 and what can be done about it?
From the little I read on that linked page I don't think that
Image::Scale per se is a problem. But you'd have to not only copy the
compiled binary file, but its Scale.pm file, too.
I have a working 'LMS 7.9 in a Freebsd jail on nas4free'
(http://forums.nas4free.org/viewtopic.php?f=71=38=67704#p67704). I
had 'to follow the instructions to checkout an earlier version'
To solve problem about Image::Scale i follow this post :
https://forums.freenas.org/index.php?threads/9-3-how-to-build-and-install-lms-7-9-from-scratch.27161/page-3#post-263920
and now LMS runs!
cadavor's Profile:
Wolfy wrote:
> I followed the instructions and managed getting everything in place,
> after restarting the jail as the last instruction. I tried the ip:9000
> but no success..
> i went into the jail to try and start it manually (service lms restart)
> i get the error:
> >
Code:
Wolfy wrote:
> The "ln" is linked to the perl 5.20.3 Folder.
> Almost as in the tutorial.
> I did not have the ".2" Folder so I edited to link to the one I have.
> Was it wrong?
I honestly don't know. With so little to go on (only you were there), I
can't tell you exactly what went wrong.
So
The "ln" is linked to the perl 5.20.3 Folder.
Almost as in the tutorial.
I did not have the ".2" Folder so I edited to link to the one I have.
Was it wrong?
Wolfy's Profile:
Wolfy wrote:
> the installed version of perl is: perl 5, version 20, subversion 3
> (v5.20.3)
> in /tmp/LMS/logitechmediaserver-7.9.0-"ver"/CPAN/arch/ there is a folder
> 5.22
> i tried all the commands pointing to 5.22 but i got almost the same
> error, can't really remember...
> is there
the installed version of perl is: perl 5, version 20, subversion 3
(v5.20.3)
in /tmp/LMS/logitechmediaserver-7.9.0-"ver"/CPAN/arch/ there is a folder
5.22
i tried all the commands pointing to 5.22 but i got almost the same
error, can't really remember...
is there something in the buildme.sh
Wolfy wrote:
> I re-downloaded the lms file and the MD5 hash is the same as in the hash
> in the downloaded file.
> but the startup is no success..
>
> >
Code:
> >
> root@SqueezeServ:/ # service lms start
> Starting lms.
Never mind, i managed to download the file and the MD5 hash is the same
as in the hash in the downloaded file.
but the startup is no success..
Code:
root@SqueezeServ:/ # service lms start
Starting lms.
How do i Download the jtuvqvEJ file directly on my freenas?
i have tried but the file only contains an error of the file..
i run the command :wget http://pastebin.com/download.php?i=jtuvqvEJ
how should it be?
Wolfy's
Wolfy wrote:
> I followed the instructions and managed getting everything in place,
> after restarting the jail as the last instruction. I tried the ip:9000
> but no success..
> i went into the jail to try and start it manually (service lms restart)
> i get the error:
> >
Code:
I followed the instructions and managed getting everything in place,
after restarting the jail as the last instruction. I tried the ip:9000
but no success..
i went into the jail to try and start it manually (service lms restart)
i get the error:
Code:
root@SqueezeServ:/
I'd just like to chime in and say thanks to those that made and
contributed to this thread. The instructions worked pretty much
flawlessly; the only thing I had to do differently was to change the
perl 5.20.2 references to 5.20.3.
To those having troubles,
I only check in here occasionally and I'm far from a
Linux/FreeNAS/FreeBSD maven. But nearly every problem I've seen with
building LMS is related to:
1) Perl
and /or
2) permissions
All the references to Perl have to be consistent throughout the process.
If you're
Erik S wrote:
> I understand all the commands are important, but I misunderstood and
> thought the code in the downloaded file was to be used instead of the
> code in your original post that sets permissions.
>
> You have been most helpful and I greatly appreciate you putting up with
> me.
Hi
get.amped wrote:
> Congratulations! Enjoy!
Hi everyone,
I was just wondering if anyone had any joy with this recently? I only
ask as I've spent hours trying to get this work on my Freenas server and
i'm falling down at the bit where it states "*./buildme.sh | tee
/tmp/LMS/buildme.sh.log*"
Erik S wrote:
> It's running now.
Congratulations! Enjoy!
Home: Win7Pro(x64)[3.3Ghz i5, 8GB RAM, 120GB SSD system, 15TB storage],
LMS 7.9.0 -> Logitech Squeezebox Classic V.3 -> Cambridge Audio DacMagic
-> NAD C160 -> 2 x NAD C272 -> Quad 22L2
Portable: FreeNAS 9.3 [HP Microserver Gen8, 10GB
get.amped wrote:
> You are referring to the startup script? You should be able to run that
> command in the FreeNAS shell to generate the correct file.
I can't get LMS to start, so I will list my steps.
I downloaded the file @ http://pastebin.com/download.php?i=jtuvqvEJ and
opened it with
Erik S wrote:
> I can't get LMS to start, so I will list my steps.
>
> I downloaded the file @ http://pastebin.com/download.php?i=jtuvqvEJ and
> opened it with notepad. I created the file lms.b64 in my LMS jail
> directory /tmp/lms. I pasted the block of unreadable text from the
> downloaded
get.amped wrote:
> Do not open the file in notepad; download it directly to the directory
> in your LMS jail. After you create the lms file using openssl, do not
> copy the file using Windows explorer; use the Linux mv command instead:
>
> >
Code:
> > mv lms
Unfortunately, I am a Linux dilettante and am pretty much baffled by
buildme.sh and the logging it produces. *BUT* the issues you both are
having are almost certainly related to the Perl version of the jail vs
the one used for the build.
Check to see if the version of Perl changed when you did
get.amped wrote:
> Unfortunately, I am a Linux dilettante and am pretty much baffled by
> buildme.sh and the logging it produces. *BUT* the issues you both are
> having are almost certainly related to the Perl version of the jail vs
> the one used for the build.
>
> Check to see if the version
Erik S wrote:
> Your advice was perfect, I searched through the builfme.sh file for
> instances of "5.20" and found a reference to "5.20.3" so I modified your
> code accordingly and it seemed to work. Now I need to start LMS.
>
> Forgive my ignorance, but in your instructions you provide a
vincen wrote:
> Followed the tutorial step by step, just had to update the download link
> for the mightly build avalaible but compiles fails. Here is a copy of
> the last lines below. Any clues what's wrong ?
>
> >
Code:
> > /usr/local/bin/perl
Erik S wrote:
> I see the same lines as you. Did you get it working?
> Thanks
On closer inspection I see the last few lines are the same but before
that there are differences. Here is the last of mine.
Scan.bs
/usr/local/bin/perl /usr/local/lib/perl5/5.20/ExtUtils/xsubpp -typemap
get.amped wrote:
> I initially found this thread at the FreeNAS forums and you might try
> looking for some help there as well:
> https://forums.freenas.org/index.php?threads/9-3-how-to-build-and-install-lms-7-9-from-scratch.27161/
Yep I posted there for the problem of startup I encounter with
get.amped wrote:
> There's some chance that I could make my .tar of the LMS build available
> and it could be copied into the run jail and just work...
Yep a sort of export of the jail that contains a run build might be nice
;) If only someone could build a plugin of it for FreeNAS it would be
I initially found this thread at the FreeNAS forums and you might try
looking for some help there as well:
https://forums.freenas.org/index.php?threads/9-3-how-to-build-and-install-lms-7-9-from-scratch.27161/
Home: Win7Pro(x64)[3.3Ghz i5, 8GB RAM, 120GB SSD system, 15TB storage],
LMS 7.9.0 ->
vincen wrote:
> Followed the tutorial step by step, just had to update the download link
> for the mightly build avalaible but compiles fails. Here is a copy of
> the last lines below. Any clues what's wrong ?
>
> >
Code:
> > /usr/local/bin/perl
Followed the tutorial step by step, just had to update the download link
for the mightly build avalaible but compiles fails. Here is a copy of
the last lines below. Any clues what's wrong ?
Code:
/usr/local/bin/perl /usr/local/lib/perl5/5.20/ExtUtils/xsubpp -typemap
pufnstuf wrote:
My library is mostly FLAC but I did have to install the FAAD port to get
any m4a tracks to transcode and play.
iirc, if you use regular faad instead of the patched version provided by
Logitech, seeking in AAC files (and maybe some other stuff) will not
work
[ extGUI4LMS -
get.amped wrote:
It should be a reduced set of the same instructions. First take a
snapshot of your jails so you can revert back to them if everything goes
horribly wrong. Then, in the build jail, wget the nightly, git the
source, run buildme.sh, clean up the unneeded versions, tar it, cp
Roland0 wrote:
You only need to do the build step if the version of one of the binary
CPAN modules changes, which happens very rarely ( once a year), so you
can nearly always skip this step
Getting the nightly and checking out is also unnecessary, one of the two
is enough. Keeping the
pufnstuf wrote:
Thanks get.amped, I used your method and all is working well. My library
is mostly FLAC but I did have to install the FAAD port to get any m4a
tracks to transcode and play.
It runs fast and smooth - so much better than trying to run in a
virtualbox jail. :)
What will
Thanks get.amped, I used your method and all is working well. My library
is mostly FLAC but I did have to install the FAAD port to get any m4a
tracks to transcode and play.
It runs fast and smooth - so much better than trying to run in a
virtualbox jail. :)
What will be required to keep LMS
Roland0 wrote:
While I have no clue about FreeBSD, I'm not convinced this is a good
idea:
It seems you are overwriting the system perl, which could result in a
number of problems (both in operation and when the system perl is
upgraded)
You could have a look at the howto mentioned in my
While I have no clue about FreeBSD, I'm not convinced this is a good
idea:
get.amped wrote:
Code:
ln -s -f /usr/local/bin/perl5.20.2 /usr/bin/perl
ln -s -f /usr/local/bin/perl5.20.2 /usr/bin/perl5
It seems you are overwriting
78 matches
Mail list logo