qgis / qgis-docker

Official Docker image for QGIS Server and Desktop
GNU Affero General Public License v3.0
67 stars 21 forks source link

set QGIS_AUTH_DB_DIR_PATH to a writable path #46

Closed mbernasocchi closed 3 years ago

mbernasocchi commented 3 years ago

when QGIS_AUTH_DB_DIR_PATH is missing, QGIS generates one in the profile folder, if this is in a non-writable destination, the file cannot be created and various issues can happen. For example, WxS over https do not work anymore

see https://github.com/qgis/QGIS/issues/31675

mbernasocchi commented 3 years ago

@daniviga what do you think of at least having a default that will make https work? one can always override the ENV var

daniviga commented 3 years ago

@mbernasocchi shall the file be persistent? Or does the content be ephemeral?

BTW, LGTM, we can eventually make it an ENV var later on