[Lizmap] Lizmap/qgis server : cache management (seeding)

René-Luc Dhont rldhont at gmail.com
Mon May 15 07:53:27 PDT 2023


Hi,

Before launching `php lizmap/console.php wmts:cache:seed`
You have to laucnh `php lizmap/console.php wmts:cache:capabilities`.

If you want to enhance responsiveness in Lizmap, you have to enhance the 
number of QGIS Server available to perform requests.
How many QGIS Server are available ?

Regards,
René-Luc

Le 15/05/2023 à 15:05, celati Laurent a écrit :
> Good afternoon,
> On debian/apache, I succeed in installing qgis server and lizmap. I am 
> a little surprised by the poor performance that I can observe 
> currently. They must probably be explained by a bad configuration that 
> I need to improve. I am thinking in particular of the cache.
> I'm trying to follow this page from the doc:
> https://docs.lizmap.com/current/en/admin/cache.html#seeding
> If I understand correctly, I would benefit from generating the tile cache.
>
> When I do:
>
> /lizmap-web-client-3.6.3# php lizmap/console.php wmts:cache:seed -v -f 
> dr0 drills_2154 EPSG:2154 1 7/
> /
> /I get :
>
> In Input.php line 76:
> /   [Symfony\Component\Console\Exception\RuntimeException]
>    Not enough arguments (missing: "TileMatrixMax").
> Exception trace:
>    at 
> /var/www/lizmap/lizmap-web-client-3.6.3/lizmap/vendor/symfony/console/Input/Input.php:76
>   Symfony\Component\Console\Input\Input->validate() at 
> /var/www/lizmap/lizmap-web-client-3.6.3/lizmap/vendor/symfony/console/Command/Command.php:293
>   Symfony\Component\Console\Command\Command->run() at 
> /var/www/lizmap/lizmap-web-client-3.6.3/lizmap/vendor/symfony/console/Application.php:1040
>   Symfony\Component\Console\Application->doRunCommand() at 
> /var/www/lizmap/lizmap-web-client-3.6.3/lizmap/vendor/symfony/console/Application.php:301
>   Symfony\Component\Console\Application->doRun() at 
> /var/www/lizmap/lizmap-web-client-3.6.3/lizmap/vendor/symfony/console/Application.php:171
>   Symfony\Component\Console\Application->run() at 
> /var/www/lizmap/lizmap-web-client-3.6.3/lizmap/vendor/jelix/jelix/lib/jelix/Scripts/ModulesCommands.php:48
>   Jelix\Scripts\ModulesCommands::run() at 
> /var/www/lizmap/lizmap-web-client-3.6.3/lizmap/console.php:2/
> /
> wmts:cache:seed [--dry-run] [--bbox BBOX] [-f|--force] [--] 
> <repository> <project> <layers> <TileMatrixSet> <TileMatrixMin> 
> <TileMatrixMax>[/ coded]/
>
> And when I try to add a layer as an argument:
> /lizmap-web-client-3.6.3# php lizmap/console.php wmts:cache:seed -v -f 
> dr0 forages_2154 Ouvrage_a_Realiser_Pt EPSG:2154 1 7/
>
> I get :
>
> /[code]The cache in not available!
> The WMTS Service has not been initialized!
> The WMTS Service has been initialized!
> No layers configured with cache![/code]/
>
> In advance, thanks for your help.
>
> Kind regards.
>
> _______________________________________________
> Lizmap mailing list
> Lizmap at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/lizmap
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/lizmap/attachments/20230515/69f9bbd6/attachment.htm>


More information about the Lizmap mailing list