Photos not synchronising from Qfield to Cloud

Greetings,

We recently had a problem with photos not synchronising on the cloud. For this project we place points (trees) and fill in attributes (information regarding the trees), as well as photos. The attributes get pushed through with synchronising the cloud, but the photos don’t. This problem happens with photos from seemingly random times and with 2 types of connections (pushing with WIFI or Mobile Network gives the same result)

Specifics we use:
-Tablet (Trimble R2) with Qfield (version 2.6.3)
-Desktop (different devices, OS Windows 11) with Qgis 3.22.15
-Connection with WIFI aswell as Mobile Network
-Qfieldcloud username: “thomasdbdv”
-Project: “boombeheer_maasmechelen”

Normally we place a point and the attributes and photos get pushed through. We synchronise via Qgis and we can see the attributes AND photos on our desktop.

For the past days (since February 1st) SOME photos are only stored locally on the tablet but are not pushed through with the rest of the attributes. We can still view the photos when we click on the point in Qfield, but not on desktop Qgis.

Now, the bigger issue is that whenever we synchronise the same project in the future using Qgis on desktop, it automatically deletes these photos from our local folder (when we ‘prefer cloud’).

So far the only way we could solve this was manually copying the photos from the DCIM folder on the tablet to the folder on our desktop where Qgis normally stores the photos.

We can see this aswell in our libraries: the DCIM folder where the photos are normally stored now has 277 items that are synched by cloud. Now when we copy the items (371) out of the local folder (exported from tablet to desktop) into this cloud folder, the total amount of items becomes 424, where there are 224 items with the same name.

This also shows that the photos that won’t synchronise to the cloud are not from a specific timeframe, but rather in groups (the highlighted items are the ones copied from the local exported folder, the non-highlighted items are the ones already synchronised):


The steps we take:

-Place a point in a project using Qfield.
-Fill in information (attributes) and a photo.
-Push changes in the Qfield app.
-Qfield gives notification that the changes have been pushed through, but it doesn’t say anything about attachments (before it said: “(amount) attachments are being uploaded in the background”
-Synchronise on desktop using Qfield cloud plugin
-Qgis cloud plugin sees that the cloud has less photos in it than the local folder on our desktop
-Qgis cloud plugin wants to delete them (because we ‘prefer cloud’)

Even though we can solve this problem manually at the moment, everytime we synchronise in the future it appears again, and we don’t know if it will happen with other projects.

All help is greatly appreciated.

Sincerely,
Ruben


Imported from GitHub discussion by @Rubendbdv on 2023-02-28T06:57:23Z

Hi Ruben,

I assume it is just a misunderstanding. “prefer cloud” means you prefer the status of the cloud. E.g. On the QFielCloud are 10 Photos available and on your desktop 20, after sync, the same appears on your desktop, that means 10 photos. Just look again closely to your screenshot :slight_smile:


Imported from GitHub comment by @ZsanettMed on 2023-02-28T13:04:34Z

Greetings,

Thank you for your reply.

I used this screenshot as an example to show that QfieldCloud indeed has less photos available than my desktop, but this is only the case because I manually exported the DCIM folder from the tablet to my desktop. I manually exported these photos because we use a layout in our reports where a photo is placed. This photo has a path to my local cloud folder on my desktop (the one where photos get deleted if I prefer cloud status).

We still work with this app every day, and all the attributes except for the photos get pushed through when I press ‘push changes’. This means I have to manually export the DCIM folder for every report I make.

In short: the synchronising function works fine, it does exactly what it’s supposed to do, only the ‘push’ function on my tablet doesn’t push the photos to the cloud.

Sincerely,
Ruben


Imported from GitHub comment by @Rubendbdv on 2023-03-01T13:34:02Z

Hi Ruben,
Apologize! The issue is confirmed. Thank you very much for reporting and nice to hear, that you found a workaround. We will inform you as soon as the problem is solved.
Best regards,
Zsanett


Imported from GitHub comment by @ZsanettMed on 2023-03-07T08:33:46Z

The issue still persists on iOS. Any changes soon?


Imported from GitHub comment by @serverul on 2023-11-09T15:22:11Z

I am having the same issue on Android. I also can’t find the files on my Android device to manually copy, so this it becoming a real problem for me. Is there any progress on a resolution?

I can’t see this in the Issues log, so if there’s no response shortly, I will create this as an issue.

Thanks!


Imported from GitHub comment by @vk3il on 2023-11-13T07:17:31Z

We also have the same sync issue regarding photos.

Some projects are working very well. For other projects, we are unable to recover the photos despite several synchronization attempts.

It becomes urgent to address the issue as we use the app every day.

Name of the organization: OPTIQUE-TELECOMS

Thank you and good luck.


Imported from GitHub comment by @NVERRIER89 on 2023-11-23T10:23:27Z

It is also an issue regardin how you arrange the project, as I saw.
You can see below how I set it up and it works flawlessly since then on android. Still the issue persists on iOS.


Imported from GitHub comment by @serverul on 2023-11-23T10:32:30Z

Check my reply above to see if it suits your issue.
Also you can contact me directly if you need further assistance.


Imported from GitHub comment by @serverul on 2023-11-23T10:34:12Z

serverul Thanks for your suggestion. I’ve adjusted my configuration to be identical to the one you’ve provided. Unfortunately it is still not synchronising the photos (android).


Imported from GitHub comment by @vk3il on 2023-11-23T11:21:48Z