This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Buscar en Ayuda

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Firefox corrupted the database of passwords (logins.json)

  • 3 respuestas
  • 0 tienen este problema
  • 2 visitas
  • Última respuesta de poljos

more options

In the middle of my FF session, about:logins stopped showing any stored logins/passwords. Although the automatic form filling continued to work on every page I tested.

  • FF version is 115.9.0esr (64-bit) on Debian 12 Linux
  • I use Master Password

According older questions for the similar topic:

  • there is no logins.json.corrupt file in the profile directory
  • I'm running FF on Linux and there is no "Old data" or similar subdirectory
  • for the same reason, I do not run AVG or any other MS Windows utility and no external program touched directories with FF profiles
  • FF restart did not help but, surprise, the form filling continued working
  • I tried to create new empty profile, copy logins.json and key4.db files into it and start FF with this new profile - resulted same behavior

After more debugging, I've found the probable cause: in logins.json file, the first item contains unecrypted username and password instead of encrypted ones. As a test, I stopped FF, removed this item from logins.json and restarted FF. Now, everything looks OK, for the first sight.

1. Is it really OK or something else crashes tomorrow? :) 2. What's the correct way to fix such issue? 3. Is it a known problem? I cannot reproduce it in any way nor I know what caused this corruption. So I cannot report new Bug.

Thanks for your answers. Milan

In the middle of my FF session, about:logins stopped showing any stored logins/passwords. Although the automatic form filling continued to work on every page I tested. * FF version is 115.9.0esr (64-bit) on Debian 12 Linux * I use Master Password According older questions for the similar topic: * there is no logins.json.corrupt file in the profile directory * I'm running FF on Linux and there is no "Old data" or similar subdirectory * for the same reason, I do not run AVG or any other MS Windows utility and no external program touched directories with FF profiles * FF restart did not help but, surprise, the form filling continued working * I tried to create new empty profile, copy logins.json and key4.db files into it and start FF with this new profile - resulted same behavior After more debugging, I've found the probable cause: in logins.json file, the first item contains unecrypted username and password instead of encrypted ones. As a test, I stopped FF, removed this item from logins.json and restarted FF. Now, everything looks OK, for the first sight. 1. Is it really OK or something else crashes tomorrow? :) 2. What's the correct way to fix such issue? 3. Is it a known problem? I cannot reproduce it in any way nor I know what caused this corruption. So I cannot report new Bug. Thanks for your answers. Milan

Todas las respuestas (3)

more options

S takovým "náhlým" zmizením hesel jsem se nesetkal. Možná, pokud používáš nějakou synchronizaci Firefoxu, tak se to zesynchronizovalo nějakým opačným směrem.

Neklikl jsi někde ve Firefoxu na Obnovu Firefoxu? Pak by na PLoše měla být záloha toho starého profilu (i s hesly).

Ono se to špatně poslouchá, ale stále platí ZÁLOHOVAT!

more options

Yes, I was surprised because I do not use any sync or anything touching my DB of logins/passwords. Yes, I had a backup but it was some months old so I'm really glad I, hopefully, fixed it. And that's my question - can I check it is fixed? No missing or unreadeable items or so.

BTW: about backups... Sure one should make backups regularly but, on the other hand, such service like this database should be taken really seriously by FF team. I was surprised how many issues I've found and several of them without any clear resolution.

more options

Poděkování můžeš napsat na web autorů Firefoxu. Přístup k němu najdeš přes nabídku Nápověda.