Skip to content
This repository has been archived by the owner on Jun 11, 2020. It is now read-only.

Error loading a qgis project #10

Open
nwrox opened this issue Dec 4, 2019 · 0 comments
Open

Error loading a qgis project #10

nwrox opened this issue Dec 4, 2019 · 0 comments

Comments

@nwrox
Copy link

nwrox commented Dec 4, 2019

I've pulled the image (3.6) and successfully run with:

docker run -d -p 8380:8080 \
-v $PWD/projects:/projects \
-e QGSRV_SERVER_WORKERS=2 \
-e QGSRV_LOGGING_LEVEL=DEBUG \
-e QGSRV_CACHE_ROOTDIR=/projects \
-e QGSRV_CACHE_SIZE=10 \
3liz/qgis-map-server:3.4

My qgis project load the layers from a postgres/postgis 8.4 and i get the error bellow when i query:

http://<server>:8380/ows/?SERVICE=WFS&VERSION=1.1.0&REQUEST=GetCapabilities&MAP=project.qgs

erro_3liz_docker

And i see this in the container log:

...
2019-12-04 22:45:57,079 WARNING [29]    Qgis: PostGIS: Connection to database failed
local user with ID 9001 does not exist
2019-12-04 22:45:57,162 WARNING [29]    Qgis: : 54 bad layers dismissed:
...

P.S. This project is used internally in my organization and we provide a password (to connect to the pg/postgis) to use it in qgis desktop, that works fine.

How can i solve this? thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant