Can't connect QFieldCloud to PostGIS

Hello,

We have installed QFieldCloud v0.26.5 on our own server. The synchronization of projects with geopackages works well. However, we would like to create a project that uses layers from a PostGIS database to update the layers directly in the database.

We noticed that QFieldCloud uses secrets for connecting to a PostGIS database. However, we don’t see an option to configure these secrets in the admin interface.

We read in this discussion (Secrets on self-hosted QFieldCloud · opengisch/QField · Discussion #4771 · GitHub) that the secrets are not yet accessible from the interface. To connect QFieldCloud to PostGIS, should we revert to an older version? If so, which version would you recommend and is it available? When do you think this feature will be available in the interface? Can the QFieldCloud SDK help to work around this issue?

Thank you for your assistance.


Imported from GitHub discussion by @sigsdis30 on 2024-06-03T13:24:31Z

Note that secrets can now be added/modified through the admin panel with QFieldCloud version >= 0.27.0


Imported from GitHub comment by @boardend on 2024-06-05T08:19:54Z

Thank boardend for your response

There is indeed the possibility to add secrets in the interface with v0.27.0. However, the update in PostGIS is not occurring, and I notice that the ‘Value’ field of the secrets always remains empty after creation or modification.


Imported from GitHub comment by @rom2049 on 2024-06-05T09:53:48Z

Let’s continue this discussion in Can't connect QFieldCloud to PostGIS · Issue #957 · opengisch/QFieldCloud · GitHub


Imported from GitHub comment by @boardend on 2024-06-07T09:04:03Z