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

Fabio Pifferini Fabio.Pifferini at masotti.ch
Thu Aug 18 05:14:07 PDT 2022


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<mailto: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): 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): 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): 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): 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): 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<mailto:Lizmap at lists.osgeo.org>
https://lists.osgeo.org/mailman/listinfo/lizmap


--
--------------------------------------------------------------------
Arnaud Vandecasteele

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/lizmap/attachments/20220818/cff072d3/attachment-0001.htm>


More information about the Lizmap mailing list