The Adblock Project Forum Index The Adblock Project
Pull up a seat ...stay a while.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to really do a clean upgrade

 
Post new topic   Reply to topic    The Adblock Project Forum Index -> Main
View previous topic :: View next topic  
Author Message
Zachariah



Joined: 21 Jul 2004
Posts: 703
Location: Earth

PostPosted: Mon Aug 09, 2004    Post subject: How to really do a clean upgrade Reply with quote

(please add anything I missed or correct anything I got wrong
I made this topic so I could refer to it from other threads)

How to do a really fresh install of Firefox:

I am only 99.9% sure these are the right directions
(so proceed at your own risk).
But...

If you are having problems (or want to avoid them), then I recommend doing a fresh install and only copying over some of your settings:
  1. Export your Adblock list.
  2. Download Firefox.
  3. Clear your cache.
  4. Close Firefox.
  5. Backup your "Profiles" directory to somewhere safe.
  6. Uninstall Firefox.
  7. Delete the Firefox program directory.
    (which could have been deleted during uninstall, but check to make sure)
  8. Delete the Firefox "Profiles" directory.
    (first make sure your backup is still safe)
  9. Install Firefox, and let it launch.
  10. When the "Import Wizard" launches, select "Don't import anything" and then click "Next".
  11. Let Firefox continue to launch.
  12. Set the Options the way you want.
    (such as how long history is kept, and how to handle cookies)
  13. Close Firefox.
  14. Copy these files* into your freshly created profile directory:
    • bookmarks.bak
    • bookmarks.html**
    • cert8.db
    • cookies.txt
    • formhistory.dat
    • history.dat
    • key3.db
    • signons.txt
  15. Install Java.
    ("Windows (Offline Installation)" recommended)
  16. Start Firefox.
  17. Install Adblock or Adblock Plus.
    (restart Firefox after installation)
  18. Install your other addons (such as Filterset.G Updater) and themes one at a time (restarting Firefox after each)


Your Bookmarks, Saved Passwords, Saved Cookies, Saved Form Data, and History should all be there.

Any other settings should not (which is good 'cause presumably those are the settings causing problems).

I doubt this will be the case, but if it ends up that you really are missing settings you really, really needed you still have your backed up profile which you can (I think) just drop right over your current profile (though user.js may have paths in it you need to fix).


* Henrik Gemal has created descriptions of files in your profile directory, in case you're wondering what they are.
These are also documented at the Mozilla website now: http://kb.mozillazine.org/Migrating_settings_to_a_new_profile
** note: you may want to just import this file so you don't overwrite the example Livemarks which are new since v1.0PR

__________________________________

The work in this post is licensed under a
Creative Commons Attribution-NonCommercial-ShareAlike 2.5 License.

Special Thanks to those who made suggestions, below.


Last edited by Zachariah on Sat Nov 04, 2006; edited 66 times in total
Back to top
View user's profile Send private message
kstahl
Support


Joined: 02 Jan 2004
Posts: 1202
Location: Stockholm, Sweden

PostPosted: Mon Aug 09, 2004    Post subject: Reply with quote

This is a good idea.

I just want to add:

7: Close the import wizard without importing anything.
_________________
Adblock 0.5.3.042
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.Cool Gecko/20051111 Firefox/1.5
Back to top
View user's profile Send private message
Zachariah



Joined: 21 Jul 2004
Posts: 703
Location: Earth

PostPosted: Mon Aug 09, 2004    Post subject: Reply with quote

done.

Now updated for 1.0PR
_________________
Latest Adblock!

If all else fails try a really fresh install of Firefox
.
Back to top
View user's profile Send private message
komradekyle



Joined: 09 Nov 2004
Posts: 9

PostPosted: Tue Nov 09, 2004    Post subject: Reply with quote

my step 13 also contains:


downloads.rdf
downsort.rdf (requires extension)
hostperm.1
mimeTypes.rdf
secmod.db (I don't know what it is)
tabextensions.rdf (requires extension)
user.js
chrome/userChrome.css
chrome/userContent.css
_________________
http://CommunistsForKerry.com
Back to top
View user's profile Send private message Visit poster's website
Zachariah



Joined: 21 Jul 2004
Posts: 703
Location: Earth

PostPosted: Sat Jan 15, 2005    Post subject: Reply with quote

Instructions now updated for Firefox 1.0!


If you're doing the fresh install to fix a problem, then I'd be more likely to add komradekyle's "step 13" as a very last step. After finishing the directions in the first post in this thread, I'd:
  • First make sure any problems you were having aren't happening anymore.
  • Then backup the newly created profile directory.
  • Then add komradekyle's files one-by-one -- making sure none of those files breaks anything.



(Instructions work for 1.0.1 as well)
Back to top
View user's profile Send private message
hank



Joined: 15 Nov 2003
Posts: 58

PostPosted: Sat Mar 05, 2005    Post subject: and for OSX? Reply with quote

If anyone is sure of the exact steps for OSX users -- we have the same problem with AdBlock not showing up since the 20050226 nightly (nightlies have been broken since that date, either empty disk image files or broken application files).

Don't know if the 0225 build is secure, given recent worries; haven't seen advice posted on that.

I'm using
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.6) Gecko/20050303 Firefox/1.0.1

(found in the "hourly" folder -- definitely not "nightly-ready quality" -- but it won't open new windows, won't quit unless Force Quit, and has the same problem of not showing AdBlock in the Extensions tab, so preferences aren't available).

Probably this'll be worked out in a few days in the official nightlies -- but more generally, if anyone has the "really fresh install" cookbook procedure for OSX users, it'd be welcome to have posted. It will be needed.
Back to top
View user's profile Send private message
Zachariah



Joined: 21 Jul 2004
Posts: 703
Location: Earth

PostPosted: Sat Mar 05, 2005    Post subject: Re: and for OSX? Reply with quote

hank wrote:
If anyone is sure of the exact steps for OSX users


I'd imagine the steps would be quite similar (just the location of the application folder and profile folder would differ (unless some of the files are named differently, which I don't know, but find hard to believe)), so I'm also curious if anyone on OS X has had any success or trouble following these directions, and is there was trouble, then any notes I should add for OS X users.
_________________
Latest Adblock!

