Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

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

详细了解

Firefox crashed, lost all bookmarks

  • 7 个回答
  • 1 人有此问题
  • 5 次查看
  • 最后回复者为 John99

more options

Firefox crashed (44, Mac OS X 10.7). Was told to create new profile in order to continue. Did that, but lost all bookmarks. Is there any way to get them back? Nothing in Troubleshooting Information seems to solve the problem. Thank you!

Firefox crashed (44, Mac OS X 10.7). Was told to create new profile in order to continue. Did that, but lost all bookmarks. Is there any way to get them back? Nothing in Troubleshooting Information seems to solve the problem. Thank you!

所有回复 (7)

more options

Where were you told to create a new profile and have you got the old one ?

As long a you have the old profiles safe you will be able to get the bookmarks back. If you did a firefox Refresh a copy of the old profile should be on the desktop.

To find your current profile

Find your current profile. Then close Firefox. Find the original profile or a copy of it. Copy the original file places.sqlite and use that to replace the places.sqlite in the current profile. Open Firefox again and it will have the bookmarks and History from the previous profile.

more options

Thanks for the info. I took the places.sqlite document from the profile in the 'Old Firefox Data' folder on the desktop and replaced the newer profile. But there are no bookmarks after opening Firefox. This may be a related issue - bookmarks are lost every time I restart Firefox.

more options

Did you try to replace the profile or just the single file places.sqlite ?

I had only intended you to replace places.sqlite

If you tried to overwrite the whole profile Firefox would have been confused: it would fail to find the current profile, it would not recognise the new copy, it would generate a new default profile with a slightly different name (the leading characters in the directory name change)

If that is what happened just repeat the process, and at least initially only copy over places.sqlite.


Not sure exactly what you looked at when you say

 a related issue - bookmarks are lost every time I restart Firefox.

However for now as we know you created a new profile, apparently by resetting Firefox and lost bookmarks in the process I am hoping the old profile copy on the desktop has valid bookmarks in it.

Do not destroy any profiles or copies of profiles, there are other files that may have bookmarks in them.

Presumably bookmarks were working ok prior to you using a new profile. Any idea roughly how many bookmarks you had ? tens, hundreds, many hundreds

What sizes are the places.sqlite files you have ?

Also see

Do you have other computers or devices with Firefox bookmarks on ?

more options

You can check for problems with the places.sqlite database (bookmarks, history) in the Firefox profile folder.

See also:

Did you try to restore a JSON backup from the bookmarkbackups folder?

The name of a JSON bookmarks backup file includes a total item count (folders and separators included) and an hash value to prevent saving the same backup more than once.

  • bookmarks-YYYY-MM-DD_<item count>_<hash>.jsonlz4.

由cor-el于修改

more options

Thank you for the help. I moved the places.sqlite file (10.5MB) from the Old Firefox Data folder to the new profile (copy and paste). But...no bookmarks show up when I restart Firefox. The bookmarksbackup folder (in Old FF Data) is empty. I'm not sure how to restore a JSON backup from that folder.

more options

Are there still any profile folders in the default location in AppData\Roaming apart from the profile you currently use?

You can use this button to go to the current Firefox profile folder:

You can go up one level to \Mozilla\Firefox\Profiles\ to check that.

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

You can use the SQLite Manager extension to check that places.sqlite file to see if there is any data in the file.

more options

As long as you copy and pasted the file to the new profile you will still have the original copy on your desktop. If you moved the file copy it back to where it came from using Copy and paste.

I am trying to make sure you do not lose information unnecessarily in this case your History information, but it is sounding as if that profile had no bookmarks in it.

First of all follow the advice above to install and run places maintenance.

Use its option to make a log file before attempting a repair and after the repair attempt. Paste the log files into your next reply.

With luck your bookmarks will now work and you can ignore the remainder of this post.


Cor-el already provided an indirect link to the article

Please work through that and report your findings:

  1. Can you add or change bookmarks _i-cant-add-or-change-bookmarks
  2. I can add or change bookmarks but they are lost when I restart Firefox see
    1. Follow the instructions to Rename places.sqlite and restart Firefox then test again to see if you can add bookmarks.
    2. You should now at least have a working bookmarks system.

The problem now is trying to find any copy of a file we can that has any bookmarks in it. The log files you generate may show the places.sqlite was empty.

  • The Firefox reset/refresh is not supposed to lose bookmarks.
  • And the copy profile on the Desktop should also contain your bookmarks as both a full database, and series of snapshot backups.

I do not know the first thing about Mac s time machine. So I am not sure if that could help you by being able to restore previous places.sqlites or previous .jsonlz4 backups.