Posts by actionjack

    I tried all the vnc-clients I could find (real, tight, tiger, turbo), tried different keyboards and changing system keymaps of libreelec and ui language/keymaps but nothing helped. Copy, paste seems broken, nothing is being pasted.

    I connect from Win 10 pro with de_DE keymap set on the local machine. Currently using real VNC-Viewer.

    LibreELEC Version: devel-20181130210330-#1130

    Currently LibreELEC is setup like so:

     Interface language: english

    Character set: default

    Keyboard layouts: German QWERTZ

    Region default format: Central Europe

    LibreELEC keyboard Layout: de-latin1-nodeadkeys

    locale(set through official locale addon): de_DE 

    Some of the chars I get when connected with any vnc client:

    SHIFT+"='Ä'

    SHIFT+#='Ä'

    #=3

    SHIFT+6=/

    ALTGR+ß=#

    SHIFT+:=Ö 

    Alright. I figured it out.

    1. ssh to rapi/libreelec

    2. mkdir -p /storage/.kodi/docker/arm32v7/lms

    3. cd /storage/.kodi/docker/arm32v7/lms

    4. wget master.zip && unzip master.zip

    5. move all files from master.zip directly into the folder we just created /storage/.kodi/docker/arm32v7/lms

    6. Replace the existing Dockerfile with the following:

    FROM arm32v7/debian:stretch-slim

    ENV SQUEEZE_VOL /srv/squeezebox

    ENV LANG C.UTF-8

    ENV DEBIAN_FRONTEND noninteractive

    ENV PACKAGE_VERSION_URL=http://downloads.slimdevices.com/nightly/7.9/sc…5659378_arm.deb

    RUN apt-get update && \

    apt-get -y install curl wget faad flac lame sox libio-socket-ssl-perl && \

    apt-get clean

    RUN url=$PACKAGE_VERSION_URL && \

    curl -Lsf -o /tmp/logitechmediaserver.deb $url && \

    dpkg -i /tmp/logitechmediaserver.deb && \

    rm -f /tmp/logitechmediaserver.deb && \

    apt-get clean

    # This will be created by the entrypoint script.

    RUN userdel squeezeboxserver

    VOLUME $SQUEEZE_VOL

    EXPOSE 3483 3483/udp 9000 9090

    COPY entrypoint.sh /entrypoint.sh

    COPY start-squeezebox.sh /start-squeezebox.sh

    RUN chmod 755 /entrypoint.sh /start-squeezebox.sh

    ENTRYPOINT ["/entrypoint.sh"]

    7. still inside the folder /storage/.kodi/docker/arm32v7/lms do: docker build -t arm32v7/lms /storage/.kodi/docker/arm32v7/lms

    8. After creation is done > cd /storage/.kodi/addons/service.system.docker/examples

    9. nano logitech-media-server.service

    10. paste:


    [Unit]

    Description=logitech-media-server container

    Requires=service.system.docker.service

    After=service.system.docker.service

    [Service]

    Restart=always

    RestartSec=10s

    TimeoutStartSec=0

    ExecStartPre=-/bin/sh -c "mkdir -p /storage/.kodi/userdata/Apps/LMS"

    ExecStart=/storage/.kodi/addons/service.system.docker/bin/docker run \

    --rm \

    --name=logitech-media-server \

    --hostname=libreelec-logitech-media-server \

    -p 9000:9000 \

    -p 3483:3483 \

    -p 3483:3483/udp \

    -e TZ=Europe/Berlin \

    -v /storage/.kodi/userdata/Apps/LMS:/srv/squeezebox \

    -v /var/media:/srv/music \

    arm32v7-lms

    ExecStop=/storage/.kodi/addons/service.system.docker/bin/docker stop logitech-media-server

    [Install]

    WantedBy=multi-user.target

    11. systemctl enable /storage/.kodi/addons/service.system.docker/examples/logitech-media-server.service

    12. systemctl start logitech-media-server.service

    13. journalctl -u logitech-media-server should show the service has started

    14. open your browser and open your server...

    Alright. I figured it out.

    1. ssh to rapi/libreelec

    2. mkdir -p /storage/.kodi/docker/arm32v7/lms

    3. cd /storage/.kodi/docker/arm32v7/lms

    4. wget master.zip && unzip master.zip

    5. move all files from master.zip directly into the folder we just created /storage/.kodi/docker/arm32v7/lms

    6. Replace the existing Dockerfile with the following:

    FROM arm32v7/debian:stretch-slim

    ENV SQUEEZE_VOL /srv/squeezebox

    ENV LANG C.UTF-8

    ENV DEBIAN_FRONTEND noninteractive

    ENV PACKAGE_VERSION_URL=http://downloads.slimdevices.com/nightly/7.9/sc…5659378_arm.deb

    RUN apt-get update && \

    apt-get -y install curl wget faad flac lame sox libio-socket-ssl-perl && \

    apt-get clean

    RUN url=$PACKAGE_VERSION_URL && \

    curl -Lsf -o /tmp/logitechmediaserver.deb $url && \

    dpkg -i /tmp/logitechmediaserver.deb && \

    rm -f /tmp/logitechmediaserver.deb && \

    apt-get clean

    # This will be created by the entrypoint script.

    RUN userdel squeezeboxserver

    VOLUME $SQUEEZE_VOL

    EXPOSE 3483 3483/udp 9000 9090

    COPY entrypoint.sh /entrypoint.sh

    COPY start-squeezebox.sh /start-squeezebox.sh

    RUN chmod 755 /entrypoint.sh /start-squeezebox.sh

    ENTRYPOINT ["/entrypoint.sh"]

    7. still inside the folder /storage/.kodi/docker/arm32v7/lms do: docker build -t arm32v7/lms /storage/.kodi/docker/arm32v7/lms

    8. After creation is done > cd /storage/.kodi/addons/service.system.docker/examples

    9. nano logitech-media-server.service

    10. paste:

    [Unit]

    Description=logitech-media-server container

    Requires=service.system.docker.service

    After=service.system.docker.service

    [Service]

    Restart=always

    RestartSec=10s

    TimeoutStartSec=0

    ExecStartPre=-/bin/sh -c "mkdir -p /storage/.kodi/userdata/Apps/LMS"

    ExecStart=/storage/.kodi/addons/service.system.docker/bin/docker run \

    --rm \

    --name=logitech-media-server \

    --hostname=libreelec-logitech-media-server \

    -p 9000:9000 \

    -p 3483:3483 \

    -p 3483:3483/udp \

    -e TZ=Europe/Berlin \

    -v /storage/.kodi/userdata/Apps/LMS:/srv/squeezebox \

    -v /var/media:/srv/music \

    arm32v7-lms

    ExecStop=/storage/.kodi/addons/service.system.docker/bin/docker stop logitech-media-server

    [Install]

    WantedBy=multi-user.target

    11. systemctl enable /storage/.kodi/addons/service.system.docker/examples/logitech-media-server.service

    12. systemctl start logitech-media-server.service

    13. journalctl -u logitech-media-server should show the service has started

    14. open your browser and open your server...

    OK to make clear what i did:

    0. ssh to my rapi3 with libreelec 8.2.2 installed

    1. docker pull larsks/logitech-media-server

    2. /storage/.kodi/addons/service.system.docker/bin/docker run \

    -p 9000:9000 \

    -p 3483:3483 \

    -p 3483:3483/udp \

    -e TZ=Europe/Berlin \

    -v /storage/.kodi/userdata/Apps/LMS:/srv/squeezebox \

    -v /var/media:/srv/music \

    larsks/logitech-media-server

    and i get standard_init_linux.go:178: exec user process caused "exec format error"

    I Just cant get this working. I copied your service file, enabled and started it. then journalctl -u gives me:

    -- Logs begin at Sat 2017-12-16 01:37:55 CET, end at Sat 2018-01-13 18:31:41 CET. --

    Jan 13 18:28:40 LibreELEC systemd[1]: Starting logitech-media-server container...

    -- Logs begin at Sat 2017-12-16 01:37:55 CET, end at Sat 2018-01-13 18:31:41 CET. --

    Jan 13 18:28:40 LibreELEC systemd[1]: Starting logitech-media-server container...

    Jan 13 18:28:40 LibreELEC systemd[1]: Started logitech-media-server container.

    Jan 13 18:28:42 LibreELEC docker[661]: standard_init_linux.go:178: exec user process caused "exec format error"

    Jan 13 18:28:43 LibreELEC systemd[1]: logitech-media-server.service: Main process exited, code=exited, status=1/FAILURE

    Jan 13 18:28:43 LibreELEC docker[860]: Error response from daemon: No such container: logitech-media-server

    Jan 13 18:28:43 LibreELEC systemd[1]: logitech-media-server.service: Control process exited, code=exited status=1

    Jan 13 18:28:43 LibreELEC systemd[1]: logitech-media-server.service: Unit entered failed state.

    Jan 13 18:28:43 LibreELEC systemd[1]: logitech-media-server.service: Failed with result 'exit-code'.

    Jan 13 18:28:53 LibreELEC systemd[1]: logitech-media-server.service: Service hold-off time over, scheduling restart.

    Jan 13 18:28:53 LibreELEC systemd[1]: Stopped logitech-media-server container.

    Jan 13 18:28:53 LibreELEC systemd[1]: Starting logitech-media-server container...

    Jan 13 18:28:53 LibreELEC systemd[1]: Started logitech-media-server container.

    Jan 13 18:28:54 LibreELEC docker[947]: standard_init_linux.go:178: exec user process caused "exec format error"

    Jan 13 18:28:55 LibreELEC systemd[1]: logitech-media-server.service: Main process exited, code=exited, status=1/FAILURE

    Jan 13 18:28:55 LibreELEC docker[1087]: Error response from daemon: No such container: logitech-media-server

    Jan 13 18:28:55 LibreELEC systemd[1]: logitech-media-server.service: Control process exited, code=exited status=1

    Jan 13 18:28:55 LibreELEC systemd[1]: logitech-media-server.service: Unit entered failed state.

    Jan 13 18:28:55 LibreELEC systemd[1]: logitech-media-server.service: Failed with result 'exit-code'.

    Jan 13 18:29:05 LibreELEC systemd[1]: logitech-media-server.service: Service hold-off time over, scheduling restart.

    Jan 13 18:29:05 LibreELEC systemd[1]: Stopped logitech-media-server container.

    Jan 13 18:29:05 LibreELEC systemd[1]: Starting logitech-media-server container...

    Jan 13 18:29:05 LibreELEC systemd[1]: Started logitech-media-server container.

    Jan 13 18:29:06 LibreELEC docker[1100]: standard_init_linux.go:178: exec user process caused "exec format error"

    Jan 13 18:29:06 LibreELEC systemd[1]: logitech-media-server.service: Main process exited, code=exited, status=1/FAILURE

    Jan 13 18:29:07 LibreELEC docker[1243]: Error response from daemon: No such container: logitech-media-server

    Jan 13 18:29:07 LibreELEC systemd[1]: logitech-media-server.service: Control process exited, code=exited status=1

    Jan 13 18:29:07 LibreELEC systemd[1]: logitech-media-server.service: Unit entered failed state.

    Jan 13 18:29:07 LibreELEC systemd[1]: logitech-media-server.service: Failed with result 'exit-code'.