Opened 3 years ago

Closed 3 years ago

#1636 closed defect (fixed)

QGIS Server fails to work after QGIS upgrade to 2.14 LTR

Reported by: kalxas Owned by: live-demo@…
Priority: major Milestone: Unplanned
Component: OSGeoLive Keywords: qgis server
Cc: live-demo@…

Description

QGIS 2.14.0 LTR was released few days ago.

Since we are very close to the OSGeoLive 9.5 release I did not upgrade to it right away, rather I pulled the deb package to our staging ppa and re-built it to test.

https://launchpad.net/~gcpp-kalxas/+archive/ubuntu/osgeolive/+packages

Then I did a nightly build based on that staging ppa to see how things are.

http://aiolos.survey.ntua.gr/gisvm/dev/osgeo-live-nightly-build168-amd64-e572448.iso

QGIS Desktop works flawlessly.

QGIS Server though fails to work due to this apache error:

[Sat Mar 05 09:33:10.320224 2016] [core:notice] [pid 5062] AH00094: Command line: '/usr/sbin/apache2'
QFSFileEngine::open: No file name specified
Warning 1: Unable to find driver ECW to unload from GDAL_SKIP environment variable.
Warning 1: Unable to find driver ECW to unload from GDAL_SKIP environment variable.
Warning 1: Unable to find driver JP2ECW to unload from GDAL_SKIP environment variable.
Warning 1: Unable to find driver ECW to unload from GDAL_SKIP environment variable.
Warning 1: Unable to find driver JP2ECW to unload from GDAL_SKIP environment variable.
ERROR: Auth db directory path could not be created
QFSFileEngine::open: No file name specified
Warning 1: Unable to find driver ECW to unload from GDAL_SKIP environment variable.
Warning 1: Unable to find driver ECW to unload from GDAL_SKIP environment variable.
Warning 1: Unable to find driver JP2ECW to unload from GDAL_SKIP environment variable.
Warning 1: Unable to find driver ECW to unload from GDAL_SKIP environment variable.
Warning 1: Unable to find driver JP2ECW to unload from GDAL_SKIP environment variable.
ERROR: Auth db directory path could not be created
[Sat Mar 05 10:42:45.144576 2016] [fcgid:warn] [pid 5076] [client 127.0.0.1:57996] mod_fcgid: error reading data, FastCGI server closed connection
[Sat Mar 05 10:42:45.144604 2016] [core:error] [pid 5076] [client 127.0.0.1:57996] End of script output before headers: qgis_mapserv.fcgi
[Sat Mar 05 10:42:47.741248 2016] [fcgid:warn] [pid 5074] [client 127.0.0.1:57995] mod_fcgid: error reading data, FastCGI server closed connection
[Sat Mar 05 10:42:47.741266 2016] [core:error] [pid 5074] [client 127.0.0.1:57995] End of script output before headers: qgis_mapserv.fcgi
[Sat Mar 05 10:42:50.905775 2016] [fcgid:error] [pid 5065] mod_fcgid: process /usr/lib/cgi-bin/qgis_mapserv.fcgi(6447) exit(communication error), get signal 6, possible coredump generated
[Sat Mar 05 10:42:50.905847 2016] [fcgid:error] [pid 5065] mod_fcgid: process /usr/lib/cgi-bin/qgis_mapserv.fcgi(6455) exit(communication error), get signal 6, possible coredump generated

I have been bugging the QGIS maintainers about this error for a few days:

ERROR: Auth db directory path could not be created

and this post seems relevant:

http://lists.osgeo.org/pipermail/qgis-user/2015-October/034050.html

I tried to create the QGIS_AUTH_DB_DIR_PATH in the FastCGI Apache configuration but no luck, the error persists...

It would be nice for once to have the latest release of QGIS included in OSGeo-Live 9.5 since our release schedules synced :)

Any suggestions/thoughts/pull requests are welcome...

Best, Angelos

Change history (4)

comment:1 Changed 3 years ago by jef

Saving the QGIS-Itasca-Example.qgs project with 2.14 makes it work.

comment:2 Changed 3 years ago by kalxas

Thanks Jurgen, that worked.

comment:4 Changed 3 years ago by kalxas

Resolution: fixed
Status: newclosed

Fixed. QGIS 2.14.0 has landed on our ppa.

Note: See TracTickets for help on using tickets.