Joplin on Android: Can't sync to "File System"

Since it's impossible for the mobile Joplin app to sync to a Nextcloud server which has a self-signed certificate (grrrr....:face_with_symbols_over_mouth:), I'm trying to implement a workaround whereby I sync to my local Nextcloud Joplin directory.

Unfortunately, this doesn't work either as I'm greeted with the following when syncing:
"Last errror: Error: Error: ENOENT: no such file or directory, open 'storage/... yada yada ... .md'. Path: /storage/... yada yada ... .md"

Permisions have been granted to Joplin.
The directory is on my external SD card and is indeed "writeable".

Can anybody shed some light on what's turning out to be a very frustrating attempt to fully implement Joplin across my various devices?

Thanks in advance.

First step when reporting a bug is to provide the full error message, preferably within a code block so that formatting like quotes and so on is not changed. Also please provide the full context - when did you get this error message? when syncing or when checking the sync configuration?

Most likely explanation is that the path is not quite right. You can check the exact paths with applications like Total Commander.

Thanks for offering to look at it...

(I've used Ghost Commander to determine the path and to set the folder as writeable. I tested this by successfully creating a text file therein as an ordinary user.
)

Date,Level,Message
04-26T14:10:36,30,"""Reducer action", "NAV_GO, Log""
04-26T14:10:31,30,"""Reducer action", "SIDE_MENU_CLOSE""
04-26T14:10:28,30,"""Reducer action", "FOLDER_UPDATE_ALL""
04-26T14:10:27,30,"""Reducer action", "SYNC_COMPLETED""
04-26T14:10:27,20,"""Error: Error: ENOENT: no such file or directory, open '/storage/9C33-6BBD/Android/media/com.nextcloud.client/nextcloud/bubba@heviicloud.no-ip.info/Documents/Joplin/af5aa06b35114b74a52b3ca0ab82e85a.md'. Path: /storage/9C33-6BBD/Android/media/com.nextcloud.client/nextcloud/bubba@heviicloud.no-ip.info/Documents/Joplin/af5aa06b35114b74a52b3ca0ab82e85a.md
Code: ENOENT
value@index.android.bundle:1138:328
index.android.bundle:1138:4003
k@index.android.bundle:144:3838
index.android.bundle:144:4912
index.android.bundle:144:4020
k@index.android.bundle:144:3838
n@index.android.bundle:144:4070
index.android.bundle:144:4248
f@index.android.bundle:109:155
index.android.bundle:109:882
index.android.bundle:112:1815
y@index.android.bundle:112:657
C@index.android.bundle:112:1021
callImmediates@index.android.bundle:112:3216
[native code]
value@index.android.bundle:25:3011
index.android.bundle:25:1402
value@index.android.bundle:25:2703
value@index.android.bundle:25:1372
[native code]
value@index.android.bundle:25:1307
[native code]""
04-26T14:10:27,30,"""Total resources: 3""
04-26T14:10:27,20,"""There was some errors:""
04-26T14:10:27,30,"""Total notes: 4""
04-26T14:10:27,30,"""Total folders: 1""
04-26T14:10:27,30,"""createRemote: 1""
04-26T14:10:27,30,"""Operations completed: ""
04-26T14:10:27,10,"""Error: Error: ENOENT: no such file or directory, open '/storage/9C33-6BBD/Android/media/com.nextcloud.client/nextcloud/bubba@heviicloud.no-ip.info/Documents/Joplin/af5aa06b35114b74a52b3ca0ab82e85a.md'. Path: /storage/9C33-6BBD/Android/media/com.nextcloud.client/nextcloud/bubba@heviicloud.no-ip.info/Documents/Joplin/af5aa06b35114b74a52b3ca0ab82e85a.md
Code: ENOENT
value@index.android.bundle:1138:328
index.android.bundle:1138:4003
k@index.android.bundle:144:3838
index.android.bundle:144:4912
index.android.bundle:144:4020
k@index.android.bundle:144:3838
n@index.android.bundle:144:4070
index.android.bundle:144:4248
f@index.android.bundle:109:155
index.android.bundle:109:882
index.android.bundle:112:1815
y@index.android.bundle:112:657
C@index.android.bundle:112:1021
callImmediates@index.android.bundle:112:3216
[native code]
value@index.android.bundle:25:3011
index.android.bundle:25:1402
value@index.android.bundle:25:2703
value@index.android.bundle:25:1372
[native code]
value@index.android.bundle:25:1307
[native code]""
04-26T14:10:27,30,"""Reducer action", "SYNC_STARTED""
04-26T14:10:27,30,"""Starting scheduled sync""
04-26T14:10:27,30,"""Preparing scheduled sync""
04-26T14:10:27,30,"""Scheduling sync operation...""
04-26T14:10:26,30,"""Reducer action", "SIDE_MENU_OPEN""
04-26T14:10:26,30,"""Reducer action", "SIDE_MENU_TOGGLE""
04-26T14:10:24,30,"""Reducer action", "NAV_BACK""
04-26T14:10:01,30,"""Reducer action", "NAV_GO, Log""
04-26T14:09:55,30,"""Reducer action", "NAV_BACK""
04-26T14:09:53,30,"""Settings have been saved.""
04-26T14:09:53,30,"""Saving settings...""
04-26T14:09:53,30,"""Reducer action", "SETTING_UPDATE_ONE""
04-26T14:09:40,30,"""Reducer action", "NAV_GO, Config""
04-26T14:09:28,30,"""Reducer action", "SIDE_MENU_CLOSE""
04-26T14:09:28,30,"""Reducer action", "NAV_GO, Notes""
04-26T14:09:28,30,"""Reducer action", "SIDE_MENU_CLOSE""
04-26T14:09:26,30,"""Reducer action", "SIDE_MENU_OPEN""
04-26T14:09:26,30,"""Reducer action", "SIDE_MENU_TOGGLE""
04-26T14:09:25,30,"""Reducer action", "SIDE_MENU_CLOSE""
04-26T14:09:07,30,"""ResourceService::deleteOrphanResources:", """
04-26T14:09:07,30,"""ResourceService::indexNoteResources: Completed""
04-26T14:09:07,30,"""ResourceService::indexNoteResources: Start""
04-26T14:08:49,30,"""Reducer action", "SIDE_MENU_OPEN""
04-26T14:08:49,30,"""Reducer action", "SIDE_MENU_TOGGLE""
04-26T14:08:48,30,"""Reducer action", "DECRYPTION_WORKER_SET""
04-26T14:08:48,30,"""DecryptionWorker: completed decryption.""
04-26T14:08:48,30,"""Reducer action", "DECRYPTION_WORKER_SET""
04-26T14:08:48,30,"""DecryptionWorker: starting decryption...""
04-26T14:08:47,30,"""Reducer action", "FOLDER_UPDATE_ALL""
04-26T14:08:47,30,"""Garbage collecting alarms...""
04-26T14:08:47,30,"""Updating all notifications...""
04-26T14:08:47,30,"""Reducer action", "SYNC_COMPLETED""
04-26T14:08:47,20,"""There was some errors:""
04-26T14:08:47,20,"""Error: Error: ENOENT: no such file or directory, open '/storage/9C33-6BBD/Android/media/com.nextcloud.client/nextcloud/bubba@heviicloud.no-ip.info/Documents/Joplin/af5aa06b35114b74a52b3ca0ab82e85a.md'. Path: /storage/9C33-6BBD/Android/media/com.nextcloud.client/nextcloud/bubba@heviicloud.no-ip.info/Documents/Joplin/af5aa06b35114b74a52b3ca0ab82e85a.md
Code: ENOENT
value@index.android.bundle:1138:328
index.android.bundle:1138:4003
k@index.android.bundle:144:3838
index.android.bundle:144:4912
index.android.bundle:144:4020
k@index.android.bundle:144:3838
n@index.android.bundle:144:4070
index.android.bundle:144:4248
f@index.android.bundle:109:155
index.android.bundle:109:882
index.android.bundle:112:1815
y@index.android.bundle:112:657
C@index.android.bundle:112:1021
callImmediates@index.android.bundle:112:3216
[native code]
value@index.android.bundle:25:3011
index.android.bundle:25:1402
value@index.android.bundle:25:2703
value@index.android.bundle:25:1372
[native code]
value@index.android.bundle:25:1307
[native code]""
04-26T14:08:47,30,"""Total notes: 4""
04-26T14:08:47,30,"""Total resources: 3""
04-26T14:08:47,30,"""Total folders: 1""
04-26T14:08:47,30,"""createRemote: 1""
04-26T14:08:47,30,"""Operations completed: ""
04-26T14:08:47,10,"""Error: Error: ENOENT: no such file or directory, open '/storage/9C33-6BBD/Android/media/com.nextcloud.client/nextcloud/bubba@heviicloud.no-ip.info/Documents/Joplin/af5aa06b35114b74a52b3ca0ab82e85a.md'. Path: /storage/9C33-6BBD/Android/media/com.nextcloud.client/nextcloud/bubba@heviicloud.no-ip.info/Documents/Joplin/af5aa06b35114b74a52b3ca0ab82e85a.md
Code: ENOENT
value@index.android.bundle:1138:328
index.android.bundle:1138:4003
k@index.android.bundle:144:3838
index.android.bundle:144:4912
index.android.bundle:144:4020
k@index.android.bundle:144:3838
n@index.android.bundle:144:4070
index.android.bundle:144:4248
f@index.android.bundle:109:155
index.android.bundle:109:882
index.android.bundle:112:1815
y@index.android.bundle:112:657
C@index.android.bundle:112:1021
callImmediates@index.android.bundle:112:3216
[native code]
value@index.android.bundle:25:3011
index.android.bundle:25:1402
value@index.android.bundle:25:2703
value@index.android.bundle:25:1372
[native code]
value@index.android.bundle:25:1307
[native code]""
04-26T14:08:47,30,"""SearchEngine: Updated FTS table in 46ms""
04-26T14:08:47,30,"""Reducer action", "SYNC_STARTED""
04-26T14:08:47,30,"""Starting scheduled sync""
04-26T14:08:47,30,"""Preparing scheduled sync""
04-26T14:08:47,30,"""SearchEngine: Updating FTS table...""
04-26T14:08:45,30,"""Reducer action", "NAV_BACK""
04-26T14:08:38,30,"""Reducer action", "DECRYPTION_WORKER_SET""
04-26T14:08:38,30,"""DecryptionWorker: completed decryption.""
04-26T14:08:37,30,"""Reducer action", "DECRYPTION_WORKER_SET""
04-26T14:08:37,30,"""DecryptionWorker: starting decryption...""
04-26T14:08:37,30,"""Reducer action", "NOTE_UPDATE_ALL""
04-26T14:08:37,30,"""ResourceFetcher: Auto-added resources: 0""
04-26T14:08:37,30,"""Reducer action", "APP_STATE_SET""
04-26T14:08:37,30,"""Application initialized""
04-26T14:08:37,30,"""Scheduling sync operation...""
04-26T14:08:37,30,"""Reducer action", "NAV_GO, Notes""
04-26T14:08:37,30,"""Reducer action", "FOLDER_SET_COLLAPSED_ALL""
04-26T14:08:37,30,"""Reducer action", "MASTERKEY_UPDATE_ALL""
04-26T14:08:36,30,"""Reducer action", "TAG_UPDATE_ALL""
04-26T14:08:36,30,"""Reducer action", "FOLDER_UPDATE_ALL""
04-26T14:08:36,30,"""Scheduling sync operation...""
04-26T14:08:36,30,"""Reducer action", "MASTERKEY_REMOVE_NOT_LOADED""
04-26T14:08:36,30,"""Loaded master keys: 0""
04-26T14:08:36,30,"""Trying to load 0 master keys...""
04-26T14:08:36,30,"""Loading folders...""
04-26T14:08:36,30,"""Loaded master keys: 0""
04-26T14:08:36,30,"""Trying to load 0 master keys...""
04-26T14:08:36,30,"""Sync target: 2""
04-26T14:08:36,30,"""Reducer action", "SETTING_UPDATE_ALL""
04-26T14:08:36,30,"""Loading settings...""
04-26T14:08:36,30,"""Database is ready.""
04-26T14:08:36,30,"""Current database version", "18""
04-26T14:08:36,30,"""Checking for database schema update...""
04-26T14:08:36,30,"""Database was open successfully""
04-26T14:08:36,30,"""Starting application net.cozic.joplin-mobile (prod)""
04-26T14:08:36,30,"""====================================""
04-26T10:17:24,30,"""Reducer action", "NOTE_UPDATE_ALL""
04-26T10:17:07,30,"""Reducer action", "NAV_BACK""
04-26T10:16:56,30,"""Reducer action", "SIDE_MENU_CLOSE""
04-26T10:16:56,30,"""Reducer action", "NAV_GO, Notes""
04-26T10:16:56,30,"""Reducer action", "SIDE_MENU_CLOSE""
04-26T10:16:54,30,"""Reducer action", "SIDE_MENU_OPEN""
04-26T10:16:54,30,"""Reducer action", "SIDE_MENU_TOGGLE""
04-26T10:16:46,30,"""Reducer action", "NAV_BACK""
04-26T10:16:43,30,"""Reducer action", "SIDE_MENU_CLOSE""
04-26T10:16:38,30,"""Reducer action", "FOLDER_UPDATE_ALL""
04-26T10:16:38,30,"""Reducer action", "SYNC_COMPLETED""
04-26T10:16:38,30,"""Total resources: 3""
04-26T10:16:38,20,"""There was some errors:""
04-26T10:16:38,20,"""Error: Error: ENOENT: no such file or directory, open '/storage/9C33-6BBD/Android/media/com.nextcloud.client/nextcloud/bubba@heviicloud.no-ip.info/Documents/Joplin/af5aa06b35114b74a52b3ca0ab82e85a.md'. Path: /storage/9C33-6BBD/Android/media/com.nextcloud.client/nextcloud/bubba@heviicloud.no-ip.info/Documents/Joplin/af5aa06b35114b74a52b3ca0ab82e85a.md
Code: ENOENT
value@index.android.bundle:1138:328
index.android.bundle:1138:4003
k@index.android.bundle:144:3838
index.android.bundle:144:4912
index.android.bundle:144:4020
k@index.android.bundle:144:3838
n@index.android.bundle:144:4070
index.android.bundle:144:4248
f@index.android.bundle:109:155
index.android.bundle:109:882
index.android.bundle:112:1815
y@index.android.bundle:112:657
C@index.android.bundle:112:1021
callImmediates@index.android.bundle:112:3216
[native code]
value@index.android.bundle:25:3011
index.android.bundle:25:1402
value@index.android.bundle:25:2703
value@index.android.bundle:25:1372
[native code]
value@index.android.bundle:25:1307
[native code]""
04-26T10:16:38,30,"""Total folders: 1""
04-26T10:16:38,30,"""Total notes: 4""
04-26T10:16:38,30,"""createRemote: 1""
04-26T10:16:38,30,"""Operations completed: ""
04-26T10:16:38,10,"""Error: Error: ENOENT: no such file or directory, open '/storage/9C33-6BBD/Android/media/com.nextcloud.client/nextcloud/bubba@heviicloud.no-ip.info/Documents/Joplin/af5aa06b35114b74a52b3ca0ab82e85a.md'. Path: /storage/9C33-6BBD/Android/media/com.nextcloud.client/nextcloud/bubba@heviicloud.no-ip.info/Documents/Joplin/af5aa06b35114b74a52b3ca0ab82e85a.md
Code: ENOENT
value@index.android.bundle:1138:328
index.android.bundle:1138:4003
k@index.android.bundle:144:3838
index.android.bundle:144:4912
index.android.bundle:144:4020
k@index.android.bundle:144:3838
n@index.android.bundle:144:4070
index.android.bundle:144:4248
f@index.android.bundle:109:155
index.android.bundle:109:882
index.android.bundle:112:1815
y@index.android.bundle:112:657
C@index.android.bundle:112:1021
callImmediates@index.android.bundle:112:3216
[native code]
value@index.android.bundle:25:3011
index.android.bundle:25:1402
value@index.android.bundle:25:2703
value@index.android.bundle:25:1372
[native code]
value@index.android.bundle:25:1307
[native code]""
04-26T10:16:37,30,"""Reducer action", "SYNC_STARTED""
04-26T10:16:37,30,"""Starting scheduled sync""
04-26T10:16:37,30,"""Reducer action", "SIDE_MENU_OPEN""
04-26T10:16:37,30,"""Preparing scheduled sync""
04-26T10:16:37,30,"""Running background sync on timer...""
04-26T10:16:37,30,"""Scheduling sync operation...""
04-26T10:16:37,30,"""Reducer action", "SIDE_MENU_TOGGLE""
04-26T10:10:28,30,"""Reducer action", "SIDE_MENU_CLOSE""
04-26T10:10:28,30,"""Reducer action", "SIDE_MENU_CLOSE""
04-26T10:09:24,30,"""Reducer action", "SIDE_MENU_OPEN""
04-26T10:09:24,30,"""Reducer action", "SIDE_MENU_TOGGLE""
04-26T10:09:21,30,"""Reducer action", "NAV_GO, Config""
04-26T10:09:18,30,"""Reducer action", "NAV_BACK""
04-26T10:09:15,30,"""Reducer action", "SIDE_MENU_CLOSE""
04-26T10:09:14,30,"""Reducer action", "SIDE_MENU_OPEN""
04-26T10:09:14,30,"""Reducer action", "SIDE_MENU_TOGGLE""
04-26T10:09:01,30,"""Reducer action", "SIDE_MENU_CLOSE""
04-26T10:09:01,30,"""Reducer action", "NAV_GO, Notes""
04-26T10:09:01,30,"""Reducer action", "SIDE_MENU_CLOSE""
04-26T10:09:00,30,"""Reducer action", "SIDE_MENU_OPEN""
04-26T10:09:00,30,"""Reducer action", "SIDE_MENU_TOGGLE""
04-26T10:08:54,30,"""Reducer action", "NAV_BACK""
04-26T10:08:48,30,"""Reducer action", "SIDE_MENU_CLOSE""
04-26T10:08:48,30,"""Reducer action", "NAV_GO, Tags""
04-26T10:08:48,30,"""Reducer action", "SIDE_MENU_CLOSE""
04-26T10:08:46,30,"""Reducer action", "SIDE_MENU_OPEN""
04-26T10:08:44,30,"""Reducer action", "SIDE_MENU_OPEN""
04-26T10:08:44,30,"""Reducer action", "SIDE_MENU_TOGGLE""
04-26T10:08:36,30,"""Reducer action", "SIDE_MENU_CLOSE""
04-26T10:08:32,30,"""Reducer action", "SIDE_MENU_OPEN""
04-26T10:08:32,30,"""Reducer action", "SIDE_MENU_TOGGLE""
04-26T10:08:27,30,"""Reducer action", "NAV_BACK""
04-26T10:08:22,30,"""Reducer action", "FOLDER_UPDATE_ALL""
04-26T10:08:22,30,"""Reducer action", "SYNC_COMPLETED""
04-26T10:08:22,20,"""There was some errors:""
04-26T10:08:22,20,"""Error: Error: ENOENT: no such file or directory, open '/storage/9C33-6BBD/Android/media/com.nextcloud.client/nextcloud/bubba@heviicloud.no-ip.info/Documents/Joplin/af5aa06b35114b74a52b3ca0ab82e85a.md'. Path: /storage/9C33-6BBD/Android/media/com.nextcloud.client/nextcloud/bubba@heviicloud.no-ip.info/Documents/Joplin/af5aa06b35114b74a52b3ca0ab82e85a.md
Code: ENOENT
value@index.android.bundle:1138:328
index.android.bundle:1138:4003
k@index.android.bundle:144:3838
index.android.bundle:144:4912
index.android.bundle:144:4020
k@index.android.bundle:144:3838
n@index.android.bundle:144:4070
index.android.bundle:144:4248
f@index.android.bundle:109:155
index.android.bundle:109:882
index.android.bundle:112:1815
y@index.android.bundle:112:657
C@index.android.bundle:112:1021
callImmediates@index.android.bundle:112:3216
[native code]
value@index.android.bundle:25:3011
index.android.bundle:25:1402
value@index.android.bundle:25:2703
value@index.android.bundle:25:1372
[native code]
value@index.android.bundle:25:1307
[native code]""
04-26T10:08:22,30,"""Total resources: 3""
04-26T10:08:22,30,"""Total folders: 1""
04-26T10:08:22,30,"""Total notes: 4""
04-26T10:08:22,30,"""createRemote: 1""
04-26T10:08:22,30,"""Operations completed: ""
04-26T10:08:22,10,"""Error: Error: ENOENT: no such file or directory, open '/storage/9C33-6BBD/Android/media/com.nextcloud.client/nextcloud/bubba@heviicloud.no-ip.info/Documents/Joplin/af5aa06b35114b74a52b3ca0ab82e85a.md'. Path: /storage/9C33-6BBD/Android/media/com.nextcloud.client/nextcloud/bubba@heviicloud.no-ip.info/Documents/Joplin/af5aa06b35114b74a52b3ca0ab82e85a.md
Code: ENOENT
value@index.android.bundle:1138:328
index.android.bundle:1138:4003
k@index.android.bundle:144:3838
index.android.bundle:144:4912
index.android.bundle:144:4020
k@index.android.bundle:144:3838
n@index.android.bundle:144:4070
index.android.bundle:144:4248
f@index.android.bundle:109:155
index.android.bundle:109:882
index.android.bundle:112:1815
y@index.android.bundle:112:657
C@index.android.bundle:112:1021
callImmediates@index.android.bundle:112:3216
[native code]
value@index.android.bundle:25:3011
index.android.bundle:25:1402
value@index.android.bundle:25:2703
value@index.android.bundle:25:1372
[native code]
value@index.android.bundle:25:1307
[native code]""
04-26T10:08:21,30,"""Reducer action", "SIDE_MENU_CLOSE""
04-26T10:08:21,30,"""Reducer action", "SYNC_STARTED""
04-26T10:08:21,30,"""Starting scheduled sync""
04-26T10:08:21,30,"""Preparing scheduled sync""
04-26T10:08:21,30,"""Scheduling sync operation...""
04-26T10:08:21,30,"""Running background sync on timer...""
04-26T10:01:18,30,"""Reducer action", "SIDE_MENU_OPEN""
04-26T10:01:18,30,"""Reducer action", "SIDE_MENU_TOGGLE""
04-26T10:00:30,30,"""Reducer action", "SIDE_MENU_CLOSE""
04-26T09:57:04,30,"""Settings have been saved.""
04-26T09:57:04,30,"""Saving settings...""
04-26T09:57:03,30,"""Reducer action", "FOLDER_UPDATE_ALL""
04-26T09:57:03,30,"""Reducer action", "SETTING_UPDATE_ONE""
04-26T09:57:03,30,"""Reducer action", "SYNC_COMPLETED""
04-26T09:57:03,20,"""Error: Error: ENOENT: no such file or directory, open '/storage/9C33-6BBD/Android/media/com.nextcloud.client/nextcloud/bubba@heviicloud.no-ip.info/Documents/Joplin/af5aa06b35114b74a52b3ca0ab82e85a.md'. Path: /storage/9C33-6BBD/Android/media/com.nextcloud.client/nextcloud/bubba@heviicloud.no-ip.info/Documents/Joplin/af5aa06b35114b74a52b3ca0ab82e85a.md
Code: ENOENT
value@index.android.bundle:1138:328
index.android.bundle:1138:4003
k@index.android.bundle:144:3838
index.android.bundle:144:4912
index.android.bundle:144:4020
k@index.android.bundle:144:3838
n@index.android.bundle:144:4070
index.android.bundle:144:4248
f@index.android.bundle:109:155
index.android.bundle:109:882
index.android.bundle:112:1815
y@index.android.bundle:112:657
C@index.android.bundle:112:1021
callImmediates@index.android.bundle:112:3216
[native code]
value@index.android.bundle:25:3011
index.android.bundle:25:1402
value@index.android.bundle:25:2703
value@index.android.bundle:25:1372
[native code]
value@index.android.bundle:25:1307
[native code]""
04-26T09:57:03,30,"""Total resources: 3""
04-26T09:57:03,20,"""There was some errors:""
04-26T09:57:03,30,"""Total folders: 1""
04-26T09:57:03,30,"""Total notes: 4""
04-26T09:57:03,30,"""createRemote: 1""
04-26T09:57:03,30,"""Operations completed: ""
04-26T09:57:03,10,"""Error: Error: ENOENT: no such file or directory, open '/storage/9C33-6BBD/Android/media/com.nextcloud.client/nextcloud/bubba@heviicloud.no-ip.info/Documents/Joplin/af5aa06b35114b74a52b3ca0ab82e85a.md'. Path: /storage/9C33-6BBD/Android/media/com.nextcloud.client/nextcloud/bubba@heviicloud.no-ip.info/Documents/Joplin/af5aa06b35114b74a52b3ca0ab82e85a.md
Code: ENOENT
value@index.android.bundle:1138:328
index.android.bundle:1138:4003
k@index.android.bundle:144:3838
index.android.bundle:144:4912
index.android.bundle:144:4020
k@index.android.bundle:144:3838
n@index.android.bundle:144:4070
index.android.bundle:144:4248
f@index.android.bundle:109:155
index.android.bundle:109:882
index.android.bundle:112:1815
y@index.android.bundle:112:657
C@index.android.bundle:112:1021
callImmediates@index.android.bundle:112:3216
[native code]
value@index.android.bundle:25:3011
index.android.bundle:25:1402
value@index.android.bundle:25:2703
value@index.android.bundle:25:1372
[native code]
value@index.android.bundle:25:1307
[native code]""
04-26T09:57:03,30,"""Reducer action", "SYNC_STARTED""
04-26T09:57:03,30,"""Starting scheduled sync""
04-26T09:57:03,30,"""Preparing scheduled sync""
04-26T09:57:03,30,"""Scheduling sync operation...""
04-26T09:57:02,30,"""Reducer action", "SIDE_MENU_OPEN""
04-26T09:57:02,30,"""Reducer action", "SIDE_MENU_TOGGLE""
04-26T09:56:58,30,"""Settings have been saved.""
04-26T09:56:58,30,"""Saving settings...""
04-26T09:56:57,30,"""Reducer action", "SETTING_UPDATE_ONE""
04-26T09:56:57,30,"""Reducer action", "SETTING_UPDATE_ONE""
04-26T09:56:33,30,"""Reducer action", "NAV_GO, Config""
04-26T09:56:32,30,"""ResourceService::deleteOrphanResources:", """
04-26T09:56:32,30,"""ResourceService::indexNoteResources: Completed""
04-26T09:56:32,30,"""Settings have been saved.""
04-26T09:56:31,30,"""Saving settings...""
04-26T09:56:31,30,"""Reducer action", "SETTING_UPDATE_ONE""
04-26T09:56:31,30,"""Reducer action", "SETTING_UPDATE_ONE""
04-26T09:56:31,30,"""Reducer action", "SETTING_UPDATE_ONE""
04-26T09:56:31,30,"""Reducer action", "SETTING_UPDATE_ONE""
04-26T09:56:31,30,"""Settings have been saved.""
04-26T09:56:31,30,"""Reducer action", "NOTE_UPDATE_ALL""
04-26T09:56:31,30,"""ResourceService::indexNoteResources: Start""
04-26T09:56:31,30,"""Saving settings...""
04-26T09:55:40,30,"""Reducer action", "NOTE_UPDATE_ALL""
04-26T09:55:39,30,"""Reducer action", "SETTING_UPDATE_ONE""
04-26T09:55:39,30,"""Reducer action", "SETTING_UPDATE_ONE""
04-26T09:55:39,30,"""SearchEngine: Updating FTS table...""
04-26T09:55:36,30,"""Settings have been saved.""
04-26T09:55:36,30,"""Saving settings...""
04-26T09:55:35,30,"""Synchroniser is missing credentials - manual sync required to authenticate.""
04-26T09:55:35,30,"""Reducer action", "SETTING_UPDATE_ONE""
04-26T09:55:35,30,"""Saving updated Dropbox auth.""
04-26T09:55:35,30,"""Preparing scheduled sync""
04-26T09:55:31,30,"""Settings have been saved.""
04-26T09:55:31,30,"""Saving settings...""
04-26T09:55:31,30,"""Reducer action", "NOTE_UPDATE_ALL""
04-26T09:55:30,30,"""Reducer action", "APP_STATE_SET""
04-26T09:55:30,30,"""Application initialized""
04-26T09:55:30,30,"""Reducer action", "SETTING_UPDATE_ONE""
04-26T09:55:30,30,"""Reducer action", "FOLDER_SELECT""
04-26T09:55:30,30,"""Reducer action", "SETTING_UPDATE_ONE""
04-26T09:55:30,30,"""Reducer action", "TAG_UPDATE_ONE""
04-26T09:55:30,30,"""Reducer action", "TAG_UPDATE_ONE""
04-26T09:55:30,30,"""Reducer action", "TAG_UPDATE_ONE""
04-26T09:55:30,30,"""Reducer action", "TAG_UPDATE_ONE""
04-26T09:55:30,30,"""Reducer action", "DECRYPTION_WORKER_SET""
04-26T09:55:30,30,"""DecryptionWorker: completed decryption.""
04-26T09:55:30,30,"""Scheduling sync operation...""
04-26T09:55:30,30,"""Reducer action", "NOTE_UPDATE_ONE""
04-26T09:55:30,30,"""Reducer action", "DECRYPTION_WORKER_SET""
04-26T09:55:30,30,"""DecryptionWorker: starting decryption...""
04-26T09:55:30,30,"""Reducer action", "TAG_UPDATE_ONE""
04-26T09:55:30,30,"""Reducer action", "TAG_UPDATE_ONE""
04-26T09:55:30,30,"""Reducer action", "TAG_UPDATE_ONE""
04-26T09:55:30,30,"""Reducer action", "TAG_UPDATE_ONE""
04-26T09:55:30,30,"""Scheduling sync operation...""
04-26T09:55:30,30,"""Reducer action", "NOTE_UPDATE_ONE""
04-26T09:55:30,30,"""Settings have been saved.""
04-26T09:55:30,30,"""Reducer action", "TAG_UPDATE_ONE""
04-26T09:55:30,30,"""Reducer action", "TAG_UPDATE_ONE""
04-26T09:55:30,30,"""Scheduling sync operation...""
04-26T09:55:30,30,"""Reducer action", "NOTE_UPDATE_ONE""
04-26T09:55:30,30,"""Saving settings...""
04-26T09:55:30,30,"""Reducer action", "TAG_UPDATE_ONE""
04-26T09:55:29,30,"""Reducer action", "TAG_UPDATE_ONE""
04-26T09:55:29,30,"""Reducer action", "TAG_UPDATE_ONE""
04-26T09:55:29,30,"""Reducer action", "TAG_UPDATE_ONE""
04-26T09:55:29,30,"""Scheduling sync operation...""
04-26T09:55:29,30,"""Reducer action", "NOTE_UPDATE_ONE""
04-26T09:55:29,30,"""ResourceFetcher: Auto-added resources: 0""
04-26T09:55:29,30,"""Scheduling sync operation...""
04-26T09:55:29,30,"""Reducer action", "FOLDER_UPDATE_ONE""
04-26T09:55:29,30,"""Scheduling sync operation...""
04-26T09:55:29,30,"""Reducer action", "NAV_GO, Welcome""
04-26T09:55:29,30,"""Reducer action", "FOLDER_SET_COLLAPSED_ALL""
04-26T09:55:29,30,"""Reducer action", "MASTERKEY_UPDATE_ALL""
04-26T09:55:29,30,"""Reducer action", "TAG_UPDATE_ALL""
04-26T09:55:29,30,"""Reducer action", "FOLDER_UPDATE_ALL""
04-26T09:55:29,30,"""Loading folders...""
04-26T09:55:29,30,"""Loaded master keys: 0""
04-26T09:55:29,30,"""Trying to load 0 master keys...""
04-26T09:55:29,30,"""Scheduling sync operation...""
04-26T09:55:29,30,"""Reducer action", "MASTERKEY_REMOVE_NOT_LOADED""
04-26T09:55:29,30,"""Loaded master keys: 0""
04-26T09:55:29,30,"""Trying to load 0 master keys...""
04-26T09:55:29,30,"""Sync target: 7""
04-26T09:55:29,30,"""Reducer action", "SETTING_UPDATE_ONE""
04-26T09:55:29,30,"""Reducer action", "SETTING_UPDATE_ONE""
04-26T09:55:29,30,"""db.ftsEnabled = ", "1""
04-26T09:55:29,30,"""Reducer action", "SETTING_UPDATE_ONE""
04-26T09:55:29,30,"""FTS check succeeded""
04-26T09:55:29,30,"""Reducer action", "SETTING_UPDATE_ONE""
04-26T09:55:29,30,"""Reducer action", "SETTING_UPDATE_ONE""
04-26T09:55:29,30,"""Reducer action", "SETTING_UPDATE_ALL""
04-26T09:55:29,30,"""Database is ready.""
04-26T09:55:29,30,"""Loading settings...""
04-26T09:55:28,30,"""Initializing tables...""
04-26T09:55:28,30,"""Converting database to version 18""
04-26T09:55:28,30,"""Converting database to version 17""
04-26T09:55:28,30,"""Converting database to version 16""
04-26T09:55:28,30,"""Converting database to version 15""
04-26T09:55:28,30,"""Converting database to version 14""
04-26T09:55:28,30,"""Converting database to version 13""
04-26T09:55:28,30,"""Converting database to version 12""
04-26T09:55:28,30,"""Converting database to version 11""
04-26T09:55:28,30,"""Converting database to version 10""
04-26T09:55:28,30,"""Converting database to version 9""
04-26T09:55:28,30,"""Converting database to version 8""
04-26T09:55:27,30,"""Converting database to version 7""
04-26T09:55:27,30,"""Converting database to version 6""
04-26T09:55:27,30,"""Converting database to version 5""
04-26T09:55:27,30,"""Converting database to version 4""
04-26T09:55:27,30,"""Converting database to version 3""
04-26T09:55:27,30,"""Converting database to version 2""
04-26T09:55:27,30,"""Converting database to version 1""
04-26T09:55:27,30,"""Current database version", "0""
04-26T09:55:27,30,"""Checking for database schema update...""
04-26T09:55:27,30,"""Database was open successfully""
04-26T09:55:27,30,"""Starting application net.cozic.joplin-mobile (prod)""
04-26T09:55:27,30,"""====================================""
================================================================================
type,id,updated_time,sync_time,is_conflict

