[Tile-serving] [openstreetmap/mod_tile] 0.7.1 Lost leading "/" from "/var/cache/renderd/tiles" (Issue #416)

Sean Reifschneider notifications at github.com
Tue Mar 19 18:01:48 UTC 2024


0.7.0 mod_tile has a RENDERD_TILE_DIR set in `CMakeLists.txt`:

    set(RENDERD_TILE_DIR "/${CMAKE_INSTALL_LOCALSTATEDIR}/cache/renderd/tiles")

and in 0.7.1 it was changed to:

    set(RENDERD_TILE_DIR "${CMAKE_INSTALL_LOCALSTATEDIR}/cache/renderd/tiles")

Note the lack of the leading slash.

We have a default install of mod_tile that we've been using, and when it switched to not have the leading slash, it caused our setup to fail because it was trying to access a relative directory, I'm assuming FQN of `/etc/apache2/var/cache/renderd/tiles`

I'm assuming one fix is for us to set up an apache2 conf file with "ModTileTileDir /var/cache/renderd/tiles" in it, but:

- Probably should be noted that the default has been changed, as no mention of this was made in the 0.7.1 release notes.
- Would be interested in knowing why this was changed to drop the leading "/", because
- Perhaps this will have other impacts as well?

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

Message ID: <openstreetmap/mod_tile/issues/416 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20240319/6162e765/attachment.htm>


More information about the Tile-serving mailing list