Skip to content

Lacking of env var QGIS_SERVER_PLUGINPATH="/your/pluginspath/" causes of not recognized Lizmap_server plugin in LWC3.9.0 #281

@Antoviscomi

Description

@Antoviscomi

from official docs as in https://docs.lizmap.com/current/en/install/py-qgis-server.html#adapt-the-lizmap-web-client-configuration
for py-qgis-server:

First of all, we create an environment file /srv/qgis/config/qgis-service.env with

LC_ALL=en_US.UTF-8
LANG=en_US.UTF-8
DISPLAY=:99
QGIS_OPTIONS_PATH=/srv/qgis/
QGIS_AUTH_DB_DIR_PATH=/srv/qgis/
GDAL_CACHEMAX=2048
QGIS_SERVER_CACHE_SIZE=2048
QGIS_SERVER_LIZMAP_REVEAL_SETTINGS=TRUE
QGIS_SERVER_FORCE_READONLY_LAYERS=TRUE
QGIS_SERVER_TRUST_LAYER_METADATA=TRUE
QGIS_SERVER_APPLICATION_NAME=qgis-server

lacking of setting of

QGIS_SERVER_PLUGINPATH=/srv/qgis/plugins (or whatever your Lizmap server plugin resides in your sys)

that seems to be a mandatory setting in order to make py-qgis-server to works!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions