Skip to content

Importing again after import seems to break the server #452

@marky0470

Description

@marky0470

Running this tile server on a Raspberry Pi 4 Model B, using Raspberry Pi OS.

Ran docker volume create and the docker run ... overv\openstreetmap-tile-server import commands, then ran my server using docker run ... run, all basic commands found on the README. Checking http://localhost:8080, the server worked fine and served my tiles properly, though I was running into issues such as tiles not rendering until I zoomed in or out or moved to a different position and returned. Possibly due to some caching problem I thought.

So I ran the command for "Preserving rendered tiles", but I possibly misunderstood the last part which said to run import with the osm-tiles volume and ran import again, possibly for both osm-data and osm-tiles, I couldn't be too sure anymore. This second import was not successful and I got the error:

+sudo -u postgres creatuser renderer
createuser: error: creation of new role failed: ERROR: role "renderer" already exists

Now the tile server won't work anymore, I could see tiles being rendered but no new tiles were rendering and checking Network tab in developer console shows that the requests for those pngs failed with a 404 error. When I disabled cache no more tiles were rendered. I only just read after this issue that import is a one-time operation. I hope someone could help me resolve this issue soon, and I'm sorry if this new issue lacks appropriate requirements that I am unaware of.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions