Home / GitHub Page

"Error: Could not read directory" on android 10


I upgraded recently to 1.0.242 with all my devices and it seemed to be that everything is working. But now I have a problem in my android 10 (Honor 10) smartphone:

The error message:

Error: Could not read directory. /storage/emulated/0/Notizen/Joplin/locks: Folder does not exist. (But it exists.)

And an error on Windows 10:

Abgeschlossen: 06/09/2020 16:55

Letzte Fehlermeldung: Error: Error: Error: ENOENT: no such file or directory, scandir ‘H:\Syncthing\Notizen\Joplin\locks’. Path: H:\Syncthing\Notizen\Joplin/locks

You see the difference between the slash and the backslash? Does that somehow matter?

Do I have to add a folder “locks” by hand? Or what can I do to get out of the situation?



Hi me,

simply add a folder named “locks” on both sides, sync (with syncthing) and it will work.

Greetings to myself :wink:

This is strange because the locks folder should have been created automatically when you upgrade the sync target.

Immediately after the upgrade the syncing of Windows 10, Android 10 and Windows 10 from an usb-device worked without problems. This issue occured after a day of being “sure”, that everything works as expected.

Under Windows 10 I access with the portable and the usual release to the same directory. (Does that matter?) I sync (with syncthing) also to 2 raspberry pi devices, an other windows 10 device and an older medion tablet (and the smartphone).

Perhaps this information helps to isolate the problem.

1 Like

Unfortunately the descrbed problem occures again.

1 Like

This happened on my Huawei phone with Android 9, but does not happen on my Nokia phone also with Android 9. On the Huawei phone I created the locks directory, as @merlinuwe mentioned, then things work. Sync among phones and Mac (all with the newest version) with SyncThing also works.

1 Like

The locks folder, once manually created, stays there for sometime, but at some point, it's gone, so I have to created it again.