If all else fails try a really fresh install of Firefox
.
Back to top
View user's profile Send private message
hank



Joined: 15 Nov 2003
Posts: 58

PostPosted: Sun Mar 06, 2005    Post subject: Reply with quote

Here's a list I found, um, somewhere else -- for OSX:

To which I'd add:
Before giving up your old Firefox, if you have been using and can get to your AdBlock Preferences, export that as a text file to your desktop. NOTE do this every week or so; the current bugginess in nightly builds prevents getting to AdBlock as far as I know; maybe the prefs are somewhere they can be moved manually but I lost my most recent ones.

Then, the list:

1. Goto "~/Library/Application Support/Firefox/Profiles/"
2. open your profile folder (xy.default)
(aside -- mine at the moment is named 083pvu3f.default )

3. copy - "bookmarks.html"; "key3.db"; "signons.txt"; and if you want you can also try "prefs.js" - to your desktop
(see additions to list, below)
4. move your profile folder to your desktop
5. launch Firefox
6. Create a new profile
7. quit Firefox
8. Goto "~/Library/Application Support/Firefox/Profiles/"
9. copy - "bookmarks.html"; "key3.db"; "signons.txt"; and if you want you can also try "prefs.js" - from your desktop to your new profiles folder
10. launch Firefox

To this I'd add, having just done it successfully (although I won't make any promises it's always safe to do -- someone who knows something may correct this if it's wrong)

also copy:
cookies.txt
cookperm.txt
signons.txt
Back to top
View user's profile Send private message
Reynard
Guest





PostPosted: Thu Jun 09, 2005    Post subject: Adblock won't install no matter what I try Reply with quote

I uninstalled Firefox, deleted every directory and file I could find, including the Profiles, then purged my Windows Registry of every trace of Mozilla and Firefox. After a new online install I got the same error: "Incompatible Extension Adblock 0.5.2.039 could not be installed because it is not compatible with this version of Firefox. (Adblock 0.5.2.039 wll only work with Firefox versions from 0.7+ to .10+) I am running the latest version 1.0.4."
Back to top
mcm_ham



Joined: 17 Dec 2004
Posts: 310

PostPosted: Thu Jun 09, 2005    Post subject: Reply with quote

Reynard, try:
Adblock_0.5.2.039.xpi
http://aasted.org/adblock/viewtopic.php?t=2264

The max supported Firefox version number has been bumped so it should not have the problem any longer.


Last edited by mcm_ham on Wed Nov 02, 2005; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website
Reynard
Guest





PostPosted: Thu Jun 09, 2005    Post subject: Thanks, but how do I install it? Reply with quote

This link points to a .xpi file. I don't run Windows XP, I have Win 2000, so how do I install it?
Back to top
mcm_ham



