I'm trying to setup a QWC2 instance to read a QGIS Server project. Data is stored in a PostGIS database on the server. QGIS Server is up and running on a Debian 11 / Apache server.

I'm running QWC2 in development mode, didn't deploy yet. QWC seems to properly access the project: map extent is correct, layer tree also, including the scale dependent visibility for some layers as setup in the QGS project.

However none of the layers show up on the map beside the background layers.

Any idea what I'm doing wrong?

I can provide QWC2's config.json & themesConfig.json if needed, or any other info, just let me know.

1 Answer 1


There was an issue accessing the .pgpass file. I temporarily fixed it by deactivating it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.