Open hoge6b01 opened 5 years ago
it seems you didn't set the qgis server url in the config form of lizmap field "WMS server URL*" (default http://qgiserver/cgi-bin/qgis_mapserv.fcgi)...but I don't know what to put in this field...
New to docker....I don't know which URL to give lizmap so it can access QGIS Server....
any help please..
Gérald
I guess the WMS server URL in the lizmap field is not the problem, because I've got another instance running where exactly the same URL is noted in that field. After the installation of the docker everything works well, but after the server is restarted, it is not working anymore.
Same problem, i had to reinstall from scratch to have a map. A restart causes "Service non disponible"
I have the same problem after restart. Any solution?
Workaround: docker-compose down
then docker-compose up -d
again
Hey there! Everthing works great till machine restart. Same here: A restart causes "Service non disponible" is there another way (workarround) --> because i loose my repository definition every time?
Hello,
I installed the docker-lizmap on a freshly installed Ubuntu Server 18.04. After first installation of Docker everything worked fine (log-in, show demo maps, etc.) I restarted the server and also restarted all containers. I can log into lizmap's admin page but cannot see the demo maps anymore. In the Error log I get the following:
2018-10-24 09:15:06 80.149.89.58 warning 2018-10-24 09:15:06 [2] file_get_contents(http://qgiserver/cgi-bin/qgis_mapserv.fcgi?service=WMS&request=GetCapabilitiesAtlas): failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error /var/www/websig/lizmap/modules/lizmap/classes/lizmapProxy.class.php 237
2018-10-24 09:15:07 80.149.89.58 warning 2018-10-24 09:15:07 [2] file_get_contents(http://qgiserver/cgi-bin/qgis_mapserv.fcgi?map=%2Fhome%2Ffiles%2Fqgis%2Ftest%2Eqgs&request=GetCapabilities&service=WMS&version=1%2E3%2E0): failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error /var/www/websig/lizmap/modules/lizmap/classes/lizmapProxy.class.php 237
2018-10-24 09:15:07 80.149.89.58 warning 2018-10-24 09:15:07 [2] file_get_contents(http://qgiserver/cgi-bin/qgis_mapserv.fcgi?map=%2Fhome%2Ffiles%2Fqgis%2Ftest%2Eqgs&request=GetCapabilities&service=WMS&version=1%2E3%2E0): failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error /var/www/websig/lizmap/modules/lizmap/classes/lizmapProxy.class.php 237
2018-10-24 09:15:07 80.149.89.58 error GetCapabilities empty data 2018-10-24 09:15:07 80.149.89.58 warning 2018-10-24 09:15:07 [2] file_get_contents(http://qgiserver/cgi-bin/qgis_mapserv.fcgi?map=%2Fhome%2Ffiles%2Fqgis%2Ftest%2Eqgs&request=GetCapabilities&service=WFS): failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error /var/www/websig/lizmap/modules/lizmap/classes/lizmapProxy.class.php 237
2018-10-24 09:15:07 80.149.89.58 warning 2018-10-24 09:15:07 [2] file_get_contents(http://qgiserver/cgi-bin/qgis_mapserv.fcgi?map=%2Fhome%2Ffiles%2Fqgis%2Ftest%2Eqgs&request=GetCapabilities&service=WFS): failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error /var/www/websig/lizmap/modules/lizmap/classes/lizmapProxy.class.php 237
2018-10-24 09:15:07 80.149.89.58 error GetCapabilities empty data
Here my docker-compose file (I didn't include the pgAdmin4 as I do not have a GUI running on my server) (sorry for formating further down in the docker-compose)
version: '3.2' services: lizmap: image: jancelin/docker-lizmap:release_3_2 restart: on-failure ports:
redis:redis
qgiserver: image: jancelin/qgis-server:2.18LTR restart: on-failure volumes:
redis: image: redis:alpine restart: on-failure volumes:
postgis: image: kartoza/postgis:10.0-2.4 ports:
portainer: image: portainer/portainer restart: always ports:
portainer:/data
cloud: image: coderaiser/cloudcmd restart: always ports:
- ~:/root
volumes: portainer: postgres: redis: var: project:
Any idea to fix this? Thanks!