<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div dir="auto" style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div dir="auto" style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">Hi Etienne<div><br></div><div>Thanks for the information</div><div><div><br><blockquote type="cite"><div>Il giorno 11 mar 2024, alle ore 14:34, Etienne Trimaille via Lizmap <lizmap@lists.osgeo.org> ha scritto:</div><br class="Apple-interchange-newline"><div>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div style="padding-bottom: 1px;"><p>Hi,</p><p>No, it's not possible to disable this check.</p></div></div></blockquote><div><br></div><div><br></div><div>Ok</div><div><br></div><blockquote type="cite"><div><div style="padding-bottom: 1px;"><p>Lizmap relies more and more on the QGIS server side plugin. Some
features will be broken without the plugin.<br>
</p><p>I don't know how it works on MacOS. You should be able to set a
path where you store on QGIS server plugins. (either default
folder or a custom one).</p></div></div></blockquote><div><br></div><div><div>I have installed three versions of Lizmap: 3.5.x, 3.6.x and 3.7.x. on both macOS and Ubuntu 22.04 and also the necessary plugins.</div><div><br></div><div>I installed them without any problems on Apache server with PHP 8.2</div><div>Lizmap 3.5.x works on both macOS and Ubuntu.</div><div><br></div><div>The other two versions do not allow me to see the maps because Lizmap does not see what version is present.</div><div>However, I also have this problem in Ubuntu and I don't understand why.</div><div>I have entered all the possible variables inside Apache but Lizmap does not see them.</div><div>The Lizmap server plugins and others I have installed but Lizmap does not see the path I gave it. Unfortunately even in Ubuntu.</div><div><br></div><div>When I enter this link I have some information:</div><div><br></div><div><div>http://127.0.0.1/maps/lizmap/lizmap/www/index.php/view/app/metadata</div><div><br></div><div><br></div><div>{"info":{</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>"version":"3.7.5","date":"2024-02-27"},</div><div>"dependencies":{</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>"jelix":{"version":"1.8.7","minversion":"1.8.7","maxversion":"1.8.7"}},</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>"api":{"dataviz":{"version":"1.0.0"}},</div><div>"repositories":</div><div>{"earthquake":{</div><div>"label":"Earthquake","path":"\/Applications\/MAMP\/htdocs\/qgismap\/lizmap-demo\/earthquake\/",</div><div>"authorized_groups":["__anonymous","admins","publishers","users"],</div><div>"editing_authorized_groups":["__anonymous","admins","publishers","users"],</div><div>"projects":{"time_manager_earthquake":{"title":"Earthquakes \u2265 4 MMI in Indonesia in 2020"}}</div><div>}},</div><div>"lizmap_desktop_plugin_version":"4.1.8",</div><div>"acl":{</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>"groups":{"publishers":{"label":"Publishers"},</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>"admins":{"label":"admins"},</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>"users":{"label":"users"}}</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>},</div><div>"qgis_server_info":{"error":"HTTP_ERROR","error_http_code":400,"error_message":"[{\"code\":\"Bad request error\",\"description\":\"Invalid request\"}]"},</div><div>"qgis_server":{</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>"test":"OK",</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>"mime_type":"text\/xml; charset=utf-8",</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>"http_code":200,</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>"response":"<?xml version=\"1.0\" encoding=\"utf-8\"?>\n</div><div><WMS_Capabilities xmlns=\"http:\/\/www.opengis.net\/wms\" xmlns:sld=\"http:\/\/www.opengis.net\/sld\" xsi:schemaLocation=\"http:\/\/www.opengis.net\/wms http:\/\/schemas.opengis.net\/wms\/1.3.0\/capabilities_1_3_0.xsd http:\/\/www.opengis.net\/sld http:\/\/schemas.opengis.net\/sld\/1.1.0\/sld_capabilities.xsd http:\/\/www.qgis.org\/wms http:\/\/127.0.0.1\/qgis-mapserv\/qgis_mapserv.fcgi?SERVICE=WMS&REQUEST=GetSchemaExtension\" version=\"1.3.0\" xmlns:qgs=\"http:\/\/www.qgis.org\/wms\" xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\">\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><Service>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><Name>WMS<\/Name>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><Title>Untitled<\/Title>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><KeywordList>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><Keyword vocabulary=\"ISO\">infoMapAccessService<\/Keyword>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><\/KeywordList>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><OnlineResource xlink:href=\"http:\/\/127.0.0.1\/qgis-mapserv\/qgis_mapserv.fcgi\" xmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\" xlink:type=\"simple\"\/>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><Fees>None<\/Fees>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><AccessConstraints>None<\/AccessConstraints>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><\/Service>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><Capability>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><Request>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><GetCapabilities>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><Format>text\/xml<\/Format>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><DCPType>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><HTTP>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><Get>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><OnlineResource xlink:href=\"http:\/\/127.0.0.1\/qgis-mapserv\/qgis_mapserv.fcgi?\" xmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\" xlink:type=\"simple\"\/>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><\/Get>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><\/HTTP>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><\/DCPType>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><\/GetCapabilities>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><GetMap>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><Format>image\/jpeg<\/Format>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><Format>image\/png<\/Format>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><Format>image\/png; mode=16bit<\/Format>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><Format>image\/png; mode=8bit<\/Format>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><Format>image\/png; mode=1bit<\/Format>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><Format>application\/dxf<\/Format>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><DCPType>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><HTTP>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><Get>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><OnlineResource xlink:href=\"http:\/\/127.0.0.1\/qgis-mapserv\/qgis_mapserv.fcgi?\" xmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\" xlink:type=\"simple\"\/>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><\/Get>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><\/HTTP>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><\/DCPType>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><\/GetMap>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><GetFeatureInfo>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><Format>text\/plain<\/Format>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><Format>text\/html<\/Format>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><Format>text\/xml<\/Format>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><sld:GetLegendGraphic>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><Format>image\/jpeg<\/Format>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><Format>image\/png<\/Format>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><Format>application\/json<\/Format>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><DCPType>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><HTTP>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><Get>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><OnlineResource xlink:href=\"http:\/\/127.0.0.1\/qgis-mapserv\/qgis_mapserv.fcgi?\" xmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\" xlink:type=\"simple\"\/>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><\/Get>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><\/HTTP>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><\/DCPType>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><\/sld:GetLegendGraphic>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><sld:DescribeLayer>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><Format>text\/xml<\/Format>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><DCPType>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><HTTP>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><Get>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><OnlineResource xlink:href=\"http:\/\/127.0.0.1\/qgis-mapserv\/qgis_mapserv.fcgi?\" xmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\" xlink:type=\"simple\"\/>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><\/Get>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><\/HTTP>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><\/DCPType>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><\/sld:DescribeLayer>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><qgs:GetStyles>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><Format>text\/xml<\/Format>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><DCPType>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><HTTP>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><Get>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><OnlineResource xlink:href=\"http:\/\/127.0.0.1\/qgis-mapserv\/qgis_mapserv.fcgi?\" xmlns:xlink=\"http:\/\/www.w3.org\/1999\/xlink\" xlink:type=\"simple\"\/>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><\/Get>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><\/HTTP>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><\/DCPType>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><\/qgs:GetStyles>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><\/Request>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><Exception>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><Format>XML<\/Format>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><\/Exception>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><sld:UserDefinedSymbolization UserStyle=\"1\" RemoteWFS=\"0\" SupportSLD=\"1\" InlineFeature=\"0\" UserLayer=\"0\" RemoteWCS=\"0\"\/>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><Layer queryable=\"0\">\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><Title>Untitled<\/Title>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><KeywordList>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><Keyword vocabulary=\"ISO\">infoMapAccessService<\/Keyword>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><\/KeywordList>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><CRS>CRS:84<\/CRS>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><\/Layer>\n </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><\/Capability>\n</div><div><\/WMS_Capabilities>\n"}}</div><div><br></div></div><div><br></div><div><br></div><div>There is some information but Lizmap does not see it</div><div><br></div><div><br></div><div><br></div><div>I cannot find on your site a simple documentation on how to enter the variables. Do they have to be assigned via Terminal?</div><div><br></div><div><div>It is also difficult to understand why Lizmap does not see what is already installed and working, QGIS and QGIS server.</div><div><br></div><div>Moreover I get the same thing in macOS and Ubuntu with different error messages but in the end map viewing is disabled in both operating systems.</div><div><br></div><div>If in version 3.5.x everything worked perfectly why then in later versions map viewing is disabled for something Lizmap doesn't see, not that it doesn't work.</div><div><br></div><div>Lizmap is easy in installation but to make it work gets really complicated and it should not be that way.</div><div><br></div><div>Insert very detailed instructions please because now it is a headache.</div><div><br></div><div><br></div></div></div><blockquote type="cite"><div><div style="padding-bottom: 1px;"><p>Or switch to docker ? It works well on MacOS.<br></p></div></div></blockquote><div><br></div><div>It is OK but I like it better in the server</div><br><blockquote type="cite"><div><div style="padding-bottom: 1px;"><div>
<br class="webkit-block-placeholder"></div><p>Regards,</p><p><br></p></div></div></blockquote><div><br></div><div>Please an help</div><div><br></div><div>Regards</div><div><br></div><div>Lorenzo</div><br><blockquote type="cite"><div><div style="padding-bottom: 1px;"><div>
<br class="webkit-block-placeholder"></div>
<div class="moz-cite-prefix">On 15/02/2024 16:30, Lorenzo Moretti
via Lizmap wrote:<br>
</div>
<blockquote type="cite" cite="mid:5A4E3874-3653-40E9-9B08-819F19E6BA6C@me.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div><p>Hi everyone,</p><p>Until version 3.5.x I was able to publish maps. Since version
3.6.x and then 3.7.x Lizmap blocks publishing maps if you
don't meet some configuration parameters. I can't publish the
maps.</p>
</div>
<div>I use a Mac server with Apache 2.4 and the QGIS for Mac
application downloadable from the QGIS site. It is a simple Drag
and Drop application installed inside the "/Applications"
folder. There is no installar and everything is inside the
application, even the Server part. So desktop and server are
inside the QGIS application.</div>
<div><br>
</div>
<div>Up to version 3.5.x Lizmap in the configuration panel sees
the Lizamp version and the message "Unable to retrieve details
about your QGIS Server installation (version, plugins, etc.)"
but map publishing was not being blocked.</div>
<div>From version 3.6 onward the warning message is always there
but now map publishing is not allowed with a message at the top.</div>
<div><br>
</div>
<div>The Server part of QGIS is inside the application and from
the terminal I have some information:</div>
<div><font style="font-size: 12px;" face="Menlo">mbpm:~ loren$
/Applications/QGIS.app/Contents/MacOS/fcgi-bin/qgis_mapserv.fcgi</font></div>
<div><font style="font-size: 12px;" face="Menlo">Warning 1: Unable
to find ECW driver to unload from GDAL_SKIP environment
variable.</font></div>
<div><font style="font-size: 12px;" face="Menlo">Warning 1: Unable
to find ECW driver to unload from GDAL_SKIP environment
variable.</font></div>
<div><font style="font-size: 12px;" face="Menlo">Warning 1: Unable
to find JP2ECW driver to unload from GDAL_SKIP environment
variable.</font></div>
<div><font style="font-size: 12px;" face="Menlo">"Loading native
module
/Applications/QGIS.app/Contents/MacOS/fcgi-bin/../lib/qgis/server/liblandingpage.so"</font></div>
<div><font style="font-size: 12px;" face="Menlo">"Loading native
module
/Applications/QGIS.app/Contents/MacOS/fcgi-bin/../lib/qgis/server/libwcs.so"</font></div>
<div><font style="font-size: 12px;" face="Menlo">"Loading native
module
/Applications/QGIS.app/Contents/MacOS/fcgi-bin/../lib/qgis/server/libwfs.so"</font></div>
<div><font style="font-size: 12px;" face="Menlo">"Loading native
module
/Applications/QGIS.app/Contents/MacOS/fcgi-bin/../lib/qgis/server/libwfs3.so"</font></div>
<div><font style="font-size: 12px;" face="Menlo">"Loading native
module
/Applications/QGIS.app/Contents/MacOS/fcgi-bin/../lib/qgis/server/libwms.so"</font></div>
<div><font style="font-size: 12px;" face="Menlo">"Loading native
module
/Applications/QGIS.app/Contents/MacOS/fcgi-bin/../lib/qgis/server/libwmts.so"</font></div>
<div><font style="font-size: 12px;" face="Menlo">Content-Length: 0</font></div>
<div><font style="font-size: 12px;" face="Menlo">Location:
<a class="moz-txt-link-freetext" href="http://index.json/">http:/index.json</a></font></div>
<div><font style="font-size: 12px;" face="Menlo">Server: QGIS FCGI
server - QGIS version 3.34.3-Prizren</font></div>
<div><font style="font-size: 12px;" face="Menlo">Status: 302</font></div>
<div><br>
</div>
<div>Instead, QGIS plugins (desktop and server) are installed in a
different directory in the user area.</div>
<div><br>
</div>
<div>QGIS Server works perfectly, and Lizmap up to version 3.5.x
also worked perfectly. The server plugins are all installed and
working.</div>
<div>I put all the options in the Apache configuration but they
are not the ones that change things.</div>
<div><br>
</div>
<div>QGIS server in my macOS works with this link:</div>
<div><font style="font-size: 12px;" face="Menlo"><a class="moz-txt-link-freetext" href="http://127.0.0.1/qgis-mapserv/qgis_mapserv.fcgi">http://127.0.0.1/qgis-mapserv/qgis_mapserv.fcgi</a></font></div>
<div>but Lizmap, in its Log, cannot see the information.</div>
<div><br>
</div>
<div>I think the check is done in the Linux version which has a
different path and also the server part is separate from the
rest. From version 3.6 onwards you have put a block to have the
versions and plugins aligned.</div>
<div>However, there are also installations of QGIS in other
operating systems with different paths for plugins as well. </div>
<div><br>
</div>
<div>I ask if you can disable the map publishing block, as there
was before until version 3.5.x, or at least leave it only as a
warning.</div>
<div><br>
</div>
<div>QGIS server with Lizmap in macOS works very well and is fast,
up to version 3.5.16, the last one I can use.</div>
<div><br>
</div>
<div>Thanks</div>
<div>Lorenzo</div>
<div><br>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Lizmap mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Lizmap@lists.osgeo.org">Lizmap@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/lizmap">https://lists.osgeo.org/mailman/listinfo/lizmap</a>
</pre>
</blockquote>
<div class="moz-signature">-- <br><p> <span style="font-weight:bold;color:#9ACD32;">Etienne
Trimaille</span> <br>
Géomaticien <br>
<a href="http://www.3liz.com/" style="text-decoration: none; color: #9ACD32;">www.3liz.com</a>
<br>
<span style="font-size:0.8em;"> <br>
<b>Tel.</b> 06 12 93 11 39 <br>
<b>Bureau</b> <br>
31, rue de l'Argenterie <br>
34000 Montpellier <br>
<b>Siège social</b> <br>
73, allée Kleber <br>
Boulevard de Strasbourg <br>
34000 Montpellier </span>
</p><p><br>
</p>
</div>
<div id="grammalecte_menu_main_button_shadow_host" style="width: 0px; height: 0px;"></div>
</div>
<lt-container></lt-container>
_______________________________________________<br>Lizmap mailing list<br>Lizmap@lists.osgeo.org<br>https://lists.osgeo.org/mailman/listinfo/lizmap<br></div></blockquote></div><br></div></div></div></body></html>