Hi
We are currently preparing a QField project for a field inspection campaign. We have a self-hosted version of QFieldCloud that is functional but outdated (one year old). We are not updating it due to a lack of expertise and also because it works…
The project is based on a PostgreSQL parent table containing the geographical entities to be checked and a non-spatial child table containing the checks (1→M).
We have set up this project in ‘Offline editing’ mode. At this stage, everything is working: entering a check in the child table → synchronisation to QFieldCloud then PostgreSQL.
The problem is that upstream synchronisation is either manual or delayed on the QField side to 30 minutes. As for downstream synchronisation, it also seems to be manual. As a result, when an object is added, it appears locally but the fields calculated by the trigger are not visible even when there is a network connection.
In fact, as soon as a project is set to ‘Offline editing’ mode, it is no longer able to connect directly to the database when a connection is available.
Is this behaviour normal, or is there a setting that we have not adjusted that would allow automatic synchronisation as soon as a connection is available? At the very least, can the delay be changed (we saw a screenshot in which this seemed to be configurable on the QGIS side)? More broadly, can you explain the logic behind this? We will need to explain this clearly to users.
Thank you