Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin settings stored with SettingStorageType.File occasionally lost when restarting Joplin #10381

Open
personalizedrefrigerator opened this issue Apr 27, 2024 · 1 comment
Labels
bug It's a bug

Comments

@personalizedrefrigerator
Copy link
Collaborator

Operating system

Linux

Joplin version

2.14.20

Desktop version info

Joplin 2.14.20 (prod, linux)

Client ID: 24b2a961cccf40fe8448cdc0930b6fce
Sync Version: 3
Profile Version: 46
Keychain Supported: No

Revision: cfd98e3

Backup: 1.4.0
CodeMirror 6 settings: 1.0.0
CodeMirror 6 snippets: 0.0.5
Custom CodeMirror .vimrc: 1.0.6
Freehand Drawing: 2.9.1
RevealJS Integration: 0.13.0
Work tracker: 0.0.1

Current behaviour

Occasionally, after restarting Joplin, all settings for certain plugins (which are stored with SettingStorage.File) are lost.

Downstream issues:

Expected behaviour

Settings should not be lost when restarting Joplin.

Logs

No response

@laurent22
Copy link
Owner

I don't know if this is related but I have this error related to plugins and settings when the application starts:

image

I assume it's some kind of race condition, maybe the same plugin call setSetting multiple times and some of the calls are dropped. For the db, it causes this error and maybe when saving to file it's overwriting the file with old data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug It's a bug
Projects
None yet
Development

No branches or pull requests

2 participants