[Lizmap] Map publishing blocked since Lizmap version 3.6

Lorenzo Moretti lorenzo.moretti at me.com
Thu Feb 15 07:30:37 PST 2024


Hi everyone,

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.

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.

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.
From version 3.6 onward the warning message is always there but now map publishing is not allowed with a message at the top.

The Server part of QGIS is inside the application and from the terminal I have some information:
mbpm:~ loren$ /Applications/QGIS.app/Contents/MacOS/fcgi-bin/qgis_mapserv.fcgi
Warning 1: Unable to find ECW driver to unload from GDAL_SKIP environment variable.
Warning 1: Unable to find ECW driver to unload from GDAL_SKIP environment variable.
Warning 1: Unable to find JP2ECW driver to unload from GDAL_SKIP environment variable.
"Loading native module /Applications/QGIS.app/Contents/MacOS/fcgi-bin/../lib/qgis/server/liblandingpage.so"
"Loading native module /Applications/QGIS.app/Contents/MacOS/fcgi-bin/../lib/qgis/server/libwcs.so"
"Loading native module /Applications/QGIS.app/Contents/MacOS/fcgi-bin/../lib/qgis/server/libwfs.so"
"Loading native module /Applications/QGIS.app/Contents/MacOS/fcgi-bin/../lib/qgis/server/libwfs3.so"
"Loading native module /Applications/QGIS.app/Contents/MacOS/fcgi-bin/../lib/qgis/server/libwms.so"
"Loading native module /Applications/QGIS.app/Contents/MacOS/fcgi-bin/../lib/qgis/server/libwmts.so"
Content-Length: 0
Location: http:/index.json
Server: QGIS FCGI server - QGIS version 3.34.3-Prizren
Status: 302

Instead, QGIS plugins (desktop and server) are installed in a different directory in the user area.

QGIS Server works perfectly, and Lizmap up to version 3.5.x also worked perfectly. The server plugins are all installed and working.
I put all the options in the Apache configuration but they are not the ones that change things.

QGIS server in my macOS works with this link:
http://127.0.0.1/qgis-mapserv/qgis_mapserv.fcgi
but Lizmap, in its Log, cannot see the information.

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.
However, there are also installations of QGIS in other operating systems with different paths for plugins as well. 

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.

QGIS server with Lizmap in macOS works very well and is fast, up to version 3.5.16, the last one I can use.

Thanks
Lorenzo

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/lizmap/attachments/20240215/8087699d/attachment.htm>


More information about the Lizmap mailing list