[Tile-serving] [openstreetmap/mod_tile] "render_expired" doesn't use TILEDIR from map name in /etc/renderd.conf when deciding if tiles exist already (Issue #286)

mxdog notifications at github.com
Thu Mar 21 21:39:43 UTC 2024


I am going to remove the path lines from /etc/renderd.conf and see where tiles get written too .
OK .... so my case where you have a bug with config paths just proved itself in my eyes or my config is wrong and am confusing the program.

here is my config file and what I have been using since I started trying to set up this server right or wrong, notice I commented out my path tile_dir=/var/lib/mod_tile

 [renderd]
stats_file=/run/renderd/renderd.stats
socketname=/run/renderd/renderd.sock
num_threads=12
;tile_dir=/var/lib/mod_tile

[mapnik]
plugins_dir=/usr/lib/mapnik/3.1/input/
font_dir=/usr/share/fonts/
font_dir_recurse=true

[default]
;TILEDIR=/var/lib/mod_tile
XML=/home/osm/openstreetmap-carto/mapnik.xml
HOST=maps.mxdog.net
URI=/hot/
TILESIZE=256
MINZOOM=0
MAXZOOM=20

after restarting renderd the tiles are getting written to the default /var/cache/renderd/tiles/default, which proves to me that the WRITE routines are using the config file path  from  /etc/renderd.conf BUT the READ routines are still using the DEFAULT hard-coded path , hence the reason I have been always recreating tiles .   

I can live with just adding the path to the command line ... again I reiterate if it will write to one place it should be reading from the same place . 

in my experience of course, this all depends on that config file actually being correct, with the many guides I have looked at that, this config may be wrong and that is the problem and am just wasting everyone's time. 



-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/mod_tile/issues/286#issuecomment-2013829775
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/mod_tile/issues/286/2013829775 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20240321/51caecf1/attachment.htm>


More information about the Tile-serving mailing list