Nous utilisons des cookies pour vous garantir la meilleure expérience sur notre site. Si vous continuez à utiliser ce dernier, nous considèrerons que vous acceptez l'utilisation des cookies. J'ai compris ! ou En savoir plus !.
banniere

Le portail francophone de la géomatique


Toujours pas inscrit ? Mot de passe oublié ?
Nom d'utilisateur    Mot de passe              Toujours pas inscrit ?   Mot de passe oublié ?

Annonce

Suite à un problème technique intervenu entre le 22 et le 23 mars, nous avons du procéder dans la soirée du 25 mars, à la restauration de la base de données du 24 mars (matinée).

En clair, nous avons perdu vos contributions et inscriptions du dimanche 24 et du lundi 25 mars.
Nous vous prions de nous excuser.

#1 Tue 05 July 2022 18:30

Renaud_NM
Participant actif
Date d'inscription: 13 Sep 2019
Messages: 84

[Lizmap] problème d'affichage entre la version Windows et Ubuntu

bonjour,

Suite à une première installation de LizMap 3.5.3 sous Windows avec une GDB Fichier , celle-ci etait trop lente, donc je viens de passer sous Ubuntu et PostGis.
Apres avoir migré les projets QGis 3.22 LTR sous PostGis, ils s'affichent parfaitement sur la version Windows mais certaines couches ne s'affichent pas sous Ubuntu.
pour essayer de remédier au problème; j'ai effectué une migration vers Lizmap 3.5.4 pour la version Ubuntu... toujours le même problème.
de plus, le module édition ne fonctionne pas sous Ubuntu. création d'un fichier de 1ko)

Merci par avance pour votre aide.

Hors ligne

 

#2 Wed 06 July 2022 09:09

JLH
Participant actif
Date d'inscription: 7 Dec 2019
Messages: 68

Re: [Lizmap] problème d'affichage entre la version Windows et Ubuntu

Bonjour,
Quelques éléments où chercher :


1/ Problème d'accès et/ou de droits sur la base de données.

Ou est stockée la base de donnée? En local? Le "chemin" depuis Windows n'est peut-être pas le même que depuis Ubuntu.

Vous pouvez vérifier en ouvrant dans un éditeur le projet .qgs et regarder la source des couches qui ne s'affichent pas.

2/ Façon d'ajouter les couches

Si vous avez utiliser le password manager pour rajouter les couches sur Qgis dans Windows, ceux-ci ne peuvent être lu par Ubuntu, les id /mot de passe doivent être en clair dans votre projet Qgis.

En espérant que ça aide !

Hors ligne

 

#3 Wed 06 July 2022 09:36

Renaud_NM
Participant actif
Date d'inscription: 13 Sep 2019
Messages: 84

Re: [Lizmap] problème d'affichage entre la version Windows et Ubuntu

bonjour,
je vous remercie pour votre aide.
Le projet est identique sous Windows et Ubuntu.
L'id /mot de passe est en clair dans le projet .qgs
Toutes les couches sont dans une base PostGis.

Hors ligne

 

#4 Wed 06 July 2022 09:50

JLH
Participant actif
Date d'inscription: 7 Dec 2019
Messages: 68

Re: [Lizmap] problème d'affichage entre la version Windows et Ubuntu

La base Postgis est-elle stockée en local ? Sur Windows ou sur Ubuntu? ou sur un serveur externe?

Vous pouvez checker les log dans /lizmap/var/log/error.log ? Idem si vous héberger votre base Postgis, vous pouvez checker les logs?

Hors ligne

 

#5 Wed 06 July 2022 10:20

Renaud_NM
Participant actif
Date d'inscription: 13 Sep 2019
Messages: 84

Re: [Lizmap] problème d'affichage entre la version Windows et Ubuntu

la BDD Postgis est sur Ubuntu (même serveur que Lizmap 3.5.4).
Le Lizmap Windows y accède donc à distance.

fichier error.log:
[mpm_prefork:notice] [pid 67] AH00163: Apache/2.4.29 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.1.1 configured -- resuming normal operations
[core:notice] [pid 67] AH00094: Command line: '/usr/sbin/apache2'
Warning 1: Unable to find driver ECW to unload from GDAL_SKIP environment variable.
Warning 1: Unable to find driver ECW to unload from GDAL_SKIP environment variable.
Warning 1: Unable to find driver JP2ECW to unload from GDAL_SKIP environment variable.
Warning 1: Unable to find driver ECW to unload from GDAL_SKIP environment variable.
Warning 1: Unable to find driver JP2ECW to unload from GDAL_SKIP environment variable.
ERROR: Auth db directory path could not be created

Hors ligne

 

#6 Wed 06 July 2022 10:23

