opengisch / QField

A simplified touch optimized interface for QGIS
http://www.qfield.org
GNU General Public License v2.0
795 stars 220 forks source link

Photos not synchronising from Qfield to Cloud #3922

Open Rubendbdv opened 1 year ago

Rubendbdv commented 1 year ago

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').

qgis-ltr-bin_Q4LSlIyTuK

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.

explorer_BJKqC4VKFT

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):

explorer_UuM517rjLa explorer_C7kvchTtQg

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

mishop commented 1 year ago

I have the same problem. The points could not be synchronized, so I downloaded them from the cloud and inserted them into Qgis.

nirvn commented 1 month ago

@Rubendbdv , QField 3.3.10 has received a number of fixes with regards to photo synchronization with QFieldCloud. In addition, it is now possible to manually send individual images to the cloud in case of upload failure. The action is available in the project folder panel through the 3-dot menu of images.

Let us know if 3.3.10 works for you.

(@mishop , pinging you on this as you might be interested in knowing about the "push images to QFieldCloud" functionality :) )