Logitech Media Server for FreeNAS 9.2.1.1

Status
Not open for further replies.

djoole

Contributor
Joined
Oct 3, 2011
Messages
158
Hi,

After providing a couple years ago a package to install LMS on FreeNAS 8, since I recently upgraded to FreeNAS 9, i found out that LMS wasn't starting anymore (thanks to Perl upgrading from 5.14 to 5.16)

As i didn't want to have to downgrade Perl (easy, but ugly solution), i had to spend hours scratching my head to make it work.

I figured i could share that.

Here is an easy installme script, you just have to put it somewhere in your plugin jail, and it will do the rest.

Logitech Media Server Version : 7.8.0 - 1392818344 @ Sat Mar 1 19:18:15 PST 2014
Version de Perl : 5.16.3 - amd64-freebsd-thread-multi
Version de la base de données : DBD::SQLite 1.40 (sqlite 3.7.17)

Enjoy :)

Here is the installme.sh content :
Code:
#!/bin/sh
# install script for Logitech Media Server on FreeNAS 9.2.1.1-RELEASE-X64 inside a plugin jail
#- by djoole -
#
#1. Log into your jail (assuming 1 is the id of your jail) :
#    jexec 1 /bin/csh
#
#2. Create a temp dir
#    mkdir /usr/local/tmp
#
#3. Put the package in your temp dir
#
#4. unpack it :
#    cd /usr/local/tmp && tar xzf lms-7.8.0-1392818344-freenas-9.2.1.1-RELEASE-x64.tgz
#
#5. launch the install script :
#    ./installme.sh
#
#6. Enjoy your music again :)
#
#
#Updating LMS should be this easy (not tested, make a backup of your prefs and plugins) :
#1. Download latest LMS Freebsd package from http://downloads.slimdevices.com/
#2. Unpack my package
#3. Replace lms.tgz by the package you just downloaded (becareful it must be named lms.tgz!!)
#4. Change VERSION file content exactly by the main dir name of slimdevice tgz
#5. Repack
#6. Share and Use
#
#
set -e
 
group=lms
user=lms
installdir="/usr/local/lms"
tmpdir="/usr/local/lms-freenas-amd64"
 
# creation of the daemon lms user
if !(pw group show $group) > /dev/null 2>&1; then
    pw groupadd $group
fi
if !(pw user show $user) > /dev/null 2>&1; then
    pw useradd $user -g $group -h - -s /bin/sh -c "Logitech Media Server" -d $installdir
fi
 
# we need the latest package to install it
cd /usr/local
wget http://djoole.free.fr/lms/lms-freenas-amd64.tgz
tar xzf lms-freenas-amd64.tgz
rm lms-freenas-amd64.tgz
version=`cat lms-freenas-amd64/VERSION`
 
