[QGIS-Developer] Geopackage as QGIS mapserver datasource failing?

Richard Duivenvoorde rdmailings at duif.net
Wed Nov 6 02:34:49 PST 2019


On 2019-11-06 10:27, Jorge Gustavo Rocha wrote:
> Hi Richard,
> 
>> failed to opened in update mode, trying in read-only mode
> 
> The file is on /tmp. Why can't QGIS open it in write mode? Can you 
> check
> the permissions?

Thanks Jorge,

This was indeed my problem.. Both files were in /tmp and (not sure why) 
but apparently the apache user www-data:www-data (or fcgi proces?) is 
not allowed to open the geopackage there...

Copied same file/permissions it to my /usr/lib/cgi-bin and it worked!

Sorry for the fuzzz...

Regards,

Richard

PS experimenting with wms-t in qgisserver 3.10/master:   works!!!  :-)


More information about the QGIS-Developer mailing list