I got the message when syncing. The Android app doesn't provide an option to test the sync configuration when the Synchronisation Target is "File System".

Did you grant Joplin the permission for Storage?

Thanks for jumping in on this, Tessus.

That was one of the first things I did!

Seems that the issue is indeed one of "Permissions". In spite of trying a number of different options, I can't assign permissions for Joplin to read and write the Nextcloud-created directory on the SD card.

With the above said and with the mobile application's inability to "ignore TLS certificate warnings" and to set local certificate locations as the desktop application allows one to do, I'm left with no ability whatsoever to sync notes on Android to what's already successfully synced between my Linux and Mac OS boxes. :frowning_face:

That would have been my next guess that Nextcloud somehow has exclusive access to its own directory tree. You could try to sync to a completely different dir. If that works, the only option is to open a ticket with the nextcloud sync app and tell them that you need write access to the dir. When you explain the use-case, which makes a lot of sense actually, they should understand this requirement.

With all due respect, this isn't a Nextcloud issue as much as it's a Joplin-on-Android problem. I'm running a few programs which successfully access the local Nextcloud directory for similar synchronisations.

You haven't mentioned this earlier. Also, when you read my comment, I'm using conditionals.
Anyway, Joplin does not look for a nextcloud directory (it wouldn't know if it were) and throws a sync error.
I'm just guessing here and voicing a few ideas. Laurent knows more about the sync process. Maybe there's an issue with target dir not empty. As I said, I'm just guessing...

It seems to me that there is no reason for Joplin to look for a Nextcloud directory if one is simply attempting to sync to "File System". It shouldn't matter if the directory is called "Nextcloud" or "BubbasFileDump", right?

If I remember correctly the SD card is the problem, whatever library Joplin uses uses doesn’t support the SD card correctly

Yes, this is exactly what I said.

Similar problem here, I'm using Syncthing to sync individual folders between devices and that is why I need to sync my Joplin files on my file system. In both of my android devices gives me an error that looks like a permission problem, but the "acces to storage" permission was granted when prompted.

Here is the full error message

Date,Level,Message
12-26T12:46:47,30,"""SearchEngine: Updated FTS table in 16ms. Inserted: 0. Deleted: 0""
12-26T12:46:47,30,"""SearchEngine: Updating FTS table...""
12-26T12:46:44,30,"""DecryptionWorker: cannot start because no master key is currently loaded.""
12-26T12:46:43,20,"Synchronizer: ""Error: Error: Operation not permitted. Path: /storage/emulated/0/#Sync/traspaso/test/locks/2_2_aba8857534744c738b146eafad07e56b.json
Code: EUNSPECIFIED
value@index.android.bundle:1047:275
index.android.bundle:1047:4056
p@index.android.bundle:83:588
index.android.bundle:83:1893
p@index.android.bundle:83:588
o@index.android.bundle:83:1069
index.android.bundle:83:1241
u@index.android.bundle:77:157
index.android.bundle:77:866
index.android.bundle:85:1672
k@index.android.bundle:85:500
w@index.android.bundle:85:898
callReactNativeMicrotasks@index.android.bundle:85:3054
value@index.android.bundle:38:2868
index.android.bundle:38:960
value@index.android.bundle:38:2504
value@index.android.bundle:38:919
value@[native code]
value@[native code]""
12-26T12:46:43,30,"Synchronizer: ""Total folders: 1""
12-26T12:46:43,30,"Synchronizer: ""Total notes: 5""
12-26T12:46:43,30,"Synchronizer: ""Total resources: 3""
12-26T12:46:43,20,"Synchronizer: ""There was some errors:""
12-26T12:46:43,30,"Synchronizer: ""Operations completed: ""
12-26T12:46:43,10,"Synchronizer: ""Error: Error: Operation not permitted. Path: /storage/emulated/0/#Sync/traspaso/test/locks/2_2_aba8857534744c738b146eafad07e56b.json
Code: EUNSPECIFIED
value@index.android.bundle:1047:275
index.android.bundle:1047:4056
p@index.android.bundle:83:588
index.android.bundle:83:1893
p@index.android.bundle:83:588
o@index.android.bundle:83:1069
index.android.bundle:83:1241
u@index.android.bundle:77:157
index.android.bundle:77:866
index.android.bundle:85:1672
k@index.android.bundle:85:500
w@index.android.bundle:85:898
callReactNativeMicrotasks@index.android.bundle:85:3054
value@index.android.bundle:38:2868
index.android.bundle:38:960
value@index.android.bundle:38:2504
value@index.android.bundle:38:919
value@[native code]
value@[native code]""
12-26T12:46:43,30,"Synchronizer: ""Sync: finished: Synchronisation finished [1640533603477]""
12-26T12:46:43,30,"""MigrationHandler: Acquiring exclusive lock""
12-26T12:46:43,30,"""MigrationHandler: Sync target version is 0 or 1 - creating "locks" and "temp" directory:", "{"version":0}""
12-26T12:46:43,30,"Synchronizer: ""Sync target remote info:", "{"version_":0,"masterKeys_":[],"e2ee_":{"value":false,"updatedTime":0},"activeMasterKeyId_":{"value":"","updatedTime":0},"ppk_":{"value":null,"updatedTime":0}}""
12-26T12:46:43,30,"Synchronizer: ""Sync target is new - setting it up...""
12-26T12:46:43,30,"""ResourceService::indexNoteResources: Completed""
12-26T12:46:43,30,"Synchronizer: ""Indexing resources...""
12-26T12:46:43,30,"""ResourceService::indexNoteResources: Start""
12-26T12:46:43,30,"Synchronizer: ""Sync: starting: Starting synchronisation to target 2... supportsAccurateTimestamp = false; supportsMultiPut = false [1640533603477]""
12-26T12:46:43,30,"""Starting scheduled sync""
12-26T12:46:43,30,"""Preparing scheduled sync""
12-26T12:46:41,30,"RevisionService: ""RevisionService::maintenance: Done in 152ms""
12-26T12:46:41,30,"RevisionService: ""RevisionService::collectRevisions: Created revisions for 0 notes""
12-26T12:46:41,30,"RevisionService: ""RevisionService::maintenance: Service is enabled""
12-26T12:46:41,30,"RevisionService: ""RevisionService::maintenance: Starting...""
12-26T12:46:41,30,"""DecryptionWorker: cannot start because no master key is currently loaded.""
12-26T12:46:40,20,"Synchronizer: ""Error: Error: Operation not permitted. Path: /storage/emulated/0/#Sync/traspaso/test/locks/2_2_aba8857534744c738b146eafad07e56b.json
Code: EUNSPECIFIED
value@index.android.bundle:1047:275
index.android.bundle:1047:4056
p@index.android.bundle:83:588
index.android.bundle:83:1893
p@index.android.bundle:83:588
o@index.android.bundle:83:1069
index.android.bundle:83:1241
u@index.android.bundle:77:157
index.android.bundle:77:866
index.android.bundle:85:1672
k@index.android.bundle:85:500
w@index.android.bundle:85:898
callReactNativeMicrotasks@index.android.bundle:85:3054
value@index.android.bundle:38:2868
index.android.bundle:38:960
value@index.android.bundle:38:2504
value@index.android.bundle:38:919
value@[native code]
value@[native code]""
12-26T12:46:40,30,"Synchronizer: ""Total notes: 5""
12-26T12:46:40,30,"Synchronizer: ""Total resources: 3""
12-26T12:46:40,20,"Synchronizer: ""There was some errors:""
12-26T12:46:40,30,"Synchronizer: ""Total folders: 1""
12-26T12:46:40,30,"Synchronizer: ""Operations completed: ""
12-26T12:46:40,10,"Synchronizer: ""Error: Error: Operation not permitted. Path: /storage/emulated/0/#Sync/traspaso/test/locks/2_2_aba8857534744c738b146eafad07e56b.json
Code: EUNSPECIFIED
value@index.android.bundle:1047:275
index.android.bundle:1047:4056
p@index.android.bundle:83:588
index.android.bundle:83:1893
p@index.android.bundle:83:588
o@index.android.bundle:83:1069
index.android.bundle:83:1241
u@index.android.bundle:77:157
index.android.bundle:77:866
index.android.bundle:85:1672
k@index.android.bundle:85:500
w@index.android.bundle:85:898
callReactNativeMicrotasks@index.android.bundle:85:3054
value@index.android.bundle:38:2868
index.android.bundle:38:960
value@index.android.bundle:38:2504
value@index.android.bundle:38:919
value@[native code]
value@[native code]""
12-26T12:46:40,30,"Synchronizer: ""Sync: finished: Synchronisation finished [1640533599731]""
12-26T12:46:39,30,"""MigrationHandler: Acquiring exclusive lock""
12-26T12:46:39,30,"""MigrationHandler: Sync target version is 0 or 1 - creating "locks" and "temp" directory:", "{"version":0}""
12-26T12:46:39,30,"Synchronizer: ""Sync target is new - setting it up...""
12-26T12:46:39,30,"Synchronizer: ""Sync target remote info:", "{"version_":0,"masterKeys_":[],"e2ee_":{"value":false,"updatedTime":0},"activeMasterKeyId_":{"value":"","updatedTime":0},"ppk_":{"value":null,"updatedTime":0}}""
12-26T12:46:39,30,"""ResourceService::indexNoteResources: Completed""
12-26T12:46:39,30,"""DecryptionWorker: cannot start because no master key is currently loaded.""
12-26T12:46:39,30,"""ResourceService::indexNoteResources: Start""
12-26T12:46:39,30,"Synchronizer: ""Indexing resources...""
12-26T12:46:39,30,"Synchronizer: ""Sync: starting: Starting synchronisation to target 2... supportsAccurateTimestamp = false; supportsMultiPut = false [1640533599731]""
12-26T12:46:39,30,"""Starting scheduled sync""
12-26T12:46:39,30,"""Preparing scheduled sync""
12-26T12:46:38,30,"""Garbage collecting alarms...""
12-26T12:46:38,30,"""Updating all notifications...""
12-26T12:46:38,30,"Synchronizer: ""Total resources: 3""
12-26T12:46:38,20,"Synchronizer: ""There was some errors:""
12-26T12:46:38,20,"Synchronizer: ""Error: Error: Operation not permitted. Path: /storage/emulated/0/#Sync/traspaso/test/locks/2_2_aba8857534744c738b146eafad07e56b.json
Code: EUNSPECIFIED
value@index.android.bundle:1047:275
index.android.bundle:1047:4056
p@index.android.bundle:83:588
index.android.bundle:83:1893
p@index.android.bundle:83:588
o@index.android.bundle:83:1069
index.android.bundle:83:1241
u@index.android.bundle:77:157
index.android.bundle:77:866
index.android.bundle:85:1672
k@index.android.bundle:85:500
w@index.android.bundle:85:898
callReactNativeMicrotasks@index.android.bundle:85:3054
value@index.android.bundle:38:2868
index.android.bundle:38:960
value@index.android.bundle:38:2504
value@index.android.bundle:38:919
value@[native code]
value@[native code]""
12-26T12:46:38,30,"Synchronizer: ""Total folders: 1""
12-26T12:46:38,30,"Synchronizer: ""Total notes: 5""
12-26T12:46:38,30,"Synchronizer: ""Operations completed: ""
12-26T12:46:38,30,"Synchronizer: ""Sync: finished: Synchronisation finished [1640533598295]""
12-26T12:46:38,10,"Synchronizer: ""Error: Error: Operation not permitted. Path: /storage/emulated/0/#Sync/traspaso/test/locks/2_2_aba8857534744c738b146eafad07e56b.json
Code: EUNSPECIFIED
value@index.android.bundle:1047:275
index.android.bundle:1047:4056
p@index.android.bundle:83:588
index.android.bundle:83:1893
p@index.android.bundle:83:588
o@index.android.bundle:83:1069
index.android.bundle:83:1241
u@index.android.bundle:77:157
index.android.bundle:77:866
index.android.bundle:85:1672
k@index.android.bundle:85:500
w@index.android.bundle:85:898
callReactNativeMicrotasks@index.android.bundle:85:3054
value@index.android.bundle:38:2868
index.android.bundle:38:960
value@index.android.bundle:38:2504
value@index.android.bundle:38:919
value@[native code]
value@[native code]""
12-26T12:46:38,20,"FileApi: ""Could not retrieve remote date - defaulting to device date:", "Error: Error: Operation not permitted. Path: /storage/emulated/0/#Sync/traspaso/test/temp/timeCheck764737.txt
Code: EUNSPECIFIED
value@index.android.bundle:1047:275
index.android.bundle:1047:4056
p@index.android.bundle:83:588
index.android.bundle:83:1893
p@index.android.bundle:83:588
o@index.android.bundle:83:1069
index.android.bundle:83:1241
u@index.android.bundle:77:157
index.android.bundle:77:866
index.android.bundle:85:1672
k@index.android.bundle:85:500
w@index.android.bundle:85:898
callReactNativeMicrotasks@index.android.bundle:85:3054
value@index.android.bundle:38:2868
index.android.bundle:38:960
value@index.android.bundle:38:2504
value@index.android.bundle:38:919
value@[native code]
value@[native code]""
12-26T12:46:38,30,"""MigrationHandler: Acquiring exclusive lock""
12-26T12:46:38,30,"""MigrationHandler: Sync target version is 0 or 1 - creating "locks" and "temp" directory:", "{"version":0}""
12-26T12:46:38,30,"Synchronizer: ""Sync target remote info:", "{"version_":0,"masterKeys_":[],"e2ee_":{"value":false,"updatedTime":0},"activeMasterKeyId_":{"value":"","updatedTime":0},"ppk_":{"value":null,"updatedTime":0}}""
12-26T12:46:38,30,"Synchronizer: ""Sync target is new - setting it up...""
12-26T12:46:38,30,"""ResourceService::indexNoteResources: Completed""
12-26T12:46:38,30,"""ResourceService::indexNoteResources: Start""
12-26T12:46:38,30,"Synchronizer: ""Indexing resources...""
12-26T12:46:38,30,"Synchronizer: ""Sync: starting: Starting synchronisation to target 2... supportsAccurateTimestamp = false; supportsMultiPut = false [1640533598295]""
12-26T12:46:38,30,"""Starting scheduled sync""
12-26T12:46:38,30,"""Preparing scheduled sync""
12-26T12:46:38,30,"""DecryptionWorker: cannot start because no master key is currently loaded.""
12-26T12:46:37,30,"""ResourceFetcher: Auto-added resources: 0""
12-26T12:46:37,30,"""Application initialized""
12-26T12:46:37,30,"RevisionService: ""RevisionService::runInBackground: Starting background service with revision collection interval 30000""
12-26T12:46:37,30,"""ResourceFetcher: Auto-add resources: Mode: always""
12-26T12:46:37,30,"""Loading folders...""
12-26T12:46:37,30,"e2ee/utils: ""Loaded master keys: 0""
12-26T12:46:37,30,"e2ee/utils: ""Trying to load 0 master keys...""
12-26T12:46:37,30,"""Sync target: 2""
12-26T12:46:37,30,"""PluginAssetsLoader: Assets are up to date. Hash: dd2315568bb7795f97cee26a47e9b82b""
12-26T12:46:37,30,"models/Setting: ""Applying default migrations...""
12-26T12:46:37,30,"e2ee/utils: ""Master password is not set - trying to get it from the active master key...""
12-26T12:46:37,30,"e2ee/utils: ""Loaded master keys: 0""
12-26T12:46:37,30,"e2ee/utils: ""Trying to load 0 master keys...""
12-26T12:46:37,30,"""KeychainService: check was already done - skipping. Supported:", "0""
12-26T12:46:37,30,"""KeychainService: checking if keychain supported""
12-26T12:46:36,30,"""Database is ready.""
12-26T12:46:36,30,"""Loading settings...""
12-26T12:46:36,30,"""New version: 41. Previously recorded version: 41""
12-26T12:46:36,30,"""Upgrading database from version 41""
12-26T12:46:36,30,"""Current database version", "{"table_fields_version":41,"version":41}""
12-26T12:46:36,30,"""Checking for database schema update...""
12-26T12:46:36,30,"""Database was open successfully""
12-26T12:46:36,30,"""Starting application net.cozic.joplin-mobile v2.6.9 (prod)""
12-26T12:46:36,30,"""====================================""
12-26T12:45:36,30,"RevisionService: ""RevisionService::maintenance: Done in 122ms""
12-26T12:45:36,30,"RevisionService: ""RevisionService::collectRevisions: Created revisions for 0 notes""
12-26T12:45:35,30,"RevisionService: ""RevisionService::maintenance: Service is enabled""
12-26T12:45:35,30,"RevisionService: ""RevisionService::maintenance: Starting...""
12-26T12:42:16,30,"""DecryptionWorker: cannot start because no master key is currently loaded.""
12-26T12:42:15,20,"Synchronizer: ""There was some errors:""
12-26T12:42:15,20,"Synchronizer: ""Error: Error: Operation not permitted. Path: /storage/emulated/0/#Sync/traspaso/test/locks/2_2_aba8857534744c738b146eafad07e56b.json
Code: EUNSPECIFIED
value@index.android.bundle:1047:275
index.android.bundle:1047:4056
p@index.android.bundle:83:588
index.android.bundle:83:1893
p@index.android.bundle:83:588
o@index.android.bundle:83:1069
index.android.bundle:83:1241
u@index.android.bundle:77:157
index.android.bundle:77:866
index.android.bundle:85:1672
k@index.android.bundle:85:500
w@index.android.bundle:85:898
callReactNativeMicrotasks@index.android.bundle:85:3054
value@index.android.bundle:38:2868
index.android.bundle:38:960
value@index.android.bundle:38:2504
value@index.android.bundle:38:919
value@[native code]
value@[native code]""
12-26T12:42:15,30,"Synchronizer: ""Total notes: 5""
12-26T12:42:15,30,"Synchronizer: ""Total resources: 3""
12-26T12:42:15,30,"Synchronizer: ""Total folders: 1""
12-26T12:42:15,30,"Synchronizer: ""Operations completed: ""
12-26T12:42:15,30,"Synchronizer: ""Sync: finished: Synchronisation finished [1640533334989]""
12-26T12:42:15,10,"Synchronizer: ""Error: Error: Operation not permitted. Path: /storage/emulated/0/#Sync/traspaso/test/locks/2_2_aba8857534744c738b146eafad07e56b.json
Code: EUNSPECIFIED
value@index.android.bundle:1047:275
index.android.bundle:1047:4056
p@index.android.bundle:83:588
index.android.bundle:83:1893
p@index.android.bundle:83:588
o@index.android.bundle:83:1069
index.android.bundle:83:1241
u@index.android.bundle:77:157
index.android.bundle:77:866
index.android.bundle:85:1672
k@index.android.bundle:85:500
w@index.android.bundle:85:898
callReactNativeMicrotasks@index.android.bundle:85:3054
value@index.android.bundle:38:2868
index.android.bundle:38:960
value@index.android.bundle:38:2504
value@index.android.bundle:38:919
value@[native code]
value@[native code]""
12-26T12:42:15,20,"FileApi: ""Could not retrieve remote date - defaulting to device date:", "Error: Error: Operation not permitted. Path: /storage/emulated/0/#Sync/traspaso/test/temp/timeCheck339262.txt
Code: EUNSPECIFIED
value@index.android.bundle:1047:275
index.android.bundle:1047:4056
p@index.android.bundle:83:588
index.android.bundle:83:1893
p@index.android.bundle:83:588
o@index.android.bundle:83:1069
index.android.bundle:83:1241
u@index.android.bundle:77:157
index.android.bundle:77:866
index.android.bundle:85:1672
k@index.android.bundle:85:500
w@index.android.bundle:85:898
callReactNativeMicrotasks@index.android.bundle:85:3054
value@index.android.bundle:38:2868
index.android.bundle:38:960
value@index.android.bundle:38:2504
value@index.android.bundle:38:919
value@[native code]
value@[native code]""
12-26T12:42:15,30,"""MigrationHandler: Acquiring exclusive lock""
12-26T12:42:15,30,"""MigrationHandler: Sync target version is 0 or 1 - creating "locks" and "temp" directory:", "{"version":0}""
12-26T12:42:15,30,"Synchronizer: ""Sync target remote info:", "{"version_":0,"masterKeys_":[],"e2ee_":{"value":false,"updatedTime":0},"activeMasterKeyId_":{"value":"","updatedTime":0},"ppk_":{"value":null,"updatedTime":0}}""
12-26T12:42:15,30,"Synchronizer: ""Sync target is new - setting it up...""
12-26T12:42:15,30,"""ResourceService::indexNoteResources: Completed""
12-26T12:42:15,30,"Synchronizer: ""Indexing resources...""
12-26T12:42:15,30,"""ResourceService::indexNoteResources: Start""
12-26T12:42:15,30,"Synchronizer: ""Sync: starting: Starting synchronisation to target 2... supportsAccurateTimestamp = false; supportsMultiPut = false [1640533334989]""
12-26T12:42:14,30,"""Starting scheduled sync""
12-26T12:42:14,30,"""Preparing scheduled sync""
12-26T12:42:14,30,"RevisionService: ""RevisionService::maintenance: Done in 132ms""
12-26T12:42:14,30,"RevisionService: ""RevisionService::collectRevisions: Created revisions for 0 notes""
12-26T12:42:14,30,"RevisionService: ""RevisionService::maintenance: Service is enabled""
12-26T12:42:14,30,"RevisionService: ""RevisionService::maintenance: Starting...""
12-26T12:41:42,30,"RevisionService: ""RevisionService::maintenance: Done in 132ms""
12-26T12:41:42,30,"RevisionService: ""RevisionService::collectRevisions: Created revisions for 0 notes""
12-26T12:41:42,30,"RevisionService: ""RevisionService::maintenance: Service is enabled""
12-26T12:41:42,30,"RevisionService: ""RevisionService::maintenance: Starting...""
12-26T12:41:42,30,"""Sync cancelled - no sync target is selected.""
12-26T12:41:42,30,"""Preparing scheduled sync""
12-26T12:41:42,30,"""Running background sync on timer...""
12-26T12:39:59,30,"""SearchEngine: Updated FTS table in 303ms. Inserted: 5. Deleted: 0""
12-26T12:39:58,30,"RevisionService: ""RevisionService::maintenance: Done in 264ms""
12-26T12:39:58,30,"RevisionService: ""RevisionService::collectRevisions: Created revisions for 0 notes""
12-26T12:39:58,30,"RevisionService: ""RevisionService::maintenance: Done in 18ms""
12-26T12:39:58,30,"""SearchEngine: Updating FTS table...""
12-26T12:39:58,30,"""Sync cancelled - no sync target is selected.""
12-26T12:39:58,30,"RevisionService: ""RevisionService::maintenance: Service is enabled""
12-26T12:39:58,30,"""Preparing scheduled sync""
12-26T12:39:58,30,"RevisionService: ""RevisionService::maintenance: Starting...""
12-26T12:39:58,30,"RevisionService: ""RevisionService::maintenance: Starting...""
12-26T12:39:58,30,"RevisionService: ""RevisionService::maintenance: Service is enabled""
12-26T12:38:35,30,"RevisionService: ""RevisionService::runInBackground: Starting background service with revision collection interval 30000""
12-26T12:38:35,30,"""Application initialized""
12-26T12:38:35,30,"""ResourceService::deleteOrphanResources:", "[]""
12-26T12:38:35,30,"""ResourceService::indexNoteResources: Completed""
12-26T12:38:35,30,"""SearchEngine: Updating FTS table...""
12-26T12:38:35,30,"""Running migration: 35""
12-26T12:38:35,30,"""ResourceService::indexNoteResources: Start""
12-26T12:38:35,30,"""DecryptionWorker: cannot start because no master key is currently loaded.""
12-26T12:38:35,30,"""Sync cancelled - no sync target is selected.""
12-26T12:38:35,30,"""Preparing scheduled sync""
12-26T12:35:56,30,"""SearchEngine: Updating FTS table...""
12-26T12:35:56,30,"""Running migration: 33""
12-26T12:35:55,30,"""Running migration: 27""
12-26T12:35:55,30,"""ResourceFetcher: Auto-added resources: 0""
12-26T12:35:55,30,"""Running migration: 20""
12-26T12:35:55,30,"""ResourceFetcher: Auto-add resources: Mode: always""
12-26T12:35:55,30,"""Loading folders...""
12-26T12:35:55,30,"e2ee/utils: ""Trying to load 0 master keys...""
12-26T12:35:55,30,"e2ee/utils: ""Loaded master keys: 0""
12-26T12:35:55,30,"""Sync target: 0""
12-26T12:35:55,30,"""PluginAssetsLoader: Copying: mermaid/mermaid_render.js => /data/user/0/net.cozic.joplin/files/pluginAssets/mermaid/mermaid_render.js""
12-26T12:35:55,30,"""PluginAssetsLoader: Copying: mermaid/mermaid.min.js => /data/user/0/net.cozic.joplin/files/pluginAssets/mermaid/mermaid.min.js""
12-26T12:35:55,30,"""PluginAssetsLoader: Copying: katex/katex.css => /data/user/0/net.cozic.joplin/files/pluginAssets/katex/katex.css""
12-26T12:35:55,30,"""PluginAssetsLoader: Copying: katex/fonts/KaTeX_Typewriter-Regular.woff2 => /data/user/0/net.cozic.joplin/files/pluginAssets/katex/fonts/KaTeX_Typewriter-Regular.woff2""
12-26T12:35:55,30,"""PluginAssetsLoader: Copying: katex/fonts/KaTeX_Size4-Regular.woff2 => /data/user/0/net.cozic.joplin/files/pluginAssets/katex/fonts/KaTeX_Size4-Regular.woff2""
12-26T12:35:55,30,"""PluginAssetsLoader: Copying: katex/fonts/KaTeX_Size3-Regular.woff2 => /data/user/0/net.cozic.joplin/files/pluginAssets/katex/fonts/KaTeX_Size3-Regular.woff2""
12-26T12:35:55,30,"""PluginAssetsLoader: Copying: katex/fonts/KaTeX_Size2-Regular.woff2 => /data/user/0/net.cozic.joplin/files/pluginAssets/katex/fonts/KaTeX_Size2-Regular.woff2""
12-26T12:35:55,30,"""PluginAssetsLoader: Copying: katex/fonts/KaTeX_Size1-Regular.woff2 => /data/user/0/net.cozic.joplin/files/pluginAssets/katex/fonts/KaTeX_Size1-Regular.woff2""
12-26T12:35:55,30,"""PluginAssetsLoader: Copying: katex/fonts/KaTeX_Script-Regular.woff2 => /data/user/0/net.cozic.joplin/files/pluginAssets/katex/fonts/KaTeX_Script-Regular.woff2""
12-26T12:35:55,30,"""PluginAssetsLoader: Copying: katex/fonts/KaTeX_SansSerif-Regular.woff2 => /data/user/0/net.cozic.joplin/files/pluginAssets/katex/fonts/KaTeX_SansSerif-Regular.woff2""
12-26T12:35:55,30,"""PluginAssetsLoader: Copying: katex/fonts/KaTeX_SansSerif-Italic.woff2 => /data/user/0/net.cozic.joplin/files/pluginAssets/katex/fonts/KaTeX_SansSerif-Italic.woff2""
12-26T12:35:55,30,"""PluginAssetsLoader: Copying: katex/fonts/KaTeX_SansSerif-Bold.woff2 => /data/user/0/net.cozic.joplin/files/pluginAssets/katex/fonts/KaTeX_SansSerif-Bold.woff2""
12-26T12:35:55,30,"""PluginAssetsLoader: Copying: katex/fonts/KaTeX_Math-Italic.woff2 => /data/user/0/net.cozic.joplin/files/pluginAssets/katex/fonts/KaTeX_Math-Italic.woff2""
12-26T12:35:55,30,"""PluginAssetsLoader: Copying: katex/fonts/KaTeX_Math-BoldItalic.woff2 => /data/user/0/net.cozic.joplin/files/pluginAssets/katex/fonts/KaTeX_Math-BoldItalic.woff2""
12-26T12:35:55,30,"""PluginAssetsLoader: Copying: katex/fonts/KaTeX_Main-Regular.woff2 => /data/user/0/net.cozic.joplin/files/pluginAssets/katex/fonts/KaTeX_Main-Regular.woff2""
12-26T12:35:55,30,"""PluginAssetsLoader: Copying: katex/fonts/KaTeX_Main-Italic.woff2 => /data/user/0/net.cozic.joplin/files/pluginAssets/katex/fonts/KaTeX_Main-Italic.woff2""
12-26T12:35:55,30,"""PluginAssetsLoader: Copying: katex/fonts/KaTeX_Main-BoldItalic.woff2 => /data/user/0/net.cozic.joplin/files/pluginAssets/katex/fonts/KaTeX_Main-BoldItalic.woff2""
12-26T12:35:55,30,"""PluginAssetsLoader: Copying: katex/fonts/KaTeX_Main-Bold.woff2 => /data/user/0/net.cozic.joplin/files/pluginAssets/katex/fonts/KaTeX_Main-Bold.woff2""
12-26T12:35:55,30,"""PluginAssetsLoader: Copying: katex/fonts/KaTeX_Fraktur-Regular.woff2 => /data/user/0/net.cozic.joplin/files/pluginAssets/katex/fonts/KaTeX_Fraktur-Regular.woff2""
12-26T12:35:55,30,"""PluginAssetsLoader: Copying: katex/fonts/KaTeX_Fraktur-Bold.woff2 => /data/user/0/net.cozic.joplin/files/pluginAssets/katex/fonts/KaTeX_Fraktur-Bold.woff2""
12-26T12:35:55,30,"""PluginAssetsLoader: Copying: katex/fonts/KaTeX_Caligraphic-Regular.woff2 => /data/user/0/net.cozic.joplin/files/pluginAssets/katex/fonts/KaTeX_Caligraphic-Regular.woff2""
12-26T12:35:55,30,"""PluginAssetsLoader: Copying: katex/fonts/KaTeX_Caligraphic-Bold.woff2 => /data/user/0/net.cozic.joplin/files/pluginAssets/katex/fonts/KaTeX_Caligraphic-Bold.woff2""
12-26T12:35:55,30,"""PluginAssetsLoader: Copying: katex/fonts/KaTeX_AMS-Regular.woff2 => /data/user/0/net.cozic.joplin/files/pluginAssets/katex/fonts/KaTeX_AMS-Regular.woff2""
12-26T12:35:55,30,"""PluginAssetsLoader: Copying: highlight.js/atom-one-light.css => /data/user/0/net.cozic.joplin/files/pluginAssets/highlight.js/atom-one-light.css""
12-26T12:35:55,30,"""PluginAssetsLoader: Copying: highlight.js/atom-one-dark-reasonable.css => /data/user/0/net.cozic.joplin/files/pluginAssets/highlight.js/atom-one-dark-reasonable.css""
12-26T12:35:55,30,"""PluginAssetsLoader: Importing assets to /data/user/0/net.cozic.joplin/files/pluginAssets""
12-26T12:35:55,30,"""db.ftsEnabled = ", "1""
12-26T12:35:55,30,"""FTS check succeeded""
12-26T12:35:55,30,"models/Setting: ""Skipping all default migrations...""
12-26T12:35:55,30,"e2ee/utils: ""Master password is not set - trying to get it from the active master key...""
12-26T12:35:55,30,"""KeychainService: could not set test password - keychain support will be disabled""
12-26T12:35:55,30,"""KeychainService: checking if keychain supported""
12-26T12:35:55,30,"e2ee/utils: ""Loaded master keys: 0""
12-26T12:35:55,30,"e2ee/utils: ""Trying to load 0 master keys...""
12-26T12:35:55,30,"""Database is ready.""
12-26T12:35:55,30,"""Loading settings...""
12-26T12:35:53,30,"""Initializing tables...""
12-26T12:35:53,30,"""New version: 41. Previously recorded version: 0""
12-26T12:35:53,30,"""Converting database to version 41""
12-26T12:35:53,30,"""Converting database to version 40""
12-26T12:35:53,30,"""Converting database to version 39""
12-26T12:35:53,30,"""Converting database to version 38""
12-26T12:35:53,30,"""Converting database to version 37""
12-26T12:35:53,30,"""Converting database to version 36""
12-26T12:35:53,30,"""Converting database to version 35""
12-26T12:35:53,30,"""Migration failed with fallback and will not be repeated - saving version number""
12-26T12:35:52,30,"""Converting database to version 34""
12-26T12:35:52,30,"""Converting database to version 33""
12-26T12:35:52,30,"""Converting database to version 32""
12-26T12:35:52,30,"""Converting database to version 31""
12-26T12:35:52,30,"""Converting database to version 30""
12-26T12:35:52,30,"""Converting database to version 29""
12-26T12:35:52,30,"""Converting database to version 28""
12-26T12:35:52,30,"""Converting database to version 27""
12-26T12:35:52,30,"""Converting database to version 26""
12-26T12:35:52,30,"""Converting database to version 25""
12-26T12:35:52,30,"""Converting database to version 24""
12-26T12:35:52,30,"""Converting database to version 23""
12-26T12:35:52,30,"""Converting database to version 22""
12-26T12:35:51,30,"""Converting database to version 21""
12-26T12:35:51,30,"""Converting database to version 20""
12-26T12:35:51,30,"""Converting database to version 19""
12-26T12:35:51,30,"""Converting database to version 18""
12-26T12:35:51,30,"""Converting database to version 17""
12-26T12:35:51,30,"""Converting database to version 16""
12-26T12:35:51,30,"""Converting database to version 15""
12-26T12:35:51,30,"""Converting database to version 14""
12-26T12:35:51,30,"""Converting database to version 13""
12-26T12:35:51,30,"""Converting database to version 12""
12-26T12:35:50,30,"""Converting database to version 11""
12-26T12:35:50,30,"""Converting database to version 10""
12-26T12:35:50,30,"""Converting database to version 9""
12-26T12:35:50,30,"""Converting database to version 8""
12-26T12:35:50,30,"""Converting database to version 7""
12-26T12:35:50,30,"""Converting database to version 6""
12-26T12:35:50,30,"""Converting database to version 5""
12-26T12:35:50,30,"""Converting database to version 4""
12-26T12:35:50,30,"""Converting database to version 3""
12-26T12:35:50,30,"""Converting database to version 2""
12-26T12:35:49,30,"""Converting database to version 1""
12-26T12:35:49,30,"""Upgrading database from version 0""
12-26T12:35:49,30,"""Current database version", "null""
12-26T12:35:49,30,"""Checking for database schema update...""
12-26T12:35:49,30,"""Database was open successfully""
12-26T12:35:49,30,"""Starting application net.cozic.joplin-mobile v2.6.9 (prod)""
12-26T12:35:49,30,"""====================================""
================================================================================
type,id,updated_time,sync_time,is_conflict

I have the same problem. I've uninstalled Joplin on Android, downloaded an earlier version. It synced everything. But as soon as Android makes an update, the sync is broken :frowning:

There is more detail on the github issue - Android filesystem sync is broken after 2.6.3 update · Issue #5779 · laurent22/joplin · GitHub

Basically Google have changed their API for file access entirely and it can't currently be used without writing an entirely new method for it from scratch.

You should probably just disable auto updates on mobile or consider a different sync target as it is unlikely going to be a quick fix.

Thank you very much ! :+1:
I've got a Xiaomi Redmi Note 10 pro (with Android 11 and MIUI 12.5.6). I don't see any way to disable auto updates on this phone. If somebody knows how to do it I would be really greatful. Joplin is one of ma favorit apps :heart_eyes:
Have a nice day !