Joined: 17 Dec 2004
Posts: 310

PostPosted: Fri Jun 10, 2005    Post subject: Reply with quote

Actually .xpi is not related to WinXP it is simply the file type used for Mozilla Extensions. Just save the file to your desktop, open up the extensions manager via "Tools->Extensions" and drag the file onto that window. You should then be prompted to install.

Before Adblock takes affect you'll need to add filters to remove the ads. Here's a tutorial on how to do that:
http://www.help2go.com/article234.html

Alternatively G has compiled a relatively comprehensive list of filters. Download the txt file with the latest date to your desktop by right clicking on it and selecting "Save Link As..." then open up "Tools->Adblock->Preferences->Adblock Options->Import Filters..." and choose the downloaded file.
http://www.pierceive.com/


Last edited by mcm_ham on Wed Jun 22, 2005; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
piddly diddly
Guest





PostPosted: Tue Jun 21, 2005    Post subject: 3 config files you might want to save Reply with quote

3 config file you might want to save

user.js Used to change various preferences.
userChrome.css Used to change the appearance of the browser.
userContent.css Used to change the appearance of web pages.

see:
http://www.mozilla.org/support/firefox/edit

why :
Firefox Help: Tips & Tricks
http://www.mozilla.org/support/firefox/tips
Back to top
Zachariah



Joined: 21 Jul 2004
Posts: 703
Location: Earth

PostPosted: Wed Jun 22, 2005    Post subject: Reply with quote

Good suggestion, but...

I specifically didn't include those because they (often) can be the cause (or hide the cause) of problems.

I prefer to just make the mods again manually...

But, you could always (back up the fresh versions and then) add them one at a time, restarting Firefox after each, and see how it goes.

I should probably list files I consider to be in this category in the instructions, though.
Back to top
View user's profile Send private message
rospy
Guest





PostPosted: Thu Jul 07, 2005    Post subject: Reply with quote

mcm_ham wrote:
Actually .xpi is not related to WinXP it is simply the file type used for Mozilla Extensions. Just save the file to your desktop, open up the extensions manager via "Tools->Extensions" and drag the file onto that window. You should then be prompted to install.



I am having trouble installing the .xpi file too. I tried to drag the file to the extensions window but nothing happens.

I have a Powerbook G4 running OS X.4.1 and have Firefox 1.0.4

(((unrelated: does anyone know how to scroll a webpage with the keyboard on a powerbook?)))
Back to top
Zachariah



Joined: 21 Jul 2004
Posts: 703
Location: Earth

PostPosted: Thu Jul 07, 2005    Post subject: Reply with quote

