Tried it:
P.S. in the lineCode: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 the buildme.sh script located here: https://github.com/Logitech/slimserver-vendor/tree/public/7.9/CPAN If 7.9 is outdated by the time you read this, Replace "7.9" with the major version You should never need to do this if you're on Windows or Mac OSX. If the installers don't work for you, ask for help and/or report a bug. ******* Exiting..you forgot the extension ...Code:tar cf logitechmediaserver-7.9.0-1485931015-FreeBSD logitechmediaserver-7.9.0-1485931015-FreeBSD
EDIT: Tried it again. Now it works! Thanks alot!
Results 51 to 60 of 77
-
2017-02-03, 16:46 #51
- Join Date
- Dec 2009
- Location
- Hilden, Germany
- Posts
- 144
Last edited by mrMuppet; 2017-02-04 at 01:23.
-
2017-02-18, 14:36 #52
- Join Date
- Apr 2007
- Posts
- 70
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
-
2017-02-19, 08:35 #53
- Join Date
- Apr 2007
- Posts
- 70
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.
-
2017-02-21, 08:26 #54
- Join Date
- Feb 2013
- Posts
- 376
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 somewhere you need to turn the make config option "TEST" off for the port to build in a jail.
Moving to the latest FreeNAS 9.10 stable now allows the use of iohyve at the CLI which provides a straightforward method to create and use VMs. A minimal Debian 8 VM with LMS seems to be light on resources and works well if you're happy to provide access to host data as a CIFS or NFS share.
-
2017-02-21, 09:13 #55
- Join Date
- Apr 2007
- Posts
- 70
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 techniques) is disk performance. Instead of using the native FreeBSD mount_nullfs way of providing local storage you need to mount filesystems over NFS to get any decent performance. I find that an ugly way and I doubt FreeNAS will support this in their GUI. See also:
http://mitchellh.com/comparing-files...rtual-machines
http://empt1e.blogspot.nl/2016/10/bh...benchmark.html
-
2017-02-21, 10:17 #56
- Join Date
- Feb 2013
- Posts
- 376
At least the port has had further commits as recently as feb 2017, but point taken about your script. I mentioned it as others might find the port useful. Well I did say if your happy to get data access via a network share to your VM. In FreeNAS 9.10.2 iohyve appears to be a stop gap as they move to version 10 and there's no GUI support, my brief use of jails in FreeNAS 9 seemed to be very clunky and based on old version software. Did I read u9fs will be used in FreeNAS 10?
I took the easy route and performance would be good enough on my low end home network if I wanted to run LMS on a FreeNAS box by using a VM. My home needs are very simple, a centralised file server for back-ups and data which runs LMS. Using zfs is attractive, but not strictly essential for me, as I only currently don't have a large amount data. I have zfs running on debian 8 right now for my data array and kept the system drive on ext4.
I'm not convinced I'd use FreeNAS, actually I would prefer to become proficient enough in FreeBSD to set-up a simple zfs based file server administered from the CLI. I will use your script when I get a chance.
-
2017-02-21, 14:47 #57
- Join Date
- Apr 2007
- Posts
- 70
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 sorted out. Even the plugins and jails look well done. I could set all this up on Debian with docker but it would take me days of tinkering. I do want to avoid a VM layer unless I really need it (like for running Windows apps). Thankfully I mostly use Unix apps which FreeBSD of course is very capable of running.
-
2017-02-21, 16:06 #58
- Join Date
- Feb 2013
- Posts
- 376
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 has been abstracted away in the new UI but the move towards docker means using the linux emulation layer. Some would argue that up to now, jails and plugin in FreeNAS have not been that successful. For my home use FreeNAS 10 is overkill. It's true that the UI makes setting up logging, checks, alerts and reporting very easy. But even I managed to set up basic emailing reports on my Deb8 file server box and zfs-zed can give you feedback on some ZFS events to add to the with the usual smartctl stuff. The real attraction of FreeNAS to me is it runs from a usb stick and frees up a SATA port on my mini-itx m/board and has the bonus of being free of systemd. I have no ambition to build an " Enterprise Storage Appliance" with true server grade components, but I was interested how much mileage I could get out my consumer grade kit. The fact that LMS can be be built and run on FreeBSD/FreeNAS keeps the options open.
-
2017-03-07, 02:53 #59
- Join Date
- Feb 2013
- Posts
- 376
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 that I could get LMS running on FreeBSD/FeeNAS if it was needed.
If "Docker" is the future, then at least on linux I found this image appears to work well: https://github.com/snoopy86/logitechmediaserver
Thanks again to RichieB et al.
-
2017-03-16, 05:49 #60
- Join Date
- Mar 2017
- Posts
- 2