본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

Crashed, old profile does not load logins. Files are different!

  • 12 답장
  • 1 이 문제를 만남
  • 3 보기
  • 최종 답변자: Ben

more options

windows 10 crashed, had to start over. Saved a profile last November, copied it over, Nightly can not recover my passwords. Old profile used key3.db, new profile uses key4.db. How can I make it work?

windows 10 crashed, had to start over. Saved a profile last November, copied it over, Nightly can not recover my passwords. Old profile used key3.db, new profile uses key4.db. How can I make it work?

선택된 해결법

Solved. I am not sure how. After extensive searching, I found a cmd line to set environment varfiables. It did not work. Having no knowledge of environment vars. or how to set them, I clipped off the problematic part and ran "set NSS_DEFAULT_DB_TYPE=sql" through Windows Power Shell. That is supposed to force FF to use the old sqlite db files. No change, of cuss. I created a new profile, renamed it and renamed the year old profile to match it. Bingo! both programs now have my old logins!

Thanks for your help!!!

문맥에 따라 이 답변을 읽어주세요 👍 1

모든 댓글 (12)

more options

Your passwords are stored in two different files, both of which are required:

   key4.db - This file stores your key database for your passwords. To transfer saved passwords, you must copy this file along with the following file.
   logins.json - Saved passwords. 

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

more options

I saved a profile last November. It contains key3.db, not key4.db which the new version requires.

I copied all the files from the old profile to a new profile. No saved logins!!!

How can I convert the old db file to the new format?

more options

You need to delete an existing key4.db file to make Firefox fallback to logins.json and key3.db.

You may have to remove pkcs11.txt and secmode.db.

more options

File deletions and setting the environment variable failed. No logins!

more options

What Firefox version created/used the profile with the logins.json and key3.db files you used?

Do these files work in a separate profile with the current Firefox release?

more options

cor-el said

What Firefox version created/used the profile with the logins.json and key3.db files you used? Do these files work in a separate profile with the current Firefox release?

I have no clue. I began using Nightly when a windows update killed the audio in videos. Everything was lost in a crash. All I have left that I can find is one profile. I am presently searching a 1TB external for key4.db and doubt there is any hope.

I can not make Nightly or Thunderbird recognize old profiles, must make a new profile and copy files into it. The Profile Mgr. does not see them. The current try comes from a backup made 11/18/17.

Search came back empty. The backup I used, from last May, did not replace all files. It is nothing but a long list of zip folders with no indication of the contents. A search for key4.db came up empty.

more options

Why don't you try the current Firefox release?

Nightly updates twice a day and is an unstable development branch meant for experienced users.

You can find the full version of the current Firefox release (62.0.3) in all languages and all operating systems here:

more options

I had both installed, generally used Nightly, I like it. I doubt that FF will differ in regard to the profile but I will try it. In the mean time I have no access to my logins.

I have fat finger syndrome and visual impairment so I depend on the saved passwords!

more options

Firefox gives the same result except that now neither program will set new history. Both report that another program is using the file even though only one is running.

more options

선택된 해결법

Solved. I am not sure how. After extensive searching, I found a cmd line to set environment varfiables. It did not work. Having no knowledge of environment vars. or how to set them, I clipped off the problematic part and ran "set NSS_DEFAULT_DB_TYPE=sql" through Windows Power Shell. That is supposed to force FF to use the old sqlite db files. No change, of cuss. I created a new profile, renamed it and renamed the year old profile to match it. Bingo! both programs now have my old logins!

Thanks for your help!!!

more options

Note that 'sql' (SQLite) is the newer format and the old format was 'dbm' (Berkeley Database) although SQL has been supported since 2011. So you would have to use set NSS_DEFAULT_DB_TYPE=dbm to use key3.db

more options

Tried the rename trick on 760, it worked without setting any env. vars.