Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to synchronize, changes stay in "pending" status #314

Closed
stcz opened this issue Apr 16, 2022 · 12 comments
Closed

Unable to synchronize, changes stay in "pending" status #314

stcz opened this issue Apr 16, 2022 · 12 comments
Labels
bug Something isn't working

Comments

@stcz
Copy link
Contributor

stcz commented Apr 16, 2022

A few days ago, the synchronization of our two QField cloud projects stopped working. The projects are owned by one account and shared to three others, which are each logged in on one Android device. App versions are 2.0.9 on two and 2.0.14 on the third device.

The failure to synchronize makes itself evident by the synchronization running endlessly on the Android devices when there are local changes (hangs at the stage "QFieldCloud is applying the latest uploaded changes. This might take some time, please hold tight."). Alternatively, on QField 2.0.14, the synchronization sporadically also aborted with a message "Data failed to reach QField cloud" (without further information).

Pushing the changes instead of synchronizing the project results in a success message. Subsequent synchronization attempts after the push also terminate without error. However, rather than updating the data set, the synchronization in this case results in the previously pushed local changes to go missing and thus to data loss.

On QFieldCloud's web interface, the changes we attempted to synchronize do appear in the "Changes" view with status "Pending". Trying to apply them manually yields the message "x change(s) will be applied". However, even after several hours, they are still not applied. The corresponding Jobs are failing without any output (#313).

I hope this description provides a suitable starting point for an analysis of the problem. Of course, we are happy to provide additional details and the IDs of/access to the projects in question, in case this is helpful.

@suricactus
Copy link
Collaborator

We are already aware of the problem and workig on it, fix is coming early next week. Thanks for reporting.

@suricactus suricactus added the bug Something isn't working label Apr 16, 2022
@suricactus suricactus changed the title Failed delta crashes whole synchronization Unable to synchronize, changes stay in "pending" status Apr 16, 2022
@suricactus
Copy link
Collaborator

suricactus commented Apr 18, 2022

@stcz @CedricMondy @marius851000 @enheduanna @JHL99 Can you please try to manually apply your changes using the web interface now? Hopefully all should work as expected and no data loss should occur.

@CedricMondy
Copy link

@suricactus it seems to work for me now, thank you very much!

@Indiok
Copy link

Indiok commented Apr 18, 2022

thank you, now i can aply data but when sincronizing at my computer nothing changes, not seem normal like before

@stcz
Copy link
Contributor Author

stcz commented Apr 18, 2022

For me everything looks fine in QGIS and QField.. :) Thank you very much!

@enheduanna
Copy link

enheduanna commented Apr 18, 2022 via email

@JHL99
Copy link

JHL99 commented Apr 18, 2022 via email

@suricactus
Copy link
Collaborator

Very happy to hear it worked well for all of you. Thanks for testing and ringing the bell for QFieldCloud during it's beta phase. Your feedback is invaluable!

@Indiok
Copy link

Indiok commented Apr 19, 2022

thanks a lot @suricactus , in my testing project now can work sincronize normally :)

@alexhogan18
Copy link

Im still having issues syncing, data goes missing on the app when syning, however the data has been pushed into the project when looking at the project in chrome and on qgis

@suricactus
Copy link
Collaborator

@alexhogan18 please open a new issue with a sample project and all the details you can provide about your issue.

@alexhogan18
Copy link

@suricactus I just posted a new question on the discussion board with more details, hopefully it outlines my issues a bit better

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants