Giter Site home page Giter Site logo

docker-lizmap's People

Contributors

jancelin avatar mbernasocchi avatar timlinux avatar tudorbarascu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docker-lizmap's Issues

Unable to view new projects

I'm sorry not to be very able with docker but I try to explain my problem.
Following instructions I was able to setup lizmap in docker container but there are some problems:

  1. I'm unable to create new repo: I get the error 'Il percorso inserito per il repository non esiste sul server' (the path does not exists)

  2. If I try to load my projects in the default folder /home/files/qgis/ I'm unable to see them.
    I see just the two demo projects.
    I attach log:
    2018-03-21 13:42:44 172.18.0.1 notice 2018-03-21 13:42:44 [8] Array to string conversion /var/www/websig/lib/jelix/core/response/jResponseHtml.class.php 549

Thanks. Giuseppe

Service non Desponible

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:
- 80:80
- 443:443
volumes:
- project:/home
- var:/var/www/websig/lizmap/var
depends_on:
- postgis
- qgiserver
- redis
links:
- qgiserver:qgiserver
- redis:redis

qgiserver:
image: jancelin/qgis-server:2.18LTR
restart: on-failure
volumes:
- project:/home
expose:
- 80

redis:
image: redis:alpine
restart: on-failure
volumes:
- redis:/data
expose:
- 6379

postgis:
image: kartoza/postgis:10.0-2.4
ports:
- 5432:5432
expose:
- 5432
entrypoint: >
bash -c "wget -N -P / https://raw.githubusercontent.com/jancelin/docker-postgis/master/setup-database.sh &&
wget -N -P /home https://github.com/jancelin/docker-postgis/raw/master/geopoppy.sql &&
/docker-entrypoint.sh"
environment:
- ALLOW_IP_RANGE=0.0.0.0/0
- POSTGRES_USER=docker
- POSTGRES_DBNAME=geopoppy
- POSTGRES_DUMP=geopoppy.sql
volumes:
- postgres:/var/lib/postgresql

portainer:
image: portainer/portainer
restart: always
ports:
- 9000:9000
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- portainer:/data

cloud:
image: coderaiser/cloudcmd
restart: always
ports:
- 8000:8000
volumes:

- ~:/root

  - project:/mnt/fs

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

Any idea to fix this?
Thanks!

PHP/Apache Optimizations?

Hi, this is a great project! It made it very easy to test a QGIS Server install across multiple hardware configurations in order to benchmark performance- trying to get an idea what kind of hardware would be required.

Are there any performance optimizations you could recommend to speed up the docker image? Do you have any idea where the typical bottleneck would be for QGIS Server- at the CPU, RAM, or PHP code? I imagine it is is the CPU. Do you think it is safe to use this docker image in production?

Thanks for all of your hard work!

Editing with spatialite ?

Hi !

I want to incorporate spatialite layer for editing but it's possible with this docker ?

Thank for all !

Migration container Lizmap : impossible de se connecter à l'application

Nous avons migré notre application Lizmap d’un container version 3.0.1 à celui de la dernière version (3.2.2) disponible sur le lien https://hub.docker.com/r/jancelin/docker-lizmap

Nous rencontrons un problème pour se connecter au serveur avec les comptes utilisateurs existants avant la migration :
en saisissant les crédentials corrects, on récupère systématiquement l’erreur suivante :
« Utilisateur inconnu ou mauvais mot de passe »
Il n’y a pas plus d’information dans les fichiers errors.log et messages.log

Existe-il un moyen externe pour réinitiliser les mots de passe (ex : formulaire + envoi de mail), notamment celui du compte ‘admin’ ?

Sinon est-ce que ça marche en vidant le mot de passe crypté dans la colonne correspondante dans la base de données SQLite ?

Merci d’avance de votre aide

Relation "jacl2_rights" does not exist when trying to use lizmap with PostgreSQL

I'm trying to use postgresql to store user data for lizmap. Here is my compose file:

