qgis / qgis-docker

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

is QGIS_USER useless? #23

Closed lucamanga closed 5 years ago

lucamanga commented 5 years ago

Hi, I tried to start the container:

docker run [...] -e QGIS_USER=gis openquake/qgis-server:ltr

but in the log I found this error:

spawn-fcgi: can't find user name gis

what is wrong?

daniviga commented 5 years ago

You must provide the corresponding id of the user (i.e. via $(id -u qgis)). The qgis user cannot be mapped to an id since is not known by the container internally.

I will improve the README to explain this better.

daniviga commented 5 years ago

I will improve the README to explain this better.

Done in https://github.com/gem/oq-qgis-server/commit/a6c5fd531a535edad0fc92bacbdd0c0a5225b6d0 and 740957967c6c9d709b91e58e961a77cad5bab626