JLH
Participant actif
Date d'inscription: 7 Dec 2019
Messages: 68

Re: [Lizmap] problème d'affichage entre la version Windows et Ubuntu

Merci pour ces logs, avez les mêmes pour la base de données svp (/var/log/postgresql/error...log) ?
Et au niveau du serveur (/var/log/apache2/error.log)?

Sinon, avez-vous paramétrer les fichiers, profil.ini local.ini de lizmap ? Ainsi que pg_hab.conf de PostgreSQL ?

Dernière modification par Jean HUMBERT (Wed 06 July 2022 10:26)

Hors ligne

 

#7 Wed 06 July 2022 10:43

Renaud_NM
Participant actif
Date d'inscription: 13 Sep 2019
Messages: 84

Re: [Lizmap] problème d'affichage entre la version Windows et Ubuntu

Fichier pg_hab.conf de PostgreSQL :
local   all             postgres                                trust

# TYPE  DATABASE        USER            ADDRESS                 METHOD

# "local" is for Unix domain socket connections only
local   all             all                                     trust
# IPv4 local connections:
host    all             all             127.0.0.1/32            trust
host    all             all             0.0.0.0/0               trust
# IPv6 local connections:
host    all             all             ::1/128                 trust
# Allow replication connections from localhost, by a user with the
# replication privilege.
local   replication     all                                     trust
host    replication     all             127.0.0.1/32            trust
host    replication     all             ::1/128                 trust



Fichier Log de PostGis :


2022-07-06 10:03:46.651 CEST [2176] postgres@postgres WARNING:  stats for "ssnetworkstructure.wkb_geometry" do not exist
2022-07-06 10:03:46.652 CEST [2176] postgres@postgres WARNING:  stats for "ssnetworkstructure.wkb_geometry" do not exist
2022-07-06 10:03:46.652 CEST [2176] postgres@postgres WARNING:  stats for "ssnetworkstructure.wkb_geometry" do not exist
2022-07-06 10:03:46.652 CEST [2176] postgres@postgres WARNING:  stats for "ssnetworkstructure.wkb_geometry" do not exist
2022-07-06 10:06:07.800 CEST [2184] postgres@postgres WARNING:  stats for "communes.wkb_geometry" do not exist
2022-07-06 10:06:07.800 CEST [2184] postgres@postgres WARNING:  stats for "communes.wkb_geometry" do not exist
2022-07-06 10:06:07.800 CEST [2184] postgres@postgres WARNING:  stats for "communes.wkb_geometry" do not exist
2022-07-06 10:06:07.800 CEST [2184] postgres@postgres WARNING:  stats for "communes.wkb_geometry" do not exist
2022-07-06 10:06:47.757 CEST [2184] postgres@postgres WARNING:  stats for "communes_nm.wkb_geometry" do not exist
2022-07-06 10:06:47.757 CEST [2184] postgres@postgres WARNING:  stats for "communes_nm.wkb_geometry" do not exist
2022-07-06 10:06:47.757 CEST [2184] postgres@postgres WARNING:  stats for "communes_nm.wkb_geometry" do not exist
2022-07-06 10:06:47.757 CEST [2184] postgres@postgres WARNING:  stats for "communes_nm.wkb_geometry" do not exist
2022-07-06 10:07:44.112 CEST [2199] postgres@postgres ERROR:  relation "lizmap_search" does not exist at character 15
2022-07-06 10:07:44.112 CEST [2199] postgres@postgres STATEMENT:  SELECT * FROM lizmap_search LIMIT 0;
2022-07-06 10:32:31.753 CEST [107] LOG:  received fast shutdown request
2022-07-06 10:32:31.837 CEST [107] LOG:  aborting any active transactions
2022-07-06 10:32:31.837 CEST [2216] postgres@postgres FATAL:  terminating connection due to administrator command
2022-07-06 10:32:31.837 CEST [2136] postgres@postgres FATAL:  terminating connection due to administrator command
2022-07-06 10:32:31.837 CEST [2211] postgres@postgres FATAL:  terminating connection due to administrator command
2022-07-06 10:32:31.838 CEST [2135] postgres@postgres FATAL:  terminating connection due to administrator command
2022-07-06 10:32:31.838 CEST [1598] postgres@postgres FATAL:  terminating connection due to administrator command
2022-07-06 10:32:31.839 CEST [1599] postgres@postgres FATAL:  terminating connection due to administrator command
2022-07-06 10:32:31.840 CEST [818] postgres@postgres FATAL:  terminating connection due to administrator command
2022-07-06 10:32:31.841 CEST [2105] postgres@postgres FATAL:  terminating connection due to administrator command
2022-07-06 10:32:31.841 CEST [825] postgres@postgres FATAL:  terminating connection due to administrator command
2022-07-06 10:32:31.842 CEST [107] LOG:  worker process: logical replication launcher (PID 114) exited with exit code 1
2022-07-06 10:32:31.842 CEST [109] LOG:  shutting down
2022-07-06 10:32:32.176 CEST [107] LOG:  database system is shut down
2022-07-06 10:32:35.932 CEST [2650] LOG:  listening on IPv4 address "0.0.0.0", port 5678
2022-07-06 10:32:35.932 CEST [2650] LOG:  listening on IPv6 address "::", port 5678
2022-07-06 10:32:36.014 CEST [2650] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5678"
2022-07-06 10:32:36.281 CEST [2651] LOG:  database system was shut down at 2022-07-06 10:32:32 CEST
2022-07-06 10:32:36.356 CEST [2650] LOG:  database system is ready to accept connections
2022-07-06 10:32:36.860 CEST [2658] [unknown]@[unknown] LOG:  incomplete startup packet
2022-07-06 10:32:55.894 CEST [2681] postgres@postgres ERROR:  relation "lizmap_search" does not exist at character 15
2022-07-06 10:32:55.894 CEST [2681] postgres@postgres STATEMENT:  SELECT * FROM lizmap_search LIMIT 0;