version: '3.2'
services:
  lizmap:
    image: kevincote/docker-lizmap-3-1-4
    container_name: lizmap
    restart: always
    ports:
     - 80:80
     - 443:443
    volumes:
     - type: volume
       source: /c/Users/kevin.cote/Desktop/liz/web/projects
       target: /home
     - type: volume
       source: /c/Users/kevin.cote/Desktop/liz/web/tmp
       target: /tmp
     - type: volume
       source: /c/Users/kevin.cote/Desktop/liz/web/var
       target: /var/www/websig/lizmap/var
    links:
     - qgiserver
     - postgres_auth
     - postgres_logs

  qgiserver:
    image: jancelin/qgis-server:2.18-wfsOutputExtension
    container_name: qgiserver
    restart: always
    volumes:
      - /c/Users/kevin.cote/Desktop/liz/web/projects:/home
    expose:
      - 80

  postgres_auth:
    image: postgres:9.4.15
    container_name: pgsql-auth
    restart: always
    environment:
      POSTGRES_USER: lizauth
      POSTGRES_PASSWORD: 12345

  postgres_logs:
    image: postgres:9.4.15
    container_name: pgsql-logs
    restart: always
    environment:
      POSTGRES_USER: lizlogs
      POSTGRES_PASSWORD: 12345

Here is the config inside profiles.ini.php:

; name of the default profile to use for any connection
default=jauth
jacl2_profile=jauth

;[jdb:jauth]
;driver=sqlite3
;database="var:db/jauth.db"

;[jdb:lizlog]
;driver=sqlite3
;database="var:db/logs.db"

; when you have charset issues, enable force_encoding so the connection will be
; made with the charset indicated in jelix config
;force_encoding = on

; with the following parameter, you can specify a table prefix which will be
; applied to DAOs automatically. For manual jDb requests, please use method
; jDbConnection::prefixTable().
;table_prefix =

; Example for pdo :
;driver=pdo
;dsn=mysql:host=localhost;dbname=test
;user=
;password=

[jdb:jauth]
driver="pgsql"
database="lizauth"
host="postgres_auth"
user="lizauth"
password="12345"

[jdb:lizlog]
driver="pgsql"
database="lizlogs"
host="postgres_logs"
user="lizlogs"
password="12345"

After starting the containers, I can't access Lizmap portal (Error 500. A technical error has occured. Sorry for this trouble.). If I look at the logs, I have this:

2017-12-06 15:12:21	192.168.99.1	error	2017-12-06 15:12:21	[403]	Erreur dans la requête (ERROR:  relation "jacl2_rights" does not exist
LINE 1: ..."id_aclgrp", "r"."id_aclres", "r"."canceled" FROM "jacl2_rig...
                                                             ^(SELECT "r"."id_aclsbj", "r"."id_aclgrp", "r"."id_aclres", "r"."canceled" FROM "jacl2_rights" AS "r" WHERE  "r"."id_aclres" = '-' AND "r"."id_aclgrp" = '__anonymous'))	/var/www/websig/lib/jelix/plugins/db/pgsql/pgsql.dbconnection.php	165

When connecting to the postgresql databases, I don't see any tables inside it. I guess that the table weren't initiated.

I tried to solve this issue by re-executing the installer.php file inside the install dir in the lizmap container, without success. I also tried to modify the setup.sh file to use a profiles.ini.php file with already modified database configuration for postgresql, but it gave me the same error message.

Any idea what I am doing wrong ?

[nightly] Are you trying to mount a directory onto a file?

branch nightly, "docker-compose up -d " fails with the following error:

[docker@lizmap-test docker-lizmap (nightly)]$ docker-compose up -d
Removing docker-lizmap_nginx_1
Recreating 01cd780f2db5_docker-lizmap_nginx_1 ... 
docker-lizmap_redis_1 is up-to-date
docker-lizmap_qgiserver_1 is up-to-date
Recreating 01cd780f2db5_docker-lizmap_nginx_1 ... error

ERROR: for 01cd780f2db5_docker-lizmap_nginx_1  Cannot start service nginx: OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:402: container init caused \"rootfs_linux.go:58: mounting \\\"/home/docker/docker-lizmap/lizmap/nginx/nginx.conf\\\" to rootfs \\\"/var/lib/docker/overlay2/06e52221c465c522ee053b5e472bb159b7bf28d1e109af5312bcf9c3eb3f6975/merged\\\" at \\\"/var/lib/docker/overlay2/06e52221c465c522ee053b5e472bb159b7bf28d1e109af5312bcf9c3eb3f6975/merged/etc/nginx/nginx.conf\\\" caused \\\"not a directory\\\"\"": unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type

ERROR: for nginx  Cannot start service nginx: OCI runtime create failed: container_linux.go:348: starting container process caused "process_linux.go:402: container init caused \"rootfs_linux.go:58: mounting \\\"/home/docker/docker-lizmap/lizmap/nginx/nginx.conf\\\" to rootfs \\\"/var/lib/docker/overlay2/06e52221c465c522ee053b5e472bb159b7bf28d1e109af5312bcf9c3eb3f6975/merged\\\" at \\\"/var/lib/docker/overlay2/06e52221c465c522ee053b5e472bb159b7bf28d1e109af5312bcf9c3eb3f6975/merged/etc/nginx/nginx.conf\\\" caused \\\"not a directory\\\"\"": unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type
ERROR: Encountered errors while bringing up the project.

