Hilfe durchsuchen

Vorsicht vor Support-Betrug: Wir fordern Sie niemals auf, eine Telefonnummer anzurufen, eine SMS an eine Telefonnummer zu senden oder persönliche Daten preiszugeben. Bitte melden Sie verdächtige Aktivitäten über die Funktion „Missbrauch melden“.

Learn More

How to fix bookmarks not showing with "TypeError: PlacesUtils.bookmarks is undefined"

  • 6 Antworten
  • 1 hat dieses Problem
  • 13 Aufrufe
  • Letzte Antwort von pbhj

more options

Sync fails, no bookmarks show in Bookmarks window, no history shows in History. Other symptoms include not being able to go to a URL from addressbar (but following URLs from search or from a web page is fine).

Accessing places.sqlite is fine, integrity check returns positive. Followed instructions at https://bugzilla.mozilla.org/show_bug.cgi?id=969285#c9 to recreate various indexes but no improvement.

Pastebins with errors:

https://pastebin.mozilla.org/8845071 https://pastebin.mozilla.org/8845072

Troubleshooting info:

https://pastebin.mozilla.org/8845076

Note that Bookmark Checker and Places Maintenance were both installed after the error and neither appeared to be able to fix it.

I have a lot of bookmarks, places.sqlite is 60 MB.

Sync fails, no bookmarks show in Bookmarks window, no history shows in History. Other symptoms include not being able to go to a URL from addressbar (but following URLs from search or from a web page is fine). Accessing places.sqlite is fine, integrity check returns positive. Followed instructions at https://bugzilla.mozilla.org/show_bug.cgi?id=969285#c9 to recreate various indexes but no improvement. Pastebins with errors: https://pastebin.mozilla.org/8845071 https://pastebin.mozilla.org/8845072 Troubleshooting info: https://pastebin.mozilla.org/8845076 Note that Bookmark Checker and Places Maintenance were both installed after the error and neither appeared to be able to fix it. I have a lot of bookmarks, places.sqlite is 60 MB.

Geändert am von pbhj

Alle Antworten (6)

more options

Start Firefox in Safe Mode to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.

  • Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
  • Do NOT click the Reset button on the Safe Mode start window

Did you try to rename/remove all places.sqlite files (-shm and -wal as well)?

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

more options

I did try to restore and get error "Unable to process the backup file." which doesn't look promising.

Of course I could even start a new profile but I was hoping for something a bit more inciteful that might relate what the error was? Happy to run SQL commands against the places file.

more options

You can get such an error if there is a problem with the places.sqlite file. So try to delete the places.sqlite files and try again to restore a JSON backup. So the articles I posted above.

more options

Have tried again, removing all places.sqlite* files.

Library runs for 15 mins using one full core of my processor, returns several of these errors "A script on this page may be busy [...] Script: chrome://browser/content/places/browserPlacesViews.js:294" (including browser.js, treeView.js, browserPlacesViews.js) and uses up to ~3GB of space for places.sqlite-wal and then again gave me "Unable to process the backup file.".

However it has restored some bookmarks - of course I don't know which are missing so this is at best a partial solution.

places.sqlite is now 20MB suggesting only two-thirds of bookmarks are recovered; also all history is lost this way.

Thanks for the suggestion but I'd still like to be able to restore the original set of bookmarks ... to do that it seems one needs to know the problem FF has with the original places file??

Geändert am von pbhj

more options

Yes, you will always lose the history when there are issues with places.sqlite that require to delete the file.

How many bookmarks are in the backup and what is the <strike>font</strike> file size?

You should see the count in the name of an automatically created backup.

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

Geändert am von cor-el

more options

Firefox takes about 10mins to write the backup, again v. high CPU usage. Restore report it as 2.4MB ~14000; file system reports 5.8MiB; moz_bookmarks has ~35000 entries.

(I assume you meant file, not font, had me wondering for a while!)