Skip to content

Issues running on dietpi distribution #7

@jkiddo

Description

@jkiddo

Hi all - I'm experiencing some issues starting up the docker image when running it on the DietPi distribution (https://dietpi.com/): The output of starting the docker image is the following:

$ docker run --name snapserver --net host -e DEVICE_NAME=Snapcast mazzolino/librespot-snapserver
2020-12-27 19-09-48 [Info] (main) Adding stream: librespot:///librespot?name=Spotify&devicename=Snapcast&bitrate=320&volume=100
2020-12-27 19-09-48 [Notice] (init) Settings file: "/root/.config/snapserver/server.json"
2020-12-27 19-09-48 [Error] (init) Error reading config: [json.exception.parse_error.101] parse error at 1: syntax error - unexpected end of input; expected '[', '{', or a literal
2020-12-27 19-09-48 [Error] (Avahi) Failed to create client: Daemon not running
2020-12-27 19-09-48 [Info] (start) Creating TCP acceptor for address: 0.0.0.0, port: 1705
2020-12-27 19-09-48 [Info] (start) Creating HTTP acceptor for address: 0.0.0.0, port: 1780
2020-12-27 19-09-48 [Info] (PcmStream) PcmStream sampleFormat: 44100:16:2
2020-12-27 19-09-48 [Info] (PcmStream) metadata={
2020-12-27 19-09-48 [Info] (PcmStream)     "STREAM": "Spotify"
2020-12-27 19-09-48 [Info] (PcmStream) }
2020-12-27 19-09-48 [Info] (onMetaChanged) onMetaChanged (Spotify)
2020-12-27 19-09-48 [Info] (start) Stream: {"fragment":"","host":"","path":"/librespot","query":{"bitrate":"320","chunk_ms":"20","codec":"flac","devicename":"Snapcast","name":"Spotify","sampleformat":"44100:16:2","volume":"100"},"raw":"librespot:////librespot?bitrate=320&chunk_ms=20&codec=flac&devicename=Snapcast&name=Spotify&sampleformat=44100:16:2&volume=100","scheme":"librespot"}
2020-12-27 19-09-48 [Error] (PosixStream) Connect exception: execve failed: No such file or directory
2020-12-27 19-09-48 [Info] (start) Creating stream acceptor for address: 0.0.0.0, port: 1704
2020-12-27 19-09-48 [Info] (main) number of threads: 4, hw threads: 4
2020-12-27 19-09-48 [Error] (PosixStream) Connect exception: execve failed: No such file or directory
2020-12-27 19-09-48 [Error] (PosixStream) Connect exception: execve failed: No such file or directory
2020-12-27 19-09-48 [Error] (PosixStream) Connect exception: execve failed: No such file or directory

-and it just continues writing: [Error] (PosixStream) Connect exception: execve failed: No such file or directory. It never starts up

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions