Error driving me nuts! sqllite permissions

Description

I keep getting account issues with connecting. I have to reconnect the account, clear the cache, and wait for it to reload. The error I see if a “attempt to write a readonly database” , as below:

Mailspring Version: 1.16.0-5339a49f
Platform: win32
Account State: sync_error
Account Provider: imap
IMAP Server: mail.ultranerds.co.uk
SMTP Server: mail.ultranerds.co.uk

199896 [2025-12-19 16:38:27.801] [foreground] [info] Idle exited with code 0
199896 [2025-12-19 16:38:27.843] [foreground] [info] syncFolderChangesViaCondstore - INBOX: modseq 39940 to 39940, uidnext 18895 to 18895
199896 [2025-12-19 16:38:27.845] [foreground] [info] Idling on folder INBOX
225064 [2025-12-20 06:18:11.393] [main] [info] Identity created at 1745300422 - using ID Schema 1
225064 [2025-12-20 06:18:11.410] [main] [info] ------------- Starting Sync (andy@ultranerds.co.uk) ---------------
225064 [2025-12-20 06:18:11.518] [background] [info] Marking all folders as busy
225064 [2025-12-20 06:18:11.518] [background] [critical]




*** Mailspring Sync
*** A C++ exception occurred during program execution:
*** attempt to write a readonly database




170172 [2025-12-20 06:18:14.376] [main] [info] Identity created at 1745300422 - using ID Schema 1
170172 [2025-12-20 06:18:14.380] [main] [info] ------------- Starting Sync (andy@ultranerds.co.uk) ---------------
170172 [2025-12-20 06:18:14.384] [metadata] [info] Metadata delta stream starting…
170172 [2025-12-20 06:18:14.384] [background] [info] Marking all folders as busy
170172 [2025-12-20 06:18:14.385] [background] [critical]




*** Mailspring Sync
*** A C++ exception occurred during program execution:
*** attempt to write a readonly database




231204 [2025-12-20 06:18:16.753] [main] [info] Identity created at 1745300422 - using ID Schema 1
231204 [2025-12-20 06:18:16.756] [main] [info] ------------- Starting Sync (andy@ultranerds.co.uk) ---------------
231204 [2025-12-20 06:18:16.762] [background] [info] Marking all folders as busy
231204 [2025-12-20 06:18:16.763] [background] [critical]




*** Mailspring Sync
*** A C++ exception occurred during program execution:
*** attempt to write a readonly database




226504 [2025-12-20 06:18:18.917] [main] [info] Identity created at 1745300422 - using ID Schema 1
226504 [2025-12-20 06:18:18.920] [main] [info] ------------- Starting Sync (andy@ultranerds.co.uk) ---------------
226504 [2025-12-20 06:18:18.923] [background] [info] Marking all folders as busy
226504 [2025-12-20 06:18:18.923] [metadata] [info] Metadata delta stream starting…
226504 [2025-12-20 06:18:18.923] [background] [critical]




*** Mailspring Sync
*** A C++ exception occurred during program execution:
*** attempt to write a readonly database




208376 [2025-12-20 06:18:20.941] [main] [info] Identity created at 1745300422 - using ID Schema 1
208376 [2025-12-20 06:18:20.943] [main] [info] ------------- Starting Sync (andy@ultranerds.co.uk) ---------------
208376 [2025-12-20 06:18:20.946] [background] [info] Marking all folders as busy
208376 [2025-12-20 06:18:20.946] [metadata] [info] Metadata delta stream starting…
208376 [2025-12-20 06:18:20.947] [background] [critical]




*** Mailspring Sync
*** A C++ exception occurred during program execution:
*** attempt to write a readonly database

Its getting to the point I’m about ready to jump ship - as I don’t have time to keep reconnecting and clearing caches every so often, as it takes ages (my email accounts are 10-20gb each, so every time I have to reload it causes me a real slowdown with work before I can start replying again)

To Reproduce…

Steps to reproduce the behavior:

  1. Just open mailspring - comes up with the alert. It doesnt do it all the time - although its done it 2 times in 3 days now, but normally there is a week or 2 between

Expected Behavior

To just run normally :wink:

Screenshots

Setup

Additional Context