[QGIS-Developer] is QGIS Server 3.4 working?

Andreas Neumann a.neumann at carto.net
Fri Nov 2 05:30:50 PDT 2018


Hi Giovanni, 

As far as I know, the X-Server is still necessary - also in QGIS Server
3.x 

It is a limitation from the qt library, not from QGIS. 

The other thing to check is the LD_LIBRARY_PATH - if it is correctly
defined. 

Greetings, 

Andreas 

On 2018-11-02 13:20, Giovanni Manghi wrote:

> Hi Andreas, thanks for the reply.
> 
> I'm on Ubuntu Server headless, is the (fake) XServer mandatory?
> 
> On QGIS Server 2.18 the fake xserver (in headless Linux) was necessary
> for the GetPrint requests to work when composers had certain
> elements/objects.
> 
> I was under the assumption that with QGIS Server 3 this bug (I always
> considered it a a bug, bacause in QGIS Server < 2.18 this was not
> necessary) was solved. Or maybe you are referring to something
> different?
> 
> Cheers!
> 
> -- G --
> 
> On Fri, Nov 2, 2018 at 12:13 PM Andreas Neumann <a.neumann at carto.net> wrote: 
> 
>> Hi Giovanni,
>> 
>> Is the X-Server/VNC server running and the DISPLAY variable configured?
>> 
>> Greetings,
>> 
>> Andreas
>> 
>> On 2018-11-02 13:10, Giovanni Manghi wrote:
>> 
>> Hi all,
>> 
>> are there any known issues with QGIS Server 3.4 (on Ubuntu 18.04 here)?
>> 
>> I'm trying to test it as I would do with a QGIS Server 2.*
>> installation and it does not work here:
>> 
>> trying a simple GetCapabilities (via Apache2) on a sample project I
>> always get error 500 ("End of script output before headers:
>> qgis_mapserv.fcgi" in the Apache log).
>> 
>> Directly from the CLI I noticed that qgis_mapserv.fcgi returns an
>> error if the project file is specified by using an absolute/relative
>> path (it works only if calling qgis_mapserv.fcgi from within the
>> folder where a project file is).
>> 
>> Any hint?
>> 
>> thanks in advance
>> 
>> -- G --
>> _______________________________________________
>> QGIS-Developer mailing list
>> QGIS-Developer at lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20181102/c424bc2f/attachment.html>


More information about the QGIS-Developer mailing list