Postgis sync on QFieldCloud on-premise instance

Hello,
We deployed the latest release of QFieldCloud on a test server. While editing and syncing works as expected when using geopackages, we were unable to perform a sync with the database. The conversion process seems to remove all references to the database. Note that we tried both the saved user/pass approach and the secrets approach (we exposed the Secret object in the Django app in order to do so). We also manually tested the connection between the docker instances and the database server and everything seems to be OK.

Any hint how to enable syncing with the database? Is postgis syncing open-sourced or it is a proprietary feature of app.qfield.cloud ?

Thank you.


Imported from GitHub discussion by @danieluct on 2022-10-24T08:24:06Z

How do you upload you project to you local QFieldCloud instance? There are two options when the upload project screen. Please make sure you are using “Create a new empty QFieldCloud project” for such cases as described here Get Started - QField Ecosystem Documentation .


Imported from GitHub comment by @suricactus on 2022-10-24T08:59:06Z

Thank you. If I create a new empty project and then manually copy the project files and afterwards upload it through the QGIS plugin, the sync with the db works (for the moment I tested only with user/pass saved within project).


Imported from GitHub comment by @danieluct on 2022-10-24T12:59:52Z

Hello
I have tried the same way but it did not work, is there any way to make the sync to postgis DB using on premise setup ?


Imported from GitHub comment by @geogeek11 on 2024-01-16T09:39:20Z

Hello guys, could you please guide me through the processes? I’m unsure about how you connected your database to the locally saved files.


Imported from GitHub comment by @mahmoodi-source on 2024-01-29T09:45:59Z

Hey guys, I have a problem uploading project files to an existing empty project created on our QfieldCloud server. When I paste the project files in the local directory, everything is good, and the message says that “the entered path contains one QGIS project file. Exactly as it should be.”

Now, when I sync the project through Qfield Sync, at the end, it will give me the error of failing to upload multiple projects.

and when I create a project through Qfield sync plugins in our QfieldCloud server and then upload the uploaded files in the directory, it uploads without problem, but it cannot be downloaded in the Qfield app and gives me the following error:
image

I don’t know what the problem is.


Imported from GitHub comment by @mahmoodi-source on 2024-01-31T12:09:15Z

Hello, please do not write the same message over all QFieldCloud related forums without interlinking them. Note original post was here: PostGIS sync on QFieldCloud on-premise instance: Permission denied, plan is insufficient · Issue #870 · opengisch/QFieldCloud · GitHub . I have already answered there, it is misconfiguration of your plans.

If you are interested for dedicated assitance in configuring QFieldCloud on-premise, please write us on sales at qfield.cloud .


Imported from GitHub comment by @suricactus on 2024-01-31T12:35:16Z