Notes.sqlite tag sync #926
Comments
Maybe your Nextcloud client is syncing the file and that's why it's locked... I've never seen that issue. My notes.sqlite constantly gets downloaded while QOwnNotes is running... |
If I close QON on PC2 and force Nextcloud to sync, everything is fine.. but that's so inconvenient. |
What are the operating systems of your PCs? (you didn't post your debug output) |
I'm sorry about that. |
QON for linux is not affected by this. I can change a TAG on any PC and I'll sync correctly even if I have QON opened. |
Strange. Sounds like an implementation detail of Qt on Windows or some special thing on your Windows PC... I wonder if someone else can reproduce this issue. |
I have a Windows VM I'm setting up tomorrow. I can try it then. |
Great, @stobbsm! Thanks a lot! |
I can confirm this is an issue in my Windows 10 vm. |
Thank you for testing. But I'm not sure how to deal with that, since database handling is done by Qt directly (if that is the reason and not the Nextcloud server or client)... I haven't found anything to this topic on the internet... |
I also have the problem, that a tag I added on a Windows System is not synced to another Linux PC, and wisewerse. |
@thornpw are you sure it doesn't work both way? Because I've tested adding a TAG on Windows 10 and my Linux QON+Nextcloud get sync perfectly fine. However, the other way around cause an issue. |
I add on Windows a Note. This was synced. Then I added a tag, this was not synced from Windows to Linux. I use latest QON versions and the ownCloud Client und arch Linux (Manjaro). Also from Linux to Windows it does not work. Maybe a generell Problem with my database? |
Found out, that on Linux I had a 18.06.1 instead of 18.06.2 on Windows. Also got an update on Windows. Now It works from Window (create note) to Linux. But still not from Linux to Windows. Also adding a tag in windows on a node that was synced without tags from linux to windows does not work |
Do you get any sync error with your ownCloud client? |
Sorry, a filter was active. I get the message, that the sourcefile could not be deleted on Windows |
After uninstalling both the client and the QON not it looks like it works. But only once. I will wait 2 days, maybe there is a fix. |
18.06.3
|
I tested this with Linux, macOS and Windows at the same time. |
There now is a new release, could you please test it and report if it works for you? |
Tested the new release and it works, thanks for your efforts. |
Yes, I confirm. Problem fixed. |
Great there was a solution (I hope with no side-effects) ;) |
18.06.5
see #945 |
18.07.2
|
There now is a new release, could you please test it and report if it works for you? |
Yes, working as expected. Checking the new option in the General tab fix the sync issue. |
Thank you for testing. Let's hope there are no other regressions, it was a lot of work. |
Let say I have QON opened on 2 PC at the same time.
If I add a tag for one of my note with PC1, Nextcloud on PC2 can't download the new notes.sqlite. It says " Access is denied".
It cause issue because on PC2, I'm not getting the new tag.
Here's a screenshot of Nextcloud on PC2.

The text was updated successfully, but these errors were encountered: