搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

Old passwords do not show up in new firefox quantum installation after copying over key3.db and logins.json

  • 9 个回答
  • 2 人有此问题
  • 4 次查看
  • 最后回复者为 FredMcD

more options

I was trying to import my passwords from an old firefox 56 profile by replacing the key3.db and logins.json files (as per the instructions given here https://support.mozilla.org/en-US/kb/recovering-important-data-from-an-old-profile#w_passwords). But when I looked at "saved logins" in about:preferences in the quantum installation once the two files were copied over no logins were added at all! I'm certain that the both the source and destination I used were correct.

I was trying to import my passwords from an old firefox 56 profile by replacing the key3.db and logins.json files (as per the instructions given here https://support.mozilla.org/en-US/kb/recovering-important-data-from-an-old-profile#w_passwords). But when I looked at "saved logins" in about:preferences in the quantum installation once the two files were copied over no logins were added at all! I'm certain that the both the source and destination I used were correct.

由ouyihkj于修改

所有回复 (9)

more options

Did you replace the files while Firefox was closed?

You can use the button on the "Help -> Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page.

If there is a problem with logins.json then Firefox usually will add a .corrupted.

Did you check the permissions of the files if you copied them from another location?


Firefox uses two locations for the Firefox profile folder, so make sure to look in the correct location. Location used for the main profile that keeps your personal data in "AppData\Roaming".

  • C:\Users\<user>\AppData\Roaming\Mozilla\Firefox\Profiles\<profile>\
  • ~/Library/Application Support/Firefox/Profiles/<profile>/

Location used for the disk cache and other temporary files in "AppData\Local".

  • C:\Users\<user>\AppData\Local\Mozilla\Firefox\Profiles\<profile>\
  • ~/Library/Caches/Firefox/Profiles/
more options

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.

more options

cor-el said

Did you replace the files while Firefox was closed?

Yes.

As for the permissions I can't see any problems either. SYSTEM, the username I'm logged in as, and administrators all have full control.

I didn't bring this up earlier as I assumed it wasn't relevant but the old profile is from macOS while the new installation is on windows 7. So the directories look like

C:\Users\[username]\AppData\Roaming\Mozilla\Firefox\Profiles\[profile folder] \Users\[username]\Library\Application Support\Firefox\Profiles\[profile folder]

Is the fact that it's between different OSes potentially an issue?

more options

FredMcD said

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.

I still have my old 56 profile that is still functioning on another OS. Thanks, but I'm fine. Only thing that's at stake here is the convenience.

more options

ouyihkj said

Is the fact that it's between different OSes potentially an issue?

Different systems may store data differently.

more options

... anyone?

more options
more options

flofl0 said

https://support.mozilla.org/en-US/questions/1202039#answer-1070656

Edit: According to my understanding, I can facilitate a fallback from key4.db to key3.db by removing the newer SQLite versions. I'm not sure exactly what this consists of. Is simply deleting key4.db sufficient?

由ouyihkj于修改

more options

Yes, IF the original key3 file is still there.