Home of the Squeezebox™ & Transporter® network music players.
Page 50 of 60 FirstFirst ... 404849505152 ... LastLast
Results 491 to 500 of 594
  1. #491
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,666

    'Official' docker container for LMS?

    > will list the plugins, below that I'd like to migrate or install and

    That's a list of repositories, not plugins. I have a couple of plugins
    in the repository. But you probably don't need those entries at all, as
    those plugins would be part of the main repository file anyway.

    Can you tell which plugins would not be available?

    > in a long time. I'm mostly interested in migrating my essential Earland
    > Plugins like CustomBrowse, CustomScan, CustomSkip... "Licensed" plugins
    > which appear under the License manager settings, but they don't have an
    > option to be selected for installation...


    Some of Erland's plugins are available if you check the box for
    "unsupported plugins" at the bottom of the Plugins page.

    > I'm also wondering about Album
    > Review, BBCi Player, Biography, Dynamic Playlist, SqlPlaylist and


    Album Review & Biography I replaced with Music & Artist Information many
    years ago. There's no need for them any more.

  2. #492
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    5,102
    and for BBC iPlayer the recommendation nowadays is to switch to BBC Sounds plugin - but you will need a BBC account to use it.
    Paul Webster
    Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, ABC Australia and CBC/Radio-Canada
    and, via the extra "Radio Now Playing" plugin lots more - see https://forums.slimdevices.com/showt...Playing-plugin

  3. #493
    Junior Member
    Join Date
    Jul 2021
    Posts
    12

    How to install further deb packages into the container (image)?

    Hi,

    I want to use the LMS Announce plugin which requires a Text2Speak engine installed. So I moved to the running LMS container via
    Code:
    docker exec -it --user root lms bash
    and tried to install espeak via
    Code:
    apt-get install espeak
    but I am getting these errors:
    Code:
    Fetched 4221 kB in 3s (1664 kB/s)
    debconf: delaying package configuration, since apt-utils is not installed
    tar: ./control: Cannot utime: Operation not permitted
    tar: ./md5sums: Cannot utime: Operation not permitted
    [...]
    The docker container is run on a Raspberry Pi.

    Sounds like a permission issue, any idea how to resolve it?
    Thanks!
    Last edited by Rothaar; 2021-07-02 at 04:10.

  4. #494
    Senior Member
    Join Date
    Apr 2008
    Location
    France
    Posts
    2,272
    Why not create a Dockerfile that installs espeak on top of the official image?
    2 SB 3 • 1 PCP 7 • Libratone Loop, Zipp, Zipp Mini • iPeng (iPhone + iPad) • LMS 8.1 (docker) with plugins: CD Player, WaveInput by bpa • Material Skin by Craig Drummond • IRBlaster by Gwendesign (Felix) • Smart Mix, Music Walk With Me, What Was That Tune? by Michael Herger • PowerSave by Jason Holtzapple • Song Info, Song Lyrics by Erland Isaksson • BBC Sounds by Stuart McLean • AirPlay Bridge by philippe_44 • Auto Dim Display, SaverSwitcher, ContextMenu by Peter Watkins.

  5. #495
    Junior Member
    Join Date
    Jul 2021
    Posts
    12

    Cannot install further packages

    Quote Originally Posted by epoch1970 View Post
    Why not create a Dockerfile that installs espeak on top of the official image?
    Hi epoch1970. Thanks for the hint, I tried this with the following Dockerfile:

    Code:
    #Base image
    FROM lmscommunity/logitechmediaserver:dev
    
    # Install packages
    RUN apt-get update -qq  --allow-unauthenticated --allow-insecure-repositories && \
            apt-get install --allow-unauthenticated --no-install-recommends -qy espeak && \
            apt-get clean -qy && \
            rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
    Unfortunatelly, I am getting same results...
    Code:
    pi@storm:~/lms $ sudo docker build -t lms-tts - < Dockerfile
    Sending build context to Docker daemon  2.048kB
    Step 1/2 : FROM lmscommunity/logitechmediaserver:dev
     ---> 76aebff94a46
    Step 2/2 : RUN apt-get update -qq  --allow-unauthenticated --allow-insecure-repositories &&     apt-get install --allow-unauthenticated --no-install-recommends -qy espeak &&   apt-get clean -qy &&    rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
     ---> Running in 94bf333d4264
    W: GPG error: http://security.debian.org/debian-security bullseye-security InRelease: At least one invalid signature was encountered.
    W: The repository 'http://security.debian.org/debian-security bullseye-security InRelease' is not signed.
    W: GPG error: http://deb.debian.org/debian bullseye InRelease: At least one invalid signature was encountered.
    W: The repository 'http://deb.debian.org/debian bullseye InRelease' is not signed.
    W: GPG error: http://deb.debian.org/debian bullseye-updates InRelease: At least one invalid signature was encountered.
    W: The repository 'http://deb.debian.org/debian bullseye-updates InRelease' is not signed.
    Reading package lists...
    Building dependency tree...
    Reading state information...
    The following additional packages will be installed:
      espeak-data libasound2 libasound2-data libasyncns0 libbsd0 libdbus-1-3
      libespeak1 libjack-jackd2-0 libmd0 libnsl2 libportaudio2 libpulse0
      libsamplerate0 libsonic0 libtirpc-common libtirpc3 libwrap0 libxau6 libxcb1
      libxdmcp6
    Suggested packages:
      libasound2-plugins alsa-utils jackd2 pulseaudio
    Recommended packages:
      alsa-ucm-conf alsa-topology-conf dbus
    The following NEW packages will be installed:
      espeak espeak-data libasound2 libasound2-data libasyncns0 libbsd0
      libdbus-1-3 libespeak1 libjack-jackd2-0 libmd0 libnsl2 libportaudio2
      libpulse0 libsamplerate0 libsonic0 libtirpc-common libtirpc3 libwrap0
      libxau6 libxcb1 libxdmcp6
    0 upgraded, 21 newly installed, 0 to remove and 62 not upgraded.
    Need to get 3788 kB of archives.
    After this operation, 8314 kB of additional disk space will be used.
    WARNING: The following packages cannot be authenticated!
      libasound2-data libasound2 libsamplerate0 libjack-jackd2-0 libportaudio2
      libasyncns0 libdbus-1-3 libtirpc-common libtirpc3 libnsl2 libwrap0 libxau6
      libmd0 libbsd0 libxdmcp6 libxcb1 libpulse0 libsonic0 espeak-data libespeak1
      espeak
    Authentication warning overridden.
    Get:1 http://deb.debian.org/debian bullseye/main armhf libasound2-data all 1.2.4-1.1 [38.2 kB]
    Get:2 http://deb.debian.org/debian bullseye/main armhf libasound2 armhf 1.2.4-1.1 [310 kB]
    Get:3 http://deb.debian.org/debian bullseye/main armhf libsamplerate0 armhf 0.2.1+ds0-1 [948 kB]
    Get:4 http://deb.debian.org/debian bullseye/main armhf libjack-jackd2-0 armhf 1.9.17~dfsg-1 [246 kB]
    Get:5 http://deb.debian.org/debian bullseye/main armhf libportaudio2 armhf 19.6.0-1.1 [57.6 kB]
    Get:6 http://deb.debian.org/debian bullseye/main armhf libasyncns0 armhf 0.8-6+b2 [11.9 kB]
    Get:7 http://deb.debian.org/debian bullseye/main armhf libdbus-1-3 armhf 1.12.20-2 [196 kB]
    Get:8 http://deb.debian.org/debian bullseye/main armhf libtirpc-common all 1.3.1-1 [13.4 kB]
    Get:9 http://deb.debian.org/debian bullseye/main armhf libtirpc3 armhf 1.3.1-1 [72.1 kB]
    Get:10 http://deb.debian.org/debian bullseye/main armhf libnsl2 armhf 1.3.0-2 [33.9 kB]
    Get:11 http://deb.debian.org/debian bullseye/main armhf libwrap0 armhf 7.6.q-31 [56.5 kB]
    Get:12 http://deb.debian.org/debian bullseye/main armhf libxau6 armhf 1:1.0.9-1 [19.0 kB]
    Get:13 http://deb.debian.org/debian bullseye/main armhf libmd0 armhf 1.0.3-3 [27.4 kB]
    Get:14 http://deb.debian.org/debian bullseye/main armhf libbsd0 armhf 0.11.3-1 [103 kB]
    Get:15 http://deb.debian.org/debian bullseye/main armhf libxdmcp6 armhf 1:1.1.2-3 [24.9 kB]
    Get:16 http://deb.debian.org/debian bullseye/main armhf libxcb1 armhf 1.14-3 [136 kB]
    Get:17 http://deb.debian.org/debian bullseye/main armhf libpulse0 armhf 14.2-2 [259 kB]
    Get:18 http://deb.debian.org/debian bullseye/main armhf libsonic0 armhf 0.2.0-10 [9816 B]
    Get:19 http://deb.debian.org/debian bullseye/main armhf espeak-data armhf 1.48.15+dfsg-2 [1011 kB]
    Get:20 http://deb.debian.org/debian bullseye/main armhf libespeak1 armhf 1.48.15+dfsg-2 [143 kB]
    Get:21 http://deb.debian.org/debian bullseye/main armhf espeak armhf 1.48.15+dfsg-2 [71.2 kB]
    debconf: delaying package configuration, since apt-utils is not installed
    Fetched 3788 kB in 3s (1306 kB/s)
    tar: ./control: Cannot utime: Operation not permitted
    tar: ./md5sums: Cannot utime: Operation not permitted
    tar: .: Cannot utime: Operation not permitted
    tar: Exiting with failure status due to previous errors
    dpkg-deb: error: tar subprocess returned error exit status 2
    dpkg: error processing archive /tmp/apt-dpkg-install-uED2va/00-libasound2-data_1.2.4-1.1_all.deb (--unpack):
     dpkg-deb --control subprocess returned error exit status 2
    
    [...]
    
    Errors were encountered while processing:
     /tmp/apt-dpkg-install-uED2va/00-libasound2-data_1.2.4-1.1_all.deb
     /tmp/apt-dpkg-install-uED2va/01-libasound2_1.2.4-1.1_armhf.deb
     /tmp/apt-dpkg-install-uED2va/02-libsamplerate0_0.2.1+ds0-1_armhf.deb
     /tmp/apt-dpkg-install-uED2va/03-libjack-jackd2-0_1.9.17~dfsg-1_armhf.deb
     /tmp/apt-dpkg-install-uED2va/04-libportaudio2_19.6.0-1.1_armhf.deb
     /tmp/apt-dpkg-install-uED2va/05-libasyncns0_0.8-6+b2_armhf.deb
     /tmp/apt-dpkg-install-uED2va/06-libdbus-1-3_1.12.20-2_armhf.deb
     /tmp/apt-dpkg-install-uED2va/07-libtirpc-common_1.3.1-1_all.deb
     /tmp/apt-dpkg-install-uED2va/08-libtirpc3_1.3.1-1_armhf.deb
     /tmp/apt-dpkg-install-uED2va/09-libnsl2_1.3.0-2_armhf.deb
     /tmp/apt-dpkg-install-uED2va/10-libwrap0_7.6.q-31_armhf.deb
     /tmp/apt-dpkg-install-uED2va/11-libxau6_1%3a1.0.9-1_armhf.deb
     /tmp/apt-dpkg-install-uED2va/12-libmd0_1.0.3-3_armhf.deb
     /tmp/apt-dpkg-install-uED2va/13-libbsd0_0.11.3-1_armhf.deb
     /tmp/apt-dpkg-install-uED2va/14-libxdmcp6_1%3a1.1.2-3_armhf.deb
     /E: Sub-process /usr/bin/dpkg returned an error code (1)
    The command '/bin/sh -c apt-get update -qq  --allow-unauthenticated --allow-insecure-repositories &&    apt-get install --allow-unauthenticated --no-install-recommends -qy espeak &&   apt-get clean -qy &&    rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*' returned a non-zero code: 100

  6. #496
    Senior Member
    Join Date
    Apr 2008
    Location
    France
    Posts
    2,272
    Looks to be specific to an arch or docker version?

    Code:
    root@paris:/tmp/test# arch
    x86_64
    
    root@paris:/tmp/test# docker --version
    Docker version 20.10.6, build 370c289
    
    root@paris:/tmp/test# cat Dockerfile 
    #Base image
    FROM lmscommunity/logitechmediaserver:dev
    
    # Install packages
    RUN apt-get update && apt-get upgrade -y && \
            apt-get install --no-install-recommends -y espeak && \
            apt-get clean && \
            rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
    
    root@paris:/tmp/test# docker build -t test --network host .
    Sending build context to Docker daemon  2.048kB
    Step 1/2 : FROM lmscommunity/logitechmediaserver:dev
     ---> d2309d219fe9
    Step 2/2 : RUN apt-get update && apt-get upgrade -y &&         apt-get install --no-install-recommends -y espeak &&         apt-get clean &&         rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
     ---> Running in aad8c980e43b
    Get:1 http://deb.debian.org/debian bullseye InRelease [150 kB]
    ...
    Setting up espeak (1.48.15+dfsg-2) ...
    Processing triggers for libc-bin (2.31-12) ...
    Removing intermediate container aad8c980e43b
     ---> fabe6203633c
    Successfully built fabe6203633c
    Successfully tagged test:latest
    2 SB 3 • 1 PCP 7 • Libratone Loop, Zipp, Zipp Mini • iPeng (iPhone + iPad) • LMS 8.1 (docker) with plugins: CD Player, WaveInput by bpa • Material Skin by Craig Drummond • IRBlaster by Gwendesign (Felix) • Smart Mix, Music Walk With Me, What Was That Tune? by Michael Herger • PowerSave by Jason Holtzapple • Song Info, Song Lyrics by Erland Isaksson • BBC Sounds by Stuart McLean • AirPlay Bridge by philippe_44 • Auto Dim Display, SaverSwitcher, ContextMenu by Peter Watkins.

  7. #497
    Junior Member
    Join Date
    Jul 2021
    Posts
    12
    Interesting. I am using an Raspberry Pi with arm architecture.

    Code:
    pi@storm:~/lms $ arch
    armv7l
    
    pi@storm:~/lms $ docker --version
    Docker version 18.09.1, build 4c52b90
    
    pi@storm:~/lms $ sudo docker build -t lms-tts-test --network host .
    Sending build context to Docker daemon  78.38MB
    Step 1/2 : FROM lmscommunity/logitechmediaserver:dev
     ---> fcb6ba437395
    Step 2/2 : RUN apt-get update && apt-get upgrade -y &&         apt-get install --no-install-recommends -y espeak &&         apt-get clean &&         rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
     ---> Running in 6317d54b0bb2
    Get:1 http://security.debian.org/debian-security bullseye-security InRelease [44.1 kB]
    Get:2 http://deb.debian.org/debian bullseye InRelease [150 kB]
    Get:3 http://deb.debian.org/debian bullseye-updates InRelease [40.1 kB]
    Err:1 http://security.debian.org/debian-security bullseye-security InRelease
      At least one invalid signature was encountered.
    Err:2 http://deb.debian.org/debian bullseye InRelease
      At least one invalid signature was encountered.
    Err:3 http://deb.debian.org/debian bullseye-updates InRelease
      At least one invalid signature was encountered.
    Reading package lists...
    W: GPG error: http://security.debian.org/debian-security bullseye-security InRelease: At least one invalid signature was encountered.
    E: The repository 'http://security.debian.org/debian-security bullseye-security InRelease' is not signed.
    W: GPG error: http://deb.debian.org/debian bullseye InRelease: At least one invalid signature was encountered.
    E: The repository 'http://deb.debian.org/debian bullseye InRelease' is not signed.
    W: GPG error: http://deb.debian.org/debian bullseye-updates InRelease: At least one invalid signature was encountered.
    E: The repository 'http://deb.debian.org/debian bullseye-updates InRelease' is not signed.
    The command '/bin/sh -c apt-get update && apt-get upgrade -y &&         apt-get install --no-install-recommends -y espeak &&         apt-get clean &&         rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*' returned a non-zero code: 100
    Do you know if I have to do something special on arm?

  8. #498
    Junior Member
    Join Date
    Jul 2021
    Posts
    12
    I got it working now.

    I first updated libseccomp but this dind't help.
    After this I upgraded the docker engine from the version included in RaspberryPi OS (raspbian) from v18 to v20 using these instructions.

    Cannot say if the libseccomp was necessary but it is working now as expected. Thanks @epoch1970 for the docker version hint.

    Have a nice day!

  9. #499
    Junior Member
    Join Date
    Mar 2009
    Posts
    8
    Hi all.

    I was hoping someone might be able to advise me of how I can get docker with LMS working. I followed the tutorial and installed LMS 8.2.0 with docker, I set it up like this

    Name:  Capture.PNG
Views: 318
Size:  13.4 KB

    but my music folder is not visible

    Name:  Capture2.PNG
Views: 316
Size:  5.4 KB

    I have no idea where to even begin to fix this.

    Thanks for any help.

  10. #500
    @Fudgemunk

    This could be a permissions problem, or simply that the source folders (i.e. the ones on the left in your screen grab) don't actually exist.

    I'm not sure how much help I can be with most of it, apart form to suggest you provide a few more details, such as the platform (is this a Synology NAS?) and a link to the tutorial you followed.

    One thing I can suggest is that you do not put the playlist folder inside the readonly music folder as I believe that doesn't work (the playlist folder will end up readonly despite not being marked as such, so you will be unable to save playlists within LMS).

Posting Permissions

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