Comments (1)
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)
- I can't run docker-qgis-server container HOT 4
- QGIS server is not working with layers coming from the database HOT 6
- Add CORS by default in apache.conf HOT 3
- QGIS Server 3 HOT 4
- InvalidCRS Issue HOT 5
- ServiceException code="InvalidCRS" (qgis-server:3.0.3) HOT 1
- QGIS Server Crashing with memory leak on Huge GeoJSON layer.
- Server Not Rendering ANY Font Labels
- server configuration error HOT 1
- Service configuration error
- QGIS Server vs ( LTR e 3.0) is not working with layers coming from the PostGis
- How do I update image to current 3.16?
- Use nginx instead of Apache HOT 1
- Integrate WPS HOT 1
- Error building image HOT 1
- The requested URL /cgi-bin/qgis_mapserv.fcgi was not found on this server. HOT 18
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-qgis-server.