Search Support

Beware of phishing attacks: Mozilla will never ask you to call a number or visit a non-Mozilla website. Please ignore such requests.

Learn More

Cuireadh an snáithe seo sa chartlann. Cuir ceist nua má tá cabhair uait.

Bookmarks not backing up will not export or sync

  • 8 bhfreagra
  • 1 leis an bhfadhb seo
  • 67 views
  • Freagra is déanaí ó jscher2000

more options

My Firefox bookmarks have not automatically backed up in more than 6 months. I can go through the steps to export or backup my bookmarks, but no file is ever created. I have tried this multiple times over the last few months, always using the latest version of Firefox (currently 67.0 64 Bit) and OS (Mac OS 10.14.5).

Réiteach roghnaithe

Well, the good news may be that the file that is messed up is the one that stores bookmark icons, and not the rest of the data. You can remove that icons file and let Firefox start rebuilding it as you browse. I realize that isn't ideal, but I think it's worth a try. Here's how:

Open your current Firefox settings (AKA Firefox profile) folder using either

  • "3-bar" menu button > "?" Help > Troubleshooting Information
  • (menu bar) Help > Troubleshooting Information
  • type or paste about:support in the address bar and press Return

In the first table on the page, on the Profile Folder row, click the "Show in Finder" button. If Finder highlights an icon with a semi-random name like a1b2c3d4.default, double-click it to display the contents of that profile folder.

Leaving that window open, switch back to Firefox and Exit, either:

  • "3-bar" menu button > Quit
  • (menu bar) Firefox > Quit

Pause while Firefox finishes its cleanup, then rename favicons.sqlite to something like faviconsOLD.sqlite. If you see temporary files that Firefox didn't reconcile into the main database named favicons.sqlite-shm and/or favicons.sqlite-wal, you can remove those.

Start Firefox back up again. Can you backup/export now?

Read this answer in context 👍 1

All Replies (8)

more options

Hmm, that makes me nervous.

Could you check for error messages in the "Browser Console" that might be related to this problem.

You can open the separate Browser Console window using either:

  • "3-bar" menu button > Web Developer > Browser Console
  • (menu bar) Tools > Web Developer > Browser Console
  • (Mac) Command+Shift+j

Click the trash can icon at the upper left to clear the window, then switch back over to your Library window and try the Backup or Export again.

Then switch back over to the console window. Did Firefox log any errors related to that action?

More info on the Browser Console: https://developer.mozilla.org/docs/Tools/Browser_Console

more options

Thanks very much for that. I did get the following error;

Error(s) encountered during statement execution: database disk image is malformed Sqlite.jsm:815

Any further suggestions?

more options

Unfortunately, malformed is not what we want to hear!

First, could you make a backup of the places.sqlite database file before we try anything else? Either of these articles will get you into your currently active Firefox profile folder so you can find that file:

Second, try the "Verify Integrity" function to see whether that can repair the database. That's here:

Open Firefox's Troubleshooting Information page using any of these methods:

  • "3-bar" menu button > "?" Help > Troubleshooting Information
  • (menu bar) Help > Troubleshooting Information
  • type or paste about:support in the address bar and press Return

Near the bottom, there is a section titled Places Database -- that's the file which stores history and bookmarks. Click the button labeled Verify Integrity. There may be a 10-15 second delay before results appear.

If all is well, the report that appears below the button should start with:

> Task: checkIntegrity
+ The places.sqlite database is sane
+ The favicons.sqlite database is sane

Then there would be various tasks completing successfully (or failing). What does yours say? You can select and copy the report, and then paste it into a reply for review and comment.

And meanwhile, try the Backup/Export again to see whether there was any improvement.

more options

To clarify, when I said to make a backup of the places.sqlite file, I simply meant to make a copy somewhere else that Firefox won't mess with, such as your desktop.

more options

Here's what the Verify Integrity task reported (doesn't look good to this novice);

> Task: checkIntegrity - Unable to check favicons.sqlite integrity: Error: Error(s) encountered during statement execution: > Task: invalidateCaches - The task queue was cleared by an error in another task. > Task: checkCoherence - The task queue was cleared by an error in another task. > Task: expire - The task queue was cleared by an error in another task. > Task: originFrecencyStats - The task queue was cleared by an error in another task. > Task: vacuum - The task queue was cleared by an error in another task. > Task: stats - The task queue was cleared by an error in another task. > Task: _refreshUI - The task queue was cleared by an error in another task.

Backup/Export unchanged, which given the above report is probably as expected.

more options

Réiteach Roghnaithe

Well, the good news may be that the file that is messed up is the one that stores bookmark icons, and not the rest of the data. You can remove that icons file and let Firefox start rebuilding it as you browse. I realize that isn't ideal, but I think it's worth a try. Here's how:

Open your current Firefox settings (AKA Firefox profile) folder using either

  • "3-bar" menu button > "?" Help > Troubleshooting Information
  • (menu bar) Help > Troubleshooting Information
  • type or paste about:support in the address bar and press Return

In the first table on the page, on the Profile Folder row, click the "Show in Finder" button. If Finder highlights an icon with a semi-random name like a1b2c3d4.default, double-click it to display the contents of that profile folder.

Leaving that window open, switch back to Firefox and Exit, either:

  • "3-bar" menu button > Quit
  • (menu bar) Firefox > Quit

Pause while Firefox finishes its cleanup, then rename favicons.sqlite to something like faviconsOLD.sqlite. If you see temporary files that Firefox didn't reconcile into the main database named favicons.sqlite-shm and/or favicons.sqlite-wal, you can remove those.

Start Firefox back up again. Can you backup/export now?

more options

Thank you so much! If you ever find yourself in Australia let me buy you a drink. Everything working fine again.

Cheers

more options

Thank you for the report back, and Cheers!