jancelin / docker-lizmap

docker lizmap
GNU Affero General Public License v3.0
27 stars 22 forks source link

Service non Desponible #54

Open hoge6b01 opened 5 years ago

hoge6b01 commented 5 years ago

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:

volumes: portainer: postgres: redis: var: project:

Any idea to fix this? Thanks!

gerald2545 commented 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

hoge6b01 commented 5 years ago

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.

Xavier788 commented 5 years ago

Same problem, i had to reinstall from scratch to have a map. A restart causes "Service non disponible"

jlstanus commented 5 years ago

I have the same problem after restart. Any solution?

Workaround: docker-compose down then docker-compose up -d again

Rodimos commented 5 years ago

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?