kartoza / docker-qgis-server

A dockerfile that contains a running QGIS server
68 stars 31 forks source link

Fix #16: Workaround 3.0.3 path issue #20

Open hbruch opened 5 years ago

hbruch commented 5 years ago

The InvalidSRS exception is caused by the following issue, which is fixed since 3.2.0: https://issues.qgis.org/issues/18230

(In the qgis logs the following error shows up: Could not open CRS database /usr/lib/share/qgis/resources/srs.db while the file is located at /usr/share/qgis/resources/srs.db )

docker-qgis-server already had a partial workaround in place, as in apache.sh /usr/lib/qgis was moved on level deeper to /usr/lib/lib.

This PR replaces this workaround by the one suggested in above qgis issue by supplying FcgidInitialEnv QGIS_PREFIX_PATH "/usr"