[Qgis-user] Fresh install of QGIS Server doesn't work as expected

Jérémy Garniaux jeremy at mapper.fr
Tue May 2 13:00:32 PDT 2023


Hi Benoît,

Thanks for your answer.

In the meantime I solved this issue (and the ones that popped up 
after!). Unfortunately I'm not sure exactly what was causing the issue 
here so I can't report it precisely for the record...

Best regards,

Jeremy

Le 02/05/2023 à 13:58, B. De Mezzo via QGIS-User a écrit :
> Hi,
>
> can you check if qgis_mapserv.fcgi is in /usr/lib/cgi-bin/?
>
> Regards.
>
> Le 27/04/2023 à 23:14, Jeremy Garniaux via QGIS-User a écrit :
>> 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
>>
>
> _______________________________________________
> QGIS-User mailing list
> QGIS-User at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


-- 
Jérémy Garniaux
https://mapper.fr
https://mapstodon.space



More information about the QGIS-User mailing list