On our old server we were able to generate pdf’s on the fly, just by calling the url of an atlas-template inside an Lizmap (3.6.3) Installation with the desired feature id.
On our new server qgis-server isn’t configured as fcgi, so that urls do not work anymore.
Project file error. For OWS services: please provide a SERVICE and a MAP parameter pointing to a valid QGIS project file
Since qgis-server (3.44.11 - f8f5812197f) is installed on the new server as py-qgis-server (1.9.6) togethher with Lizmap (3.9.7 - 800219e95) we tried to use the following url:
https://map.ourserver.com/lizmap/index.php/lizmap/service?repository=hfn&project=hfn_lizmap&service=print&template=Arbeiten_Offenland&atlasPrimaryKey=8436&format=pdf&dpi=100
This does not work and just gives us:
Service unknown or unsupported.
Would it still be possible to use the (py-)qgis-server to call a template file to generate pdf’s on the fly?