any help would be appreciated

Affichage des photos impossible

Bonjour,

J'ai réalisé une installation de Lizmap sur une VM Debian Jessie située dans notre DMZ.
En interne, tout fonctionne correctement, j'ai bien mes segments avec les photos qui s'affichent.
Depuis l'extérieur de notre réseau, Lizmap fonctionne mais par contre, les images ne s'affichent pas. Quand je passe la souris sur la petite icone qui s'affiche à la place de l'image, je me suis rendu compte que l'URL utilisée contient l'adresse IP privée du serveur (et non le nom DNS externe) d'où l'erreur de chargement depuis l'extérieur.

Y-a-t-il un paramétrage particulier à réaliser pour afficher les photos depuis l'extérieur ?

Merci d'avance

[DELETE]

Désolé je ne parviens pas à supprimer cette 'issue' que j'avais ouverte...

Containeur se lance mais impossible de se connecter

Bonjour,

  • Serveur DELL PowerEdge R630
  • openSUSE 42.3 64 bits
  • Docker version | 17.09.1-ce
  • Docker-compose version | 1.17.0
  • CPU | 56
  • Memory | 135.1 GB

Contenu du fichier docker-compose.yml :

version: '3.4'
services:

  lizmap:
    image: jancelin/docker-lizmap:latest
    restart: always
    ports:
     - 80:80
     - 443:443
    volumes:
     - /srv/data/lizmap_project:/home
     - /srv/data/lizmap_var:/var/www/websig/lizmap/var
     - /srv/data/tmp:/tmp
    links:
     - qgiserver:qgiserver

  qgiserver:
    image: jancelin/qgis-server:2.18-wfsOutputExtension
    restart: always
    volumes:
      - /srv/data/lizmap_project:/home
    expose:
      - 80

J'accède bien à la page d'accueil (vide) de lizmap
Connexion à l'admin impossible avec id : admin / pass : admin
Aucun message d'erreur, rien, la page se recharge mais rien ne se passe et je ne suis pas connecté (testé avec firefox, chromium en mode normal et navigation privée juste au cas où)
J'ai essayé de saisir un autre utilisateur au hasard : lizmap me répond bien que l'authentification est incorrecte

Au cas où ce serait du à ma distribution exotique, j'ai réessayé en commentant l'ensemble des volumes pour écarter tout problème de droits et ne fonctionner qu'avec des données interne (même si un chown -R 33:33 /srv/data/lizmap_project /srv/data/lizmap_var /srv/data/tmp est censé résoudre le problème)

Quand j'entre en commande dans le container (via portainer par ex), je parcours bien depuis le containeur les projets et fichiers QGIS ajouté depuis mon hôte openSUSE mais lizmap ne voit rien hélas (ni projet, pas de login possible)

J'espère que ces infos complètes vous permettrons de me filer un coup de main :)

Lizmap ip:80 non fonctionnel sur le browser

Bonjour,
Je viens vers vous afin de vous demander pour quelle raison l'appel de la page lizmap depuis chrome (ip:80/websig/lizmap/admin.php) me donne une erreur 500. sachant que j'ai repris la même configuration que celle que vous avez fournit dans le fichier docker-compose.yml.

Quelle sera la source de ce probèlme ?
Sachant que je suis connecté en tant que root au serveur ubuntu.

Les tests effectués

  • ip:80 me donne accès à la page welcome de nginx sur le browser chrome.
  • ip:80/websig/lizmap/admin.php erreur 500

docker-compose.yml
lizmap:
image: jancelin/docker-lizmap:3.2.2
restart: always
ports:
- 80:80
- 444:443
volumes:
- qgis:/home
- var:/var/www/websig/lizmap/var

Jauth : Fatal error PHP

Bonjour,

merci pour ce beau geoppy. J'ai tenté de m'en fabriquer un hier, mais ça a coincé sur mon Raspberry Pi 3 à l'étape du docker lizmap.

J'ai testé également avec un Raspberry 2 au cas où, et il y a toujours la même erreur au même endroit. Ca concerne le module jauthdb, et l'erreur est décrite comme suit :

