[Bug]: Error: database disk image is malformed #2252

Closed
opened 2026-02-28 20:08:01 -06:00 by GiteaMirror · 8 comments
Owner

Originally created by @glenndegroote on GitHub (Jul 3, 2025).

Verified issue does not already exist?

  • I have searched and found no existing issue

What happened?

A bug happened!

When re-adding an existing bankaccount (fintro belgium) through gocardless i'm confronted with the issue that there was something wrong with syncing the adjustments to my account.

I was notified by the Fintro app that i successfully acknowledged gocardless to get access, it's only when going back to Actual that i noticed something got wrong

Developer tool extraction from my browser

Error: database disk image is malformed
at c.handleError (sql-wasm.js:89:129)
at a.step (sql-wasm.js:80:69)
at runQuery (index.web.ts:77:19)
at db_runQuery (index.ts:129:12)
at _fullSync (index.ts:491:10)
at index.ts:561:22
at async.ts:68:20
at app_sync (app.ts:20:16)
at runHandler (mutators.ts:67:19)
at index.ts:57:9
index.ts:2 [Exception] Error: database disk image is malformed
at c.handleError (sql-wasm.js:89:129)
at a.step (sql-wasm.js:80:69)
at runQuery (index.web.ts:77:19)
at db_runQuery (index.ts:129:12)
at _fullSync (index.ts:491:10)
at index.ts:561:22
at async.ts:68:20
at app_sync (app.ts:20:16)
at runHandler (mutators.ts:67:19)
at index.ts:57:9
captureException @ index.ts:2Understand this error
sync-events.ts:357 unknown error Object
(anonymous) @ sync-events.ts:357
yae @ index.browser.ts:70
e.onmessage @ index.browser.ts:137
index.web.ts:88 SELECT timestamp, dataset, row, column, value FROM messages_crdt WHERE timestamp > ?
index.ts:563 Error: database disk image is malformed
at c.handleError (sql-wasm.js:89:129)
at a.step (sql-wasm.js:80:69)
at runQuery (index.web.ts:77:19)
at db_runQuery (index.ts:129:12)
at _fullSync (index.ts:491:10)
at index.ts:561:22
at async.ts:68:20
at app_sync (app.ts:20:16)
at runHandler (mutators.ts:67:19)
at index.ts:57:9
index.ts:2 [Exception] Error: database disk image is malformed
at c.handleError (sql-wasm.js:89:129)
at a.step (sql-wasm.js:80:69)
at runQuery (index.web.ts:77:19)
at db_runQuery (index.ts:129:12)
at _fullSync (index.ts:491:10)
at index.ts:561:22
at async.ts:68:20
at app_sync (app.ts:20:16)
at runHandler (mutators.ts:67:19)
at index.ts:57:9
captureException @ index.ts:2Understand this error
sync-events.ts:357 unknown error Object
(anonymous) @ sync-events.ts:357
yae @ index.browser.ts:70
e.onmessage @ index.browser.ts:137
index.web.ts:88 SELECT timestamp, dataset, row, column, value FROM messages_crdt WHERE timestamp > ?
index.ts:563 Error: database disk image is malformed
at c.handleError (sql-wasm.js:89:129)
at a.step (sql-wasm.js:80:69)
at runQuery (index.web.ts:77:19)
at db_runQuery (index.ts:129:12)
at _fullSync (index.ts:491:10)
at index.ts:561:22
at async.ts:68:20
at app_sync (app.ts:20:16)
at runHandler (mutators.ts:67:19)
at index.ts:57:9
index.ts:2 [Exception] Error: database disk image is malformed
at c.handleError (sql-wasm.js:89:129)
at a.step (sql-wasm.js:80:69)
at runQuery (index.web.ts:77:19)
at db_runQuery (index.ts:129:12)
at _fullSync (index.ts:491:10)
at index.ts:561:22
at async.ts:68:20
at app_sync (app.ts:20:16)
at runHandler (mutators.ts:67:19)
at index.ts:57:9
captureException @ index.ts:2Understand this error
sync-events.ts:357 unknown error Object
(anonymous) @ sync-events.ts:357
yae @ index.browser.ts:70
e.onmessage @ index.browser.ts:137
index.web.ts:88 SELECT timestamp, dataset, row, column, value FROM messages_crdt WHERE timestamp > ?
index.ts:563 Error: database disk image is malformed
at c.handleError (sql-wasm.js:89:129)
at a.step (sql-wasm.js:80:69)
at runQuery (index.web.ts:77:19)
at db_runQuery (index.ts:129:12)
at _fullSync (index.ts:491:10)
at index.ts:561:22
at async.ts:68:20
at app_sync (app.ts:20:16)
at runHandler (mutators.ts:67:19)
at index.ts:57:9
index.ts:2 [Exception] Error: database disk image is malformed
at c.handleError (sql-wasm.js:89:129)
at a.step (sql-wasm.js:80:69)
at runQuery (index.web.ts:77:19)
at db_runQuery (index.ts:129:12)
at _fullSync (index.ts:491:10)
at index.ts:561:22
at async.ts:68:20
at app_sync (app.ts:20:16)
at runHandler (mutators.ts:67:19)
at index.ts:57:9
captureException @ index.ts:2Understand this error
sync-events.ts:357 unknown error Object
(anonymous) @ sync-events.ts:357
yae @ index.browser.ts:70
e.onmessage @ index.browser.ts:137
index.web.ts:88 SELECT timestamp, dataset, row, column, value FROM messages_crdt WHERE timestamp > ?
index.ts:563 Error: database disk image is malformed
at c.handleError (sql-wasm.js:89:129)
at a.step (sql-wasm.js:80:69)
at runQuery (index.web.ts:77:19)
at db_runQuery (index.ts:129:12)
at _fullSync (index.ts:491:10)
at index.ts:561:22
at async.ts:68:20
at app_sync (app.ts:20:16)
at runHandler (mutators.ts:67:19)
at index.ts:57:9
index.ts:2 [Exception] Error: database disk image is malformed
at c.handleError (sql-wasm.js:89:129)
at a.step (sql-wasm.js:80:69)
at runQuery (index.web.ts:77:19)
at db_runQuery (index.ts:129:12)
at _fullSync (index.ts:491:10)
at index.ts:561:22
at async.ts:68:20
at app_sync (app.ts:20:16)
at runHandler (mutators.ts:67:19)
at index.ts:57:9
captureException @ index.ts:2Understand this error
sync-events.ts:357 unknown error Object
(anonymous) @ sync-events.ts:357
yae @ index.browser.ts:70
e.onmessage @ index.browser.ts:137
index.web.ts:88 SELECT timestamp, dataset, row, column, value FROM messages_crdt WHERE timestamp > ?
index.ts:563 Error: database disk image is malformed
at c.handleError (sql-wasm.js:89:129)
at a.step (sql-wasm.js:80:69)
at runQuery (index.web.ts:77:19)
at db_runQuery (index.ts:129:12)
at _fullSync (index.ts:491:10)
at index.ts:561:22
at async.ts:68:20
at app_sync (app.ts:20:16)
at runHandler (mutators.ts:67:19)
at index.ts:57:9
index.ts:2 [Exception] Error: database disk image is malformed
at c.handleError (sql-wasm.js:89:129)
at a.step (sql-wasm.js:80:69)
at runQuery (index.web.ts:77:19)
at db_runQuery (index.ts:129:12)
at _fullSync (index.ts:491:10)
at index.ts:561:22
at async.ts:68:20
at app_sync (app.ts:20:16)
at runHandler (mutators.ts:67:19)
at index.ts:57:9
captureException @ index.ts:2Understand this error
sync-events.ts:357 unknown error Object
(anonymous) @ sync-events.ts:357
yae @ index.browser.ts:70
e.onmessage @ index.browser.ts:137
index.web.ts:88 SELECT timestamp, dataset, row, column, value FROM messages_crdt WHERE timestamp > ?
index.ts:563 Error: database disk image is malformed
at c.handleError (sql-wasm.js:89:129)
at a.step (sql-wasm.js:80:69)
at runQuery (index.web.ts:77:19)
at db_runQuery (index.ts:129:12)
at _fullSync (index.ts:491:10)
at index.ts:561:22
at async.ts:68:20
at app_sync (app.ts:20:16)
at runHandler (mutators.ts:67:19)
at index.ts:57:9
index.ts:2 [Exception] Error: database disk image is malformed
at c.handleError (sql-wasm.js:89:129)
at a.step (sql-wasm.js:80:69)
at runQuery (index.web.ts:77:19)
at db_runQuery (index.ts:129:12)
at _fullSync (index.ts:491:10)
at index.ts:561:22
at async.ts:68:20
at app_sync (app.ts:20:16)
at runHandler (mutators.ts:67:19)
at index.ts:57:9
captureException @ index.ts:2
(anonymous) @ index.ts:605
await in (anonymous)
(anonymous) @ async.ts:68
app_sync @ app.ts:20
runHandler @ mutators.ts:67
(anonymous) @ index.ts:57Understand this error
sync-events.ts:357 unknown error {type: 'error'}
(anonymous) @ sync-events.ts:357
yae @ index.browser.ts:70
e.onmessage @ index.browser.ts:137
index.web.ts:88 SELECT timestamp, dataset, row, column, value FROM messages_crdt WHERE timestamp > ?
index.ts:563 Error: database disk image is malformed
at c.handleError (sql-wasm.js:89:129)
at a.step (sql-wasm.js:80:69)
at runQuery (index.web.ts:77:19)
at db_runQuery (index.ts:129:12)
at _fullSync (index.ts:491:10)
at index.ts:561:22
at async.ts:68:20
at app_sync (app.ts:20:16)
at runHandler (mutators.ts:67:19)
at index.ts:57:9
index.ts:2 [Exception] Error: database disk image is malformed
at c.handleError (sql-wasm.js:89:129)
at a.step (sql-wasm.js:80:69)
at runQuery (index.web.ts:77:19)
at db_runQuery (index.ts:129:12)
at _fullSync (index.ts:491:10)
at index.ts:561:22
at async.ts:68:20
at app_sync (app.ts:20:16)
at runHandler (mutators.ts:67:19)
at index.ts:57:9
captureException @ index.ts:2
(anonymous) @ index.ts:605
await in (anonymous)
(anonymous) @ async.ts:68
app_sync @ app.ts:20
runHandler @ mutators.ts:67
(anonymous) @ index.ts:57Understand this error
sync-events.ts:357 unknown error {type: 'error'}
(anonymous) @ sync-events.ts:357
yae @ index.browser.ts:70
e.onmessage @ index.browser.ts:137
index.web.ts:88 SELECT timestamp, dataset, row, column, value FROM messages_crdt WHERE timestamp > ?
index.ts:563 Error: database disk image is malformed
at c.handleError (sql-wasm.js:89:129)
at a.step (sql-wasm.js:80:69)
at runQuery (index.web.ts:77:19)
at db_runQuery (index.ts:129:12)
at _fullSync (index.ts:491:10)
at index.ts:561:22
at async.ts:68:20
at app_sync (app.ts:20:16)
at runHandler (mutators.ts:67:19)
at index.ts:57:9
index.ts:2 [Exception] Error: database disk image is malformed
at c.handleError (sql-wasm.js:89:129)
at a.step (sql-wasm.js:80:69)
at runQuery (index.web.ts:77:19)
at db_runQuery (index.ts:129:12)
at _fullSync (index.ts:491:10)
at index.ts:561:22
at async.ts:68:20
at app_sync (app.ts:20:16)
at runHandler (mutators.ts:67:19)
at index.ts:57:9
captureException @ index.ts:2
(anonymous) @ index.ts:605
await in (anonymous)
(anonymous) @ async.ts:68
app_sync @ app.ts:20
runHandler @ mutators.ts:67
(anonymous) @ index.ts:57Understand this error
sync-events.ts:357 unknown error {type: 'error'}
(anonymous) @ sync-events.ts:357
yae @ index.browser.ts:70
e.onmessage @ index.browser.ts:137
index.web.ts:88 SELECT timestamp, dataset, row, column, value FROM messages_crdt WHERE timestamp > ?
index.ts:563 Error: database disk image is malformed
at c.handleError (sql-wasm.js:89:129)
at a.step (sql-wasm.js:80:69)
at runQuery (index.web.ts:77:19)
at db_runQuery (index.ts:129:12)
at _fullSync (index.ts:491:10)
at index.ts:561:22
at async.ts:68:20
at app_sync (app.ts:20:16)
at runHandler (mutators.ts:67:19)
at index.ts:57:9
index.ts:2 [Exception] Error: database disk image is malformed
at c.handleError (sql-wasm.js:89:129)
at a.step (sql-wasm.js:80:69)
at runQuery (index.web.ts:77:19)
at db_runQuery (index.ts:129:12)
at _fullSync (index.ts:491:10)
at index.ts:561:22
at async.ts:68:20
at app_sync (app.ts:20:16)
at runHandler (mutators.ts:67:19)
at index.ts:57:9
captureException @ index.ts:2
(anonymous) @ index.ts:605
await in (anonymous)
(anonymous) @ async.ts:68
app_sync @ app.ts:20
runHandler @ mutators.ts:67
(anonymous) @ index.ts:57Understand this error
sync-events.ts:357 unknown error {type: 'error'}
(anonymous) @ sync-events.ts:357
yae @ index.browser.ts:70
e.onmessage @ index.browser.ts:137
index.web.ts:88 SELECT timestamp, dataset, row, column, value FROM messages_crdt WHERE timestamp > ?
index.ts:563 Error: database disk image is malformed
at c.handleError (sql-wasm.js:89:129)
at a.step (sql-wasm.js:80:69)
at runQuery (index.web.ts:77:19)
at db_runQuery (index.ts:129:12)
at _fullSync (index.ts:491:10)
at index.ts:561:22
at async.ts:68:20
at app_sync (app.ts:20:16)
at runHandler (mutators.ts:67:19)
at index.ts:57:9
index.ts:2 [Exception] Error: database disk image is malformed
at c.handleError (sql-wasm.js:89:129)
at a.step (sql-wasm.js:80:69)
at runQuery (index.web.ts:77:19)
at db_runQuery (index.ts:129:12)
at _fullSync (index.ts:491:10)
at index.ts:561:22
at async.ts:68:20
at app_sync (app.ts:20:16)
at runHandler (mutators.ts:67:19)
at index.ts:57:9
captureException @ index.ts:2
(anonymous) @ index.ts:605
await in (anonymous)
(anonymous) @ async.ts:68
app_sync @ app.ts:20
runHandler @ mutators.ts:67
(anonymous) @ index.ts:57Understand this error
sync-events.ts:357 unknown error {type: 'error'}
(anonymous) @ sync-events.ts:357
yae @ index.browser.ts:70
e.onmessage @ index.browser.ts:137
index.web.ts:88 SELECT timestamp, dataset, row, column, value FROM messages_crdt WHERE timestamp > ?
index.ts:563 Error: database disk image is malformed
at c.handleError (sql-wasm.js:89:129)
at a.step (sql-wasm.js:80:69)
at runQuery (index.web.ts:77:19)
at db_runQuery (index.ts:129:12)
at _fullSync (index.ts:491:10)
at index.ts:561:22
at async.ts:68:20
at app_sync (app.ts:20:16)
at runHandler (mutators.ts:67:19)
at index.ts:57:9
index.ts:2 [Exception] Error: database disk image is malformed
at c.handleError (sql-wasm.js:89:129)
at a.step (sql-wasm.js:80:69)
at runQuery (index.web.ts:77:19)
at db_runQuery (index.ts:129:12)
at _fullSync (index.ts:491:10)
at index.ts:561:22
at async.ts:68:20
at app_sync (app.ts:20:16)
at runHandler (mutators.ts:67:19)
at index.ts:57:9
captureException @ index.ts:2
(anonymous) @ index.ts:605
await in (anonymous)
(anonymous) @ async.ts:68
app_sync @ app.ts:20
runHandler @ mutators.ts:67
(anonymous) @ index.ts:57Understand this error
sync-events.ts:357 unknown error {type: 'error'}

