g3w-admin icon indicating copy to clipboard operation
g3w-admin copied to clipboard

Failure to load project with layers coming from S3 bucket

Open NyakudyaA opened this issue 4 years ago • 7 comments

I am running the latest dev version from https://github.com/g3w-suite/g3w-suite-docker

I have added a couple of env variables to my compose file like

g3w-suite:

  image: g3wsuite/g3w-suite:dev
  environment:
    - G3WSUITE_TILECACHE_PATH
    - G3WSUITE_QDJANGO_SERVER_URL
    - G3WSUITE_POSTGRES_DBNAME
    - G3WSUITE_POSTGRES_USER
    - G3WSUITE_POSTGRES_USER_LOCAL
    - G3WSUITE_POSTGRES_PASS
    - G3WSUITE_POSTGRES_HOST
    - G3WSUITE_POSTGRES_PORT
    - TILESTACHE_CACHE_BUFFER_SIZE
    - TILESTACHE_CACHE_TOKEN
    - PGSERVICEFILE
    - AWS_ACCESS_KEY_ID
    - AWS_S3_ENDPOINT
    - AWS_SECRET_ACCESS_KEY
    - AWS_VIRTUAL_HOSTING

When I log in to the container I can execute

gdalinfo /vsis3/foo/foobar.tif

And I can see the results of gdal. However, when I try to upload the QGIS file with this remote source I get the error

remote

It seems that when the project properties are being extracted something is failing.

I tried to run the same setting with the native QGIS server and it works seamlessly

NyakudyaA avatar Dec 15 '20 15:12 NyakudyaA