I've installed Lizmap and set up a local PostgreSQL database for Lizmap configurations. Now I'm trying to run a new QGIS Project with the layers saved in a PostGIS/PostgreSQL database (also local) but Lizmap keeps loading the Map and there is an error message: "service non disponible!"

Error Message: "Service non disponible"

Do I need to configure the PostGIS database (user, pw,..) anywhere else besides the QGIS Project itself in the Lizmap respository? (as I did with the Lizmap Admin PostgreSQL db). How can I find a solution for this problem?

  • Can you check in your Lizmap configuration that the QGIS Server URL is correct?
    – etrimaille
    Jan 13, 2020 at 13:35
  • Can you check that your QGIS Server is working correctly? (IP, port, GetCapabilities)
    – etrimaille
    Jan 13, 2020 at 13:46
  • @etrimaille QGIS Server is working correctly. Demo Projects/own projects with Shapefiles/SQLite File can be displayed. My WMS-Server URL is set to 'localhost/qgis/qgis_mapserv.fcgi.exe'. The problems are only related to connected PostGIS Layers.
    – Lukas
    Jan 13, 2020 at 13:49
  • Ok, just debugging step by step. Can you have the GetCapabilities of the project asking QGIS Server without using Lizmap? How did you store in user/password? Using plain text in the QGS file? Can you check QGIS logs after your have hit your Lizmap webpage?
    – etrimaille
    Jan 13, 2020 at 14:07
  • Yes, GetCapabilites does work on the QGIS Server. I tried to store the user/password in the authentication configuration as well as in the basic tab (plain-text) for the project. The logs indicate that there is no password supplied: "WARNING PostGIS[10332]: Connection to database failed fe_sendauth: no password supplied"
    – Lukas
    Jan 13, 2020 at 14:17

1 Answer 1


According to the discussion in comments, it seems you are using a Postgresql connexion with the Authentification system (no password in the QGS file).

Try first a QGS project with normal credentials in it, it should work. This would allow us to confirm that your QGIS Server and Lizmap install are working fine.

Then, if you still want to use the Authentification system, you need to setup QGIS Server following the documentation https://docs.qgis.org/3.4/en/docs/user_manual/auth_system/auth_workflows.html#qgis-server-support

You can also read the QGIS Server logs, it would tell you that it can't access your layers due to the password.

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.