[Qgis-user] QGIS Server 3.0.3 with NGINX / FastCGI - Sessions not persisting?
Alessandro Pasotti
apasotti at gmail.com
Thu Jun 14 05:41:07 PDT 2018
Hi,
regarding QStandardPaths: XDG_RUNTIME_DIR not set: are you running an xvfb
instance?
see:
https://docs.qgis.org/testing/en/docs/training_manual/qgis_server/install.html
On Thu, Jun 14, 2018 at 1:18 PM, Andrew Terry <andrew.terry at centremaps.co.uk
> wrote:
> Hi,
>
>
>
> I’m finding with QGIS 3.0.3 and NGINX using FastCGI, running on Ubuntu
> Bionic that calls to a project appear to start a fresh session for every
> WMS request.
>
>
>
> In the qgis logs I’m seeing the loading of the file and session started
> before each WMS request log. In the nginx error logs I’m seeing in
> particular:
>
>
>
> “2018/06/12 09:05:06 [error] 1301#1301: *9 FastCGI sent in stderr:
> "QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to
> '/tmp/runtime-www-data'”
>
>
>
> I’m then seeing a new QGIS file and a session folder appear within /tmp/
> for every WMS request posted.
>
>
>
> I’ve successfully run QGIS 2.18 previously with NGINX and have tried to
> ensure not settings differ. I also tried Apache (on Debian Stretch)
> successfully with 3.0.3
>
>
>
> I am only using the QGIS tutorial content for testing. The WMS output is
> being served successfully.
>
>
>
> Any advice gratefully received.
>
>
>
> Andy
>
>
>
>
>
> _______________________________________________
> 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
>
--
Alessandro Pasotti
w3: www.itopen.it
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20180614/df2c715e/attachment.html>
More information about the Qgis-user
mailing list