puter icon indicating copy to clipboard operation
puter copied to clipboard

docker-compose issue - Does not create config.json

Open dennysubke opened this issue 1 year ago • 2 comments

I want to install Puter on my umbrel home server using docker-compose. All configurations were carried out as described in the docs. Umbrel can be reached via the address umbrel.local. Unfortunately after the installation I get the following screen:

1-puterscreen

I mounted the config in the following directory: ${APP_DATA_DIR}/config:/volatile/config A config.json was not generated. So I added it with the following content:

{
  "server_id": "umbrel.local",
  "http_port": "4100",
  "domain": "umbrel.local",
  "pub_port": "4100"
}

Nevertheless, I get the error message from the screen above, even though according to the logs everything should be fine. The username and password are also generated.

2-puterlogs

Here the docker-compose.yml can be found from my repository.

I've already tried a lot, but I've now reached the end. There has to be a solution?!?! I would be grateful for any help or ideas. 😎

@KernelDeimos , maybe you?

dennysubke avatar Sep 21 '24 07:09 dennysubke

We'll look into this. I'm at the end of my wits with docker.

jelveh avatar Sep 21 '24 19:09 jelveh

Hey @jelveh Any news?

dennysubke avatar Oct 10 '24 15:10 dennysubke

@dennysubke Apologies for the late reply on this; it's probably reading /etc/puter/config.json instead. The docker image is configured more similarly to a production deployment than local development. The first clue was that it didn't generate the config.json - Puter will always generate a default if none exists.

KernelDeimos avatar Nov 06 '24 21:11 KernelDeimos