# and install
mkdir $installdir
cd $installdir
tar zxf $tmpdir/lms.tgz
mv -f $version/* $installdir
rmdir $version
cd $tmpdir
 
# installing some dependencies that Logitech din't feel like provinding for Perl versions > 5.8
pkg install -y p5-DBI p5-EV p5-XML-Parser p5-HTML-Parser p5-JSON-XS p5-Digest-SHA1 p5-YAML-LibYAML p5-Sub-Name p5-Audio-Scan p5-Image-Scale p5-DBD-SQLite p5-Class-XSAccessor p5-Template-Toolkit p5-IO-Interface sox
 
# removing some obsoletes modules shipped with LMS preventing the server to start
# we are going to use the ones previously installed
mv /usr/local/lms/CPAN/DBD/SQLite.pm /usr/local/lms/CPAN/DBD/SQLite.pm.old
mv /usr/local/lms/CPAN/Class/XSAccessor.pm /usr/local/lms/CPAN/Class/XSAccessor.pm.old
mv /usr/local/lms/CPAN/Template.pm /usr/local/lms/CPAN/Template.pm.old
mv /usr/local/lms/CPAN/Compress/Raw/Zlib.pm /usr/local/lms/CPAN/Compress/Raw/Zlib.pm.old  
# installing the Media::Scan module compiled by your servitor
mkdir -p $installdir/CPAN/arch/5.16/amd64-freebsd-thread-multi/auto/Media/Scan
cp Scan.so $installdir/CPAN/arch/5.16/amd64-freebsd-thread-multi/auto/Media/Scan/
chown -R $user:$group $installdir
 
# service install
cp lms /usr/local/etc/rc.d
chmod +x /usr/local/etc/rc.d/lms
 
# autostart at boot
if ! fgrep -q lms_enable /etc/rc.conf; then
    echo 'lms_enable="YES"' >> /etc/rc.conf
fi
 
# LMS start
sh /usr/local/etc/rc.d/lms onestart
 
cat <<EOF
 
=================================================
 
Okay, $version is installed in your jail!
 
It has been configured to auto start at boot, and has been already launched for an instant use.
 
Just browse to http://your_jail_ip:9000
 
You can manually stop/start LMS with :
    service lms onestop/onestart
 
You can now delete your tmp dir!
 
=================================================
 
EOF
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
Gonna move this to guides. This isn't exactly a guide the way they normally are, but its good enough with the script. Good work! I'll be trying this out later tonight!
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
So I gave this a try...

This is mostly for those that like more details because they are so noobly....

For jail settings the only things I had checked were "autostart" and "vanilla".

Put the script in / and gave it 777 permissions.

The script downloaded the lms-freenas-amd64.tgz file without a problem. (I bet I downloaded it 5 times from your server.. sorry for that)

pkg then did an update(it was automatic so don't worry about how to do this).

I forgot my account info, so I had to do a reset.. hehe.

I forwarded my music folder from /mnt/tank/Entertainment/Music to /mnt/music using the FreeNAS WebGUI "Add Storage" option for the jail.

Then I went to http://ipaddressforthejail:9000/

Logged into my account and followed the little wizard. Within about 10 minutes my library had been scanned and I was up and running!

@djoole:

1. Any chance you can upload that .sh file to your post? We prefer to keep the install scripts available for everyone.

2. Also, unless you have a reason that you don't want me to post the .tgz file I'd like to provide it on the forums too. You can keep the script as it is where it downloads from your server, it's just nice to have a copy locally if you suddenly disappear. ;)You probably won't be able to upload the file, but I can force the file onto the forums.

3. How exactly are updates going to be available? I'm not familiar with the FreeBSD installation for the LMS. Is the .tgz file you provided a version you got from Logitech directly or did you compile it yourself? I found instructions for doing an install from ports, which makes me think you kindly provided the compiled version for us. Edit: Nevermind.. saw your comments in the script. ;)

4. Just as a note you mentioned FreeNAS 9.2.1.1. It should work on any jail available with FreeNAS 9.x since the jails are independent of the FreeNAS version. :) In my case, I installed it on 9.2.0 and it works just fine.

5. Good work! Flawless install!
 

eatkinola

Cadet
Joined
Mar 3, 2013
Messages
5
@djoole: Thank you! I'm able to use LMS again for the first time since upgrading FreeNAS from 8.3. By the way, your original post from several years ago helped me get LMS running within 8.3 in the first place. Your new installme.sh script is easy to follow. One problem I ran into, however ... for some reason, the "pkg install" (pkgng?) commands do not seem to work within my plugin jail. My 9.2.1 system was only recently setup and it's pretty fresh, so not sure what the problem is ... perhaps cannot locate pkg repositories? Anyway, I just compiled these packages from the ports collection and LMS works fine.

Thanks again for sharing your solutions with the community. - evan
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
eatkinola:
upgrade to 9.2.1.2. ;)
 

djoole

Contributor
Joined
Oct 3, 2011
Messages
158
Hi there,

@cyberjock:

1. If you mean posting the .sh content here, no problem I'll do that as soon as i've finished this post.

2. Idem for posting the tgz, you can add it to the post I'm cool with that. The only reason i wget it from the script is to simplify the process for the user. Also i named the tgz with a version independent name, so that the script still works if i update the LMS version

3. Updates are not automatic, it's up to someone to update the package when a new LMS version is out (download the latest LMS freebsd tgz from here, then rename it to lms.tgz and replace the one in lms-freenas-amd64.tgz and change the VERSION file content according to the new version... it's explained in the README and the script comments)
But Squeezeboxes and LMS are "dead", so there won't be much updates.

4. Thanks for the info! In fact I assume it will work on any jail with Perl 5.16


@eatkinola: pkg command not found on your system? I didn't know pkgng had been only added on 9.2.1.1!


And thank you both, it's nice to see people using this :)
Long live Squeezebox!!!
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
@eatkinola: pkg command not found on your system? I didn't know pkgng had been only added on 9.2.1.1!

Actually, it's been around since the 8.2.x+ jails but in 9.2.1 something happened to break some basic jail function. That's one of the reasons 9.2.1.1 came out. Then more fatal flaws were found resulting in 9.2.1.2. There's random rumors of a 9.2.1.3 but I'm not sure so we'll see what happens. But 9.2.1 and 9.2.1.1 were very broken releases and really shouldn't have been released(but we didn't know that at the time).
 

djoole

Contributor
Joined
Oct 3, 2011
Messages
158
I had to modify the install script, because Plugins installation wasn't working.
For those who already have installed LMS, here is the command you need to launch :
mv /usr/local/lms/CPAN/Compress/Raw/Zlib.pm /usr/local/lms/CPAN/Compress/Raw/Zlib.pm.old
 

eatkinola

Cadet
Joined
Mar 3, 2013
Messages
5
@djoole and cyberjock: After upgrading FreeNAS from 9.2.1 to 9.2.1.2, djoole's installation script worked flawlessly in a fresh plugin jail. Apparently, there were indeed some jail-associated bugs in 9.2.1 related to pkg. Thanks again. FYI, I noticed some quirky FreeNAS GUI behaviors were also fixed by upgrading.
 

dantest69

Cadet
Joined
Jun 19, 2013
Messages
8
Wow, what perfect timing! Thank you so much djoole for the script and hosting, and to cyberjock for his n00b-friendly instructions.

I can confirm that it worked perfectly for a (relative) n00b like me. Thanks for saving me hours of work to manually install LMS!
 

tommat

Cadet
Joined
Mar 28, 2014
Messages
2
This is excellent - just how an install should be. Worked straight away in a standard jail in 9.2.1.3. Now all I need is Calibre server working...
 

ChrisFitzFor

Cadet
Joined
Mar 31, 2014
Messages
8
Thanks as well from me. Worked like a charm!

The only bit I am having difficulties is adjusting the charset. I have files with german umlaute (äöüß ) and they are not properly displayed neither by the squeezebox nor the LMS webfrontend.
Under LMS system-information i have:
Betriebssystem: freebsd - DE - iso-8859-1
cause i changed the language of the webfrontend to german. Whatever language i choose i seem to be stuck to Latin-1.

I tried to to a 'setenv LC_ALL de_DE.utf8' in the jail, out of the jail but when lms starts with 'service lms onestart' i get:
'Your locale was detected as C, you may have problems with non-Latin filenames. Consider changing your LANG variable to the correct locale, i.e. en_US.utf8'

My locale inside the jail is properly set like this:
Code:
LANG=de_DE.UTF-8
LC_CTYPE="de_DE.UTF-8"
LC_COLLATE="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_MONETARY="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_ALL=de_DE.UTF-8


How can I tell LMS to use to a specific UTF8-charset and not Latin1?

Thanks for help!
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
Ok, so I've encountered a new problem. Inside the jail I decided to do a security audit...

Code:
root@LMS:/usr/local/etc/pkg # pkg audit
freetype2-2.5.2 is vulnerable:
freetype2 -- Out of bounds read/write
WWW: http://portaudit.FreeBSD.org/1a0de610-a761-11e3-95fe-bcaec565249c.html

gnutls-2.12.23_3 is vulnerable:
gnutls -- multiple certificate verification issues
CVE: CVE-2014-1959
CVE: CVE-2014-0092
WWW: http://portaudit.FreeBSD.org/f645aa90-a3e8-11e3-a422-3c970e169bc2.html

python27-2.7.6_1 is vulnerable:
Python -- buffer overflow in socket.recvfrom_into()
CVE: CVE-2014-1912
WWW: http://portaudit.FreeBSD.org/8e5e6d42-a0fa-11e3-b09a-080027f2d077.html

subversion-1.8.5 is vulnerable:
subversion -- mod_dav_svn vulnerability
WWW: http://portaudit.FreeBSD.org/1839f78c-9f2b-11e3-980f-20cf30e32f6d.html

4 problem(s) in the installed packages found.


Ok, no problem. I was going to do upgrade all of the packages anyway...



Code:
root@LMS:/usr/local/etc/pkg # pkg update
Updating repository catalogue
root@LMS:/usr/local/etc/pkg # pkg upgrade
Updating repository catalogue
New version of pkg detected; it needs to be installed first.
Upgrades have been requested for the following 1 packages:

        Upgrading pkg: 1.2.6 -> 1.2.7

The upgrade will free 10 kB

1 MB to be downloaded

Proceed with upgrading packages [y/N]: y
pkg-1.2.7.txz                                              100% 1776KB   1.7MB/s   1.7MB/s   00:01
Checking integrity... done
[1/1] Upgrading pkg from 1.2.6 to 1.2.7... done
If you are upgrading from the old package format, first run:

  # pkg2ng
Updating repository catalogue
root@LMS:/usr/local/etc/pkg # pkg upgrade
Updating repository catalogue
Upgrades have been requested for the following 26 packages:

        Installing db48: 4.8.30.0
        Reinstalling binutils-2.24 (direct dependency changed)
        Upgrading ca_root_nss: 3.15.4 -> 3.15.5
        Upgrading freetype2: 2.5.2 -> 2.5.3
        Upgrading gmp: 5.1.3 -> 5.1.3_1
        Upgrading libiconv: 1.14_1 -> 1.14_3
        Upgrading libtheora: 1.1.1_3 -> 1.1.1_4
        Upgrading lzo2: 2.06_1 -> 2.06_2
        Upgrading mpfr: 3.1.2 -> 3.1.2_1
        Reinstalling neon29-0.29.6_4 (options changed)
        Upgrading p11-kit: 0.20.1 -> 0.20.2
        Upgrading pcre: 8.33 -> 8.34
        Upgrading perl5: 5.16.3_7 -> 5.16.3_8
        Upgrading pkgconf: 0.9.4 -> 0.9.5
        Upgrading python27: 2.7.6_1 -> 2.7.6_4
        Upgrading sox: 14.4.1_2 -> 14.4.1_3
        Upgrading sqlite3: 3.8.2 -> 3.8.4.1
        Upgrading wget: 1.14_2 -> 1.15
        Upgrading apr: 1.4.8.1.5.3 -> 1.5.0.1.5.3
        Installing gcc: 4.7.3
        Upgrading gcc47: 4.7.4.20140118 -> 4.7.4.20140315
        Upgrading gnutls: 2.12.23_3 -> 2.12.23_4
        Upgrading p5-DBD-SQLite: 1.40 -> 1.42
        Upgrading serf: 1.3.2_1 -> 1.3.4
        Upgrading subversion: 1.8.5 -> 1.8.8_1
        Upgrading aria2: 1.18.3 -> 1.18.4

The upgrade will require 368 MB more space

178 MB to be downloaded


Notice it wants to install gcc 4.7.3. That causes a conflict later. Here's just a sample snippet. It's actually a few hundred entries...

Code:
Conflict found on path /usr/local/lib/gcc47/libgij.so.13 between gcc47-4.7.4.20140315(lang/gcc47) and gcc-4.7.3(lang/gcc)

Conflict found on path /usr/local/lib/gcc47/libssp.so.0 between gcc47-4.7.4.20140315(lang/gcc47) and gcc-4.7.3(lang/gcc)

Conflict found on path /usr/local/lib/gcc47/libffi.so.4 between gcc47-4.7.4.20140315(lang/gcc47) and gcc-4.7.3(lang/gcc)

Conflict found on path /usr/local/lib/gcc47/libobjc.so.4 between gcc47-4.7.4.20140315(lang/gcc47) and gcc-4.7.3(lang/gcc)

Conflict found on path /usr/local/lib/gcc47/libgcj.so between gcc47-4.7.4.20140315(lang/gcc47) and gcc-4.7.3(lang/gcc)

Conflict found on path /usr/local/lib/gcc47/libsupc++.a between gcc47-4.7.4.20140315(lang/gcc47) and gcc-4.7.3(lang/gcc)

Conflict found on path /usr/local/lib/gcc47/libgfortran.a between gcc47-4.7.4.20140315(lang/gcc47) and gcc-4.7.3(lang/gcc)

Conflict found on path /usr/local/lib/gcc47/libffi.so between gcc47-4.7.4.20140315(lang/gcc47) and gcc-4.7.3(lang/gcc)

Conflict found on path /usr/local/lib/gcc47/libobjc.so between gcc47-4.7.4.20140315(lang/gcc47) and gcc-4.7.3(lang/gcc)

Conflict found on path /usr/local/lib/gcc47/libgcc_s.so.1 between gcc47-4.7.4.20140315(lang/gcc47) and gcc-4.7.3(lang/gcc)

Conflict found on path /usr/local/lib/gcc47/libmudflapth.so between gcc47-4.7.4.20140315(lang/gcc47) and gcc-4.7.3(lang/gcc)

Conflict found on path /usr/local/lib/gcc47/libssp.so between gcc47-4.7.4.20140315(lang/gcc47) and gcc-4.7.3(lang/gcc)

Conflict found on path /usr/local/lib/gcc47/libmudflap.so between gcc47-4.7.4.20140315(lang/gcc47) and gcc-4.7.3(lang/gcc)

Conflict found on path /usr/local/lib/gcc47/libffi.a between gcc47-4.7.4.20140315(lang/gcc47) and gcc-4.7.3(lang/gcc)

Conflict found on path /usr/local/lib/gcc47/libgcj-tools.so.13 between gcc47-4.7.4.20140315(lang/gcc47) and gcc-4.7.3(lang/gcc)

Conflict found on path /usr/local/lib/gcc47/libgomp.a between gcc47-4.7.4.20140315(lang/gcc47) and gcc-4.7.3(lang/gcc)

Conflict found on path /usr/local/lib/gcc47/libquadmath.a between gcc47-4.7.4.20140315(lang/gcc47) and gcc-4.7.3(lang/gcc)

Conflict found on path /usr/local/lib/gcc47/libgcj-tools.so between gcc47-4.7.4.20140315(lang/gcc47) and gcc-4.7.3(lang/gcc)

Conflict found on path /usr/local/lib/gcc47/libitm.so between gcc47-4.7.4.20140315(lang/gcc47) and gcc-4.7.3(lang/gcc)

Conflict found on path /usr/local/lib/gcc47/libquadmath.so.0 between gcc47-4.7.4.20140315(lang/gcc47) and gcc-4.7.3(lang/gcc)

Conflict found on path /usr/local/lib/gcc47/libitm.spec between gcc47-4.7.4.20140315(lang/gcc47) and gcc-4.7.3(lang/gcc)

Conflict found on path /usr/local/lib/gcc47/libgfortran.so.3 between gcc47-4.7.4.20140315(lang/gcc47) and gcc-4.7.3(lang/gcc)

Conflict found on path /usr/local/lib/gcc47/libgomp.so.1 between gcc47-4.7.4.20140315(lang/gcc47) and gcc-4.7.3(lang/gcc)

Conflict found on path /usr/local/lib/gcc47/security/classpath.security between gcc47-4.7.4.20140315(lang/gcc47) and gcc-4.7.3(lang/gcc)

Conflict found on path /usr/local/lib/gcc47/libstdc++.so.6-gdb.py between gcc47-4.7.4.20140315(lang/gcc47) and gcc-4.7.3(lang/gcc)

Conflict found on path /usr/local/lib/gcc47/libquadmath.so between gcc47-4.7.4.20140315(lang/gcc47) and gcc-4.7.3(lang/gcc)

Conflict found on path /usr/local/lib/gcc47/libgomp.spec between gcc47-4.7.4.20140315(lang/gcc47) and gcc-4.7.3(lang/gcc)

Conflict found on path /usr/local/lib/gcc47/libgfortran.so between gcc47-4.7.4.20140315(lang/gcc47) and gcc-4.7.3(lang/gcc)

Conflict found on path /usr/local/lib/gcc47/libmudflapth.so.0 between gcc47-4.7.4.20140315(lang/gcc47) and gcc-4.7.3(lang/gcc)

Conflict found on path /usr/local/lib/gcc47/libstdc++.a between gcc47-4.7.4.20140315(lang/gcc47) and gcc-4.7.3(lang/gcc)

Conflict found on path /usr/local/lib/gcc47/libmudflapth.a between gcc47-4.7.4.20140315(lang/gcc47) and gcc-4.7.3(lang/gcc)

Conflict found on path /usr/local/lib/gcc47/libgfortran.spec between gcc47-4.7.4.20140315(lang/gcc47) and gcc-4.7.3(lang/gcc)

Conflict found on path /usr/local/lib/gcc47/libitm.so.1 between gcc47-4.7.4.20140315(lang/gcc47) and gcc-4.7.3(lang/gcc)

Conflict found on path /usr/local/lib/gcc47/libmudflap.so.0 between gcc47-4.7.4.20140315(lang/gcc47) and gcc-4.7.3(lang/gcc)

Conflict found on path /usr/local/lib/gcc47/libobjc.a between gcc47-4.7.4.20140315(lang/gcc47) and gcc-4.7.3(lang/gcc)

Conflict found on path /usr/local/info/gcc47/cpp.info between gcc47-4.7.4.20140315(lang/gcc47) and gcc-4.7.3(lang/gcc)

Conflict found on path /usr/local/info/gcc47/cppinternals.info between gcc47-4.7.4.20140315(lang/gcc47) and gcc-4.7.3(lang/gcc)

Conflict found on path /usr/local/info/gcc47/gcc.info between gcc47-4.7.4.20140315(lang/gcc47) and gcc-4.7.3(lang/gcc)

Conflict found on path /usr/local/info/gcc47/gccinstall.info between gcc47-4.7.4.20140315(lang/gcc47) and gcc-4.7.3(lang/gcc)

Conflict found on path /usr/local/info/gcc47/gccint.info between gcc47-4.7.4.20140315(lang/gcc47) and gcc-4.7.3(lang/gcc)

Conflict found on path /usr/local/info/gcc47/gfortran.info between gcc47-4.7.4.20140315(lang/gcc47) and gcc-4.7.3(lang/gcc)

Conflict found on path /usr/local/info/gcc47/libgomp.info between gcc47-4.7.4.20140315(lang/gcc47) and gcc-4.7.3(lang/gcc)

Conflict found on path /usr/local/info/gcc47/libquadmath.info between gcc47-4.7.4.20140315(lang/gcc47) and gcc-4.7.3(lang/gcc)

Conflict found on path /usr/local/info/gcc47/libitm.info between gcc47-4.7.4.20140315(lang/gcc47) and gcc-4.7.3(lang/gcc)

Conflict found on path /usr/local/info/gcc47/cp-tools.info between gcc47-4.7.4.20140315(lang/gcc47) and gcc-4.7.3(lang/gcc)

Conflict found on path /usr/local/info/gcc47/gcj.info between gcc47-4.7.4.20140315(lang/gcc47) and gcc-4.7.3(lang/gcc)

So my question is: How do we deal with this? I tried doing pkg install -F since that shouldn't actually do the install of gcc 4.7.3, but it's installing it anyway. Also, it's clear that gcc 4.7.3 isn't currently installed because if I do pkg version I get this:

Code:
root@LMS:/usr/local/etc/pkg # pkg version
Updating repository catalogue
apr-1.4.8.1.5.3                    <
aria2-1.18.3                       <
base64-1.5_1                       =
binutils-2.24                      =
ca_root_nss-3.15.4                 <
db42-4.2.52_5                      =
expat-2.1.0                        =
ffmpeg-2.1.1_1,1                   =
flac-1.3.0_1                       =
fontconfig-2.11.0_1,1              =
freetype2-2.5.2                    <
gcc-ecj-4.5                        =
gcc47-4.7.4.20140118               <
gdbm-1.11                          =
gettext-0.18.3.1                   =
giflib-nox11-4.2.3_1               =
gmp-5.1.3                          <
gnutls-2.12.23_3                   <
gpac-libgpac-0.5.0,1               =
gsm-1.0.13                         =
iconv-2.0_4                        =
jpeg-8_4                           =
libao-1.1.0_1                      =
libffi-3.0.13_1                    =
libgpg-error-1.12                  =
libiconv-1.14_1                    <
libid3tag-0.15.1b                  =
libidn-1.28_1                      =
libltdl-2.4.2_2                    =
libmad-0.15.1b_4                   =
libogg-1.3.1,4                     =
libsndfile-1.0.25_3                =
libtasn1-3.3                       =
libtheora-1.1.1_3                  <
libtool-2.4.2_2                    =
libvorbis-1.3.4,3                  =
libvpx-1.3.0                       =
libxml2-2.8.0_3                    =
lzo2-2.06_1                        <
mpc-1.0.2                          =
mpfr-3.1.2                         <
neon29-0.29.6_4                    =
nettle-2.7.1                       =
opencv-core-2.4.7_1                =
orc-0.4.18                         =
p11-kit-0.20.1                     <
p5-AppConfig-1.66                  =
p5-Audio-Scan-0.93                 =
p5-Class-XSAccessor-1.19,1         =
p5-DBD-SQLite-1.40                 <
p5-DBI-1.631                       =
p5-Digest-SHA1-2.13                =
p5-EV-4.15,1                       =
p5-Filter-1.49                     =
p5-HTML-Parser-3.71                =
p5-HTML-Tagset-3.20                =
p5-IO-Interface-1.06_1             =
p5-Image-Scale-0.08_2              =
p5-JSON-XS-3.01                    =
p5-Sub-Name-0.05                   =
p5-Template-Toolkit-2.25           =
p5-Types-Serialiser-1.0            =
p5-XML-Parser-2.41_1               =
p5-YAML-LibYAML-0.41               =
p5-common-sense-3.6                =
pcre-8.33                          <
perl5-5.16.3_7                     <
pkg-1.2.7                          =
pkgconf-0.9.4                      <
png-1.5.18                         =
python27-2.7.6_1                   <
schroedinger-1.0.11_1              =
serf-1.3.2_1                       <
sox-14.4.1_2                       <
sqlite3-3.8.2                      <
subversion-1.8.5                   <
wget-1.14_2                        <
x264-0.136.2358_3                  =
xvid-1.3.2,1                       =


Keep in mind I have done nothing with this LMS server aside from what your script does and what I can do from the WebGUI in LMS. So this is a problem others are going to have when they try to upgrade in the future. I also took a snapshot before I started this, so i'll just roll back to the snapshot to undo this mess. ;)
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
Ok. Got a solution:

gcc47 was installed as a dependency for aria2. This was determined with pkg info -r gcc47.

So I removed aria2 and gcc47, then did an upgrade.

pkg remove aria2
pkg remove gcc47
pkg upgrade

Now the jail is all straightened out.

What baffles me is that aria2 wasn't installed by me(it's "yet another download tool") but I'm guessing it came with the ports jail. Hopefully I'm not going to regret removing aria2 later...
 

mrMuppet

Contributor
Joined
Mar 14, 2014
Messages
192
Hi. in generally LMS is working fine for me, but i cant 't get Trackstat get to work for me properly. I think it doesn't write a backup file. Even with a 777 for the Backup folder it insn't saving anyhting when i press "Backup to file"

What can i do?
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
Uh... what's trackstat? I can see if I have that myself. ;)
 

mrMuppet

Contributor
Joined
Mar 14, 2014
Messages
192
Trackstat is a Squeezebox Plugin: " TrackStat lets you rate your songs–and even better–it auto-rates songs as you play them. Play something through to completion, and its rating goes up. Skip it before it gets halfway finished and the rating goes down. It also keeps track of how often each song gets played. Over time, it builds up a very rich library of stats about your listening preferences, without you having to lift a finger. Then, Erland’s companion plugin Dynamic Playlists lets you easily build playlists based on your stats, for example to find your favorite not-recently-played songs. "
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
@ChrisFitzFor

Did you ever solve your problem with the locale settings? I'm having the same problem and I just can't figure this out myself either.
 
Status
Not open for further replies.
Top