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

搜索 | 用户支持

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

详细了解

Bookmarks suddenly disappeard from one of my computers, can't restore from another.

more options

I'm running Firefox 15.0.1 on Windows 7. This afternoon, all of my bookmarks and history (including the contents of the bookmarks toolbar) suddenly disappeared while Firefox was running. I've restarted Firefox and rebooted my computer. My add-ons are all there, and I've confirmed that I only have a single profile.

The bookmark backup files in the profile are all empty (not empty files, but no bookmarks), and I've gone on to my backup system and confirmed that they have been so at least since the end of August. (I have a *lot* of bookmarks.) I have several other computers synced to this account (which is shown as logged in), and at least the two I've checked (one desktop, one Android) all have the bookmarks. But when I created a manual backup on another desktop and tried to restore from it, I get told "Unable to process the backup file". Also, the Sync status bar says "Sync encountered an error while syncing: Unknown error."

Any ideas?

I'm running Firefox 15.0.1 on Windows 7. This afternoon, all of my bookmarks and history (including the contents of the bookmarks toolbar) suddenly disappeared while Firefox was running. I've restarted Firefox and rebooted my computer. My add-ons are all there, and I've confirmed that I only have a single profile. The bookmark backup files in the profile are all empty (not empty files, but no bookmarks), and I've gone on to my backup system and confirmed that they have been so at least since the end of August. (I have a *lot* of bookmarks.) I have several other computers synced to this account (which is shown as logged in), and at least the two I've checked (one desktop, one Android) all have the bookmarks. But when I created a manual backup on another desktop and tried to restore from it, I get told "Unable to process the backup file". Also, the Sync status bar says "Sync encountered an error while syncing: Unknown error." Any ideas?

被采纳的解决方案

I think that the only way to recover from this will be to delete the places.sqlite file or move the file to another folder or rename the file as a test (places.sqlite.sav) to force Firefox to create a new file.
There shouldn't be any problems with restoring a JSON backup unless the file is really corrupted.

  • Bookmarks > Show All Bookmarks > Import & Backup > Restore > Choose File
定位到答案原位置 👍 0

所有回复 (8)

more options

Some more bizarre details: I was wrong about the history being gone. It's all there in the side-bar. (The bookmarks are not.) But when I start typing into the bar at the top of the screen, it expands to precisely one site per initial letter (a site that starts with that letter). Also all of my search keywords are gone, but the "New Tab" grid still has nine sites in it.

evan

more options

More info: I also don't seem to be able to bookmark pages. When I click on the star, nothing happens (i.e., the star doesn't get filled in, and the page doesn't get added to the bookmarks list).

evan

more options

Problems with bookmarks and history not working properly can be caused by a corrupted places.sqlite database file.

You can check for problems with the places.sqlite database file in the Firefox Profile Folder.

You can try to check and repair the places database with this extension:

more options

I tried the places-maintenance add-on, and it claims that my places.sqlite database is both sane and coherent. I asked it to rebuild indices, and that didn't seem to do anything. I don't know if it means anything, but I also have places.sqlite-shm and places.sqlite-wal files. And I confirmed that none of them are read-only.

more options

Can you export the bookmarks to an HTML file on one of the desktop computers?

Did you try to delete the places.sqlite file(s) with Firefox closed?

Problems with the bookmarks getting lost and not being able to restore them are most likely a problem with a corrupted places.sqlite file.
If the problems are worse then Firefox may not be able to repair the database and only deleting places.sqlite will work.

more options

I didn't try exporting them as HTML, but I was able to export them as JSON (using "Backup..." on the "Show All Bookmarks" dialog). The wedged machine was unable to read them in, claiming that it was "unable to process" the file. I haven't tried deleting the places.sqlite file, as that seemed a bit drastic.

If you believe that everything that Firefox stores is local to the profile directory, perhaps the easiest thing to try is to simply restore that directory from last night's backup and see if that fixes things. Does that make sense?

more options

选择的解决方案

I think that the only way to recover from this will be to delete the places.sqlite file or move the file to another folder or rename the file as a test (places.sqlite.sav) to force Firefox to create a new file.
There shouldn't be any problems with restoring a JSON backup unless the file is really corrupted.

  • Bookmarks > Show All Bookmarks > Import & Backup > Restore > Choose File
more options

Deleting places.sqlite and doing a restore from a backup from another system seems to have done the trick. (It lost all of the favicons, but that's not a big deal.)

Thanks.