-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Joplin crashes on startup with read-only-related error #11457
Comments
Update: This may not affect mobile — |
… items are in the trash
Hmmm... |
I have installed this version.
Joplin 3.2.6 (prod, win32) Client-ID: xxx Revision: 40914be Backup: 1.4.2 |
Operating system
Windows
Joplin version
3.1.24 and 3.1.23
Desktop version info
No response
Current behaviour
From the forum:
This happens when Joplin attempts to remove old read-only items from the trash on startup.
In particular, the error is happening here:
joplin/packages/lib/services/trash/permanentlyDeleteOldItems.ts
Line 23 in 24542ca
permanentlyDeleteOldItems
callsNote.batchDelete
, which callsBaseItem.batchDelete
, which callscheckIfItemsCanBeChanged
:joplin/packages/lib/models/BaseItem.ts
Line 311 in 24542ca
This then throws a
JoplinError
because one of the items is read-only:joplin/packages/lib/models/utils/readOnly.ts
Line 45 in 24542ca
Expected behaviour
Joplin should not try crash on startup.
Logs
No response
The text was updated successfully, but these errors were encountered: