Giter VIP home page Giter VIP logo

Comments (4)

mherger avatar mherger commented on June 25, 2024

You don't need LMS7 to patch the Radio. What issue did you encounter with LMS8?

from slimserver-platforms.

EdKingscote avatar EdKingscote commented on June 25, 2024

I have (v7.9.2, 1556796842, Thu May 2 13:44:50 CEST 2019) perl 5.026001 natively installed on OpenSUSE Leap 15.0, but the radio didn't want to connect as happens from time to time. The usual tricks of stopping/restarting the server didn't appear to be working, and when I noticed the official Docker image was now available I figured I'd give it a spin as it would be a much easier path to upgrading, and hopefully resolving the occasional disappearing server issues I've been having for a while.

I created a docker-compose file as follows:

version: '3'
services:
  lms:
    container_name: lms
    image: lmscommunity/logitechmediaserver
    volumes:
      - ./config:/config:rw
      - /home/me/music:/music:ro
      - /home/me/playlists:/playlist:ro
        #      - /etc/localtime:/etc/localtime:ro
        #      - /etc/timezone:/etc/timezone:ro
    ports:
      - 9001:9000/tcp
      - 9090:9090/tcp
      - 3483:3483/udp
    restart: always
    environment:
      - PUID=110
      - PGID=112

Docker startup complaining about access to the timezone stuff, so I just commented it out, I exposed 3483/udp as I was troubleshooting squeezelite-x seeing the server (as it didn't want to keep running between floors to get the basics going), and I set the UID/GID to match the squeezebox user on the host OS as I already had a native install.

I copied the files from the native install at /etc/squeezebox to the config directory (because I figured it would bring all my configuration over) and the image came online, did the music scan, and the radio attempted connection but told me a firmware upgrade was needed to connect. (Sorry, I don't have the exact message now). I then stopped the container, flipped back to running the old server natively, which decided it wanted to start behaving again, and I found and applied the manual patch instructions to my player so I could look at upgrading again easily in the near future.

If there is an easy way to remove the patch without doing a factory reset of the radio, I'd be happy to do so to reproduce the exact issue for further diagnosis. Right now my radio is reporting Firmware: 7.7.3-r16676

Sidenote: I now suspect that a copy of /var/lib/squeezeboxserver might be more useful than /etc/squeezeboxserver in terms of migrating all my existing stuff over to Docker without losing stuff, especially if I map in my existing music/playlists to the same spot to avoid a full rescan.

from slimserver-platforms.

mherger avatar mherger commented on June 25, 2024

I think you might be seeing an issue I've run into after the latest update: the 9000 port needs to be identical internally and externally. I've therefore pushed an update to the Dockerfile etc. to make this configurable through an environment variable.

The underlying issue is that LMS would tell connecting player on which port to expect the sound. LMS would tell the port itself is using, not what it's mapped to outside the container. Therefore in your case it would tell the player to connect on port 9000 - which it can't, because on the outside it's listening to port 9001.

from slimserver-platforms.

devdems avatar devdems commented on June 25, 2024

I also have the radio and there are no issues with 8.0.

from slimserver-platforms.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.