-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
alpha8 cannot start snapcast extension #548
Comments
The problem is that alpine released a new version.
So i am out of ideas. |
I've pushed a new version 0.28.0 of the extension. Try this. You should be able to update via the Extension screen |
Yes the Docker image from the registry starts up. I was not finding the update button, because the "button" it is not showing a mouseover.. but finally i found out that i can click it. now the docker logs show:
I think i have to add an snapcastmpris.conf in the right place? |
i had to remove the folder /etc/snapcastmpris.conf and created a /etc/snapcastmpris.conf with the content:
now it looks good. |
new error:
|
I had to update the Dockerfile and add
to the final container
If i manually run snapclient in the container it works :) But running via the snapcastmpris is not playing sound.
I do not understand how the /opt/hifiberry/bin/pause-all can be executed from inside the container... snapcast | ERROR: root - [Errno 2] No such file or directory: '/opt/hifiberry/bin/pause-all' |
DO NOT remove the blocks below, but fill these with the requested data. Incomplete bug reports will be ignored!
Describe the bug
After enabling the snapcast extension, the extension gets build from the docker-compose.yml, but fails at some point. I was getting an out of memory situation, but now is showing a build error
HiFiBerryOS version
20240523
HiFiBerry sound card
Amp100 + DSP
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Snapcast working
Screenshots
Browser (if applicable)
Additional context
May 26 07:19:07 hifiberry-wohnzimmer node[909]: INFO:root:Starting snapcast
May 26 07:19:07 hifiberry-wohnzimmer node[909]: ERROR:root:Failed to start Docker containers for extension snapcast
May 26 07:19:07 hifiberry-wohnzimmer node[909]: Error executing command: Command failed: /opt/hifiberry/bin/extensions start snapcast
May 26 07:19:07 hifiberry-wohnzimmer node[909]: INFO:root:Starting snapcast
May 26 07:19:07 hifiberry-wohnzimmer node[909]: ERROR:root:Failed to start Docker containers for extension snapcast
May 26 07:19:07 hifiberry-wohnzimmer node[909]: Stdout: #0 building with "default" instance using docker driver
May 26 07:19:07 hifiberry-wohnzimmer node[909]: #1 [snapcast internal] load .dockerignore
May 26 07:19:07 hifiberry-wohnzimmer node[909]: #1 transferring context: 2B done
May 26 07:19:07 hifiberry-wohnzimmer node[909]: #1 DONE 0.0s
May 26 07:19:07 hifiberry-wohnzimmer node[909]: #2 [snapcast internal] load build definition from Dockerfile
May 26 07:19:07 hifiberry-wohnzimmer node[909]: #2 transferring dockerfile: 1.60kB done
May 26 07:19:07 hifiberry-wohnzimmer node[909]: #2 DONE 0.0s
May 26 07:19:07 hifiberry-wohnzimmer node[909]: #3 [snapcast internal] load metadata for docker.io/library/alpine:latest
May 26 07:19:07 hifiberry-wohnzimmer node[909]: #3 DONE 0.5s
May 26 07:19:07 hifiberry-wohnzimmer node[909]: #4 [snapcast builder 1/9] FROM docker.io/library/alpine:latest@sha256:77726ef6b57ddf65bb551896826ec38bc3e53f75cdde31354fbffb4f25238ebd
May 26 07:19:07 hifiberry-wohnzimmer node[909]: #4 DONE 0.0s
May 26 07:19:07 hifiberry-wohnzimmer node[909]: #5 [snapcast stage-1 2/5] RUN apk update && apk add --no-cache dbus glib gobject-introspection py3-gobject3 py3-gobject3-dev python3
May 26 07:19:07 hifiberry-wohnzimmer node[909]: #5 CACHED
May 26 07:19:07 hifiberry-wohnzimmer node[909]: #6 [snapcast builder 2/9] RUN apk update && apk add --no-cache build-base autoconf automake git cmake alsa-lib-dev libvorbis-dev opus-dev flac-dev soxr-dev pkgconf boost-dev alsa-lib-dev dbus-dev glib-dev cairo cairo-dev gobject-introspection-dev python3 py3-pip
May 26 07:19:07 hifiberry-wohnzimmer node[909]: #6 CACHED
May 26 07:19:07 hifiberry-wohnzimmer node[909]: #7 [snapcast builder 8/9] RUN cd / && git clone https://github.com/hifiberry/snapcastmpris && cd snapcastmpris && pip install --no-cache-dir --verbose --break-system-packages -r requirements.txt
May 26 07:19:07 hifiberry-wohnzimmer node[909]: #7 CACHED
May 26 07:19:07 hifiberry-wohnzimmer node[909]: #8 [snapcast builder 3/9] RUN apk add --no-cache dbus
May 26 07:19:07 hifiberry-wohnzimmer node[909]: #8 CACHED
May 26 07:19:07 hifiberry-wohnzimmer node[909]: #9 [snapcast builder 4/9] RUN git clone https://github.com/badaix/snapcast /snapcast
May 26 07:19:07 hifiberry-wohnzimmer node[909]: #9 CACHED
May 26 07:19:07 hifiberry-wohnzimmer node[909]: #10 [snapcast builder 5/9] WORKDIR /snapcast
May 26 07:19:07 hifiberry-wohnzimmer node[909]: #10 CACHED
May 26 07:19:07 hifiberry-wohnzimmer node[909]: #11 [snapcast builder 6/9] RUN cmake . && make
May 26 07:19:07 hifiberry-wohnzimmer node[909]: #11 CACHED
May 26 07:19:07 hifiberry-wohnzimmer node[909]: #12 [snapcast builder 7/9] RUN apk add --no-cache python3-dev
May 26 07:19:07 hifiberry-wohnzimmer node[909]: #12 CACHED
May 26 07:19:07 hifiberry-wohnzimmer node[909]: #13 [snapcast builder 9/9] RUN find / -name site-packages
May 26 07:19:07 hifiberry-wohnzimmer node[909]: #13 CACHED
May 26 07:19:07 hifiberry-wohnzimmer node[909]: #14 [snapcast stage-1 3/5] COPY --from=builder /usr/lib/python3.11/site-packages /usr/lib/python3.11/site-packages
May 26 07:19:07 hifiberry-wohnzimmer node[909]: #14 ERROR: failed to calculate checksum of ref 61758087-3473-4182-9cea-8f1c22695a6d::t5n3qrcyfpq0rx8vrkintyvky: "/usr/lib/python3.11/site-packages": not found
May 26 07:19:07 hifiberry-wohnzimmer node[909]: ------
May 26 07:19:07 hifiberry-wohnzimmer node[909]: > [snapcast stage-1 3/5] COPY --from=builder /usr/lib/python3.11/site-packages /usr/lib/python3.11/site-packages:
May 26 07:19:07 hifiberry-wohnzimmer node[909]: ------
May 26 07:19:07 hifiberry-wohnzimmer node[909]: failed to solve: failed to compute cache key: failed to calculate checksum of ref 61758087-3473-4182-9cea-8f1c22695a6d::t5n3qrcyfpq0rx8vrkintyvky: "/usr/lib/python3.11/site-packages": not found
May 26 07:19:07 hifiberry-wohnzimmer node[909]: Stderr: INFO:root:Starting snapcast
May 26 07:19:07 hifiberry-wohnzimmer node[909]: ERROR:root:Failed to start Docker containers for extension snapcast
May 26 07:19:07 hifiberry-wohnzimmer node[909]: error
May 26 07:19:07 hifiberry-wohnzimmer node[909]: done
The text was updated successfully, but these errors were encountered: