為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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.