How can we reproduce the issue?

See above

Where are you hosting Actual?

Pikapods

What browsers are you seeing the problem on?

Chrome

Operating System

Windows 11

Originally created by @glenndegroote on GitHub (Jul 3, 2025). ### Verified issue does not already exist? - [x] I have searched and found no existing issue ### What happened? A bug happened! When re-adding an existing bankaccount (fintro belgium) through gocardless i'm confronted with the issue that there was something wrong with syncing the adjustments to my account. I was notified by the Fintro app that i successfully acknowledged gocardless to get access, it's only when going back to Actual that i noticed something got wrong Developer tool extraction from my browser Error: database disk image is malformed at c.handleError (sql-wasm.js:89:129) at a.step (sql-wasm.js:80:69) at runQuery (index.web.ts:77:19) at db_runQuery (index.ts:129:12) at _fullSync (index.ts:491:10) at index.ts:561:22 at async.ts:68:20 at app_sync (app.ts:20:16) at runHandler (mutators.ts:67:19) at index.ts:57:9 index.ts:2 [Exception] Error: database disk image is malformed at c.handleError (sql-wasm.js:89:129) at a.step (sql-wasm.js:80:69) at runQuery (index.web.ts:77:19) at db_runQuery (index.ts:129:12) at _fullSync (index.ts:491:10) at index.ts:561:22 at async.ts:68:20 at app_sync (app.ts:20:16) at runHandler (mutators.ts:67:19) at index.ts:57:9 captureException @ index.ts:2Understand this error sync-events.ts:357 unknown error Object (anonymous) @ sync-events.ts:357 yae @ index.browser.ts:70 e.onmessage @ index.browser.ts:137 index.web.ts:88 SELECT timestamp, dataset, row, column, value FROM messages_crdt WHERE timestamp > ? index.ts:563 Error: database disk image is malformed at c.handleError (sql-wasm.js:89:129) at a.step (sql-wasm.js:80:69) at runQuery (index.web.ts:77:19) at db_runQuery (index.ts:129:12) at _fullSync (index.ts:491:10) at index.ts:561:22 at async.ts:68:20 at app_sync (app.ts:20:16) at runHandler (mutators.ts:67:19) at index.ts:57:9 index.ts:2 [Exception] Error: database disk image is malformed at c.handleError (sql-wasm.js:89:129) at a.step (sql-wasm.js:80:69) at runQuery (index.web.ts:77:19) at db_runQuery (index.ts:129:12) at _fullSync (index.ts:491:10) at index.ts:561:22 at async.ts:68:20 at app_sync (app.ts:20:16) at runHandler (mutators.ts:67:19) at index.ts:57:9 captureException @ index.ts:2Understand this error sync-events.ts:357 unknown error Object (anonymous) @ sync-events.ts:357 yae @ index.browser.ts:70 e.onmessage @ index.browser.ts:137 index.web.ts:88 SELECT timestamp, dataset, row, column, value FROM messages_crdt WHERE timestamp > ? index.ts:563 Error: database disk image is malformed at c.handleError (sql-wasm.js:89:129) at a.step (sql-wasm.js:80:69) at runQuery (index.web.ts:77:19) at db_runQuery (index.ts:129:12) at _fullSync (index.ts:491:10) at index.ts:561:22 at async.ts:68:20 at app_sync (app.ts:20:16) at runHandler (mutators.ts:67:19) at index.ts:57:9 index.ts:2 [Exception] Error: database disk image is malformed at c.handleError (sql-wasm.js:89:129) at a.step (sql-wasm.js:80:69) at runQuery (index.web.ts:77:19) at db_runQuery (index.ts:129:12) at _fullSync (index.ts:491:10) at index.ts:561:22 at async.ts:68:20 at app_sync (app.ts:20:16) at runHandler (mutators.ts:67:19) at index.ts:57:9 captureException @ index.ts:2Understand this error sync-events.ts:357 unknown error Object (anonymous) @ sync-events.ts:357 yae @ index.browser.ts:70 e.onmessage @ index.browser.ts:137 index.web.ts:88 SELECT timestamp, dataset, row, column, value FROM messages_crdt WHERE timestamp > ? index.ts:563 Error: database disk image is malformed at c.handleError (sql-wasm.js:89:129) at a.step (sql-wasm.js:80:69) at runQuery (index.web.ts:77:19) at db_runQuery (index.ts:129:12) at _fullSync (index.ts:491:10) at index.ts:561:22 at async.ts:68:20 at app_sync (app.ts:20:16) at runHandler (mutators.ts:67:19) at index.ts:57:9 index.ts:2 [Exception] Error: database disk image is malformed at c.handleError (sql-wasm.js:89:129) at a.step (sql-wasm.js:80:69) at runQuery (index.web.ts:77:19) at db_runQuery (index.ts:129:12) at _fullSync (index.ts:491:10) at index.ts:561:22 at async.ts:68:20 at app_sync (app.ts:20:16) at runHandler (mutators.ts:67:19) at index.ts:57:9 captureException @ index.ts:2Understand this error sync-events.ts:357 unknown error Object (anonymous) @ sync-events.ts:357 yae @ index.browser.ts:70 e.onmessage @ index.browser.ts:137 index.web.ts:88 SELECT timestamp, dataset, row, column, value FROM messages_crdt WHERE timestamp > ? index.ts:563 Error: database disk image is malformed at c.handleError (sql-wasm.js:89:129) at a.step (sql-wasm.js:80:69) at runQuery (index.web.ts:77:19) at db_runQuery (index.ts:129:12) at _fullSync (index.ts:491:10) at index.ts:561:22 at async.ts:68:20 at app_sync (app.ts:20:16) at runHandler (mutators.ts:67:19) at index.ts:57:9 index.ts:2 [Exception] Error: database disk image is malformed at c.handleError (sql-wasm.js:89:129) at a.step (sql-wasm.js:80:69) at runQuery (index.web.ts:77:19) at db_runQuery (index.ts:129:12) at _fullSync (index.ts:491:10) at index.ts:561:22 at async.ts:68:20 at app_sync (app.ts:20:16) at runHandler (mutators.ts:67:19) at index.ts:57:9 captureException @ index.ts:2Understand this error sync-events.ts:357 unknown error Object (anonymous) @ sync-events.ts:357 yae @ index.browser.ts:70 e.onmessage @ index.browser.ts:137 index.web.ts:88 SELECT timestamp, dataset, row, column, value FROM messages_crdt WHERE timestamp > ? index.ts:563 Error: database disk image is malformed at c.handleError (sql-wasm.js:89:129) at a.step (sql-wasm.js:80:69) at runQuery (index.web.ts:77:19) at db_runQuery (index.ts:129:12) at _fullSync (index.ts:491:10) at index.ts:561:22 at async.ts:68:20 at app_sync (app.ts:20:16) at runHandler (mutators.ts:67:19) at index.ts:57:9 index.ts:2 [Exception] Error: database disk image is malformed at c.handleError (sql-wasm.js:89:129) at a.step (sql-wasm.js:80:69) at runQuery (index.web.ts:77:19) at db_runQuery (index.ts:129:12) at _fullSync (index.ts:491:10) at index.ts:561:22 at async.ts:68:20 at app_sync (app.ts:20:16) at runHandler (mutators.ts:67:19) at index.ts:57:9 captureException @ index.ts:2Understand this error sync-events.ts:357 unknown error Object (anonymous) @ sync-events.ts:357 yae @ index.browser.ts:70 e.onmessage @ index.browser.ts:137 index.web.ts:88 SELECT timestamp, dataset, row, column, value FROM messages_crdt WHERE timestamp > ? index.ts:563 Error: database disk image is malformed at c.handleError (sql-wasm.js:89:129) at a.step (sql-wasm.js:80:69) at runQuery (index.web.ts:77:19) at db_runQuery (index.ts:129:12) at _fullSync (index.ts:491:10) at index.ts:561:22 at async.ts:68:20 at app_sync (app.ts:20:16) at runHandler (mutators.ts:67:19) at index.ts:57:9 index.ts:2 [Exception] Error: database disk image is malformed at c.handleError (sql-wasm.js:89:129) at a.step (sql-wasm.js:80:69) at runQuery (index.web.ts:77:19) at db_runQuery (index.ts:129:12) at _fullSync (index.ts:491:10) at index.ts:561:22 at async.ts:68:20 at app_sync (app.ts:20:16) at runHandler (mutators.ts:67:19) at index.ts:57:9 captureException @ index.ts:2 (anonymous) @ index.ts:605 await in (anonymous) (anonymous) @ async.ts:68 app_sync @ app.ts:20 runHandler @ mutators.ts:67 (anonymous) @ index.ts:57Understand this error sync-events.ts:357 unknown error {type: 'error'} (anonymous) @ sync-events.ts:357 yae @ index.browser.ts:70 e.onmessage @ index.browser.ts:137 index.web.ts:88 SELECT timestamp, dataset, row, column, value FROM messages_crdt WHERE timestamp > ? index.ts:563 Error: database disk image is malformed at c.handleError (sql-wasm.js:89:129) at a.step (sql-wasm.js:80:69) at runQuery (index.web.ts:77:19) at db_runQuery (index.ts:129:12) at _fullSync (index.ts:491:10) at index.ts:561:22 at async.ts:68:20 at app_sync (app.ts:20:16) at runHandler (mutators.ts:67:19) at index.ts:57:9 index.ts:2 [Exception] Error: database disk image is malformed at c.handleError (sql-wasm.js:89:129) at a.step (sql-wasm.js:80:69) at runQuery (index.web.ts:77:19) at db_runQuery (index.ts:129:12) at _fullSync (index.ts:491:10) at index.ts:561:22 at async.ts:68:20 at app_sync (app.ts:20:16) at runHandler (mutators.ts:67:19) at index.ts:57:9 captureException @ index.ts:2 (anonymous) @ index.ts:605 await in (anonymous) (anonymous) @ async.ts:68 app_sync @ app.ts:20 runHandler @ mutators.ts:67 (anonymous) @ index.ts:57Understand this error sync-events.ts:357 unknown error {type: 'error'} (anonymous) @ sync-events.ts:357 yae @ index.browser.ts:70 e.onmessage @ index.browser.ts:137 index.web.ts:88 SELECT timestamp, dataset, row, column, value FROM messages_crdt WHERE timestamp > ? index.ts:563 Error: database disk image is malformed at c.handleError (sql-wasm.js:89:129) at a.step (sql-wasm.js:80:69) at runQuery (index.web.ts:77:19) at db_runQuery (index.ts:129:12) at _fullSync (index.ts:491:10) at index.ts:561:22 at async.ts:68:20 at app_sync (app.ts:20:16) at runHandler (mutators.ts:67:19) at index.ts:57:9 index.ts:2 [Exception] Error: database disk image is malformed at c.handleError (sql-wasm.js:89:129) at a.step (sql-wasm.js:80:69) at runQuery (index.web.ts:77:19) at db_runQuery (index.ts:129:12) at _fullSync (index.ts:491:10) at index.ts:561:22 at async.ts:68:20 at app_sync (app.ts:20:16) at runHandler (mutators.ts:67:19) at index.ts:57:9 captureException @ index.ts:2 (anonymous) @ index.ts:605 await in (anonymous) (anonymous) @ async.ts:68 app_sync @ app.ts:20 runHandler @ mutators.ts:67 (anonymous) @ index.ts:57Understand this error sync-events.ts:357 unknown error {type: 'error'} (anonymous) @ sync-events.ts:357 yae @ index.browser.ts:70 e.onmessage @ index.browser.ts:137 index.web.ts:88 SELECT timestamp, dataset, row, column, value FROM messages_crdt WHERE timestamp > ? index.ts:563 Error: database disk image is malformed at c.handleError (sql-wasm.js:89:129) at a.step (sql-wasm.js:80:69) at runQuery (index.web.ts:77:19) at db_runQuery (index.ts:129:12) at _fullSync (index.ts:491:10) at index.ts:561:22 at async.ts:68:20 at app_sync (app.ts:20:16) at runHandler (mutators.ts:67:19) at index.ts:57:9 index.ts:2 [Exception] Error: database disk image is malformed at c.handleError (sql-wasm.js:89:129) at a.step (sql-wasm.js:80:69) at runQuery (index.web.ts:77:19) at db_runQuery (index.ts:129:12) at _fullSync (index.ts:491:10) at index.ts:561:22 at async.ts:68:20 at app_sync (app.ts:20:16) at runHandler (mutators.ts:67:19) at index.ts:57:9 captureException @ index.ts:2 (anonymous) @ index.ts:605 await in (anonymous) (anonymous) @ async.ts:68 app_sync @ app.ts:20 runHandler @ mutators.ts:67 (anonymous) @ index.ts:57Understand this error sync-events.ts:357 unknown error {type: 'error'} (anonymous) @ sync-events.ts:357 yae @ index.browser.ts:70 e.onmessage @ index.browser.ts:137 index.web.ts:88 SELECT timestamp, dataset, row, column, value FROM messages_crdt WHERE timestamp > ? index.ts:563 Error: database disk image is malformed at c.handleError (sql-wasm.js:89:129) at a.step (sql-wasm.js:80:69) at runQuery (index.web.ts:77:19) at db_runQuery (index.ts:129:12) at _fullSync (index.ts:491:10) at index.ts:561:22 at async.ts:68:20 at app_sync (app.ts:20:16) at runHandler (mutators.ts:67:19) at index.ts:57:9 index.ts:2 [Exception] Error: database disk image is malformed at c.handleError (sql-wasm.js:89:129) at a.step (sql-wasm.js:80:69) at runQuery (index.web.ts:77:19) at db_runQuery (index.ts:129:12) at _fullSync (index.ts:491:10) at index.ts:561:22 at async.ts:68:20 at app_sync (app.ts:20:16) at runHandler (mutators.ts:67:19) at index.ts:57:9 captureException @ index.ts:2 (anonymous) @ index.ts:605 await in (anonymous) (anonymous) @ async.ts:68 app_sync @ app.ts:20 runHandler @ mutators.ts:67 (anonymous) @ index.ts:57Understand this error sync-events.ts:357 unknown error {type: 'error'} (anonymous) @ sync-events.ts:357 yae @ index.browser.ts:70 e.onmessage @ index.browser.ts:137 index.web.ts:88 SELECT timestamp, dataset, row, column, value FROM messages_crdt WHERE timestamp > ? index.ts:563 Error: database disk image is malformed at c.handleError (sql-wasm.js:89:129) at a.step (sql-wasm.js:80:69) at runQuery (index.web.ts:77:19) at db_runQuery (index.ts:129:12) at _fullSync (index.ts:491:10) at index.ts:561:22 at async.ts:68:20 at app_sync (app.ts:20:16) at runHandler (mutators.ts:67:19) at index.ts:57:9 index.ts:2 [Exception] Error: database disk image is malformed at c.handleError (sql-wasm.js:89:129) at a.step (sql-wasm.js:80:69) at runQuery (index.web.ts:77:19) at db_runQuery (index.ts:129:12) at _fullSync (index.ts:491:10) at index.ts:561:22 at async.ts:68:20 at app_sync (app.ts:20:16) at runHandler (mutators.ts:67:19) at index.ts:57:9 captureException @ index.ts:2 (anonymous) @ index.ts:605 await in (anonymous) (anonymous) @ async.ts:68 app_sync @ app.ts:20 runHandler @ mutators.ts:67 (anonymous) @ index.ts:57Understand this error sync-events.ts:357 unknown error {type: 'error'} ### How can we reproduce the issue? See above ### Where are you hosting Actual? Pikapods ### What browsers are you seeing the problem on? Chrome ### Operating System Windows 11
GiteaMirror added the bug label 2026-02-28 20:08:01 -06:00
Author
Owner

