# Problem uploading a project with offline maps (\*.mbtiles)

**URL:** <https://community.qfield.org/t/problem-uploading-a-project-with-offline-maps-mbtiles/971>\
**Category:** Ask the Community\
**Tags:** gh-import\
**Created:** [14 May 2025 03:23 UTC](https://community.qfield.org/t/problem-uploading-a-project-with-offline-maps-mbtiles/971 "2025-05-14T03:23:12Z")\
**Posts on this page:** 11\
**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 03:23 UTC](https://community.qfield.org/t/problem-uploading-a-project-with-offline-maps-mbtiles/971/1 "2025-05-14T03:23:12Z")

</div>

Hi, I am a forester and working with QField in the field 😉 OpenGis.ch gave me the opportunity to try out ‘the cloud’. Thank you!

While uploading a project (350 MB in total) with QGis 3.16-3 Hannover and the latest experimental QFieldSync version v4.0.0-beta13 the upload is not completed (it freezes at 34%).  
I assume it has something to do with 5 offline maps (\*.mbtiles format, the largest with a maximum of 34 MB). Is this format supported?  
The message log says it takes to long… When synchronizing afterwords, I got a error about aborted uploads.

## ![Schermafdruk_2021-09-17_17-44-12](https://europe1.discourse-cdn.com/flex018/uploads/qfield/original/1X/3342d74892e1376516e0c8f54ceeed9921dd1607.jpeg) ![Schermafdruk_2021-09-17_20-32-42](https://europe1.discourse-cdn.com/flex018/uploads/qfield/original/1X/0e63aabd1eef1926d28d9baf22cc858c013ffc3d.png) ![Schermafdruk_2021-09-17_20-07-34](https://europe1.discourse-cdn.com/flex018/uploads/qfield/original/1X/f3741c562b2a6268853ff4a3c56e680441c71307.png)

* * *

_Imported from [GitHub discussion](https://github.com/opengisch/qfield/discussions/2459) by @BoswachterMarc on 2021-09-17T18:42:35Z_

---

<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 03:23 UTC](https://community.qfield.org/t/problem-uploading-a-project-with-offline-maps-mbtiles/971/2 "2025-05-14T03:23:13Z")

</div>

Hello field worker using QField in the field.

This should unlock mbtiles support: [Add support for file-based vector tile layer sources by nirvn · Pull Request #15 · opengisch/libqfieldsync · GitHub](https://github.com/opengisch/libqfieldsync/pull/15)

* * *

_Imported from [GitHub comment](https://github.com/opengisch/QField/discussions/2459#discussioncomment-1353435) by @nirvn on 2021-09-19T11:23: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 03:23 UTC](https://community.qfield.org/t/problem-uploading-a-project-with-offline-maps-mbtiles/971/3 "2025-05-14T03:23:14Z")

</div>

Still no luck on this side 😉  
Message “duurt te lang” = " takes to long"

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

* * *

_Imported from [GitHub comment](https://github.com/opengisch/QField/discussions/2459#discussioncomment-1354607) by @BoswachterMarc on 2021-09-19T21:06:21Z_

---

<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 03:23 UTC](https://community.qfield.org/t/problem-uploading-a-project-with-offline-maps-mbtiles/971/4 "2025-05-14T03:23:16Z")

</div>

See also [Message to rename ACSII encode filename · Issue #322 · opengisch/qfieldsync · GitHub](https://github.com/opengisch/qfieldsync/issues/322)

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

* * *

_Imported from [GitHub comment](https://github.com/opengisch/QField/discussions/2459#discussioncomment-1358787) by @BoswachterMarc on 2021-09-20T18:07:41Z_

---

<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 03:23 UTC](https://community.qfield.org/t/problem-uploading-a-project-with-offline-maps-mbtiles/971/5 "2025-05-14T03:23:17Z")

</div>

File-based vector tile dataset support needed a bit more love on the QGIS side of things ([[vector tile] Add encodeUri/decodeUri functions, fix bad layer handler's browse button not working for vector tile layers by nirvn · Pull Request #45238 · qgis/QGIS · GitHub](https://github.com/qgis/QGIS/pull/45238)), you’ll need upcoming QGIS 3.22 for it to be fully supported.

* * *

_Imported from [GitHub comment](https://github.com/opengisch/QField/discussions/2459#discussioncomment-1378624) by @nirvn on 2021-09-24T08:21:41Z_

---

<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 03:23 UTC](https://community.qfield.org/t/problem-uploading-a-project-with-offline-maps-mbtiles/971/6 "2025-05-14T03:23:19Z")

</div>

BoswachterMarc do you by any chance have the possibility to try with the nightly builds of QGIS?

* * *

_Imported from [GitHub comment](https://github.com/opengisch/QField/discussions/2459#discussioncomment-1397131) by @mbernasocchi on 2021-09-28T15:49: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 03:23 UTC](https://community.qfield.org/t/problem-uploading-a-project-with-offline-maps-mbtiles/971/7 "2025-05-14T03:23:20Z")

</div>

I should look up what that means…

* * *

_Imported from [GitHub comment](https://github.com/opengisch/QField/discussions/2459#discussioncomment-1397748) by @BoswachterMarc on 2021-09-28T17:42:21Z_

---

<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 03:23 UTC](https://community.qfield.org/t/problem-uploading-a-project-with-offline-maps-mbtiles/971/8 "2025-05-14T03:23:22Z")

</div>

I tried uploading a whole project once more and again I got the message of a network time-out. This time I worked on linux mint 20 Xfce with the experimental QFieldSync plug-in v4.0.0-beta15. I did not get the problem of using ASCII encoded filename.  
Because of the time-out problem, **I did not upload/sync all the files at once (prefering local storage as ‘single source of truth’) but one for one. This workaround worked well and the whole project was finally synced and available in QField on my mobile.**  
In other words, we are ready for the field work using QFieldCloud 😉

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

* * *

_Imported from [GitHub comment](https://github.com/opengisch/QField/discussions/2459#discussioncomment-1439192) by @BoswachterMarc on 2021-10-06T22:15: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 03:23 UTC](https://community.qfield.org/t/problem-uploading-a-project-with-offline-maps-mbtiles/971/9 "2025-05-14T03:23:24Z")

</div>

I uploaded a new project and invited 3 collaborators. Again, uploading all files at once didn’t work but one for one worked fine.  
Next I made some changes in the forest and synced afterwards. It all went flawless!

* * *

_Imported from [GitHub comment](https://github.com/opengisch/QField/discussions/2459#discussioncomment-1554079) by @BoswachterMarc on 2021-10-28T16:31:12Z_

---

<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 03:23 UTC](https://community.qfield.org/t/problem-uploading-a-project-with-offline-maps-mbtiles/971/10 "2025-05-14T03:23:25Z")

</div>

At the office, I made some small changes to the project and tried syncing back (T23:19) from local (qgis on pc) to cloud version. That moment I had another time-out and not all the changes (only \*.gpkg and \*.qgs files!) were synced at once (freeze at 98%). See printscreens. After a second sync attempt, just 2 out of 3 files were still available for sync and with the second attempt the two remaining files were also synced.

 ![afbeelding](https://europe1.discourse-cdn.com/flex018/uploads/qfield/original/1X/30a9ac704b86b6670df7081bf02abf2ac9061297.png)  
 ![afbeelding](https://europe1.discourse-cdn.com/flex018/uploads/qfield/original/1X/b4c87d60b9dcac8aaaf97c8bcfb59bb181946354.png)

* * *

_Imported from [GitHub comment](https://github.com/opengisch/QField/discussions/2459#discussioncomment-1555590) by @BoswachterMarc on 2021-10-28T21:27:46Z_

---

<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 03:23 UTC](https://community.qfield.org/t/problem-uploading-a-project-with-offline-maps-mbtiles/971/11 "2025-05-14T03:23:27Z")

</div>

In order to provide a clearer and more manageable discussion forum and to have all discussions about QField and related products (i.e. QFieldCloud and QFieldSync) in a single place, we transferred all the discussions from the QFieldCloud to the [QField repository](https://github.com/opengisch/QField/discussions).

* * *

_Imported from [GitHub comment](https://github.com/opengisch/QField/discussions/2459#discussioncomment-2088869) by @marioba on 2022-02-01T13:26:06Z_
