為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Lost all passwords

  • 8 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 DrGreg

more options

After upgrading to FF 40.0.3 on my mac and experiencing a crash, I have lost all my stored passwords. The signon.sqlite file appears to contain all my stored passwords. I tried the re-setting signonimported from sqlite to default, shutting FF, deleting login.jsign and then restarting FF (as recommended on the support site). This process recreated the login.jsign file, which appeared to have all the information, but FF still shows no stored passwords in preferences. I have no extensions that control passwords. Any advice?

After upgrading to FF 40.0.3 on my mac and experiencing a crash, I have lost all my stored passwords. The signon.sqlite file appears to contain all my stored passwords. I tried the re-setting signonimported from sqlite to default, shutting FF, deleting login.jsign and then restarting FF (as recommended on the support site). This process recreated the login.jsign file, which appeared to have all the information, but FF still shows no stored passwords in preferences. I have no extensions that control passwords. Any advice?

所有回覆 (8)

more options

Do you know how the passwords were lost?

Look on your desktop. Do you see a folder called; Old Firefox?

https://support.mozilla.org/en-US/kb/recovering-important-data-from-an-old-profile

https://support.mozilla.org/en-US/kb/back-and-restore-information-firefox-profiles


Your passwords are stored in the key3.db and logins.json files.

Firefox 32 and later builds store the passwords in the logins.json file in the profile folder and no longer use the key3.db and signons.sqlite files. You can force Firefox to reimport the passwords from the signons.sqlite file.

  • reset the signon.importedFromSqlite pref on the about:config page to the default value via the right-click context menu
  • delete the logins.json file in the Firefox profile folder with Firefox closed

When you restart Firefox then you should have the signon.importedFromSqlite pref with the value set to true and you should have the passwords imported in the Password Manager unless there may have been errors.

You can use this button to go to the currently used Firefox profile folder: Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)

more options

Hi Fred, Nothing on the desktop. The 2nd part of your suggestion is exactly what I tried before asking the question (my original question states this), I had read quite a few posts that all recommended the same method, unfortunately it didn't work in my case, hence the question.

more options

Unless they ended up in the computers recycle bin . . . . . . .

In the event that the passwords information is lost, you should record all information in a separate text file somewhere else on your hard drive, or written down. You can easily copy and paste if you need to do so. If you are concerned about someone else looking at that file, you can compress it using a password.


These can't get your data back, but will help in the future.

These add-ons can be a great help by backing up and restoring Firefox

FEBE (Firefox Environment Backup Extension) {web link} FEBE allows you to quickly and easily backup your Firefox extensions, history, passwords, and more. In fact, it goes beyond just backing up -- It will actually rebuild your saved files individually into installable .xpi files. It will also make backup of files that you choose.

OPIE {web link} Import/Export extension preferences

more options

Thanks for your reply Fred. Nothing in the recycle bin either. The odd thing is that the newly -recreated login.json file seems to populated with password/login type information. If the sqlite file was corrupted, I would assume that it wouldn't be able to recreate the login.json file. Obviously, I am not going to post either file here, but perhaps somebody from mozilla could tell me what to look for in an uncorrupted file so that I could check both files myself.

more options

I decided to instal Lastpass, which imported most, but not all, of my passwords. The few that it didn't find shouldn't be too hard to reset.

more options

Good luck. Remember to record your passwords. Most site login pages have a "lost password" link.

more options

Note that on Mac you may also have a backup of logins.json and key3.db in the Time Machine if you use it.

more options

Thank you both for your comments.