# Synchronisation from outdated project on QField

**URL:** <https://community.qfield.org/t/synchronisation-from-outdated-project-on-qfield/731>\
**Category:** Ask the Community\
**Tags:** gh-import\
**Created:** [14 May 2025 02:52 UTC](https://community.qfield.org/t/synchronisation-from-outdated-project-on-qfield/731 "2025-05-14T02:52:51Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex018/uploads/qfield/original/1X/7d3726da0ef5099a1e135505c03d2f125d527aae.png) [@system](https://community.qfield.org/u/system)\
**Post date:** [14 May 2025 02:52 UTC](https://community.qfield.org/t/synchronisation-from-outdated-project-on-qfield/731/1 "2025-05-14T02:52:51Z")

</div>

Hello, we are working with some people on the field in Africa. They pushed the data they have been sampling today but the synchronization failed . When I try to Re-apply the changes, it does not work (see picture 1). Based on the info I got, I think the people on the field do not have the last version of the project (see picture 2). I would like to resolve this by changing the raw JSON (see picture 3) but cannot do this. Do you have any idea how I can resolve this ?

 ![picture_1](https://europe1.discourse-cdn.com/flex018/uploads/qfield/original/1X/4a1e040bfb9a634acde76c6b2694c0483efd955d.png)  
 ![picture_2](https://europe1.discourse-cdn.com/flex018/uploads/qfield/original/1X/27ce08d1a6cec34311c9a433cc11ec49b1830773.png)  
 ![picture_3](https://europe1.discourse-cdn.com/flex018/uploads/qfield/original/1X/a6d928e089ae2ce96e0b31e2a1508d90548484c9.png)

* * *

_Imported from [GitHub discussion](https://github.com/opengisch/qfield/discussions/3909) by @sachatk on 2023-02-15T14:58:15Z_

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex018/uploads/qfield/original/1X/7d3726da0ef5099a1e135505c03d2f125d527aae.png) [@system](https://community.qfield.org/u/system)\
**Post date:** [14 May 2025 02:52 UTC](https://community.qfield.org/t/synchronisation-from-outdated-project-on-qfield/731/2 "2025-05-14T02:52:53Z")

</div>

Is there any chance the user `nouri` had an outdated version of your project file? Is it possible this layer has been deleted and readded in you project file?

* * *

_Imported from [GitHub comment](https://github.com/opengisch/QField/discussions/3909#discussioncomment-4984566) by @suricactus on 2023-02-15T15:16:45Z_

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex018/uploads/qfield/original/1X/7d3726da0ef5099a1e135505c03d2f125d527aae.png) [@system](https://community.qfield.org/u/system)\
**Post date:** [14 May 2025 02:52 UTC](https://community.qfield.org/t/synchronisation-from-outdated-project-on-qfield/731/3 "2025-05-14T02:52:54Z")

</div>

Yess the user Nouri has an outdated version of our project file… He did not synchronize before going to the field. Any ideahow I could solve this issue ? Not a lot has changed between the old and new project file.

* * *

_Imported from [GitHub comment](https://github.com/opengisch/QField/discussions/3909#discussioncomment-4984590) by @sachatk on 2023-02-15T15:18:33Z_

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex018/uploads/qfield/original/1X/7d3726da0ef5099a1e135505c03d2f125d527aae.png) [@system](https://community.qfield.org/u/system)\
**Post date:** [14 May 2025 02:52 UTC](https://community.qfield.org/t/synchronisation-from-outdated-project-on-qfield/731/4 "2025-05-14T02:52:56Z")

</div>

Short answer: no, you cannot do much beyond manual fix.

Long answer: you can trick the system in two different ways.

1. download the `.qgs` file from the cloud and manually change the layer id in the XML file to match the one in the error, or just reupload the outdated .qgs file. Do not reupload anything else besides the .qgs file. Then try to reapply the changes, QFieldCloud should accept them.

2. download the raw JSON files on you machine and feed them to the `apply_deltas.py` script [https://github.com/opengisch/qfieldcloud/blob/master/docker-qgis/apply\_deltas.py](https://github.com/opengisch/qfieldcloud/blob/master/docker-qgis/apply_deltas.py). You can get some inspiration how to run it from here [QFieldCloud/docker-qgis/tests/test\_apply\_deltas.sh at master · opengisch/QFieldCloud · GitHub](https://github.com/opengisch/qfieldcloud/blob/master/docker-qgis/tests/test_apply_deltas.sh) .

Either way, it is far from the most pleasent thing to do. We will look for QFieldCloud native solution for such problems in the future, but this is all we have for now.

If you need extra support, please drop us an email on infoopengis.ch .

* * *

_Imported from [GitHub comment](https://github.com/opengisch/QField/discussions/3909#discussioncomment-4984696) by @suricactus on 2023-02-15T15:27:05Z_

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex018/uploads/qfield/original/1X/7d3726da0ef5099a1e135505c03d2f125d527aae.png) [@system](https://community.qfield.org/u/system)\
**Post date:** [14 May 2025 02:52 UTC](https://community.qfield.org/t/synchronisation-from-outdated-project-on-qfield/731/5 "2025-05-14T02:52:57Z")

</div>

You mean the qgz file ? I do not have any qgs file.

 ![all_files](https://europe1.discourse-cdn.com/flex018/uploads/qfield/original/1X/adda79eee160f21f4db28e9c3ee5dd67f1c84df0.png)

* * *

_Imported from [GitHub comment](https://github.com/opengisch/QField/discussions/3909#discussioncomment-4984830) by @sachatk on 2023-02-15T15:37:47Z_

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex018/uploads/qfield/original/1X/7d3726da0ef5099a1e135505c03d2f125d527aae.png) [@system](https://community.qfield.org/u/system)\
**Post date:** [14 May 2025 02:52 UTC](https://community.qfield.org/t/synchronisation-from-outdated-project-on-qfield/731/6 "2025-05-14T02:52:59Z")

</div>

.qgz is the zipped version of the .qgs file. If you open the .qgz file with your archive manager you will find your .qgs file inside. So they are practically the same thing, using the .qgz has some benefits from user perspective and it is the default in QGIS.

* * *

_Imported from [GitHub comment](https://github.com/opengisch/QField/discussions/3909#discussioncomment-4984903) by @suricactus on 2023-02-15T15:44:52Z_

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex018/uploads/qfield/original/1X/7d3726da0ef5099a1e135505c03d2f125d527aae.png) [@system](https://community.qfield.org/u/system)\
**Post date:** [14 May 2025 02:53 UTC](https://community.qfield.org/t/synchronisation-from-outdated-project-on-qfield/731/7 "2025-05-14T02:53:00Z")

</div>

Hello, could you show me how to access this download this qgs file and acces the XML file ? I cannot find this file… when downloading the project via the QGIS plugin…

* * *

_Imported from [GitHub comment](https://github.com/opengisch/QField/discussions/3909#discussioncomment-4985038) by @sachatk on 2023-02-15T15:56:06Z_

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/flex018/uploads/qfield/original/1X/7d3726da0ef5099a1e135505c03d2f125d527aae.png) [@system](https://community.qfield.org/u/system)\
**Post date:** [14 May 2025 02:53 UTC](https://community.qfield.org/t/synchronisation-from-outdated-project-on-qfield/731/8 "2025-05-14T02:53:02Z")

</div>

Hey sachatk , as I said, you have to open the .qgz file with your archive manager program, not with QGIS. Note both solutions I have mentioned above are for quite advanced QGIS/Python users. I will leave any further help to the broader QFieldCloud community for now. As I said before, you can also ask for a support offer on infoopengis.ch .

* * *

_Imported from [GitHub comment](https://github.com/opengisch/QField/discussions/3909#discussioncomment-4985795) by @suricactus on 2023-02-15T17:05:18Z_
