Error in local storage - NS_ERROR_FILE_CORRUPTED - firefox

前端 未结 5 1766
自闭症患者
自闭症患者 2020-12-29 18:57

I\'ve been working in a web application and I\'m using local storage. But for some Firefox users I notice that they\'re having the following error:

NS

5条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-29 19:40

    After an OS crash files within the Firefox profile folder might be corrupt and lead to non-functional websites (in my case ironically the Firefox marketplace). Here, webappsstore.sqlite was affected.

    As user @Oli stated over at Ask Ubuntu

    Firefox stores its HTML5 data in a file called webappsstore.sqlite. That's sitting in your profile directory which lurks somewhere in ~/.mozilla/firefox/....default/ (depending on what your profile is called).

    Move that out the way and restart Firefox and everything will come back to life.

    More: https://developer.mozilla.org/en/dom/storage

    If deleted/moved out of your profile folder, Firefox builds a new, sanitized webappsstore.sqlite file. Worked for me.
    Information on where to find your profile folder can be accessed here.

提交回复
热议问题