NOTICE: is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

I use OSM tile server deploying with docker from Overv's repository and in default configuration it works pretty well. In the dockerfile I tried to manualy upgrade openstreetmap-carto version to the newest version (today 5.3.1) with just:

RUN mkdir -p /home/renderer/src \ && cd /home/renderer/src \ && git clone --single-branch --branch v5.3.0 --depth 1 \ && cd openstreetmap-carto \ && rm -rf .git \ && npm install -g carto@0.18.2 \ && carto project.mml > mapnik.xml \ && scripts/ \ && rm /home/renderer/src/openstreetmap-carto/data/*.zip
but in the newer versions there is no script/ file, and building image crashed. I've checked and the highest version of openstreetmap-carto which include that file and builds successfully is 5.2.0.

I have found in in "Manual download" chapter to download manually *.zip files and put them into path/to/openstreetmap-carto/data folder. But I can see that in deleted script there is much more logic than just downloading files.
Does anyone know if it's good way to use that carto version in OSM Tile server, or maybe there is another way I don't know?

asked 11 Mar '21, 16:00

engopy's gravatar image

accept rate: 0%

Whenever the method that the "OSM Carto" map style uses for installation changes, sets of instructions for building it also need to change. I regularly update the guides at when people report that something no longer works.

The dockerfile at still has to do the same things, so if something changes between OSM Carto versions that will need updating too. I'd suggesting creating an issue here to explain the changes that you'd like to see, and (once that's all sorted) an issue here requesting that the page is updated to the new version of the dockerfile. I know you're not using that latter page of course; just asking as a courtesy for everyone who does!

permanent link

answered 12 Mar '21, 10:19

SomeoneElse's gravatar image

SomeoneElse ♦
accept rate: 16%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 11 Mar '21, 16:00

question was seen: 1,453 times

last updated: 12 Mar '21, 10:19

NOTICE: is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum