[GNC] Gnucash suddenly cannot open the data file from Onedrive
David Cousens
davidcousens49 at gmail.com
Sun Jan 4 23:31:23 EST 2026
Mike,
I'm not exactly sure how OneDrive works but if it is like Dropbox (on
Linux) it has a local copy in a OneDrive folder on your hard disk which
it keeps synchronised with a copy on Microsoft's OneDrive server when
changes are made locally. My memory of using OneDrive a long time ago
was that was how it functioned but I could be wrong?
Are you trying to open a file directly from the server?
Does your local disk have a OneDrive folder and is there a copy of your
datafile in there? You should be able to navigate to that using File-
>Open in GNuCash and then open it.
Has the background program Ha sownership/file permissions on the file
been changed
On Sun, 2026-01-04 at 18:33 -0800, Mike Brady wrote:
> I have identical folders for Gnucash files on a local disk and
> Onedrive.
> Opens fine from local. But attempting to open from Onedrive (for
> testing, files marked to always be available on the computer, so they
> should be identical in access time to the main files on the local
> disk;
> they don't take up a lot of space so I may leave it that way on the
> laptop if I can get Gnucash to open them again) produces "Unknown I/O
> Error (1002)" from Gnucash 5.14. Literally, it was working yesterday.
> It
> occurs no matter how I try to open the file - double click from File
> Explorer, or open from within Gnucash. And, if I copy the files back
> to
> a new folder on a local drive, it works fine. So what's the story
> here?
> I don't recall seeing any updates to Onedrive in the last day or so,
> and
> have been using 5.14 successfully with Onedrive for several weeks
> otherwise.
>
> Note1: my accounts on both the local machine and at Onedrive are
> listed
> as having "Full Control" for the .gnucash file.
> Note2: this occurs for ALL .gnucash files in Onedrive, not just my
> main
> one. So the running incremental backups GC makes are also
> inaccessible
> with the same error code. Files for other applications open and save
> normally using Onedrive.
>
> Is there a list of Gnucash errors in the docs somewhere? I did some
> light searching and didn't find anything.
>
> The only current workaround seems to be to manually copy the Onedrive
> folder to a local disk outside of the backup system tied to Onedrive
> and
> work there, then manually copy everything back when done so the other
> computer can download it. File copies in File Explorer work normally,
> no
> errors.
>
> Windows 11, desktop & laptop
>
> Mike Brady
> Frustrated (today) Plain Old User
>
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
--
David Cousens
More information about the gnucash-user
mailing list