ابحث في الدعم

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

Empty history menu, address bar still populated and visit counts still exist

  • 3 ردود
  • 1 has this problem
  • 6 views
  • آخر ردّ كتبه cor-el

more options

After migration my user directory to a different partition, I've lost all the items in my history menu and my places.sqlite file is no longer updating. However I can see in my address bar that all my regular suggestions and recommendations are still there, still auto-completing as they did before and when I visit a site, its visit count is properly bloated. I'm not sure if this is due to account sync but I've disconnected it now. How can I reconcile my files and repopulate my history menu so I can properly search it?

After migration my user directory to a different partition, I've lost all the items in my history menu and my places.sqlite file is no longer updating. However I can see in my address bar that all my regular suggestions and recommendations are still there, still auto-completing as they did before and when I visit a site, its visit count is properly bloated. I'm not sure if this is due to account sync but I've disconnected it now. How can I reconcile my files and repopulate my history menu so I can properly search it?

الحل المُختار

How did you transfer this profile ?

Firefox uses two locations for the Firefox profile folder. Location used for the main profile that keeps your personal data (Root Directory on about:profiles).

  • C:\Users\<user>\AppData\Roaming\Mozilla\Firefox\Profiles\<profile>

Location used for the disk cache and other temporary files (Local Directory on about:profiles).

  • C:\Users\<user>\AppData\Local\Mozilla\Firefox\Profiles\<profile>

If you use Sync then best is to disconnect Sync temporarily during troubleshooting.

This can be caused by a problem with the places.sqlite and favicons.sqlite databases in the Firefox profile folder.

  • use "Verify Integrity" button on the "Help -> Troubleshooting Information" (about:support) page

If errors are reported with "Verify Integrity", close and restart Firefox or reboot and retry.

If "Verify Integrity" cannot repair places.sqlite, rename/remove all places.sqlite and favicons.sqlite files in the Firefox profile folder with Firefox closed. Firefox will rebuild places.sqlite and restore the bookmarks from a recent JSON backup in the bookmarkbackups folder.

  • keep a backup copy of places.sqlite in case a new places.sqlite database has to be created

See also:

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.


You can create a new profile as a quick test to see if your current profile is causing the problem.

See "Creating a profile":

If the new profile works then you can transfer files from a previously used profile to the new profile, but be cautious not to copy corrupted files to avoid carrying over problems.


You can copy certain files with Firefox closed to the current profile folder to transfer or recover personal data. Note that best is to avoid copying a full profile folder. Note that you should be cautious with copying SQLite database files if you previously had problems.


  • bookmarks and history: places.sqlite
  • favicons: favicons.sqlite
  • bookmark backups: compressed .jsonlz4 JSON backups in the bookmarkbackups folder
  • cookies.sqlite for the Cookies
  • formhistory.sqlite for saved autocomplete Form Data
  • logins.json (encrypted logins;32+) and key4.db (decryption key;58+) for Passwords saved in the Password Manager
    key3.db support ended in 73+; to use key3.db in 58-72, make sure to remove key4.db
  • cert9.db (58+) for (intermediate) certificates stored in the Certificate Manager
  • persdict.dat for words added to the spell checker dictionary
  • permissions.sqlite for Permissions and possibly content-prefs.sqlite for other website specific data (Site Preferences)
  • sessionstore.jsonlz4 for open tabs and pinned tabs (see also the sessionstore-backups folder)

Read this answer in context 👍 1

All Replies (3)

more options

الحل المُختار

How did you transfer this profile ?

Firefox uses two locations for the Firefox profile folder. Location used for the main profile that keeps your personal data (Root Directory on about:profiles).

  • C:\Users\<user>\AppData\Roaming\Mozilla\Firefox\Profiles\<profile>

Location used for the disk cache and other temporary files (Local Directory on about:profiles).

  • C:\Users\<user>\AppData\Local\Mozilla\Firefox\Profiles\<profile>

If you use Sync then best is to disconnect Sync temporarily during troubleshooting.

This can be caused by a problem with the places.sqlite and favicons.sqlite databases in the Firefox profile folder.

  • use "Verify Integrity" button on the "Help -> Troubleshooting Information" (about:support) page

If errors are reported with "Verify Integrity", close and restart Firefox or reboot and retry.

If "Verify Integrity" cannot repair places.sqlite, rename/remove all places.sqlite and favicons.sqlite files in the Firefox profile folder with Firefox closed. Firefox will rebuild places.sqlite and restore the bookmarks from a recent JSON backup in the bookmarkbackups folder.

  • keep a backup copy of places.sqlite in case a new places.sqlite database has to be created

See also:

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.


You can create a new profile as a quick test to see if your current profile is causing the problem.

See "Creating a profile":

If the new profile works then you can transfer files from a previously used profile to the new profile, but be cautious not to copy corrupted files to avoid carrying over problems.


You can copy certain files with Firefox closed to the current profile folder to transfer or recover personal data. Note that best is to avoid copying a full profile folder. Note that you should be cautious with copying SQLite database files if you previously had problems.


  • bookmarks and history: places.sqlite
  • favicons: favicons.sqlite
  • bookmark backups: compressed .jsonlz4 JSON backups in the bookmarkbackups folder
  • cookies.sqlite for the Cookies
  • formhistory.sqlite for saved autocomplete Form Data
  • logins.json (encrypted logins;32+) and key4.db (decryption key;58+) for Passwords saved in the Password Manager
    key3.db support ended in 73+; to use key3.db in 58-72, make sure to remove key4.db
  • cert9.db (58+) for (intermediate) certificates stored in the Certificate Manager
  • persdict.dat for words added to the spell checker dictionary
  • permissions.sqlite for Permissions and possibly content-prefs.sqlite for other website specific data (Site Preferences)
  • sessionstore.jsonlz4 for open tabs and pinned tabs (see also the sessionstore-backups folder)

more options

I was moving my entire Windows User Directory from one partition to another. I created a new Windows User on the other partition, and copied my entire AppData folder over it. It was likely my bookmarks/tabs and syncs causing the address bar behaviour, there were definitely sites missing from it.

> Task: checkIntegrity + The database is corrupt + The database has been REINDEXed + The database is now sane + pragma_cache_size is -2048

Looks like it worked, thanks. If it did not and I had to rename my files and rebuild them, how would I re-integrate them into the working databases?

more options

If Firefox can't repair the database or otherwise there need to be a new database created then either will Firefox rebuild the bookmarks from a backup in the bookmarkbackups folder or you need to restore a backup yourself. There is no backup of the history, so history is always lost when a new places.sqlite is created.