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

Cannot access Joplin #11386

Open
LucaSolari66 opened this issue Nov 13, 2024 · 1 comment
Open

Cannot access Joplin #11386

LucaSolari66 opened this issue Nov 13, 2024 · 1 comment
Labels
bug It's a bug

Comments

@LucaSolari66
Copy link

Operating system

macOS

Joplin version

Joplin-3.1.24-arm64

Desktop version info

Joplin-3.1.24-arm64

Current behaviour

I have tried multiple times to erase and reload the applicaiton, but I still get this message when attempting at starting it

An error occurred: Fatal error:

Error: SQLITE_CORRUPT: database disk image is malformed: DELETE FROM deleted_items

Expected behaviour

No response

Logs

An error occurred: Fatal error:

Error: SQLITE_CORRUPT: database disk image is malformed: DELETE FROM deleted_items

Error: Error: SQLITE_CORRUPT: database disk image is malformed: DELETE FROM deleted_items
at DatabaseDriverNode.sqliteErrorToJsError (/Applications/Joplin.app/Contents/Resources/app.asar/node_modules/@joplin/lib/database-driver-node.js:23:18)
at JoplinDatabase.sqliteErrorToJsError (/Applications/Joplin.app/Contents/Resources/app.asar/node_modules/@joplin/lib/database.js:27:30)
at JoplinDatabase.tryCall (/Applications/Joplin.app/Contents/Resources/app.asar/node_modules/@joplin/lib/database.js:130:32)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async JoplinDatabase.transactionExecBatch (/Applications/Joplin.app/Contents/Resources/app.asar/node_modules/@joplin/lib/database.js:184:17)
at async clearLocalDataForRedownload (/Applications/Joplin.app/Contents/Resources/app.asar/node_modules/@joplin/lib/services/synchronizer/tools.js:38:5)
at async default_1 (/Applications/Joplin.app/Contents/Resources/app.asar/node_modules/@joplin/lib/services/synchronizer/utils/handleSyncStartupOperation.js:15:9)
at async Application.start (/Applications/Joplin.app/Contents/Resources/app.asar/node_modules/@joplin/lib/BaseApplication.js:660:9)
at async Application.start (/Applications/Joplin.app/Contents/Resources/app.asar/app.js:360:16)
at async main (file:///Applications/Joplin.app/Contents/Resources/app.asar/main-html.js:140:22)

@LucaSolari66 LucaSolari66 added the bug It's a bug label Nov 13, 2024
@mrjo118
Copy link
Contributor

mrjo118 commented Nov 28, 2024

Looks like the sqlite database for your profile has become corrupt, which is rare, but could happen for any number of reasons.

Do you have a sync target setup? If you have, then first make a backup of the Joplin profile directory (not sure where it is on Mac, you will have to look into it), then delete the original. When you open Joplin afterwards, it will create a fresh profile and you can set it up to sync your notes again.

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