[Lizmap] Error opening lizmap projects with SpatiaLite db

Arnaud Vandecasteele arnaud.sig at gmail.com
Thu Aug 18 02:47:02 PDT 2022


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/lizmap/attachments/20220818/1c3026da/attachment.htm>


More information about the Lizmap mailing list