<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Hi,</p>
<p>Most likely, you are not an runninng an X-Server and/or haven't configured the display environment variable properly.</p>
<p>See <a href="https://docs.qgis.org/testing/en/docs/server_manual/getting_started.html#xvfb">https://docs.qgis.org/testing/en/docs/server_manual/getting_started.html#xvfb </a>for more information.</p>
<p>Greetings,</p>
<p>Andreas</p>
<p id="reply-intro">On 2020-09-17 12:35, Davide wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"><span style="white-space: nowrap;">Hi,</span><br /><br />we are using the qgis web client 2, but when we request the pdf, then an error occours. Debugging the request we see that the qgis server, that uses qgis_mapserv.fcgi return error 500 (tested directly with curl).<br /><br /><span style="white-space: nowrap;">We have tried to enable logging like</span><br /><br />QGIS_SERVER_LOG_FILE<br />QGIS_SERVER_LOG_LEVEL<br /><br /><span style="white-space: nowrap;">but logs are always empty.</span><br /><br /><span style="white-space: nowrap;">With this situation we can't understand where the problem is.</span><br /><br />Any suggestion about how to enable logging and/or why the pdf can return and error 500 ?<br /><br /><span style="white-space: nowrap;">Thanks in advance for any help!</span><br /><br /><span style="white-space: nowrap;">Davide Montesin</span><br />Italy<br />_______________________________________________<br /><span style="white-space: nowrap;">Qgis-user mailing list</span><br /><span style="white-space: nowrap;"><a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a></span><br /><span style="white-space: nowrap;">List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank" rel="noopener noreferrer">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></span><br /><span style="white-space: nowrap;">Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank" rel="noopener noreferrer">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></span></div>
</blockquote>
<p><br /></p>

</body></html>