[Lizmap] R: Error opening lizmap projects with SpatiaLite db

Nicolas Boisteault nboisteault at 3liz.com
Tue Aug 30 10:07:53 PDT 2022


Hi,

Please use up to date Lizmap and QGIS Server version.

Le 18/08/2022 à 14:14, Fabio Pifferini a écrit :
>
> Yes, apache user have access to the db file
>
> Fabio
>
> *Da:*Arnaud Vandecasteele <arnaud.sig at gmail.com>
> *Inviato:* giovedì, 18 agosto 2022 11:47
> *A:* Fabio Pifferini <Fabio.Pifferini at masotti.ch>
> *Cc:* Lizmap at lists.osgeo.org
> *Oggetto:* Re: [Lizmap] Error opening lizmap projects with SpatiaLite db
>
> Hi Fabio,
>
> Did you check if your apache user has the right to access your 
> Spatialite db ?
>
> Arnaud
>
> On Thu, Aug 18, 2022 at 12:05 PM Fabio Pifferini 
> <Fabio.Pifferini at masotti.ch> wrote:
>
>     Hello,
>
>     I am experiencing issues in the last days with my Lizmap server
>     (Lizmap Version: 3.4pre.190808 / QGIS Server version: 3.14.1 / OS:
>     Ubuntu Linux 18.04.6)
>
>     When i would like visualize a project, it freezes «loading map», i
>     see in the top left corner oft he screen a message like «Service
>     non disponible!»
>
>     This happen only with project using layers based on Spatialite db
>     (before it was always working well).
>
>     Projects like the standard demo (i.e. «Montpellier – Transports»,
>     «Touristic events around Montpellier, France» are working well).
>
>     In the error log on administration page, i’ve the following messages :
>
>     /2022-08-18 09:42:14 192.168.1.15     warning 2022-08-18 09:42:14
>     [2] SQLite3::query(): Unable to prepare statement: 1, no such
>     table: lizmap_search
>     /var/www/map/lib/jelix/plugins/db/sqlite3/sqlite3.dbconnection.php
>     112/
>
>     //
>
>     /2022-08-18 09:42:14 192.168.1.15     warning 2022-08-18 09:42:14
>     [2]           
>     file_get_contents(http://127.0.0.1/cgi-bin/qgis_mapserv.fcgi?service=WMS&request=GetCapabilitiesAtlas&map=%2Fvar%2Fwww%2Fmap%2Flizmap%2Finstall%2FSDA%5FDT%2FSDA%5F22%2D24%2Eqgs
>     <http://127.0.0.1/cgi-bin/qgis_mapserv.fcgi?service=WMS&request=GetCapabilitiesAtlas&map=%2Fvar%2Fwww%2Fmap%2Flizmap%2Finstall%2FSDA%5FDT%2FSDA%5F22%2D24%2Eqgs>):
>     failed to open stream: HTTP request failed! HTTP/1.1 500 Internal
>     Server Error/
>
>     //var/www/map/lizmap/modules/lizmap/classes/lizmapProxy.class.php 236/
>
>     //
>
>     /2022-08-18 09:42:14 192.168.1.15     warning 2022-08-18 09:42:14
>     [2]           
>     file_get_contents(http://127.0.0.1/cgi-bin/qgis_mapserv.fcgi?map=%2Fvar%2Fwww%2Fmap%2Flizmap%2Finstall%2FSDA%5FDT%2FSDA%5F22%2D24%2Eqgs&request=GetCapabilities&service=WMS&version=1%2E3%2E0
>     <http://127.0.0.1/cgi-bin/qgis_mapserv.fcgi?map=%2Fvar%2Fwww%2Fmap%2Flizmap%2Finstall%2FSDA%5FDT%2FSDA%5F22%2D24%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/map/lizmap/modules/lizmap/classes/lizmapProxy.class.php 236/
>
>     //
>
>     /2022-08-18 09:42:15 192.168.1.15     warning 2022-08-18 09:42:15
>     [2]           
>     file_get_contents(http://127.0.0.1/cgi-bin/qgis_mapserv.fcgi?map=%2Fvar%2Fwww%2Fmap%2Flizmap%2Finstall%2FSDA%5FDT%2FSDA%5F22%2D24%2Eqgs&request=GetCapabilities&service=WMS&version=1%2E3%2E0
>     <http://127.0.0.1/cgi-bin/qgis_mapserv.fcgi?map=%2Fvar%2Fwww%2Fmap%2Flizmap%2Finstall%2FSDA%5FDT%2FSDA%5F22%2D24%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/map/lizmap/modules/lizmap/classes/lizmapProxy.class.php 236/
>
>     //
>
>     /2022-08-18 09:42:15 192.168.1.15     error     GetCapabilities
>     empty data/
>
>     /2022-08-18 09:42:15 192.168.1.15     warning 2022-08-18 09:42:15
>     [2]           
>     file_get_contents(http://127.0.0.1/cgi-bin/qgis_mapserv.fcgi?map=%2Fvar%2Fwww%2Fmap%2Flizmap%2Finstall%2FSDA%5FDT%2FSDA%5F22%2D24%2Eqgs&request=GetCapabilities&service=WFS&version=1%2E0%2E0
>     <http://127.0.0.1/cgi-bin/qgis_mapserv.fcgi?map=%2Fvar%2Fwww%2Fmap%2Flizmap%2Finstall%2FSDA%5FDT%2FSDA%5F22%2D24%2Eqgs&request=GetCapabilities&service=WFS&version=1%2E0%2E0>):
>     failed to open stream: HTTP request failed! HTTP/1.1 500 Internal
>     Server Error/
>
>     //var/www/map/lizmap/modules/lizmap/classes/lizmapProxy.class.php 236/
>
>     //
>
>     /2022-08-18 09:42:15 192.168.1.15     warning 2022-08-18 09:42:15
>     [2]           
>     file_get_contents(http://127.0.0.1/cgi-bin/qgis_mapserv.fcgi?map=%2Fvar%2Fwww%2Fmap%2Flizmap%2Finstall%2FSDA%5FDT%2FSDA%5F22%2D24%2Eqgs&request=GetCapabilities&service=WFS&version=1%2E0%2E0
>     <http://127.0.0.1/cgi-bin/qgis_mapserv.fcgi?map=%2Fvar%2Fwww%2Fmap%2Flizmap%2Finstall%2FSDA%5FDT%2FSDA%5F22%2D24%2Eqgs&request=GetCapabilities&service=WFS&version=1%2E0%2E0>):
>     failed to open stream: HTTP request failed! //HTTP/1.1 500
>     Internal Server Error/
>
>     //var/www/map/lizmap/modules/lizmap/classes/lizmapProxy.class.php 236/
>
>     //
>
>     /2022-08-18 09:42:15     192.168.1.15     error GetCapabilities
>     empty data/
>
>     Any suggestions how to fix it ?
>
>     Thx Fabio
>
>     _______________________________________________
>     Lizmap mailing list
>     Lizmap at lists.osgeo.org
>     https://lists.osgeo.org/mailman/listinfo/lizmap
>
>
>
> -- 
>
> --------------------------------------------------------------------
> Arnaud Vandecasteele
>
>
> _______________________________________________
> Lizmap mailing list
> Lizmap at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/lizmap
-- 

Nicolas Boisteault
Développeur / Géomaticien
www.3liz.com <https://www.3liz.com>

*Tel.* 06 19 36 78 32

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/lizmap/attachments/20220830/33802b36/attachment.htm>


More information about the Lizmap mailing list