PHP Fatal error : Call to a member function getValue() on null in /var/www/websig/lib/jelix-modules/jauth/install/install.php on line 49

C'est bien embêtant parce qu'après, pas moyen de se connecter à Lizmap via l'adresse 10.10.0.25, en suivant précisément votre tuto comme les recommandations de ce post : #15

Avez-vous déjà rencontré ce souci ?

Merci d'avance !

Changement de langue (US --> FR)

Bonjour la question va sembler, un peu bête mais je n'arrive pas à changer la langue de mon interface lizmap (j'ai eu un changement à un moment qui a retiré le Français, semble-t-il...)

Ce que j'ai fait pour l'instant :

J'ai modifié le fichier mainconfig.ini.php
exécuter les commandes pour rajouter les locales : locale-gen fr_FR.UTF-8 & dpkg-reconfigure locales
Exécuter les mêmes opérations dans le container via docker exec
Démarré et redémarré le container lizmap (stop puis start)

Et je reste toujours en langue Anglaise. Il semble que dans les configurations (overloads), il n'y a pas non plus d'élément fr_FR.

Je pense que la solution est toute bête, si quelqu'un a une suggestion ?
Merci d'avance

Chargement des données interminable

Bonjour,

Je viens d'installer le contener Lizmap en version 3.1.
Je n'ai pas rencontré de problèmes lors de l'installation mais lorsque je teste un projet, j'ai le message "Chargement des données" qui apparaît (avec les petits carrés qui tournent) et mes données ne s'affichent jamais.
Quelqu'un aurait-il une idée ?

Merci

Service non disponible!

this issue is quite similar to the #39 : i can not load a map when i click on "voir la carte" (Montpellier).
my conf is :

Numéro de version -> 3.2pre171102
URL du serveur WMS -> http://qgiserver/cgi-bin/qgis_mapserv.fcgi
Version de QGIS Server -> ≥ 2.18
Répertoire racine du cache -> /tmp/
Chemin vers le répertoire local -> ../install/qgis/

the error message is "Service non disponible!", and i see nothing in the logs...
from the lizmap container, i can ping qgiserver, the qgis server container (after adding iputils-ping). i also test fcgi with a little test.fcgi script, it is also ok.
i had a similar problem with an other Lizmap instance, without Docker. The problem was solved with the ExecCGI option in the ScriptAlias directive of apache2.
any help would be appreciated.

Invalid compose-file

Bonjour,
Avec le compose-file proposé sous docker 18.06-ce, j'ai le problème suivant :
ERROR: The Compose file './docker-compose.yml' is invalid because:
Invalid top-level property "project". Valid top-level sections for this Compose file are: services, secrets, version, networks, volumes, and extensions starting with "x-".

Merci de votre aide

Rancher support

Great work around lizmap ! Thanks.

Are you planning to add rancher support?
It's a great tool to deploy docker applications on servers.

Aide pour installer sur OMV

Bonjour,
Je comprends qu'il y a plusieurs dockers : postgres, lizmap et qgis server et que docker-compose permet de les assembler grâce au yml.
Par contre j'ai du mal à mettre cela en oeuvre avec le gui d'OMV et je serai intéressé par un tutoriel sur le sujet.
Si jamais vous avez la possibilité de m'aider...
Merci

Help running the postgis container

Hi Julien

