Closed washbz250 closed 3 years ago
I've the same issue with my setup: two android devices, a raspberry pi3 and a linux workstation. After few notes update, the "locks" path disappear and I need to recreate manually inside joplin storage, to make things work again
I've the same issue with my setup: two android devices, a raspberry pi3 and a linux workstation. After few notes update, the "locks" path disappear and I need to recreate manually inside joplin storage, to make things work again
So for me the "locks" folder stays the whole time, but I had seen in one of the bug reports where someone got the same error and they deleted/remade that folder and the error was resolved (so I tried that). After looking further into it though, I believe it was a separate issue that was resolved with a subsequent update of Joplin.
My issue happens both initially upon installing the app with no data, and happens when I sync via something else (OneDrive/Dropbox/etc.) first, then try to sync to a folder that either has data in it or is empty (I've tried both).
I'm thinking it is something specific to the Android version as my Windows version is able to sync the same notes and all perfectly fine using Filesystem sync
Just to make a quick test, now I've set in the .ignore file of syncthing the path "/locks" on all my systems. This could solve the problem ? We will see
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may comment on the issue and I will leave it open. Thank you for your contributions.
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.
I am trying to sync between Android and Windows 10 with Syncthing/copying the Joplin folder and am unable to. I get the error "Cannot acquire sync lock: either the lock could be written but not read back. Or it was expired before it was read again."
Syncing with other options (Dropbox/OneDrive), however, does not give me this error.
I have tried deleting/recreating the locks folder (as suggested by a previous user although I now believe it was for a different issue), clearing App Data/Cache, force stopping the app, re-installing the app, and finally exporting and re-importing on the Desktop version then copying the folder back to Android.
Joplin also has all of the correct permissions.
Environment
Joplin version: 1.7.3 and 1.7.10 Platform: Android and Windows OS specifics: Android 11 and Windows 10
Steps to reproduce
Describe what you expected to happen
Expected files to synchronize.
Logfile