electron: [Bug]: ERROR:service_worker_storage.cc(1904)] Failed to delete the database: Database IO error

Preflight Checklist

Electron Version

19.0.8

What operating system are you using?

macOS

Operating System Version

Mac OS monterey version 12.0.1

What arch are you using?

arm64 (including Apple Silicon)

Last Known Working Electron version

No response

Expected Behavior

There should be no error while navigating the pages

Actual Behavior

But I keep getting following error

[61692:0723/135956.830004:ERROR:service_worker_storage.cc(1904)] Failed to delete the database: Database IO error

Testcase Gist URL

No response

Additional Information

hi , I get following error rangomly when i am loading url like https://google.com etc , when i do the same activity again its not occuring again… but it occurs again randomly.

Also because of this error , some webpages are not loading fine with following error

Uncaught (in promise) DOMException: Failed to register a ServiceWorker: The document is in an invalid state.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 4
  • Comments: 15 (3 by maintainers)

Most upvoted comments

I’m getting the same error when comitting using VSCode as default editor, I have to say that the commit works but I don’t know if something else is broken elsewhere due to that error

Hi, found out this bug is appearing when I open the app two times… if i close another app , this error is not appearing.

Ensure that only one instance of the app is running and if you need to run multiple, use a different userDataDir.