Closed abienvenu closed 3 years ago
Does it work if you replace https://github.com/cyclosm/cyclosm-cartocss-style/blob/4fed093a5d8d3e2776b0c443d68555c5cfaa95b8/scripts/docker-startup.sh#L60-L64 by
# Using default Kosmtik settings file
export KOSMTIK_CONFIGPATH="/tmp/.kosmtik-config.yml"
?
It helps with the initial error, but I still get the same issue : land polygons not downloaded, blank map, kosmtik taking 100% CPU forever.
The problem is that kosmtik is running with uid 1000, and docker-compose will mount current directory .:/cyclosm
. If current directory does not belong to uid 1000, kosmtik get stuck.
This is a workaround : cd cyclosm-cartocss-style; chown 1000:1000 .
Ok! I pushed an update to the docs.
Hello, Following the instructions in
docs/DOCKER.md
work like a charm if the owner of thecyclosm-cartocss-style
directory is 1000. Otherwise (owner is user 1001),docker-compose up kosmtik
will write the following alert :It will not create metatiles in
tmp/cyclosm/meta
, and will not download and install land polygons. When I accesshttp://localhost:6789
, I get a blank map, and kosmtik is taking 100% CPU forever.