Fichier Profil.ini :

;<?php die(''); ?>
;for security reasons, don't remove or modify the first line

[jdb]

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

[jdb:jauth]
driver=pgsql
host=localhost
port=5678
database=postgres
user=<user>
password=<password>
search_path=public

[jdb:lizlog]
driver=pgsql
host=localhost
port=5678
database=postgres
user=<user>
password=<password>
search_path=public

[jcache]

; name of the default profil to use for cache
default=myapp

[jcache:qgisprojects]
enabled=1
driver=file
ttl=0

Fichier localconfig.ini :

;<?php die(''); ?>
;for security reasons , don't remove or modify the first line

; put here configuration variables that are specific to this installation


; chmod for files created by Lizmap and Jelix
;chmodFile=0664
;chmodDir=0775

modulesPath="lib:jelix-admin-modules,lib:jelix-modules,app:modules,app:lizmap-modules,app:vendor/jelix/jcommunity-module/modules"
pluginsPath="app:plugins,lib:jelix-plugins,module:jacl2db/plugins"
[modules]
;; uncomment it if you want to use ldap for authentication
;; see documentation to complete the ldap configuration
;ldapdao.access=2
lizmap.installparam=demo
altiProfil.access=2
altiProfilAdmin.access=2
mapBuilder.access=1
mapBuilderAdmin.access=1

mapBuilder.path="app:my-packages/vendor/lizmap/lizmap-mapbuilder-module/mapBuilder"
mapBuilderAdmin.path="app:my-packages/vendor/lizmap/lizmap-mapbuilder-module/mapBuilderAdmin"
adresse.access=2

[coordplugin_auth]
;; uncomment it if you want to use ldap for authentication
;; see documentation to complete the ldap configuration
;driver=ldapdao

[coordplugins]
lizmap=lizmapConfig.ini.php

[simple_urlengine_entrypoints]
index="@classic"
admin="jacl2db~*@classic,jacl2db_admin~*@classic,jauthdb_admin~*@classic,master_admin~*@classic,admin~*@classic,jcommunity~*@classic,mapBuilderAdmin~*@classic, altiProfilAdmin~*@classic"

Hors ligne

 

#8 Wed 06 July 2022 11:08

JLH
Participant actif
Date d'inscription: 7 Dec 2019
Messages: 68

Re: [Lizmap] problème d'affichage entre la version Windows et Ubuntu

Merci !

Pour le fichier pg_hba.conf, je vous conseille d'utiliser md5 comme méthode de connexion,=>
# IPv4 local connections:
host    all             all             127.0.0.1/32            md5
host    all             all             0.0.0.0/0               md5


Pour les logs de la base de données, je ne lis rien , a priori, qui empêche la connexion.

Pouvez-vous sortir les logs du serveur ( apache ou nginx)?

Une autre question que j'aurais du poser il y a longtemps, votre installation d'Ubuntu est-elle sur une machine virtuelle? Merci

Dernière modification par Jean HUMBERT (Wed 06 July 2022 11:11)

Hors ligne

 

#9 Wed 06 July 2022 11:18

Renaud_NM
Participant actif
Date d'inscription: 13 Sep 2019
Messages: 84

Re: [Lizmap] problème d'affichage entre la version Windows et Ubuntu

Merci!
en effet Ubuntu est installé sur WSL V2.
les logs Apache correspondent au fichier error.log précédemment donné.

Hors ligne

 

#10 Wed 06 July 2022 11:36

