[Tile-serving] [openstreetmap/mod_tile] [centos7 container image] mod_tile gives "no datasource plugin directories have been successfully registered" (Issue #433)
Muhammad Edwin
notifications at github.com
Tue May 14 11:51:33 UTC 2024
dear team,
im trying to containerized `mod_tile` and deploy it to a Kubenernetes environment using below Dockerfile
```
https://github.com/openstreetmap/mod_tile/blob/master/docker/centos/7/Dockerfile
```
however had this issue when connecting to an external pgsql instance
```
** (process:9): ERROR **: 10:53:30.385: An error occurred while loading the map layer 'xxxx': Could not create datasource for type: 'postgis' (no datasource plugin directories have been successfully registered) encountered during parsing of layer 'ocean-lz' in Layer at line 260 of '/style.xml'
```
it seems like it is due to `plugins_dir` which is empty in the centos7 image
```
[mapnik]
plugins_dir=/usr/lib/mapnik/3.1/input
font_dir=/usr/share/fonts/truetype
font_dir_recurse=true
```
question :
what is need to be done in order to make this container image able to connect to an external postgis instance?
thank you.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/mod_tile/issues/433
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/mod_tile/issues/433 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20240514/9955cac6/attachment.htm>
More information about the Tile-serving
mailing list