Could not set setting on the keychain

Operating system

Windows

Joplin version

2.13.9

Desktop version info

Joplin 2.13.9 (prod, win32)
Client-ID: 90ece6040967446ab8ee5518336eb08f
Sync-Version: 3
Profil-Version: 44
Unterstützter Schlüsselbund: Ja

Revision: 1bbec44

Better Code Blocks: 1.1.0
Combine notes: 1.2.1
Note overview: 1.6.0
Search & Replace: 2.2.0
Slash Commands: Datetime & More: 1.3.2
Templates: 2.4.0

Sync target

Nextcloud

Editor

Markdown Editor

What issue do you have?

I'm new to Joplin - imported all my evernote notes to joplin and setup the syncronisation with my NextCloud server. Everything looks good on both computer I use now but I have this error/warning again and again in the log of one computer:

Could not set setting on the keychain. Will be saved to database instead: sync.6.password:
2023-12-14 01:24:31: RevisionService: "maintenance: Starting..."
2023-12-14 01:24:31: RevisionService: "maintenance: Service is disabled"
2023-12-14 01:24:32: models/Setting: "Could not set setting on the keychain. Will be saved to database instead: sync.6.password:", "Error: Password is required.
Error: Password is required.
    at checkRequired (C:\Users\Hermann\AppData\Local\Programs\Joplin\resources\app.asar\node_modules\keytar\lib\keytar.js:5:11)
    at Object.setPassword (C:\Users\Hermann\AppData\Local\Programs\Joplin\resources\app.asar\node_modules\keytar\lib\keytar.js:20:5)
    at KeychainServiceDriver.<anonymous> (C:\Users\Hermann\AppData\Local\Programs\Joplin\resources\app.asar\node_modules\@joplin\lib\services\keychain\KeychainServiceDriver.node.js:19:43)
    at Generator.next (<anonymous>)
    at C:\Users\Hermann\AppData\Local\Programs\Joplin\resources\app.asar\node_modules\@joplin\lib\services\keychain\KeychainServiceDriver.node.js:8:71
    at new Promise (<anonymous>)
    at __awaiter (C:\Users\Hermann\AppData\Local\Programs\Joplin\resources\app.asar\node_modules\@joplin\lib\services\keychain\KeychainServiceDriver.node.js:4:12)
    at KeychainServiceDriver.setPassword (C:\Users\Hermann\AppData\Local\Programs\Joplin\resources\app.asar\node_modules\@joplin\lib\services\keychain\KeychainServiceDriver.node.js:16:16)
    at KeychainService.<anonymous> (C:\Users\Hermann\AppData\Local\Programs\Joplin\resources\app.asar\node_modules\@joplin\lib\services\keychain\KeychainService.js:51:32)
    at Generator.next (<anonymous>)"
2023-12-14 01:24:33: Synchronizer: "Sync: updateRemote: local has changes: Note: (Local 66a81d2cdc854f4091a44ca54d23e896): (Remote 66a81d2cdc854f4091a44ca54d23e896.md)"
2023-12-14 01:24:35: Synchronizer: "TaskQueue.stop: syncDownload: waiting for tasks to complete: 0"
2023-12-14 01:24:35: Synchronizer: "TaskQueue.stop: syncDownload: Done, waited for 0"
2023-12-14 01:24:35: Synchronizer: "Sync: finished: Synchronisation finished [1702513468498]"
2023-12-14 01:24:35: Synchronizer: "Operations completed: "
2023-12-14 01:24:35: Synchronizer: "updateRemote: 1"
2023-12-14 01:24:35: Synchronizer: "Total folders: 7"
2023-12-14 01:24:35: Synchronizer: "Total notes: 3583"
2023-12-14 01:24:35: Synchronizer: "Total resources: 7599"
2023-12-14 01:24:35: "Sync has finished and note has never been changed - reloading it"

ok, I hope I've found the reason for that log error... I've tested two/three sync targets before I've choosen to stick with my NextCloud and it looks like one sync target (although all input fields were deleted) still was in my settings.json file

image

So I can delete these two lines, save and shoud get rid of that error, correct?

sadly not the solution - after a new start of Joplin (without these two sync.6 lines in my settings.json) I have again and again the above mentioned error in the log :thinking:

2023-12-14 18:03:51: models/Setting: "Could not set setting on the keychain. Will be saved to database instead: sync.6.password:", "Error: Password is required.
Error: Password is required.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.