JLH
Participant actif
Date d'inscription: 7 Dec 2019
Messages: 68

Re: [Lizmap] problème d'affichage entre la version Windows et Ubuntu

D'accord, il y a peut-être un problème de log avec Qgis-server car aucune information n'apparait. Pouvez-vous configurer les logs de cette manière dans votre fichier etc/apache2/sites-available/<fichier.conf> :
FcgidInitialEnv QGIS_SERVER_LOG_LEVEL "0"
FcgidInitialEnv QGIS_SERVER_LOG_STDERR "1"

Verifier aussi le chemin vers le fichier de log de Qgis-server smile Il est parfois différent de celui d'apache2

Puis redémarrez le server, manipulez un jeu de données surLizmap et revenir voir les logs. Vous trouverez certainement les erreurs causant votre problème.

Dernière modification par Jean HUMBERT (Wed 06 July 2022 11:37)

Hors ligne

 

#11 Wed 06 July 2022 12:00

Renaud_NM
Participant actif
Date d'inscription: 13 Sep 2019
Messages: 84

Re: [Lizmap] problème d'affichage entre la version Windows et Ubuntu

j'ai ce type d'erreur aussi :

2022-07-06 11:57:02    172.29.112.1    notice    2022-07-06 11:57:02    [8]    Undefined index: qgsmtime    /var/www/lizmap-web-client-3.5.3/lizmap/modules/lizmap/lib/Project/Project.php    167

2022-07-06 11:57:02    172.29.112.1    notice    2022-07-06 11:57:02    [8]    Undefined index: id    /var/www/lizmap-web-client-3.5.3/lizmap/modules/lizmap/lib/Project/Project.php    170



la plus part des couches ont un SRID=2154 mais je remarque qu'il y a aussi SRID=900915 cela peut-il poser problème pour l'affichage ?

Hors ligne

 

#12 Wed 06 July 2022 12:05

JLH
Participant actif
Date d'inscription: 7 Dec 2019
Messages: 68

Re: [Lizmap] problème d'affichage entre la version Windows et Ubuntu

En effet, il faut bien paramétrer les propriétés du projet sur Qgis, ainsi que les couches. Vous pouvez tester votre projet à l'aide d'un bouton d'ailleurs (soit dans les propriétés du projet, soit dans le plugin Lizmap.

Hors ligne

 

#13 Wed 06 July 2022 12:17

Renaud_NM
Participant actif
Date d'inscription: 13 Sep 2019
Messages: 84

Re: [Lizmap] problème d'affichage entre la version Windows et Ubuntu

le test de la configuration est : Le projet est valide.

Hors ligne

 

#14 Wed 06 July 2022 12:22

JLH
Participant actif
Date d'inscription: 7 Dec 2019
Messages: 68

Re: [Lizmap] problème d'affichage entre la version Windows et Ubuntu

Merci, avez vous appliquer cela :
D'accord, il y a peut-être un problème de log avec Qgis-server car aucune information n'apparait. Pouvez-vous configurer les logs de cette manière dans votre fichier etc/apache2/sites-available/<fichier.conf> :
FcgidInitialEnv QGIS_SERVER_LOG_LEVEL "0"
FcgidInitialEnv QGIS_SERVER_LOG_STDERR "1"

Verifier aussi le chemin vers le fichier de log de Qgis-server smile Il est parfois différent de celui d'apache2

Puis redémarrez le server, manipulez un jeu de données surLizmap et revenir voir les logs. Vous trouverez certainement les erreurs causant votre problème.

Hors ligne

 

#15 Wed 06 July 2022 13:49

Renaud_NM
Participant actif
Date d'inscription: 13 Sep 2019
Messages: 84

Re: [Lizmap] problème d'affichage entre la version Windows et Ubuntu

je vais repartir de zero avec une image Docker... merci pour votre aide

Hors ligne

 

#16 Wed 06 July 2022 14:22

Renaud_NM
Participant actif
Date d'inscription: 13 Sep 2019
Messages: 84

Re: [Lizmap] problème d'affichage entre la version Windows et Ubuntu

malheureusement je ne trouve pas d'image docker Lizmap en 3.5.3.
le liens suivant ne fonctionne pas : sudo docker pull 3liz/lizmap-web-client

Hors ligne

 

#17 Wed 06 July 2022 14:35

Renaud_NM
Participant actif
Date d'inscription: 13 Sep 2019
Messages: 84

Re: [Lizmap] problème d'affichage entre la version Windows et Ubuntu

je me reponds... il y a : docker pull 3liz/lizmap-web-client:3.5.3

Hors ligne

 

#18 Wed 06 July 2022 15:01

Renaud_NM
Participant actif
Date d'inscription: 13 Sep 2019
Messages: 84

