In 3.6.0 the projects previously served in 3.5.8 are not visible
See original GitHub issueWhat is the bug?
In 3.6.0 none of the projects previously served in 3.5.8 are displayed in the log message lizmap come with the error --> Spatialite is not available, But I never get Spatialite on my server or Spatialite php module before now in previous config, and my installation is PostgreSQL based, and the Administrator Dashboard iit works fine, so the connection to existing database it works
Steps to reproduce the issue
- update to 3.6.0
- set permissions tho ‘user’ www-data
- try to open a project previously served with the 3.5.8 version are not loaded in LWC 3.6.0
- on QGIS side all the configurations previously setted by Lizmap plugin appear to be deleted/unsetted
- when downgrade to 3.5.8 version all works fine see the screenshot for error message
Versions
Versione di QGIS | 3.28.1-Firenze | Revisione codice QGIS | fde3b8fbb8 |
---|---|---|---|
Versione Qt | 5.15.3 | ||
Versione Python | 3.10.6 | ||
Versione GDAL/OGR | 3.4.1 | ||
Versione PROJ | 8.2.1 | ||
Versione database del Registro EPSG | v10.041 (2021-12-03) | ||
Versione GEOS | 3.10.2-CAPI-1.16.0 | ||
Versione SQLite | 3.37.2 | ||
Versione PDAL | 2.3.0 | ||
Versione client PostgreSQL | unknown | ||
Versione SpatiaLite | 5.0.1 | ||
Versione QWT | 6.1.4 | ||
Versione QScintilla2 | 2.11.6 | ||
Versione SO | Ubuntu 22.04.1 LTS | ||
Plugins Python attivi | |||
postgisQueryBuilder | 2.0.1 | ||
lizmap | 3.9.8 | ||
DataPlotly | 3.9.2 | ||
Cluster-Analysis-plugin-main | 1.0.1 | ||
go2streetview | 8.6 | ||
clusterpoints | 5.1 | ||
dissect_dissolve_overlaps | 0.3 | ||
pg_raster_import | 3.1.0 | ||
corrector_vector | 0.3.1 | ||
lizmap_server | 1.2.1 | ||
HouseNumbering3 | version 0.0.5 | ||
MultiJoin | 1.0 | ||
quick_map_services | 0.19.32 | ||
Qgis2threejs | 2.7.1 | ||
postgis_geoprocessing | 0.9 | ||
splitmultipart | 1.0.0 | ||
qquake | 1.4 | ||
DeepLearningTools | 0.2.0 | ||
QuickOSM | 2.1.1 | ||
shapetools | 3.4.9 | ||
qProf | 0.5.0 | ||
GeometryShapes | 0.7 | ||
PostGISQueries | 0.2 | ||
svir | 3.15.1 | ||
QuickWKT | 3.1 | ||
valuetool | 3.0.15 | ||
plugin_reloader | 0.9.2 | ||
otbprovider | 2.12.99 | ||
grassprovider | 2.12.99 | ||
MetaSearch | 0.3.6 | ||
sagaprovider | 2.12.99 | ||
processing | 2.12.99 | ||
db_manager | 0.1.20 |
Plugins Python attivi postgisQueryBuilder 2.0.1 lizmap 3.9.8 DataPlotly 3.9.2 Cluster-Analysis-plugin-main 1.0.1 go2streetview 8.6 clusterpoints 5.1 dissect_dissolve_overlaps 0.3 pg_raster_import 3.1.0 corrector_vector 0.3.1 lizmap_server 1.2.1 HouseNumbering3 version 0.0.5 MultiJoin 1.0 quick_map_services 0.19.32 Qgis2threejs 2.7.1 postgis_geoprocessing 0.9 splitmultipart 1.0.0 qquake 1.4 DeepLearningTools 0.2.0 QuickOSM 2.1.1 shapetools 3.4.9 qProf 0.5.0 GeometryShapes 0.7 PostGISQueries 0.2 svir 3.15.1 QuickWKT 3.1 valuetool 3.0.15 plugin_reloader 0.9.2 otbprovider 2.12.99 grassprovider 2.12.99 MetaSearch 0.3.6 sagaprovider 2.12.99 processing 2.12.99 db_manager 0.1.20
Check Lizmap plugin
- I have done the step just before in the Lizmap QGIS desktop plugin before opening this ticket. Otherwise, my ticket is not considered valid and might get closed.
QGIS server version, only if the section above doesn’t mention the QGIS Server version
3.28.1
Operating system
Ubuntu 22.04
Browsers
Chrome
Browsers version
Chrome 108.0.5359.94
Relevant log output
2022-12-12 10:06:05 127.0.0.1 error Spatialite is not available
2022-12-12 10:25:29 127.0.0.1 notice 2022-12-12 10:25:29 [8] jAuth::isConnected(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "cDaoRecord_lizmap_Jx_user_Jx_pgsql" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide an autoloader to load the class definition /var/www/lizmap/lizmap/vendor/jelix/jelix/lib/jelix/auth/jAuth.class.php 584
2022-12-12 10:25:29 127.0.0.1 notice 2022-12-12 10:25:29 [8] jAuth::isConnected(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "cDaoRecord_lizmap_Jx_user_Jx_pgsql" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide an autoloader to load the class definition /var/www/lizmap/lizmap/vendor/jelix/jelix/lib/jelix/auth/jAuth.class.php 584
2022-12-12 10:26:04 127.0.0.1 error Spatialite is not available
2022-12-12 10:26:19 160.97.xx.xxx notice 2022-12-12 10:26:19 [8] Undefined index: metadata /var/www/lizmap/lizmap/modules/lizmap/lib/Server/Server.php 62
2022-12-12 10:26:19 160.97.xx.xxx notice 2022-12-12 10:26:19 [8] Trying to access array offset on value of type null /var/www/lizmap/lizmap/modules/lizmap/lib/Server/Server.php 62
2022-12-12 10:26:19 160.97.xx.xxx error Spatialite is not available
2022-12-12 10:26:19 160.97.xx.xxx error Spatialite is not available
2022-12-12 10:26:19 160.97.xx.xxx error Spatialite is not available
2022-12-12 10:26:19 160.97.xx.xxx error Spatialite is not available
2022-12-12 10:26:19 160.97.xx.xxx error Spatialite is not available
Issue Analytics
- State:
- Created 9 months ago
- Comments:55 (18 by maintainers)
Many thanks for your help and for your excellent work @Gustry @rldhont @laurentj @nworr @slarosa