Dexie.js
Dexie.js copied to clipboard
UnknownError: Internal error opening backing store for indexedDB.open
I know there was a similar bug report (#271 ) but I'm still seeing this reported in our sentry. We're seeing this every few days so it's not a common recurrence. We're running Electron 24.1 and have app.requestSingleInstanceLock() inside of our electron app. Any guidance on how to solve this?
This could be anything I suppose (out of scope for what Dexie.js can control) such as the user deleting the physical file while electron is opening it, or that the user has a corrupt file system. But I would be curious to know how many users you have approximately? (to get a sense of how much every few days would be per user)
At least according to sentry, it's 1 user every ~2 days off of thousands of users. The issue is that nothing else works until the user hits refresh
We had a similar problem recently,When the function「bulkDelete」 is called in my code
The error message is : 「DatabaseClosedError UnknownError Internal error opening backing store for indexedDB.open. UnknownError: Internal error opening backing store for indexedDB.open.」
Occurred 24514 times in the past month, affecting 102 users,I don't even know how to reproduce and what is the actual impact on users
version: [email protected]
We had a similar problem recently,When the function「bulkDelete」 is called in my code
The error message is : 「DatabaseClosedError UnknownError Internal error opening backing store for indexedDB.open. UnknownError: Internal error opening backing store for indexedDB.open.」
Occurred 24514 times in the past month, affecting 102 users,I don't even know how to reproduce and what is the actual impact on users
version: [email protected]
What browser or platform are your users on (Electron, Capacitor or browsers?) and approx total number of users you have?
According to sentry, it's been on chrome, safari and electron.
What browser or platform are your users on (Electron, Capacitor or browsers?) and approx total number of users you have?
@dfahlander chrome 115.0.5790.114
the same issue, chrome V123.0.6312.86, window 11
Same here, got DatabaseClosedError randomly. Can confirm that I initialized dexie with autoOpen: true and not call db.close() before.
To anyone looking and commenting this, please provide dexie version you are using, along with the browser and its version. We have more workarounds in place for these kind of issues in dexie@4. (See also issue 543)
To anyone looking and commenting this, please provide dexie version you are using, along with the browser and its version. We have more workarounds in place for these kind of issues in dexie@4. (See also issue 543)
dexie: "^4.0.8", chrome version from 107 to 124 os: ubuntu 18.04 / ubuntu 20.04