Skip to content

Wrong DB connection during generation of service configuration #88

@nilskamm

Description

@nilskamm

Hey everyone!
I try to get one of our projects into QWC.
I uploaded the .qgs file into the scan folder and get an error, that the "Layer(s) not valid" for this file, when genearting a new service configuration in the QWC Admin.
In that moment i can find an error in the log of the docker container qwc-docker-qwc-qgis-server-1.
It tries to connect to our postgis database we use in our QGIS clients.
Address and database is right, but it uses the user "www-data" instead of the user configured in our QGIS clients.
I tried to put the right connection into qwc_docker/pg_service.conf - qwc_docker/pg_service-write.conf but it doesn´t change the error message.

Where do i have to configure the database connection to give the file / scan the right credentials?

Thanks a lot!

Let me know, if i can provide any more information!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions