Qfield cloud project synchronization

Hello, I’m new here and apologize for my poor English. I’m having a problem with Qfield (4.5). (QGIS 3.22) It doesn’t update my project once I’ve synchronized the survey with the cloud. I proceeded as follows:

  1. Created the project in QGIS (installed the qfieldsync plugin)

  2. Registered a new account on the cloud and uploaded the project.

  3. Inserted a new point and updated the project with the new point (so far, everything’s fine).

  4. I synchronize the project in QGIS and the new point appears (there’s a small problem, it doesn’t open the photo). I save the project, close it, and reopen it, but the new point hasn’t been saved.

My project with all its folders and files is on the desktop (TestQfield). Qfield created a copy of everything in this directory:

“C:\Users\NAME\QField\cloud\Test_Qfield\Test_Qfield_cloud.qgs”

With the addition of two new folders: “qfieldsync” and “files” (where the photo is). If I open the project in this copy, does everything work? What am I doing wrong or what should I configure?

Thanks for any response.

Heya!

Have you tried saving first and syncing afterwards?

As far as I know the sync only uploads the currently saved files, so if you create a point and immediately sync without saving, the point will not appear in the Cloud.

Hi, thanks for the reply. Maybe I didn’t explain myself well, so I’ll proceed this way.

  1. From QGIS, I upload the project to the cloud.
  2. From my tablet, I open the project, perform the survey, and sync the change to the cloud.
  3. From QGIS, I open the project, use qfieldsync to “sync from cloud,” and the change appears. Again from QGIS, I save the project and close it. When I reopen the project, it hasn’t saved the changes.
    Thanks again.

Gocha! Sorry for the misunderstanding!

I think I have an idea what’s happening here.
As you mentioned before, when you created the new Cloud project, the QFieldSync plugin copied your project to a new location. The new one now is the one synced with Cloud, not the “old” one.

An easy way to tell if your currently opened project is synced with Cloud is the Synchronize icon. If its gray that means your are probably using the wrong local project.

← is synced with Cloud

image ← is NOT synced with Cloud

If you sync a project by selecting it in the QFieldCloud Projects Overview, QGIS will automatically open the project that you setup as the local version of the Cloud project you synced. In your case, if you currently viewing your original project, QGIS will close it and open the copy instead after syncing.

If you want your original project to be synced instead of the copy, you can edit the Local Directory value by opening the Cloud Project properties like this:
Select your Cloud project in the QFieldCloud Projects Overview and press the pen icon at the bottom. Then replace the path in the Local Directory field with the path to your original project and confirm via the Update Project Details button.

Let me know if this solves your issue!

Now I understand, thank you very much