All login data lost
I didn't update, didn't upgrade, restore or whatever else out of the ordinary, suddenly all my login data is gone. And before you tell me about any "Old Firefox Data" folder on the desktop, there isn't one.
All Replies (13)
Check your profile folder for a logins file or logins backup file: eg. C:\Users\<username>\AppData\Roaming\Mozilla\Firefox\Profiles\xxxxxxxx.default\logins.json
Also try this even if you haven't updated: https://support.mozilla.org/en-US/kb/recover-user-data-missing-after-firefox-update
Sorry, profile change didn't work and there is no logins.json file in the folder
You did find the current profile folder ?
You can use the button on the "Help -> More Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page (Root directory).
- Help -> More Troubleshooting Information -> Profile Folder/Directory:
Windows: Open Folder; Linux: Open Directory; Mac: Show in Finder - https://support.mozilla.org/en-US/kb/profiles-where-firefox-stores-user-data
cor-el said
You did find the current profile folder ? You can use the button on the "Help -> More Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page (Root directory).
- Help -> More Troubleshooting Information -> Profile Folder/Directory:
Windows: Open Folder; Linux: Open Directory; Mac: Show in Finder- https://support.mozilla.org/en-US/kb/profiles-where-firefox-stores-user-data
Ok, found the file, not in "xxxxxxxx.default" but in "xxxxxxxx.default-release". How do I proceed from here? Just copy it to the other one?
Go to about:profiles again and if the 'default-release' profile is listed there which it should be then try the option to 'launch profile in new browser'.
Check that the new browser window has all your correct profile and login info. If it does then you can go back to about:profiles and set the 'default-release' as the default profile.
Neon Blancmange said
Go to about:profiles again and if the 'default-release' profile is listed there which it should be then try the option to 'launch profile in new browser'. Check that the new browser window has all your correct profile and login info. If it does then you can go back to about:profiles and set the 'default-release' as the default profile.
Can't even upload the screens i took...long story short, it still doesn't work. Can i at least get the info out of the logins.json file somehow?
Okulungisiwe
What profiles do you have? about:profiles or about:support will show you. You can copy logins.json from one profile to another but I'm not sure you have more than one profile. https://support.mozilla.org/en-US/kb/recovering-important-data-from-an-old-profile
logins.json and key3.db [v58+]key4.db : These are the password files. You will need Both to recover your data.
Firefox 80+ has a logins-backup.json file in the profile folder that can be used in case of issues with logins.json or to undo an accidental delete of a login, so you can check if you can find this file in the profile folder or in a backup and replace the current logins.json.
Make sure to keep a backup copy of all involved files (logins.json and key4.db and logins-backup.json)
You can use the button on the "Help -> More Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page.
Help -> More Troubleshooting Information -> Profile Folder/Directory: Windows: Open Folder; Linux: Open Directory; Mac: Show in Finder https://support.mozilla.org/en-US/kb/profiles-where-firefox-stores-user-data
If you use a Primary Password then you can prevent losing passwords by canceling the PP prompt. You need to logout beforehand by canceling a PP prompt, e.g. by clicking the eye icon in Lockwise (about:logins).
Also see; https://support.mozilla.org/en-US/kb/recover-user-data-missing-after-firefox-update
I noticed that there's a "logins.json.corrupt" file, which is 43kb in size and a "logins.json" file which is 1kb... Also, if you check the screenshot above, there's only a "key4.db" file. So i guess, somehow, the logins file is corrupt and i can't get the data? How can i extract them guys?
Move both the logins.json and logins-backup.json files to another location then rename logins.json.corrupt to logins.json
Neon Blancmange said
Move both the logins.json and logins-backup.json files to another location then rename logins.json.corrupt to logins.json
Nope, didn't work. Same as before, no data in logins and if i restart firefox, it .corrupt files are created from scratch
You can rename logins.json.corrupt to loginCPT.json (file needs to have a .json file extension) and open this file in a Firefox tab to check whether the file is valid JSON.
cor-el said
You can rename logins.json.corrupt to loginCPT.json (file needs to have a .json file extension) and open this file in a Firefox tab to check whether the file is valid JSON.
Did it, same story, this is the message i get "SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data"