stepman0 / docker-sonos-kids-controller

Docker image for Thyraz / Sonos-Kids-Controller
10 stars 2 forks source link

I am missing something but I am not sure what it is... #49

Open ThoSt81 opened 1 year ago

ThoSt81 commented 1 year ago

Hey guys,

I've been following the instructions and created the docker-compose.yml in Portainer. After starting the stack once, I stopped the containers as I need to add/change the config.

In my case I can find the files in data/compose/3/api and data/compose/3/controller

I have managed to create the file(!) data/compose/3/controller/config/config.json However, when I navigate to data/compose/3/api/ I cannot add a file settings.json since a folder(!) settings.json already exists.

The controller container seems to be running fine and listens to port 8200 but the API is not coming up and failing with error "could not read file app/settings.json"

I'm sure I am making a dumb mistake but I can't get what it is :)

ThoSt81 commented 1 year ago

Anyone? Any ideas? @stepman0

stepman0 commented 5 months ago

Settings.json has to be a file. I remember that I had the issue in the past in another environment, that docker creates directories instead of files. You should be safe if you stop the stack, delete the directory settings.json and create a file instead.