Przeszukaj pomoc

Unikaj oszustw związanych z pomocą.Nigdy nie będziemy prosić Cię o dzwonienie na numer telefonu, wysyłanie SMS-ów ani o udostępnianie danych osobowych. Zgłoś podejrzaną aktywność, korzystając z opcji „Zgłoś nadużycie”.

Więcej informacji

Lost logins, have a file in Profile called logins.json.corrupt, can't fix

  • 4 odpowiedzi
  • 0 osób ma ten problem
  • 7 wyświetleń
  • Ostatnia odpowiedź od bredwh

more options

I'm having trouble with my laptop battery and my laptop completely died. I got it working again but now Firefox doesn't have my logins for some reason. The Profile folder showed logins.json, logins.json.corrupt, and logins-backup.json. I changed logins.json to logins-old.json and changed logins.json.corrupt to logins.json like I saw in many solutions but that does not work. It just becomes logins.json.corrupt again. I tried the same with Logins-backup.json but still just changed to corrupt. I refreshed firefox but still the same. I made a new profile and copied the file and tried to get it to work there but still changes back to corrupt every time. I'm Windows 8.1 so there is no Previous Versions tab in properties so I can't go back to a previous version of the file. Is there ajny way to fix this and get my passwords back?

I'm having trouble with my laptop battery and my laptop completely died. I got it working again but now Firefox doesn't have my logins for some reason. The Profile folder showed logins.json, logins.json.corrupt, and logins-backup.json. I changed logins.json to logins-old.json and changed logins.json.corrupt to logins.json like I saw in many solutions but that does not work. It just becomes logins.json.corrupt again. I tried the same with Logins-backup.json but still just changed to corrupt. I refreshed firefox but still the same. I made a new profile and copied the file and tried to get it to work there but still changes back to corrupt every time. I'm Windows 8.1 so there is no Previous Versions tab in properties so I can't go back to a previous version of the file. Is there ajny way to fix this and get my passwords back?

Wszystkie odpowiedzi (4)

more options

It could be that there is a problem with the key4.db file. This file stores then encryption key that is used to encrypt and decrypt the encrypted usernames and passwords. You can check if you have an older copy of this file. Make sure to keep a backup of all logins.json and key4.db files.

You can look a utility to browse System Restore points.

more options

cor-el said

It could be that there is a problem with the key4.db file. This file stores then encryption key that is used to encrypt and decrypt the encrypted usernames and passwords. You can check if you have an older copy of this file. Make sure to keep a backup of all logins.json and key4.db files. You can look a utility to browse System Restore points.

Okay I installed ShadowExplorer and found a copy of the logins.json and key4.db files from the 22nd. I exported them to a folder then replaced the key4.db file in my current profile but same result. I replaced the logins.json after that as well but still same. I uninstalled Firefox and reinstalled and saved 1 new password to create a new key4.db and logins.json. Then I copied those files in one at a time as well, renaming the others as -old before. I didn't expect that to work really since the db and jsons wouldn't match up. But it only added a corrupt with the old json, not when I just used the old key4.db. I'm not sure what else to do. Because it still happens if I completely replace both the files with the shadow copy ones it must be another file in the profile corrupting it?

more options

Firefox might create a logins.json.corrupt because it can't access/modify logins.json.

You can set signon.debug = true on the about:config page. You can open the about:logins page and check the Browser Console for login related messages. You can clear the messages in the console beforehand and only enable Errors and Warnings, hidden items may have an item count appended. Do not forget to reset signon.debug to false after you are done testing.

Boot the computer in Windows Safe Mode with network support to see if that has effect.

Zmodyfikowany przez cor-el w dniu

more options

Okay with the not working logins.json here is the log from starting firefox, opening browser and going to about:logins (I changed the debug thing, etc. before):

Error: Can't find profile directory. XULStore.jsm:58:15

   load resource://gre/modules/XULStore.jsm:58
   XULStore resource://gre/modules/XULStore.jsm:17

SyntaxError: JSON.parse: bad control character in string literal at line 1 column 4097 of the JSON data JSONFile.sys.mjs:235:17

   load resource://gre/modules/JSONFile.sys.mjs:235

Sync encountered an error - see about:sync-log for the log file. policies.js:982:15

   resetFileLog resource://services-sync/policies.js:982

Key event not available on some keyboard layouts: key=“i” modifiers=“accel,alt,shift” id=“key_browserToolbox” browser.xhtml Error: Can't find profile directory. 3 XULStore.jsm:58:15

   load resource://gre/modules/XULStore.jsm:58
   XULStore resource://gre/modules/XULStore.jsm:17

This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “”. 3 lit.all.mjs:1506:36 This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “”. lit.all.mjs:1506:36



And here is the same thing but with a new logins.json:

Error: Can't find profile directory. XULStore.jsm:58:15

   load resource://gre/modules/XULStore.jsm:58
   XULStore resource://gre/modules/XULStore.jsm:17

Sync encountered an error - see about:sync-log for the log file. policies.js:982:15

   resetFileLog resource://services-sync/policies.js:982

Key event not available on some keyboard layouts: key=“i” modifiers=“accel,alt,shift” id=“key_browserToolbox” browser.xhtml Error: Can't find profile directory. 3 XULStore.jsm:58:15

   load resource://gre/modules/XULStore.jsm:58
   XULStore resource://gre/modules/XULStore.jsm:17

This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “”. 3 lit.all.mjs:1506:36 This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “”. 2 lit.all.mjs:1506:36



So the only difference is "SyntaxError: JSON.parse: bad control character in string literal at line 1 column 4097 of the JSON data JSONFile.sys.mjs:235:17

   load resource://gre/modules/JSONFile.sys.mjs:235"

Is there any way to fix that?

I also tried in Safe Mode with Networking but still same.