I am using Geopackage stored in a folder using Onedrive. Everytime I want to modify my file in QGIS (3.12), it is freezing and onedrive is notifying errors in synchronisation for the geopackages files (gpkg-shm + gpkg-wal). When I use shapefiles, I don't have any problems.

Does anyone faced the same issue or should I modify some parameters in QGIS ?

  • Perhaps considerations about Client/Server Applications in sqlite.org/whentouse.html apply also to direct use from Onedrive. It might be better to work on local GeoPackage and keep a backup in Onedrive.
    – user30184
    Commented Apr 8, 2020 at 17:03
  • 1
    Thanks. I found a trick by reducing the upload speed of synchronisation in Onedrive parameters. The sync problems are still occuring but QGIS is not freezing anymore! Commented Apr 10, 2020 at 7:39

1 Answer 1


I think the issue has been reported by other users.

A solution seems to be implemented, see pull requests: https://github.com/qgis/QGIS/pull/37264

  • 1
    In the meanwhile, you could tell OneDrive to ignore certain filetypes (gpkg-shm + gpkg-wal)
    – sn1ks
    Commented Aug 4, 2021 at 8:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.