Coder Social home page Coder Social logo

Comments (1)

hbruch avatar hbruch commented on June 2, 2024

Same here when requesting GetProjectSettings. Results of "docker logs qgis-server":

...
[Sun Sep 23 11:32:26.557542 2018] [core:notice] [pid 1:tid 140429109689280] AH00094: Command line: 'apache2 -D FOREGROUND'
ERROR: Auth db directory path could not be created
Initializing server modules from  "/usr/lib/lib/qgis/server"

"Checking /usr/lib/lib/qgis/server for native services modules"
"Loading native module /usr/lib/lib/qgis/server/libdummy.so"
"Loading native module /usr/lib/lib/qgis/server/libwcs.so"
"Loading native module /usr/lib/lib/qgis/server/libwfs.so"
"Loading native module /usr/lib/lib/qgis/server/libwms.so"
QFSFileEngine::open: No file name specified
X.X.X.X - - [23/Sep/2018:11:33:09 +0000] "GET /?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetProjectSettings HTTP/1.0" 500 271 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0"

EDIT: Seems as environment variable QGIS_PROJECT_FILE is not passed:
[63][12:26:14] - QGIS_PROJECT_FILE / '' (QGIS project file): '' (read from DEFAULT_VALUE)

Adding the following line to /etc/apache2/conf-enabled/qgis.conf solved this for me, though I have no idea why it worked for 2.18/LTS...
FcgidInitialEnv QGIS_PROJECT_FILE ${QGIS_PROJECT_FILE}

from docker-qgis-server.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.