Comments (31)
found something in /var/log/apache2/qgis-server-access.log (qgis container)... but it is not an error.
172.18.0.3 - - [26/Jan/2018:08:43:09 +0000] "GET /cgi-bin/qgis_mapserv.fcgi?map=%2Fvar%2Fwww%2Fwebsig%2Flizmap%2Finstall%2Fqgis%2Fmontpellier%2Eqgs&request=GetCapabilities&service=WFS HTTP/1.0" 200 424 "-" "-"
idem in /var/log/apache2/access.log (lizmap container) :
172.20.74.124 - - [26/Jan/2018:08:44:00 +0000] "GET /websig/lizmap/www/admin.php/admin/logs/detail HTTP/1.1" 200 1996 "http://lizmap-test.umrthema.univ-fcomte.fr/websig/lizmap/www/admin.php/admin/logs/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/63.0.3239.84 Chrome/63.0.3239.84 Safari/537.36"
from docker-lizmap.
I have the same issue.
If i change the qgis-server version in my docker-compose file, i can load and correctly display old qgis project (made with qgis 2.14)
I checked in the qgis-server logs, and found some warning message about possible trouble with a qgis project not built with the same qgis-server version.
My conclusion is that you should rebuild your project with a qgis having the same version as the qgis-server your are using in your containers.
On the other hand, i modified the yml file to expose the qgiserver ports on the host. Then tried to query a map from my web browser with a query like: http://my_ip:my_port/cgi-bin/qgis_mapserv.fcgi?REQUEST=GetMap&MAP=a_project.qgs. With the 2.14LTR qgisserver version, i got an answer. With the 2.18, i got an error message (service not available). Therefore, i'm not sure the solution you may follow. I guess there's a problem with the 2.18 qgiserver image ...
Hope this help somewhere
from docker-lizmap.
hi,
I'll need to see the docker-composer.yml
from docker-lizmap.
from docker-lizmap.
How does it feel with this query by changing the "my_ip" and "myQgisProject" with the right values:
https://my_ip:82/cgi-bin/qgis_mapserv.fcgi?map=/home/myQgisProject.qgs&service=WMS&request=GetCapabilities
from docker-lizmap.
with 2.14LTR qgiserver, It returns a long xml files (layers list, bouding box, project title ...)
with 2.18 qgiserver, the returned error is:
This XML file does not appear to have any style information associated with it. The document tree is shown below.
Service unknown or unsupported
from docker-lizmap.
this is a project made with qgis 2.18?
from docker-lizmap.
no. It was made with the Qgis 2.14
from docker-lizmap.
you can test with a project in 2.18?
the headers are changed
from docker-lizmap.
I have exactly the same error message:
Service unknown or unsupported
from docker-lizmap.
By the way, the 2.18 project i just tested is loading fine in an old 2.14 lizmap+qgisserver container.
So, i cannot incriminate the project itself
from docker-lizmap.
do : docker ps -a
that does a:
docker exec container_name_qgis2.18 sh -c "ls -l /home"
from docker-lizmap.
from docker-lizmap.
you added the subfolders to GetCapabilities?
ex:
https://my_ip:82/cgi-bin/qgis_mapserv.fcgi?map=/home/AGROCLIM/myQgisProject.qgs&service=WMS&request=GetCapabilities
from docker-lizmap.
from docker-lizmap.
try this image
jancelin/qgis-server:2.18LTR
I have to clean up the depots with the new LTR ...
from docker-lizmap.
YES !!
The lizmap web client 3.2pre180202 works fine with qgiserver 2.18LTR container, even for older projects (built with a qgis 2.14 )
Thank you for this help
Yes you should propose the same tag version for both docker images (lizmap & qgiserver) in order to help us to choose the right ones.
from docker-lizmap.
for me it is worse... when i try http://ip/websig/lizmap/www/admin.php/config, the answer is now :
Error 500. A technical error has occured. Sorry for this trouble.
i removed all volumes and images before trying the new image jancelin/qgis-server:2.18LTR.
my docker-compose.ymp contains :
version: '3'
services:
#---Lizmap & Qgis-server-------------
lizmap:
image: jancelin/docker-lizmap:latest
restart: always
ports:
- 80:80
- 443:443
volumes:
- /home/lizmap/lizmap_project:/home
- /home/lizmap/lizmap_var:/var/www/websig/lizmap/var
- /home/lizmap/tmp:/tmp
links:
- qgiserver:qgiserver
##Pensez à changer l'URL WMS dans le back-office de lizmap: http://qgiserver/cgi-bin/qgis_mapserv.fcgi
qgiserver:
#image: jancelin/qgis-server:2.18-wfsOutputExtension
image: jancelin/qgis-server:2.18LTR
restart: always
volumes:
- /home/lizmap/lizmap_project:/home
expose:
- 80
docker ps shows that everything should be ok :
$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
92490a3e50ca jancelin/docker-lizmap:latest "/bin/sh -c /start.sh" 6 minutes ago Up 6 minutes 0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp dockerlizmap_lizmap_1
d982735daf36 jancelin/qgis-server:2.18LTR "/bin/sh -c /start.sh" 6 minutes ago Up 6 minutes 80/tcp dockerlizmap_qgiserver_1
but I encounter this error 500.
i do not understand...
from docker-lizmap.
a bug with php7.0 ....
use last stable version with php5: jancelin/docker-lizmap:3.1.8
latest is the master of lizmap.
from docker-lizmap.
thank you for this tip, but even with jancelin/docker-lizmap:3.1.8, i always obtain an error 500.
$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
6ac453a7d200 jancelin/docker-lizmap:3.1.8 "/bin/sh -c /start.sh" 3 minutes ago Up About a minute 0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp dockerlizmap_lizmap_1
e6827d36f9e7 jancelin/qgis-server:2.18LTR "/bin/sh -c /start.sh" 3 minutes ago Up 3 minutes 80/tcp dockerlizmap_qgiserver_1
PHP is now in version 5.6 :
$ docker exec -it dockerlizmap_lizmap_1 php --version
PHP 5.6.33-0+deb8u1 (cli) (built: Jan 5 2018 15:46:26)
an other suggestion ? thank in advance.
i really do not understand what happens.
from docker-lizmap.
hey, it is ok now !!!!
because one should not use the following URL :
http://ip/websig/lizmap/www/admin.php/config
but this one :
http://ip/websig/lizmap/www/admin.php
from docker-lizmap.
Ok, docker-compose.yml up-to-date
from docker-lizmap.
jancelin/docker-lizmap:latest working, nowback to php5 and debian jessie, just for test of course!!!
use the lizmap master plugin for new features: https://github.com/3liz/lizmap-plugin
from docker-lizmap.
from docker-lizmap.
be careful at the URL you use. my experience is that
http://lizmap-dev.umrthema.univ-fcomte.fr/lm/admin.php/config/
does not work and leads to an error 500
but you should use
http://lizmap-dev.umrthema.univ-fcomte.fr/lm/admin.php
or
http://lizmap-dev.umrthema.univ-fcomte.fr/lm/admin.php/admin/config/
from docker-lizmap.
from docker-lizmap.
Me too same issue. Nothing works
from docker-lizmap.
from docker-lizmap.
I think the problem comes from old jauth.db (from 3.1... ) which defines directory rights.
by restarting from strach it works in master
you can test with the "Play with Docker" button in ReadMe.md
from docker-lizmap.
yes that's right, by restarting the master container with a new folder /var on docker-compose.yml no problem
from docker-lizmap.
if i have a jauth.db with hundred users, how could i convert it to the new version?
from docker-lizmap.
Related Issues (20)
- SSL Certificate - Error HOT 2
- Containeur se lance mais impossible de se connecter HOT 21
- Unable to view new projects HOT 2
- CORS error HOT 1
- Rancher support
- Error 500 to access lizmap after a new git clone HOT 11
- [DELETE]
- Service non Desponible HOT 5
- Aide pour installer sur OMV HOT 1
- Connect to PostGIS DB from outside HOT 1
- Invalid compose-file HOT 1
- Impossible d'accéder à la page admin HOT 4
- COmment accéder au répertoire où stocker les projets HOT 2
- SSL pour lizmap
- Lizmap ip:80 non fonctionnel sur le browser
- Migration container Lizmap : impossible de se connecter à l'application
- [3.3.0] a bytes-like object is required, not 'str'
- [nightly] Are you trying to mount a directory onto a file? HOT 2
- [nightly] where is the postgis container?
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-lizmap.