Corrupt localstore.rdf: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
(revision to Firefox 3 method)
("Firefox 3 method" removed since it does not restore the default content of localstore.file, which can be verified by comparing the file content and size using Safe Mode or file deletion.)
Line 7: Line 7:


==Solution==
==Solution==
If you have a backup copy of the [[localstore.rdf]] file from a working Firefox profile, a quick remedy is closing Firefox and overwriting the localstore.rdf file in the [[Profile folder - Firefox|Firefox profile folder]] with your backup copy. [https://bugzilla.mozilla.org/show_bug.cgi?id=319196#c303]
If you have a backup copy of the [[localstore.rdf]] file from a working Firefox profile, a quick remedy is closing Firefox and overwriting the localstore.rdf file in the [[Profile folder - Firefox|Firefox profile folder]] with your backup copy. [https://bugzilla.mozilla.org/show_bug.cgi?id=319196#c303] If you have no backup, you need to remove the localstore.rdf file and let Firefox generate a new copy.  '''Your [[Toolbar_customization_-_Firefox | toolbar customizations]] will be gone when you next restart Firefox''' but future changes will be retained. 


If you have no backup, you need to remove the localstore.rdf file and let Firefox generate a new copy.  '''Your [[Toolbar_customization_-_Firefox | toolbar customizations]] will be gone when you next restart Firefox''' but future changes will be retained.  
Before continuing you may wish to [[Posting_a_screenshot_on_the_forum#Creating_a_screenshot| save a screenshot]] of your Firefox toolbar customizations,  to help you restore them later.


Note: Before continuing you may wish to [[Posting_a_screenshot_on_the_forum#Creating_a_screenshot| save a screenshot]] of your Firefox toolbar customizations, to help you restore them later.
'''Note:''' You can restore the default set of toolbar items from within Firefox using "View -> Toolbars -> Customize -> Restore Default Set" but ''this does not'' restore the default content of the localstore.rdf file and is not a solution if the localstore.rdf file itself is indeed corrupt. 
 
Use either one of these methods to remove and regenerate the localstore.rdf file:


Use either of the two methods given below, to remove and regenerate the localstore.rdf file. 
===Safe Mode method===
===Safe Mode method===
[[kill application | Exit Firefox completely]] and then restart Firefox in [[Safe Mode]].  A window called ''Firefox Safe Mode'' with some troubleshooting options will appear:
[[kill application | Exit Firefox completely]] and then restart Firefox in [[Safe Mode]].  A window called ''Firefox Safe Mode'' with some troubleshooting options will appear:
Line 25: Line 25:


'''Caution:''' Do not delete the localstore.rdf file in the Firefox program installation folder by mistake [http://forums.mozillazine.org/viewtopic.php?t=376655].
'''Caution:''' Do not delete the localstore.rdf file in the Firefox program installation folder by mistake [http://forums.mozillazine.org/viewtopic.php?t=376655].
===Firefox 3 - Method===
Complete instructions:  (all done without taking Firefox down)
* Take a [[Posting_a_screenshot_on_the_forum#Creating_a_screenshot| screenshot]] (picture) of your toolbars,  to help you restore them later.
* View,  Toolbars,  Customize,    at the bottom note if you you display icons, and have  small icons,  checked  then  hit    "Restore Default Set" at end of that bottom line.
*Now all of your work building your toolbars is gone.  Rebuild your toolbars based on the documentation and notations that you preserved  for manual  reconstruction.  Should only take a few minutes to move things around as you had them.  (again from  View, Toolbars, Customize)


==See also==
==See also==

Revision as of 17:29, 31 July 2008

This article will help you fix Firefox problems caused by a corrupt localstore.rdf file, which include:

  • Changes to the toolbar reset themselves after you close Firefox and start it up again
  • Window size or position not remembered at startup
  • Bookmarks appear in the Bookmarks Manager but not in the main menu and can't be edited [1]
  • "Add Bookmark" dialog not working [2]
  • Back/forward toolbar buttons missing after Firefox 3 upgrade and unable to restore using "View -> Toolbars -> Customize" [3]

Solution

If you have a backup copy of the localstore.rdf file from a working Firefox profile, a quick remedy is closing Firefox and overwriting the localstore.rdf file in the Firefox profile folder with your backup copy. [4] If you have no backup, you need to remove the localstore.rdf file and let Firefox generate a new copy. Your toolbar customizations will be gone when you next restart Firefox but future changes will be retained.

Before continuing you may wish to save a screenshot of your Firefox toolbar customizations, to help you restore them later.

Note: You can restore the default set of toolbar items from within Firefox using "View -> Toolbars -> Customize -> Restore Default Set" but this does not restore the default content of the localstore.rdf file and is not a solution if the localstore.rdf file itself is indeed corrupt.

Use either of the two methods given below, to remove and regenerate the localstore.rdf file.

Safe Mode method

Exit Firefox completely and then restart Firefox in Safe Mode. A window called Firefox Safe Mode with some troubleshooting options will appear:

Select the option "Reset toolbars and controls" and click "Make Changes and Restart".

Manual method

Exit Firefox completely, open the Firefox profile folder (Windows users, read this for help finding it) and delete the file localstore.rdf.

Caution: Do not delete the localstore.rdf file in the Firefox program installation folder by mistake [5].

See also

Related bug reports