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

Hi everyone, I am installing a OSM tile server under Strech and I am in trouble : when I run service renderd status I have :

renderd.service - LSB: Mapnik rendering daemon Loaded: loaded (/etc/init.d/renderd; generated; vendor preset: enabled) Active: active (running) since Sat 2018-11-10 15:46:41 +11; 34min ago Docs: man:systemd-sysv-generator(8)
Process: 1799 ExecStart=/etc/init.d/renderd start (code=exited, status=0/SUCCESS) Tasks: 4 (limit: 4915) CGroup: /system.slice/renderd.service └─1806 /usr/local/bin/renderd -c /usr/local/etc/renderd.conf

nov. 10 15:46:41 carto renderd[1805]: config mapnik: font_dir_recurse=1 nov. 10 15:46:41 carto renderd[1805]: config renderd(0): Active nov. 10 15:46:41 carto renderd[1805]: config renderd(0): unix socketname=/var/run/renderd/renderd.sock nov. 10 15:46:41 carto renderd[1799]: Starting Mapnik rendering daemon: renderd. nov. 10 15:46:41 carto systemd[1]: Started LSB: Mapnik rendering daemon. nov. 10 15:46:41 carto renderd[1806]: Loading parameterization function for nov. 10 15:46:41 carto renderd[1806]: Loading parameterization function for nov. 10 15:46:41 carto renderd[1806]: Starting stats thread nov. 10 15:46:42 carto renderd[1806]: An error occurred while loading the map layer 'default': no valid fonts could be loaded in FontSet 'fontset-1' in FontSet at line 90 of '/home/data/osm/styles/openstreetmap-carto/style.xml' nov. 10 15:46:42 carto renderd[1806]: An error occurred while loading the map layer 'default': no valid fonts could be loaded in FontSet 'fontset-1' in FontSet at line 90 of '/home/data/osm/styles/openstreetmap-carto/style.xml'

Does anyone have an idea to fix it ? Thank you

asked 10 Nov '18, 05:34

brunogee's gravatar image

brunogee
16223
accept rate: 0%


The font directory is set in /etc/renderd.conf

In this directory you should have the fonts used in your style (home/data/osm/styles/openstreetmap-carto/style.xml)

permanent link

answered 11 Nov '18, 17:15

yvecai's gravatar image

yvecai
1.5k1226
accept rate: 9%

Thank you yvecai,

You were very helpful ;-)

I have found a solution : sudo apt-get install fonts-noto-cjk fonts-noto-hinted fonts-noto-unhinted fonts-hanazono ttf-unifont

Now, I have a new message :(

So it's close ;-)

(12 Nov '18, 00:43) brunogee

Follow this question

By Email:

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

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "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:

×15
×4

question asked: 10 Nov '18, 05:34

question was seen: 3,469 times

last updated: 12 Nov '18, 08:21

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