Re: [Lizmap] problème d'affichage entre la version Windows et Ubuntu

je laisse tomber avec Docker !!!
ou puis-je trouver une installation simple Linux + postgis ?
Merci

Hors ligne

 

#19 Wed 06 July 2022 15:05

JLH
Participant actif
Date d'inscription: 7 Dec 2019
Messages: 68

Re: [Lizmap] problème d'affichage entre la version Windows et Ubuntu

Avant de reinstaller le tout, pourquoi ne pas regarder les logs de Qgis-server?

Hors ligne

 

#20 Wed 06 July 2022 15:29

Renaud_NM
Participant actif
Date d'inscription: 13 Sep 2019
Messages: 84

Re: [Lizmap] problème d'affichage entre la version Windows et Ubuntu

car je n'y arrive pas ;-(

je viens d'avoir un nouveau message :
ERROR 6: No translation for an empty SRS to PROJ.4 format is known.
ERROR 6: No translation for an empty SRS to PROJ.4 format is known.


Voici ma configuration apache : (je suis sur le port 81 au lieu de 80... si je passe sur le 80 lizmap fonctionne mais c'est tres lent !!!)

<VirtualHost *:81>
        ServerName localhost
        ServerAlias localhost
        DirectoryIndex index.html index.php

        DocumentRoot  /var/www/html
        <Directory var/www/html>
                Options +Indexes +FollowSymLinks +ExecCGI
                AllowOverride All
                Require all granted
        </Directory>

        # FcgidInitialEnv PGSERVICEFILE /home/<user>/pg_service.conf
        # FcgidInitialEnv  PGSERVICE=lizmap

        FcgidIOTimeout 120
        # FcgidInitialEnv PGPASSFILE /home/<user>/pgpass.conf
        # FcgidInitialEnv QGIS_AUTH_DB_DIR_PATH /home/<user>/qgisserverdb
        # FcgidInitialEnv QGIS_AUTH_PASSWORD_FILE /home/<user>/qgisserverdb/qgis-auth.db
        FcgidInitialEnv LC_ALL "en_US.UTF-8"
        FcgidInitialEnv PYTHONIOENCODING UTF-8
        FcgidInitialEnv PYTHONPATH "/usr/share/qgis/python"
        FcgidInitialEnv LANG "en_US.UTF-8"
        FcgidInitialEnv QGIS_SERVER_LOG_FILE "/var/log/apache2/qgis_server.log"
        FcgidInitialEnv QGIS_SERVER_LOG_LEVEL "0"
        FcgidInitialEnv QGIS_SERVER_LOG_STDERR "1"
        FcgidInitialEnv QGIS_DEBUG "1"
        FcgidInitialEnv QGIS_PLUGINPATH "/var/www/lizmap-web-client-3.5.3/lizmap/plugins"
        FcgidInitialEnv QGSRV_SERVER_PLUGINPATH "/var/www/lizmap-web-client-3.5.3/lizmap/plugins"
        FcgidInitialEnv QGIS_SERVER_CACHE_SIZE "500"
        FcgidInitialEnv QGIS_SERVER_IGNORE_BAD_LAYERS "1"
        FcgidInitialEnv QGIS_SERVER_TRUST_LAYER_METADATA "1"
        FcgidInitialEnv QGIS_SERVER_LIZMAP_REVEAL_SETTINGS "1"
         FcgidInitialEnv DISPLAY ":99"

        CustomLog /var/log/apache2/lizmap-access.log combined
        ErrorLog /var/log/apache2/lizmap-error.log

        <IfModule mod_fcgid.c>
                RewriteEngine on
                RewriteCond %{HTTP:Authorization} .
                RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
        </IfModule>


       ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/

        <Directory "/usr/lib/cgi-bin/">
                AllowOverride None
                Options +ExecCGI -MultiViews -SymLinksIfOwnerMatch
                Order allow,deny
                Allow from all
                Require all granted
        </Directory>


        <IfModule mod_fcgid.c>
                FcgidMaxRequestLen 51200000
                FcgidConnectTimeout 60
        </IfModule>

<IfModule mod_deflate.c>
  SetOutputFilter DEFLATE
  BrowserMatch ^Mozilla/4 gzip-only-text/html
  BrowserMatch ^Mozilla/4\\.0[678] no-gzip
  BrowserMatch \\bMSIE !no-gzip !gzip-only-text/html
  SetEnvIfNoCase Request_URI \\.(?:gif|jpe?g|png|rar|zip)$ no-gzip dont-vary
  Header append Vary User-Agent env=!dont-vary
</IfModule>


</VirtualHost>

Hors ligne

 

#21 Wed 06 July 2022 15:40

JLH
Participant actif
Date d'inscription: 7 Dec 2019
Messages: 68

Re: [Lizmap] problème d'affichage entre la version Windows et Ubuntu

Avez vous vérifier dans ce dossier/fichier, quels sont les documents présents ? "/var/log/apache2/qgis_server.log"

Hors ligne

 

#22 Wed 06 July 2022 15:47

Renaud_NM
Participant actif
Date d'inscription: 13 Sep 2019
Messages: 84

Re: [Lizmap] problème d'affichage entre la version Windows et Ubuntu

je n'ai pas de fichier : qgis_server.log

j'ai les fichiers  suivant dans le dossier var\log\apache2 :
error.log
lizmap-access.log
lizmap-error.log
other_vhosts_access.log

Hors ligne

 

#23 Wed 06 July 2022 15:54

JLH
Participant actif
Date d'inscription: 7 Dec 2019
Messages: 68

Re: [Lizmap] problème d'affichage entre la version Windows et Ubuntu

Pouvez-vous copier et coller une partie de ces fichiers svp.

Hors ligne

 

#24 Wed 06 July 2022 16:08

Renaud_NM
Participant actif
Date d'inscription: 13 Sep 2019
Messages: 84

Re: [Lizmap] problème d'affichage entre la version Windows et Ubuntu

error.log:
ERROR 6: No translation for an empty SRS to PROJ.4 format is known.
ERROR 6: No translation for an empty SRS to PROJ.4 format is known.
ERROR 6: No translation for an empty SRS to PROJ.4 format is known.
ERROR 6: No translation for an empty SRS to PROJ.4 format is known.
ERROR 6: No translation for an empty SRS to PROJ.4 format is known.
ERROR 6: No translation for an empty SRS to PROJ.4 format is known.
ERROR 6: No translation for an empty SRS to PROJ.4 format is known.
ERROR 6: No translation for an empty SRS to PROJ.4 format is known.
[Wed Jul 06 15:30:02.193015 2022] [mpm_prefork:notice] [pid 68] AH00169: caught SIGTERM, shutting down
[Wed Jul 06 15:30:06.365435 2022] [mpm_prefork:notice] [pid 629] AH00163: Apache/2.4.29 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.1.1 configured -- resuming normal operations
[Wed Jul 06 15:30:06.365475 2022] [core:notice] [pid 629] AH00094: Command line: '/usr/sbin/apache2'
[Wed Jul 06 15:34:56.616062 2022] [mpm_prefork:notice] [pid 629] AH00169: caught SIGTERM, shutting down
[Wed Jul 06 15:35:01.888652 2022] [mpm_prefork:notice] [pid 999] AH00163: Apache/2.4.29 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.1.1 configured -- resuming normal operations
[Wed Jul 06 15:35:01.888703 2022] [core:notice] [pid 999] AH00094: Command line: '/usr/sbin/apache2'
Warning 1: Unable to find driver ECW to unload from GDAL_SKIP environment variable.
Warning 1: Unable to find driver ECW to unload from GDAL_SKIP environment variable.
Warning 1: Unable to find driver JP2ECW to unload from GDAL_SKIP environment variable.
Warning 1: Unable to find driver ECW to unload from GDAL_SKIP environment variable.
Warning 1: Unable to find driver JP2ECW to unload from GDAL_SKIP environment variable.
ERROR: Auth db directory path could not be created

lizmap-access.log :
172.29.112.1 - - [06/Jul/2022:15:32:05 +0200] "GET /lizmap/index.php/lizmap/service/?repository=reseauxhumidespg&project=Reseaux_Eaux_Pluviales&LAYERS=sections&STYLES=d%C3%A9faut&VERSION=1.3.0&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&FORMAT=image%2Fpng&DPI=96&TRANSPARENT=TRUE&SERVICE=WMS&REQUEST=GetMap&CRS=EPSG%3A3857&BBOX=433528.12799834984,5379322.818320828,453860.3775193764,5399655.067841854&WIDTH=266&HEIGHT=266 HTTP/1.1" 500 879 "http://<IP_Lizmap>/lizmap/index.php/view/map/?repository=reseauxhumidespg&project=Reseaux_Eaux_Pluviales" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"
127.0.0.1 - - [06/Jul/2022:15:32:24 +0200] "POST /cgi-bin/qgis_mapserv.fcgi HTTP/1.1" 500 798 "-" "Lizmap"
172.29.112.1 - - [06/Jul/2022:15:32:12 +0200] "GET /lizmap/index.php/lizmap/service/?repository=reseauxhumidespg&project=Reseaux_Eaux_Pluviales&LAYERS=sections&STYLES=d%C3%A9faut&VERSION=1.3.0&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&FORMAT=image%2Fpng&DPI=96&TRANSPARENT=TRUE&SERVICE=WMS&REQUEST=GetMap&CRS=EPSG%3A3857&BBOX=453096.00723663106,5379322.818320828,473428.2567576577,5399655.067841854&WIDTH=266&HEIGHT=266 HTTP/1.1" 500 879 "http://<IP_Lizmap>/lizmap/index.php/view/map/?repository=reseauxhumidespg&project=Reseaux_Eaux_Pluviales" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"
127.0.0.1 - - [06/Jul/2022:15:32:25 +0200] "POST /cgi-bin/qgis_mapserv.fcgi HTTP/1.1" 500 798 "-" "Lizmap"
172.29.112.1 - - [06/Jul/2022:15:32:13 +0200] "GET /lizmap/index.php/lizmap/service/?repository=reseauxhumidespg&project=Reseaux_Eaux_Pluviales&LAYERS=sections&STYLES=d%C3%A9faut&VERSION=1.3.0&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&FORMAT=image%2Fpng&DPI=96&TRANSPARENT=TRUE&SERVICE=WMS&REQUEST=GetMap&CRS=EPSG%3A3857&BBOX=531367.524189756,5379322.818320828,551699.7737107828,5399655.067841854&WIDTH=266&HEIGHT=266 HTTP/1.1" 500 879 "http://<IP_Lizmap>/lizmap/index.php/view/map/?repository=reseauxhumidespg&project=Reseaux_Eaux_Pluviales" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"
::1 - - [06/Jul/2022:15:32:29 +0200] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.29 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.1.1 (internal dummy connection)"
::1 - - [06/Jul/2022:15:32:30 +0200] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.29 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.1.1 (internal dummy connection)"
172.29.112.1 - - [06/Jul/2022:15:32:33 +0200] "-" 408 0 "-" "-"
172.29.112.1 - - [06/Jul/2022:15:32:33 +0200] "-" 408 0 "-" "-"
172.29.112.1 - - [06/Jul/2022:15:32:33 +0200] "-" 408 0 "-" "-"
172.29.112.1 - - [06/Jul/2022:15:32:33 +0200] "-" 408 0 "-" "-"
::1 - - [06/Jul/2022:15:32:35 +0200] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.29 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.1.1 (internal dummy connection)"
::1 - - [06/Jul/2022:15:32:36 +0200] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.29 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.1.1 (internal dummy connection)"
::1 - - [06/Jul/2022:15:32:37 +0200] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.29 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.1.1 (internal dummy connection)"
::1 - - [06/Jul/2022:15:32:38 +0200] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.29 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.1.1 (internal dummy connection)"
172.29.112.1 - - [06/Jul/2022:15:33:52 +0200] "-" 408 0 "-" "-"


lizmap-error.log :
[Wed Jul 06 15:32:24.500312 2022] [core:error] [pid 634] [client 127.0.0.1:45416] End of script output before headers: qgis_mapserv.fcgi
[Wed Jul 06 15:32:25.552021 2022] [fcgid:warn] [pid 643] (104)Connection reset by peer: [client 127.0.0.1:45426] mod_fcgid: error reading data from FastCGI server
[Wed Jul 06 15:32:25.552046 2022] [core:error] [pid 643] [client 127.0.0.1:45426] End of script output before headers: qgis_mapserv.fcgi
[Wed Jul 06 15:32:28.602011 2022] [fcgid:warn] [pid 759] (104)Connection reset by peer: [client 127.0.0.1:45436] mod_fcgid: error reading data from FastCGI server
[Wed Jul 06 15:32:28.602053 2022] [core:error] [pid 759] [client 127.0.0.1:45436] End of script output before headers: qgis_mapserv.fcgi


other_vhosts_access.log :
172.29.112.1 - - [06/Jul/2022:15:54:57 +0200] "GET /lizmap/index.php/lizmap/service/?repository=reseauxhumidespg&project=Reseaux_Eaux_Pluviales&LAYERS=Communes&STYLES=d%C3%A9faut&VERSION=1.3.0&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&FORMAT=image%2Fpng&DPI=96&TRANSPARENT=TRUE&SERVICE=WMS&REQUEST=GetMap&CRS=EPSG%3A3857&BBOX=476908.1686289292,5435304.111723097,492768.8519958954,5442995.587693222&WIDTH=1660&HEIGHT=805 HTTP/1.1" 200 37093 "http://<ip_lizmap>/lizmap/index.php/view/map/?repository=reseauxhumidespg&project=Reseaux_Eaux_Pluviales" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"
<ip_hote_WSL>:80 127.0.0.1 - - [06/Jul/2022:15:54:57 +0200] "POST /cgi-bin/qgis_mapserv.fcgi HTTP/1.1" 200 5463 "-" "Lizmap"
<ip_hote_WSL>:80 172.29.112.1 - - [06/Jul/2022:15:54:57 +0200] "GET /lizmap/index.php/lizmap/service/?repository=reseauxhumidespg&project=Reseaux_Eaux_Pluviales&LAYERS=Pieces_sur_reseau_Pluvial&STYLES=d%C3%A9faut&VERSION=1.3.0&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&FORMAT=image%2Fpng&DPI=96&TRANSPARENT=TRUE&SERVICE=WMS&REQUEST=GetMap&CRS=EPSG%3A3857&BBOX=476908.1686289292,5435304.111723097,492768.8519958954,5442995.587693222&WIDTH=1660&HEIGHT=805 HTTP/1.1" 200 5667 "http://<ip_lizmap>/lizmap/index.php/view/map/?repository=reseauxhumidespg&project=Reseaux_Eaux_Pluviales" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"
<ip_hote_WSL>:80 ::1 - - [06/Jul/2022:15:55:05 +0200] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.29 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.1.1 (internal dummy connection)"
<ip_hote_WSL>:80 ::1 - - [06/Jul/2022:15:55:06 +0200] "OPTIONS * HTTP/1.0" 200 126 "-" "Apache/2.4.29 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.1.1 (internal dummy connection)"

Hors ligne

 

#25 Wed 06 July 2022 16:56

JLH
Participant actif
Date d'inscription: 7 Dec 2019
Messages: 68

Re: [Lizmap] problème d'affichage entre la version Windows et Ubuntu

Merci , il y a plusieurs choses à dire :


error.log:

ERROR 6: No translation for an empty SRS to PROJ.4 format is known.

Il se peut que certaines de vos couches soit mal paramétrée au niveau de leur CRS.

lizmap-error.log :


[b]mod_fcgid: error reading data from FastCGI server

Il y a surement un problème avec la config du mod FCGI. Avez-vous enabled le mod pour apache2?
[b]
other_vhosts_access.log :

(Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36"
<ip_hote_WSL>:80


Il y aurait également un problème de port? Vous utiliser le port 81 ,on?

Hors ligne

 

#26 Wed 06 July 2022 17:02

Renaud_NM
Participant actif
Date d'inscription: 13 Sep 2019
Messages: 84

Re: [Lizmap] problème d'affichage entre la version Windows et Ubuntu

suite à la commande suivante : sudo a2enmod fcgid
j'ai la reponse suivante : Module fcgid already enabled

Comment puis-je modifier le CRS des couches dans postgis ?

je sui sur le port 80

Hors ligne

 

#27 Wed 06 July 2022 17:22

JLH
Participant actif
Date d'inscription: 7 Dec 2019
Messages: 68

Re: [Lizmap] problème d'affichage entre la version Windows et Ubuntu

Vous trouverez cela facilement sur internet.

Est-ce que certaine couche postgis s'affiche ou aucune ne s'affiche? Estce que des couches .shp s'affiche correctement?

Hors ligne

 

#28 Wed 06 July 2022 17:25

Renaud_NM
Participant actif
Date d'inscription: 13 Sep 2019
Messages: 84

Re: [Lizmap] problème d'affichage entre la version Windows et Ubuntu

les couches shape s'affichent ainsi que certaine couche PostGis

Hors ligne

 

#29 Wed 06 July 2022 19:15

Renaud_NM
Participant actif
Date d'inscription: 13 Sep 2019
Messages: 84

Re: [Lizmap] problème d'affichage entre la version Windows et Ubuntu

Apres des jours de recherche... le problème provient de la gestion de la symbologie de la version Ubuntu :-(
s'il n' a pas de symbologie la couche s'affiche sous Ubuntu

différence entre la version Ubuntu et Windows
1 - la légende du pictogramme ne s'affiche pas et n'est pas correctement représentée dans Ubuntu.
2 - Suivante les règles de symbologie la couche ne s'affiche pas dans Ubuntu.
3 - les étiquettes ne s'affiche pas dans ubuntu.

en resumé les projets fonctionnent correctement dans Qgis Client et lizmap Windows mais plantes dans lizmap sous Ubuntu

Dernière modification par Renaud_NM (Wed 06 July 2022 19:19)

Hors ligne

 

#30 Thu 07 July 2022 08:36

JLH
Participant actif
Date d'inscription: 7 Dec 2019
Messages: 68

Re: [Lizmap] problème d'affichage entre la version Windows et Ubuntu

Content que vous ayez trouvé !!

En effet, les versions de Qgis Desktop et qgis-server doivent être les meme. Aussi, certaines fonctionnalités, dans votre cas les styles, ne sont pas tous implémenté dans la version Server.

Hors ligne

 

Pied de page des forums

Powered by FluxBB