[Qgis-user] Fresh install of QGIS Server doesn't work as expected
Jeremy Garniaux
jeremy at mapper.fr
Thu Apr 27 14:14:54 PDT 2023
Hi,
I'm trying to deploy QGIS Server on a Debian 11 VPS.
Following the doc (1)(2), I installed QGIS 3.30. Then I tested the
install with
> /usr/lib/cgi-bin/qgis_mapserv.fcgi
Here's the output:
> $ /usr/lib/cgi-bin/qgis_mapserv.fcgi
> Application path not initialized
> Application path not initialized
> Application path not initialized
> Application path not initialized
> Warning 1: Unable to find driver ECW to unload from GDAL_SKIP
environment variable.
> Warning 1: Unable to find driver ECW to unload from GDAL_SKIP
environment variable.
> Warning 1: Unable to find driver JP2ECW to unload from GDAL_SKIP
environment variable.
> "Loading native module /usr/lib/qgis/server/libdummy.so"
> "Loading native module /usr/lib/qgis/server/liblandingpage.so"
> "Loading native module /usr/lib/qgis/server/libwcs.so"
> "Loading native module /usr/lib/qgis/server/libwfs.so"
> "Loading native module /usr/lib/qgis/server/libwfs3.so"
> "Loading native module /usr/lib/qgis/server/libwms.so"
> "Loading native module /usr/lib/qgis/server/libwmts.so"
> Content-Length: 0
> Location: http:/index.json
> Server: QGIS FCGI server - QGIS version 3.30.1-'s-Hertogenbosch
> Status: 302
It's not what I expected after reading the doc but I kept going anyway,
uploaded my custom QGIS project to the server, set up Apache and
scrupulously followed the doc. Then I checked the availability of QGIS
Server with
>
http://qgis.demo/cgi-bin/qgis_mapserv.fcgi?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities
...but got a 404 error.
Any suggestion on what I'm doing wrong?
Thanks for your help.
Best regards,
Jeremy
(1) https://docs.qgis.org/3.28/en/docs/server_manual/getting_started.html
(2) https://qgis.org/en/site/forusers/alldownloads.html
--
Jeremy Garniaux
https://mapper.fr
https://mapstodon.space
More information about the QGIS-User
mailing list