I am relatively new to docker, and have have been running a few containers on Windows. I have tried the script that you posted in the second last comment but I can not run the postgis container (I have used the docker-compose-windows.yml and adapted it to my needs including setting dbuser dbpassword etc (according to the kartoza way).

Can you guide me on how to get that running (if I exec into the container, and I do a ps -ef, only the setup and startup scripts are running.

If I look at the container logs (using Kitematic) theres complaints about wrong ownerships and waiting for postgres (localhost-only)

Need your help urgently please.

Regards

Pieter

SSL pour lizmap

Bonjour,
POur avoir un certificat SSL valide pour un docker lizmap, ne faudrait-il pas mettre let's encrypt dans le docker compose ?
Pour moi (sur OMV, let'encrypt est dans un plugin de openmediavault pour lequel je n'arrive pas à configurer un répertoire racine web pour lizmap (mais pour openmediavault oui

The edition feature does not appears

Hello,

The edition feature doesn't appears in the demo and my projects.
I checked the sqlite file. The rights are rw-rw-rw-
I installed the 2.14 ltr version
Is it due to docker container?

Thanks

Cannot load map

Hi,
I updated my docker-lizmap today via sudo docker pull jancelin/docker-lizmap.

As I can see in Lizmap Admin UI the running version is Version 3.2pre171102 now. So Update worked.

But, if I want to load a map (e.g. the Montpellier one) I get server errors. Here are the logs:

2018-01-17 11:58:20 80.149.89.58 notice 2018-01-17 11:58:20 [8] Undefined index: logEmail /var/www/websig/lizmap/modules/lizmap/classes/lizmapLogItem.class.php 69

2018-01-17 11:58:20 80.149.89.58 notice 2018-01-17 11:58:20 [8] Undefined index: logEmail /var/www/websig/lizmap/modules/lizmap/classes/lizmapLogItem.class.php 69

2018-01-17 11:58:20 80.149.89.58 warning 2018-01-17 11:58:20 [2] file_get_contents(http://127.0.0.1/cgi-bin/qgis_mapserv.fcgi?map=%2Fvar%2Fwww%2Fwebsig%2Flizmap%2Finstall%2Fqgis%2Fmontpellier%2Eqgs&request=GetCapabilities&service=WMS&version=1%2E3%2E0): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
/var/www/websig/lizmap/modules/lizmap/classes/lizmapProxy.class.php 93

2018-01-17 11:58:20 80.149.89.58 warning 2018-01-17 11:58:20 [2] file_get_contents(http://127.0.0.1/cgi-bin/qgis_mapserv.fcgi?map=%2Fvar%2Fwww%2Fwebsig%2Flizmap%2Finstall%2Fqgis%2Fmontpellier%2Eqgs&request=GetCapabilities&service=WFS): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
/var/www/websig/lizmap/modules/lizmap/classes/lizmapProxy.class.php 93

What happend? Did I download the wrong version? Do I have to do other steps as well?
Thanks for your help!
Carsten

CORS error

Hi,

I noticed some CORS related issues when calling a featureInfo. Example can be found here.

Question: is it possible to allow cross origin in the docker images? If yes, would you mind to give a hint how to do that?

Thanks for your help!
BR
Carsten

Problème d'insertion de photo/fichier

Bonjour après déploiement d'un docker lizmap (3.1-2.14LTR) sur un serveur digital ocean, mes projets fonctionnent bien à l'exception de la possibilité d'envoyer des photos et/ou fichiers (taille inférieure à 2Mo).

Quelque soit la taille ou le format du fichier, j'obtiens la même réponse : Erreur technique durant le téléchargement du fichier indiqué pour ""

J'ai configuré mon répertoire de projet avec un dossier média :
/home/docker-lizmap-postgis/projects/media/upload/

Les droits sur le dossier (récursifs) sont les suivants :
drwxrwxr-x 4 www-data www-data 4096 Feb 6 10:29 media

J'ai testé l'envoi avec 3 navigateurs différents (firefox, chromium et icecat) et deux plateformes différentes (téléphone sous Android 4.4.2 et une fedora 24)

Côté Postgis
le champs photo est en varchar sans longueur et accepte d'être Null
le champs acte (fichier) est en text sans longueur également (-1)

Pour accéder à la base lizmap passe par du localhost, j'utilise un tunnel SSH pour pouvoir travailler en local : ssh -L 5432:localhost:5432 user@serveur En tout cas l'affichage et la modification de la donnée en ligne est possible en dehors de ces deux champs.

Je sèche un peu sur l'amélioration de mon diagnostic du problème, est-ce qu'il y a des pistes que vous pourriez m'indiquer ou d'information utile qui pourraient être utiles ? Peut-être du côté des logs (côté portail en allant dans l'administration, il n'y a rien d'intéressant).

J'ai également tester la chose sur un raspberry et l'ajout de média était fonctionnel... je suis également allé inspecter l'instérieur du container en utilisant docker exec -it nom_du_docker bash et je n'ai rien remarqué d'anormal.

Merci

Connect to PostGIS DB from outside

Hi, I've got another question:
is it possible to connect to the postgis DB from outside?
I deploy the docker-lizmap on a server and want to connect to the DB from my local QGIS. Would that be possible?

debian to ubuntu

migrate to ubuntu because I have some problem for looking big relational value, when I edit a entity with lizmap-web-client.

SSL Certificate - Error

When I surf to my docker-lizmap installation via https it returns me

NET::ERR_CERT_AUTHORITY_INVALID

It seems because the cert is issued by '9306447c14e2' which seems not to be a trusted issuer.
So my question is: does docker-lizmap comes with a 'default' cert? Do I have to get one for my installation?

Sorry for my nooby question.
Thanks and BR!

Error 500 to access lizmap after a new git clone

I just did a fresh git clone this morning.
I have run docker-compose -d following the manual and I tried to go to http://localhost:8080/websig/lizmap/www/admin.php/config but I got this issue:

Error 500. A technical error has occured. Sorry for this trouble.
Application temp directory doesn't exist ! 

Any hint? I can try to have a look.

Problem with /tmp folder

Hi and thanks for your work.
As expected, I open this ticket.

When I want to configure Lizmap, I have a problem to access the directory : tmp.
"Le répertoire n'existe pas où n'est pas accessible en écriture. Vous pouvez utiliser: /tmp"

However, when I delete it with the following command -v /tmp, then I can edit the configuration.

Thanks

After reboot Docker doesn't restart

Hello,
I installed your docker as described and worked for weeks like charm. Today I had to restart the server. But docker restart lizmap does not restart the docker. A docker ps -a shows that it's restarting since About a minute ago. But since ten minutes it shows the same. So my question is what do I have to do after a server's reboot?

Thanks in advance.

WMS configuration error

Hi !

I was install docker-lizmap i my ubuntu server and i have his error when i load the map

<ServiceExceptionReport version="1.3.0" xmlns="http://www.opengis.net/ogc"> <ServiceException code="WMS configuration error">There was an error reading the project file or the SLD configuration</ServiceException> </ServiceExceptionReport>

i use QGIS 2.14.3-Essen

Thank for your help

[3.3.0] a bytes-like object is required, not 'str'

branch 3.3.0

"docker-compose up -d" fails with the following error:

[docker@lizmap-test docker-lizmap (3.3.0)]$ docker-compose up -d
docker-lizmap_qgiserver_1 is up-to-date
docker-lizmap_lizmap_1 is up-to-date
docker-lizmap_redis_1 is up-to-date
Starting docker-lizmap_nginx_1 ... 

ERROR: for docker-lizmap_nginx_1  a bytes-like object is required, not 'str'

ERROR: for nginx  a bytes-like object is required, not 'str'
Traceback (most recent call last):
  File "site-packages/docker/api/client.py", line 261, in _raise_for_status
  File "site-packages/requests/models.py", line 940, in raise_for_status
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: http+docker://localhost/v1.21/containers/01cd780f2db55b6704282c92125d897d9e7e2213e358567ec6ed5fb9a9f08cc1/start

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "compose/service.py", line 625, in start_container
  File "compose/container.py", line 241, in start
  File "site-packages/docker/utils/decorators.py", line 19, in wrapped
  File "site-packages/docker/api/container.py", line 1095, in start
  File "site-packages/docker/api/client.py", line 263, in _raise_for_status
  File "site-packages/docker/errors.py", line 31, in create_api_error_from_http_exception
docker.errors.APIError: 400 Client Error: Bad Request ("b'OCI runtime create failed:
container_linux.go:348: starting container process caused "process_linux.go:402: container init caused \\"rootfs_linux.go:58: mounting \\\\\\"/home/docker/docker-lizmap/lizmap/nginx/nginx.conf\\\\\\" to rootfs \\\\\\"/var/lib/docker/overlay2/792f227bd48dac77114426a37bf76e4f2ca474235556adbf3b034ea982da0947/merged\\\\\\" at \\\\\\"/var/lib/docker/overlay2/792f227bd48dac77114426a37bf76e4f2ca474235556adbf3b034ea982da0947/merged/etc/nginx/nginx.conf\\\\\\" caused \\\\\\"not a directory\\\\\\"\\"": unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type'")

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "bin/docker-compose", line 6, in <module>
  File "compose/cli/main.py", line 72, in main
  File "compose/cli/main.py", line 128, in perform_command
  File "compose/cli/main.py", line 1107, in up
  File "compose/cli/main.py", line 1103, in up
  File "compose/project.py", line 570, in up
  File "compose/parallel.py", line 112, in parallel_execute
  File "compose/parallel.py", line 210, in producer
  File "compose/project.py", line 556, in do
  File "compose/service.py", line 568, in execute_convergence_plan
  File "compose/service.py", line 510, in _execute_convergence_start
  File "compose/parallel.py", line 112, in parallel_execute
  File "compose/parallel.py", line 210, in producer
  File "compose/service.py", line 508, in <lambda>
  File "compose/service.py", line 620, in start_container_if_stopped
  File "compose/service.py", line 627, in start_container
TypeError: a bytes-like object is required, not 'str'
[28954] Failed to execute script docker-compose

Thanks in advance for your help.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.