@glenndegroote commented on GitHub (Jul 28, 2025):

can this issue be picked up please?

@glenndegroote commented on GitHub (Jul 28, 2025): can this issue be picked up please?
Author
Owner

@matt-fidd commented on GitHub (Jul 29, 2025):

👋
Are there any messages on the server console?
You can try resetting your sync ID or clearing your browser data and reopening?
See if it works in incognito too.

@matt-fidd commented on GitHub (Jul 29, 2025): 👋 Are there any messages on the server console? You can try resetting your sync ID or clearing your browser data and reopening? See if it works in incognito too.
Author
Owner

@glenndegroote commented on GitHub (Jul 29, 2025):

Hi Matt-fidd,

Thanks for your reply.

Generated new budget ID
Reset budget cache
Reset Sync
Cleared browser cache, opened incognito mode - this is what I get in my developper tools after trying to linked the authenticated gocardless request

[cid:243de845-158f-4a07-954f-d1b238c20919]

In the pikapods logs all looks normal I guess

[cid:99ab905e-f07c-4a7e-a318-4360d1b913fd]

Any further suggestion? Where do you think the issue sits?

Kr
Glenn


From: Matt Fiddaman @.>
Sent: Tuesday, July 29, 2025 8:39 AM
To: actualbudget/actual @.
>
Cc: glenndegroote @.>; Author @.>
Subject: Re: [actualbudget/actual] [Bug]: Error: database disk image is malformed (Issue #5277)

[https://avatars.githubusercontent.com/u/81489167?s=20&v=4]matt-fidd left a comment (actualbudget/actual#5277)https://github.com/actualbudget/actual/issues/5277#issuecomment-3130899289

👋
Are there any messages on the server console?
You can try resetting your sync ID or clearing your browser data and reopening?
See if it works in incognito too.


Reply to this email directly, view it on GitHubhttps://github.com/actualbudget/actual/issues/5277#issuecomment-3130899289, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BTQ6ZUYXPEYFFMHESIVAD633K4JLVAVCNFSM6AAAAACAWTRNM6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTCMZQHA4TSMRYHE.
You are receiving this because you authored the thread.

@glenndegroote commented on GitHub (Jul 29, 2025): Hi Matt-fidd, Thanks for your reply. Generated new budget ID Reset budget cache Reset Sync Cleared browser cache, opened incognito mode - this is what I get in my developper tools after trying to linked the authenticated gocardless request [cid:243de845-158f-4a07-954f-d1b238c20919] In the pikapods logs all looks normal I guess [cid:99ab905e-f07c-4a7e-a318-4360d1b913fd] Any further suggestion? Where do you think the issue sits? Kr Glenn ________________________________ From: Matt Fiddaman ***@***.***> Sent: Tuesday, July 29, 2025 8:39 AM To: actualbudget/actual ***@***.***> Cc: glenndegroote ***@***.***>; Author ***@***.***> Subject: Re: [actualbudget/actual] [Bug]: Error: database disk image is malformed (Issue #5277) [https://avatars.githubusercontent.com/u/81489167?s=20&v=4]matt-fidd left a comment (actualbudget/actual#5277)<https://github.com/actualbudget/actual/issues/5277#issuecomment-3130899289> 👋 Are there any messages on the server console? You can try resetting your sync ID or clearing your browser data and reopening? See if it works in incognito too. — Reply to this email directly, view it on GitHub<https://github.com/actualbudget/actual/issues/5277#issuecomment-3130899289>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BTQ6ZUYXPEYFFMHESIVAD633K4JLVAVCNFSM6AAAAACAWTRNM6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTCMZQHA4TSMRYHE>. You are receiving this because you authored the thread.
Author
Owner

@matt-fidd commented on GitHub (Jul 29, 2025):

Hi Matt-fidd,

Thanks for your reply.

Generated new budget ID

Reset budget cache

Reset Sync

Cleared browser cache, opened incognito mode - this is what I get in my developper tools after trying to linked the authenticated gocardless request

[cid:243de845-158f-4a07-954f-d1b238c20919]

In the pikapods logs all looks normal I guess

[cid:99ab905e-f07c-4a7e-a318-4360d1b913fd]

Any further suggestion? Where do you think the issue sits?

Kr

Glenn


From: Matt Fiddaman @.***>

Sent: Tuesday, July 29, 2025 8:39 AM

To: actualbudget/actual @.***>

Cc: glenndegroote @.>; Author @.>

Subject: Re: [actualbudget/actual] [Bug]: Error: database disk image is malformed (Issue #5277)

[https://avatars.githubusercontent.com/u/81489167?s=20&v=4]matt-fidd left a comment (actualbudget/actual#5277)https://github.com/actualbudget/actual/issues/5277#issuecomment-3130899289

👋

Are there any messages on the server console?

You can try resetting your sync ID or clearing your browser data and reopening?

See if it works in incognito too.

Reply to this email directly, view it on GitHubhttps://github.com/actualbudget/actual/issues/5277#issuecomment-3130899289, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BTQ6ZUYXPEYFFMHESIVAD633K4JLVAVCNFSM6AAAAACAWTRNM6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTCMZQHA4TSMRYHE.

You are receiving this because you authored the thread.

Sorry, it doesn't look like those images have come through. Could you try posting them again through the GitHub UI please?

@matt-fidd commented on GitHub (Jul 29, 2025): > Hi Matt-fidd, > > > > Thanks for your reply. > > > > Generated new budget ID > > Reset budget cache > > Reset Sync > > Cleared browser cache, opened incognito mode - this is what I get in my developper tools after trying to linked the authenticated gocardless request > > > > [cid:243de845-158f-4a07-954f-d1b238c20919] > > > > In the pikapods logs all looks normal I guess > > > > [cid:99ab905e-f07c-4a7e-a318-4360d1b913fd] > > > > Any further suggestion? Where do you think the issue sits? > > > > Kr > > Glenn > > > > ________________________________ > > From: Matt Fiddaman ***@***.***> > > Sent: Tuesday, July 29, 2025 8:39 AM > > To: actualbudget/actual ***@***.***> > > Cc: glenndegroote ***@***.***>; Author ***@***.***> > > Subject: Re: [actualbudget/actual] [Bug]: Error: database disk image is malformed (Issue #5277) > > > > [https://avatars.githubusercontent.com/u/81489167?s=20&v=4]matt-fidd left a comment (actualbudget/actual#5277)<https://github.com/actualbudget/actual/issues/5277#issuecomment-3130899289> > > > > 👋 > > Are there any messages on the server console? > > You can try resetting your sync ID or clearing your browser data and reopening? > > See if it works in incognito too. > > > > — > > Reply to this email directly, view it on GitHub<https://github.com/actualbudget/actual/issues/5277#issuecomment-3130899289>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BTQ6ZUYXPEYFFMHESIVAD633K4JLVAVCNFSM6AAAAACAWTRNM6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTCMZQHA4TSMRYHE>. > > You are receiving this because you authored the thread. > > Sorry, it doesn't look like those images have come through. Could you try posting them again through the GitHub UI please?
Author
Owner

@glenndegroote commented on GitHub (Jul 30, 2025):

Hi Matt-fidd,

Herewith the images.

Kr
Glenn

Image Image
@glenndegroote commented on GitHub (Jul 30, 2025): Hi Matt-fidd, Herewith the images. Kr Glenn <img width="1855" height="718" alt="Image" src="https://github.com/user-attachments/assets/2162af2f-97d8-464b-aec1-7d14b61f53b7" /> <img width="533" height="363" alt="Image" src="https://github.com/user-attachments/assets/a0abdd07-18e8-473a-a9b9-df3c911e2071" />
Author
Owner

@matt-fidd commented on GitHub (Aug 3, 2025):

Are you able to export your budget file, and reimport it to https://app.actualbudget.org to see if it works? All data stays on your device so there's no issue with uploading it there.

@matt-fidd commented on GitHub (Aug 3, 2025): Are you able to export your budget file, and reimport it to https://app.actualbudget.org to see if it works? All data stays on your device so there's no issue with uploading it there.
Author
Owner

@glenndegroote commented on GitHub (Aug 4, 2025):

Hi Matt-Fidd,

I managed to export all the transactions linked to the account in trouble, created a "test" account and successfully imported all the transactions. Balance is matching, all transactions were categorised

Kr
Glenn


From: Matt Fiddaman @.>
Sent: Sunday, August 3, 2025 9:20 AM
To: actualbudget/actual @.
>
Cc: glenndegroote @.>; Author @.>
Subject: Re: [actualbudget/actual] [Bug]: Error: database disk image is malformed (Issue #5277)

[https://avatars.githubusercontent.com/u/81489167?s=20&v=4]matt-fidd left a comment (actualbudget/actual#5277)https://github.com/actualbudget/actual/issues/5277#issuecomment-3147937924

Are you able to export your budget file, and reimport it to https://app.actualbudget.org to see if it works? All data stays on your device so there's no issue with uploading it there.


Reply to this email directly, view it on GitHubhttps://github.com/actualbudget/actual/issues/5277#issuecomment-3147937924, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BTQ6ZU7EZR3CAXVHHFJOFYT3LWZ5DAVCNFSM6AAAAACAWTRNM6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTCNBXHEZTOOJSGQ.
You are receiving this because you authored the thread.

@glenndegroote commented on GitHub (Aug 4, 2025): Hi Matt-Fidd, I managed to export all the transactions linked to the account in trouble, created a "test" account and successfully imported all the transactions. Balance is matching, all transactions were categorised Kr Glenn ________________________________ From: Matt Fiddaman ***@***.***> Sent: Sunday, August 3, 2025 9:20 AM To: actualbudget/actual ***@***.***> Cc: glenndegroote ***@***.***>; Author ***@***.***> Subject: Re: [actualbudget/actual] [Bug]: Error: database disk image is malformed (Issue #5277) [https://avatars.githubusercontent.com/u/81489167?s=20&v=4]matt-fidd left a comment (actualbudget/actual#5277)<https://github.com/actualbudget/actual/issues/5277#issuecomment-3147937924> Are you able to export your budget file, and reimport it to https://app.actualbudget.org to see if it works? All data stays on your device so there's no issue with uploading it there. — Reply to this email directly, view it on GitHub<https://github.com/actualbudget/actual/issues/5277#issuecomment-3147937924>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BTQ6ZU7EZR3CAXVHHFJOFYT3LWZ5DAVCNFSM6AAAAACAWTRNM6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTCNBXHEZTOOJSGQ>. You are receiving this because you authored the thread.
Author
Owner

@matt-fidd commented on GitHub (Aug 6, 2025):

Hi Matt-Fidd,

I managed to export all the transactions linked to the account in trouble, created a "test" account and successfully imported all the transactions. Balance is matching, all transactions were categorised

Kr
Glenn

Thanks, sounds like something just went a little sideways somewhere in the sync. I'll close this off because it sounds like you got it sorted and there's no way for me to replicate this.

@matt-fidd commented on GitHub (Aug 6, 2025): > Hi Matt-Fidd, > > I managed to export all the transactions linked to the account in trouble, created a "test" account and successfully imported all the transactions. Balance is matching, all transactions were categorised > > Kr > Glenn > […](#) Thanks, sounds like something just went a little sideways somewhere in the sync. I'll close this off because it sounds like you got it sorted and there's no way for me to replicate this.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#2252