camptocamp/docker-qgis-server

Problem with cache for wfs-layer - spatialite integration in gdal missing

fischey opened this issue · 1 comments

Hello camptocamp team,
I have a problem with the docker image.

I added a WFS-Layer in a project and request WMS-Images for this project. In the server logs I can see error messages like this:

Warning 6: driver SQLite does not support creation option SPATIALITE
qgis-server-app-1  | ERROR 6: OGR was built without libspatialite support
qgis-server-app-1  | ... sorry, creating/writing any SpatiaLite DB is unsupported

I tried to install the possible missing dependencies in a custom dockerfile:

FROM camptocamp/qgis-server:3.24

RUN apt update \
    && apt install --no-install-recommends --no-install-suggests --allow-unauthenticated -y \
        libsqlite3-mod-spatialite libspatialindex6 libspatialite7 libspatialindex-dev libspatialite-dev  \
    && apt remove --purge -y \
        gnupg \
        wget \
    && rm -rf /var/lib/apt/lists/*

But the error still persists.

When I use the recommended approach from the qgis project site which is installing the qgis-server package from the qgis repository, the error is gone.

Do you have any advice or hint what am I missing?

Thanks in advance!
Hava a nice week.

fischey

Sorry for the noise. The issue just persists in 3.22 of the docker-image! Thanks for the great work :-)