[bugfix][server] Fix prefix path for server - #6502
Conversation
Fixes qgis#18230 - service configuration error (service unknown or unsupported) I though about placing the fix into the server code, but I believe that it's much more cleaner here: otherwise we'd need to adjust all other paths *after* they were uncorrectly set by the application init() code.
|
In qgis 3.0.1 actual official package (on ubuntu 17.10), it is still required to fix it using something like |
|
Is this still a problem? I am experiencing the same issue as in 3liz/lizmap-web-client#793 on my fresh Ubuntu Server 18.04 install and qgis-server/bionic,now 1:3.4.0+28bionic amd64. Unfortunately, adding My test was:
The output I am receiving (before and after the P.S.: I also tried with v2.0 of the demo data but still the same exception. |
|
I also added a note in the original bug https://issues.qgis.org/issues/18230#note-13 |
|
Sorry, everything was ok with my config and QGIS SERVER. |
Fixes #18230 - service configuration error (service unknown or unsupported)
I thought about placing the fix into the server code, but I believe
that it's much more cleaner here: otherwise we'd need to adjust all
other paths after they have been uncorrectly set by the application
init() code.
Note that it is always possible to override the path with an environment variable.