rospy wrote:
I am having trouble installing the .xpi file too. I tried to drag the file to the extensions window but nothing happens.
you should be able to just drag it to any open window (you don't even need the extensions window to be open) -- let me know if that works
_________________
Latest Adblock!

If all else fails try a really fresh install of Firefox
.
Back to top
View user's profile Send private message
rospy
Guest





PostPosted: Thu Jul 07, 2005    Post subject: Reply with quote

OK. I got the adblock to install and it works great. I forced the extension to open in firefox and it worked. I don't know why the "extension window" thing didn't work.

I also got the keyconfig extension and I have configured it to use similar keystrokes to that of safari. In the past, that's the main reason I didn't use firefox more often.

I'm soo happy now!!! Firefox is now my default browser.

GOOD BYE daily crashes from Safari!!!
Back to top
Robert
Guest





PostPosted: Sun Sep 04, 2005    Post subject: Um... Reply with quote

um..is that "fresh install" info still relevent ?
isn't it rather old ?
Back to top
Zachariah



Joined: 21 Jul 2004
Posts: 703
Location: Earth

PostPosted: Tue Sep 06, 2005    Post subject: Reply with quote

it works with versions of Firefox up to 1.0.6
_________________
Latest Adblock!

If all else fails try a really fresh install of Firefox
.
Back to top
View user's profile Send private message
Guest






PostPosted: Tue Sep 06, 2005    Post subject: Reply with quote

You forgot the ending "]" for the link to Henrik Gemal
Back to top
Zachariah



Joined: 21 Jul 2004
Posts: 703
Location: Earth

PostPosted: Wed Sep 07, 2005    Post subject: Reply with quote

Anonymous wrote:
You forgot the ending "]" for the link to Henrik Gemal
fixed!

Thank you!!
_________________
Latest Adblock!

If all else fails try a really fresh install of Firefox
.
Back to top
View user's profile Send private message
Zachariah



Joined: 21 Jul 2004
Posts: 703
Location: Earth

PostPosted: Wed Sep 21, 2005    Post subject: Reply with quote

  • Updated instructions to use the fixed version of Adblock
  • Instructions work in Firefox versions up to version 1.0.7
    (or if you like testing betas, the instructions do work with Firefox 1.5 Beta 2)
  • Updated instructions to list "Update 5" for Java


Last edited by Zachariah on Sat Oct 15, 2005; edited 1 time in total
Back to top
View user's profile Send private message
Guest






PostPosted: Wed Nov 02, 2005    Post subject: Reply with quote

Are these instructions current for the RC1 version (and also assuming the final release soon)?

Perhaps a separate post or page with the info would be easier to track or watch. That, or a .pdf one can download and print out. Part of the document should show the version it works for. Thanks for this.
Back to top
Zachariah



Joined: 21 Jul 2004
Posts: 703
Location: Earth

PostPosted: Wed Nov 02, 2005    Post subject: Reply with quote

Anonymous wrote:
Are these instructions current for the RC1 version (and also assuming the final release soon)? ...
Yes.

That's a good idea to make a pdf, and also to include the version number -- I'll work on that this weekend.
_________________
Latest Adblock!

If all else fails try a really fresh install of Firefox
.
Back to top
View user's profile Send private message
mcm_ham



Joined: 17 Dec 2004
Posts: 310

PostPosted: Wed Nov 02, 2005    Post subject: Reply with quote

Could even make it a picture by picture guide if it's a pdf Wink. Don't know what program you use for creating PDFs but I found that this free one allows you to have clickable links where other free ones don't.
http://www.primopdf.com/
Back to top
View user's profile Send private message Visit poster's website
Guest






PostPosted: Thu Nov 03, 2005    Post subject: Reply with quote

I found OpenOffice has a pretty nice .pdf export feature.
Back to top
Guest






PostPosted: Tue Nov 08, 2005    Post subject: Reply with quote

Anything yet?
Back to top
Zachariah



Joined: 21 Jul 2004
Posts: 703
Location: Earth

PostPosted: Tue Nov 08, 2005    Post subject: Reply with quote

Anonymous wrote:
Anything yet?
I had to reinstall Windows this weekend, so I'm a bit delayed.

I'll probably go the OpenOffice 2.0 route, since I just installed it and is sure it nice -- and it goes well with the creative commons & open source theme.

(I do have a student version of Acrobat 7 Pro, as well as Office 2003 ... but the reasons that I just stated, above, preclude their use)
_________________
Latest Adblock!

If all else fails try a really fresh install of Firefox
.
Back to top
View user's profile Send private message
Zachariah



Joined: 21 Jul 2004
Posts: 703
Location: Earth

PostPosted: Sun Nov 20, 2005    Post subject: Reply with quote

Anonymous wrote:
Anything yet?
ok, so it took 100 screen shots to get the whole process ... though probably only a third or less are absolutely neccessary.

I've uploaded them incase anyone wants the originals, or wants to make a guide before I get a chance. I may or may not be able to finish a printable one tomorrow.

20mb...

http://img205.imageshack.us/gal.php?g=01export4yp.png




oh, and I'll have to add this to the list of things to manually delete:
Anonymous wrote:
@Terence:

1) Make a backup copy of your bookmarks

1) Uninstall Fx via the Software/ control panel

2) I removed following folders completely:

C:\Documents and Settings\<user name>\Application Data\Mozilla\
C:\Documents and Settings\<user name>\Local Settings\Application Data\Mozilla\
C:\Program Files\Mozilla Firefox

3) Install Fx 1.5
Back to top
View user's profile Send private message
bumper
Guest





PostPosted: Thu Jan 12, 2006    Post subject: bump Reply with quote

"Tomorrow' was over two months ago.
Back to top
Zachariah



Joined: 21 Jul 2004
Posts: 703
Location: Earth

PostPosted: Mon Jan 16, 2006    Post subject: Reply with quote

"may not" won out over "may", it seems

yeah, for some reason Vacation is always more busy for me than during school (except for finals) -- (for example, I had to re-install windows this week because of a freak accident involving a 15mb .mov file)

I don't know when I'll do a printable version, if ever -- it was way more work than I had first imagined.

In the mean time, anyone can just highlight the steps, go to File>Print, and select the "Selection" radio button --- if all you want to print is the directions.
_________________
Latest Adblock!

If all else fails try a really fresh install of Firefox
.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    The Adblock Project Forum Index -> Main All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group