Tried removing the tile-server directory, but it still says it’s unheathly. I’ll try debugging more tomorrow.
Gosh dang it, I knew updating at night wasn’t a good idea
Hi Estebiu, i am sorry for the trouble. Lets try to find out what the problem is. The tile-cache is a simple nginx container. I never experienced any problem with it.
I upgraded two weeks ago. I don’t exactly remember when.
No mounted directories.
Now that I think about it, the map wasn’t showing up before either. I though it was just my mobile connection that was bad. Yes, I do upgrade my docker containers from my phone when traffic is gridlocked.
Anyway, doing a ‘docker system prune a’ when the containers are down, and then putting them back up, doesn’t fix things either…
This shoudl tell us if the config is wrong. It should not be, but you never know. If that returns 0: Status: unhealthy then the healthcheck is propably the problem. It calls this command inside the container:
Tried removing the tile-server directory, but it still says it’s unheathly. I’ll try debugging more tomorrow. Gosh dang it, I knew updating at night wasn’t a good idea
danielgraf@discuss.tchncs.de 3 days ago
Hi Estebiu, i am sorry for the trouble. Lets try to find out what the problem is. The tile-cache is a simple nginx container. I never experienced any problem with it.
I upgraded two weeks ago. I don’t exactly remember when. No mounted directories. Now that I think about it, the map wasn’t showing up before either. I though it was just my mobile connection that was bad. Yes, I do upgrade my docker containers from my phone when traffic is gridlocked. Anyway, doing a ‘docker system prune a’ when the containers are down, and then putting them back up, doesn’t fix things either…
danielgraf@discuss.tchncs.de 3 days ago
Ok, we need to find out what the culprit is. First we check the status of the tile-cache if there is any:
sudo docker inspect $(sudo docker compose ps -q tile-cache) --format=‘{{.State.ExitCode}} - Status: {{.State.Status}} | Error: {{.State.Error}}’This shoudl tell us if the config is wrong. It should not be, but you never know. If that returns 0: Status: unhealthy then the healthcheck is propably the problem. It calls this command inside the container:
curl -f -s -o /dev/null -H “X-Reitti-Upstream-Url: https://tiles.dedicatedcode.com/” http://localhost/custom/planet/latest/0/0/0.pbf || exit 1So, basicly it tries to fetch a tile from tiles.dedicatedcode.com under this url: tiles.dedicatedcode.com/planet/latest/0/0/0.pbf