monlovesmango / astral

Nostr client made with Quasar

Home Page:https://astral.ninja

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error: database disk image is malformed

Giszmo opened this issue · comments

Somehow Astral stopped working. After not seeing a post in one tab that I saw in another tab I closed already, I hit F5 and later closed and opened the tab without seeing any log output on the dev console for minutes, with no loading of events whatsoever, I hit shift-reload and got:

01:06:13.182 Layout was forced before the page was fully loaded. If stylesheets are not yet loaded this may cause a flash of unstyled content. [node.js:369](resource://devtools/server/actors/inspector/node.js)
01:06:15.970 launch for  46fcbe3065eaf1ae7811465924e48923363ff3f526bd6f73d7c184b16bd8ce4d [app.65801ba0.js:1:58365](https://astral.ninja/js/app.65801ba0.js)
01:06:17.847 Reading meta... [c2018daa-97c2-4cc5-8cb1-d95252afb78e:1:7805](blob:https://astral.ninja/c2018daa-97c2-4cc5-8cb1-d95252afb78e)
01:06:17.847 Reading meta... [c2018daa-97c2-4cc5-8cb1-d95252afb78e:1:7805](blob:https://astral.ninja/c2018daa-97c2-4cc5-8cb1-d95252afb78e)
01:06:17.849 Got meta for events.absurd-sql: 
Object { size: 12582912 }
[c2018daa-97c2-4cc5-8cb1-d95252afb78e:1:7861](blob:https://astral.ninja/c2018daa-97c2-4cc5-8cb1-d95252afb78e)
01:06:17.849 Got meta for events.absurd-sql: 
Object { size: 12582912 }
[c2018daa-97c2-4cc5-8cb1-d95252afb78e:1:7861](blob:https://astral.ninja/c2018daa-97c2-4cc5-8cb1-d95252afb78e)
01:06:17.855 Opened! [vendor.a150482c.js:7:20717](https://astral.ninja/js/vendor.a150482c.js)
01:06:17.855 Opened! [vendor.a150482c.js:7:20717](https://astral.ninja/js/vendor.a150482c.js)
01:06:17.950 Error: database disk image is malformed

I see a spinner but no loaded event data.

apparently this happens when more than one tab is open. let me see what I can do about this.

workaround is to clear site data and re-enter key.

you can now have multiple tags open without corrupting database. fyi, only one tab at a time will have access to the db (whichever one is last active).

I ran into this Error again.