Home of the Squeezebox™ & Transporter® network music players.
Page 8 of 8 FirstFirst ... 678
Results 71 to 77 of 77
  1. #71
    Junior Member
    Join Date
    Jul 2019
    Posts
    1

    Is this working on FreeNAS-9.10.2-U6 (561f0d7a1)

    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?

  2. #72

    Apparently nobody is making FreeBSD download tarballs.

    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 http://downloads.slimdevices.com/Log....1-FreeBSD.tgz
    available to fetch.

    7.9.0 has a FreeBSD tarball.
    But 7.9.1 does not.
    There's no FreeBSD tarball in the 7.9 nightlies any more.

    What to do?

  3. #73
    Senior Member
    Join Date
    Jan 2010
    Location
    Hertfordshire
    Posts
    3,040
    Quote Originally Posted by wcattey View Post
    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 http://downloads.slimdevices.com/Log....1-FreeBSD.tgz
    available to fetch.

    7.9.0 has a FreeBSD tarball.
    But 7.9.1 does not.
    There's no FreeBSD tarball in the 7.9 nightlies any more.

    What to do?
    I know nothing about FREEBSD but is it the fourth download on this page?
    http://downloads-origin.slimdevices....ghtly/?ver=7.9

  4. #74

    Ok. Then I know how to fix this.

    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:
    root@lms_9:~/jail # diff -c build-lms.sh.orig build-lms.sh
    *** build-lms.sh.orig	Mon Sep  2 13:49:55 2019
    --- build-lms.sh	Mon Sep  2 13:43:28 2019
    ***************
    *** 3,9 ****
      # Use pkg in unattended mode
      export ASSUME_ALWAYS_YES=YES
      
    ! URL=$(curl -s 'http://www.mysqueezebox.com/update/?version=7.9.0&revision=1&geturl=1&os=readynas' | sed -e 's/-sparc-readynas.bin$/-FreeBSD.tgz/')
      TGZ=$(basename $URL)
      LMS=$(basename $TGZ .tgz)
      DIR=/tmp/LMS
    --- 3,10 ----
      # Use pkg in unattended mode
      export ASSUME_ALWAYS_YES=YES
      
    ! URL=$(curl -s 'http://www.mysqueezebox.com/update/?version=7.9.2&revision=1&geturl=1&os=readynas' | sed -e 's/-sparc-readynas.bin$/.tgz/')
    ! # URL=http://downloads.slimdevices.com/nightly/?ver=7.9/logitechmediaserver-7.9.0-FreeBSD.tgz
      TGZ=$(basename $URL)
      LMS=$(basename $TGZ .tgz)
      DIR=/tmp/LMS

  5. #75

    If you upgrade perl by mistake, here's how to fix it.

    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
    upgraded perl, installed a bunch of things it thought emacs needed, and left the system with
    a totally broken lms, and NOT a running emacs.

    I was helpfully clued in on how to fix this:
    The old package is most likely in /var/cache/pkg. You can remove the current version and add the old package with pkg add <pkgname.txz>. It would be good to sanity check the end result with pkg check -d and pkg check -B to make sure things are in a consistent state.
    I did
    pkg delete perl5
    and it deleted all the crap emacs25 installed including the broken emacs 25:

    Code:
    root@lms_1:/var/cache/pkg # pkg delete perl5
    Checking integrity... done (0 conflicting)
    Deinstallation has been requested for the following 45 packages (of 0 packages in the universe):
    
    Installed packages to be REMOVED:
    	perl5-5.24.1.r4_1
    	p5-Error-0.17023
    	p5-Socket-2.024
    	p5-IO-Socket-IP-0.36
    	p5-Mozilla-CA-20141217
    	p5-App-cpanminus-1.7042
    	p5-MIME-Base64-3.15
    	p5-Digest-HMAC-1.03_1
    	p5-Net-SSLeay-1.78
    	p5-Net-SMTP-SSL-1.01_3
    	p5-Log-Log4perl-1.48
    	p5-IO-Socket-SSL-2.012
    	git-2.3.0
    	ImageMagick-6.9.6.4,1
    	p5-GSSAPI-0.28_1
    	p5-Authen-SASL-2.16_1
    	p5-Audio-Scan-0.96
    	llvm37-3.7.1_4
    	glib-2.46.2_4
    	emacs25-25.1,3
    	libEGL-11.2.2
    	harfbuzz-1.3.4
    	avahi-app-0.6.31_5
    	shared-mime-info-1.5
    	gtk-update-icon-cache-2.24.29
    	pango-1.38.0_1
    	libcroco-0.6.11
    	cairo-1.14.6_1,2
    	dconf-0.24.0_1
    	polkit-0.113_2
    	ORBit2-2.14.19_2
    	libIDL-0.8.14_3
    	liblqr-1-0.4.2
    	dbus-glib-0.104
    	gconf2-3.2.6_4
    	desktop-file-utils-0.22_4
    	gobject-introspection-1.46.0
    	libgsf-1.14.36
    	gtk2-2.24.29_3
    	atk-2.18.0
    	librsvg2-2.40.16
    	gdk-pixbuf2-2.32.3_1
    	cups-2.2.1
    	ghostscript9-agpl-base-9.16_5
    	ghostscript9-agpl-x11-9.16_2
    
    Number of packages to be removed: 45
    I then looked in /var/cache/pkg for all the p5 packages and worked at re-installing them.

    IMPORTANT: If you go to unbreak your world, beware trying to install too recent a version. It will try to upgrade to the new/broken perl:

    Code:
    root@lms_1:/var/cache/pkg # pkg install p5-Authen-SASL-2.16_1-4fbf72767e.txz
    Updating FreeBSD repository catalogue...
    FreeBSD repository is up-to-date.
    All repositories are up-to-date.
    The following 4 package(s) will be affected (of 0 checked):
    
    New packages to be INSTALLED:
    	p5-Authen-SASL: 2.16_1
    	p5-Digest-HMAC: 1.03_1
    	p5-GSSAPI: 0.28_1
    
    Installed packages to be UPGRADED:
    	perl5: 5.18.4_11 -> 5.24.1.r4_1
    
    Number of packages to be installed: 3
    Number of packages to be upgraded: 1
    
    The process will require 2 MiB more space.
    7 KiB to be downloaded.
    
    Proceed with this action? [y/N]:
    Here is a script that I evolved as I installed things in the right order:
    (Your mileage may vary.)

    Code:
    #! /bin/sh
    pkg delete perl5
    pkg install perl5-5.18.4_11-baa451b56b.txz
    pkg install p5-Error-0.17022-5ab151c119.txz
    pkg install p5-App-cpanminus
    pkg install p5-Socket-2.018-bf7b7818d6.txz
    # pkg install p5-Authen-SASL-2.16_1-4fbf72767e.txz
    pkg install p5-Mozilla-CA-20141217-b320160028.txz
    pkg install p5-IO-Socket-IP-0.36-4b763498f5.txz
    pkg install  p5-Net-SSLeay-1.68-dc0f6a2339.txz
    pkg install p5-IO-Socket-SSL-2.012-d1b8252b49.txz
    pkg install p5-Digest-HMAC-1.03_1-86e59fe7ab.txz
    pkg install p5-GSSAPI-0.28_1-22724ab443.txz
    pkg install p5-Log-Log4perl-1.48-ab3a38e230.txz
    pkg install p5-Net-SMTP-SSL-1.01_3-378c8cc382.txz

  6. #76

    Q: What config files should be copied into a new FreeBSD Jail hosting LMS?

    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 files do I need to copy out of my old jail?

    I think in the dusty realms of the past, I actually linked a few config files out to a shared volume, so I'm VERY fearful that, if I run my new LMS server in my new deployment jail, I'll trash my running old version because I'll overwrite customizations I've built up since 2015.

    Any pointers to docs or inventories of active config files that are set/modified in the operation of LMS would be most welcome!
    LMS 7.9 - 2xSB2, 2xBoom, 2xKodi, Ocean Digital WR2300S, Denon AVR-X6200W, SHIELD Android TV

  7. #77
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,295

    How to: Installing LMS 7.9 nightly in aFreeBSD jail on FreeNAS 9.3

    > 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 the FreeBSD specificx.

    --

    Michael

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •