Giter Club home page Giter Club logo

Comments (8)

srd424 avatar srd424 commented on July 30, 2024

Have you got any error messages / logs that might clue me in a bit? What version of Raspbian, docker, etc?

from audioserve-docker.

srd424 avatar srd424 commented on July 30, 2024

(FWIW, I run on a Raspberry Pi, but I use podman, might be worth a try. I will dig mine out and double-check the latest version runs OK on it.)

from audioserve-docker.

uGeek avatar uGeek commented on July 30, 2024

In the logs it appears:

Attaching to audioserve
audioserve exited with code 159

I am using docker-compose

from audioserve-docker.

srd424 avatar srd424 commented on July 30, 2024

Interesting - exit code 159 implies killed by signal 31, which is SIGSYS (unknown system call) on ARM. You could try passing --privileged to docker run and seeing if that helps? Syscall filtering can be problematic, particularly on ARM which IIRC uses syscalls for things like memory barriers, at least on 32 bit.

What version of Raspbian? (lsb_release -a should tell you.)

from audioserve-docker.

srd424 avatar srd424 commented on July 30, 2024

According to docker/compose#123 (comment), you can enable privileged mode in docker compose like this:

version: "3"

services:
  audioserve:
    image: ghcr.io/srd424/audioserve-docker:v0.22.0
    restart: unless-stopped
    command: --tags /audiobooks
    privileged: true
    environment:
      - "AUDIOSERVE_SHARED_SECRET=VGM4oDS6wGKge9"
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - "./config:/home/audioserve/.audioserve"
      - "/path/to/Audio/Books:/audiobooks"

from audioserve-docker.

uGeek avatar uGeek commented on July 30, 2024

You're right!!! Giving it privileges as you indicate works perfectly.

Thanks a lot. And thank you very much for your time and contribution to the audioserve project to make it work on ARM64.

I recommend that you put this docker-compose example in the README.md

from audioserve-docker.

uGeek avatar uGeek commented on July 30, 2024

Raspbian version:

No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux 11 (bullseye)
Release:	11
Codename:	bullseye

from audioserve-docker.

srd424 avatar srd424 commented on July 30, 2024

Well, ideally it shouldn't need privileges, so that's still one to try to get to the bottom of, but less urgent now if it solves your immediate problem!

from audioserve-docker.

Related Issues (2)

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.