[QGIS-Developer] QGIS FCGI Server 3.9.0 - JPEG renders but PNG empty

Tom Vanzieleghem tom.vanzieleghem at gmail.com
Fri Sep 27 02:27:38 PDT 2019


Dear all,

I've compiled QGis 3.9.0-Master from source on CentOS Linux release 7.7,
mainly to deploy the QGis Mapserver.
At first sight the mapserver works but only renders jpeg format WMS
requests, png format request are empty. No errors in the qgisserver or
apache log.

Probably due to a mismatch in compiled libraries I guess. I've compiled
PROJ, GEOS, GDAL, LibSpatialite, exiv2 before hand.
PROJ 6.2.0
GEOS 3.7.2
GDAL 3.0.1
LibSpatialite 4.3
exiv2 0.27.2

Others are installed from packages.

As there are no error logs I've no idea which library could cause the
issue?
I would appreciate any suggestions which could point me in the right
direction?

My httpd configuration is as follows

  FcgidInitialEnv LC_ALL "en_US.UTF-8"
  FcgidInitialEnv PYTHONIOENCODING UTF-8
  FcgidInitialEnv LANG "en_US.UTF-8"

  # QGIS SERVER log (different from apache logs)
  FcgidInitialEnv QGIS_SERVER_LOG_FILE /data/qgis/server/log/serverlog.log
  FcgidInitialEnv QGIS_SERVER_LOG_LEVEL 0

  FcgidInitialEnv QGIS_DEBUG 1

  FcgidInitialEnv QGIS_AUTH_DB_DIR_PATH "/data/qgis/server/db"
  FcgidInitialEnv QGIS_AUTH_PASSWORD_FILE
"/data/qgis/server/db/qgis-auth.db"

  SetEnv PGSERVICEFILE /data/qgis/server/pg_service.conf
  FcgidInitialEnv PGPASSFILE "/data/qgis/server/.pgpass"

  ScriptAlias /cgi-bin/ /opt/qgis/bin/
  <Directory "/opt/qgis/bin">
    AllowOverride None
    Options +ExecCGI -MultiViews -SymLinksIfOwnerMatch
    Require all granted
  </Directory>

  <IfModule mod_fcgid.c>
    FcgidMaxRequestLen 26214400
    FcgidConnectTimeout 60
  </IfModule>

best regards,

Tom Vanzieleghem

RAAP BV
Netherlands
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20190927/acd2543d/attachment.html>


More information about the QGIS-Developer mailing list