Software Update: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
(→‎Common problems: added forum link for "Software update failed" error, also fixed using Updates reported when running newest version solution)
(reorganize, add links to common post-update problems)
Line 1: Line 1:
Since version 1.5, Firefox and Thunderbird have a much improved Software Update mechanism. These applications can now be updated by downloading just a few hundred kilobytes of data, instead of the 5–16 megabytes of the full installer. In contrast to Firefox and Thunderbird 1.0.x the Software Update mechanism only updates the application, while extensions and themes are now updated through their own managers.
Firefox and Thunderbird are by default updated automatically to keep you secure. This article describes how configure and run Software Update as well as discusses problems that can occur during or after an update.


== Configuring Software Update ==
== Checking for updates ==


Software update is configured via "Tools -> Options -> Advanced -> Update" for Windows applications. See [[Menu differences in Windows, Linux, and Mac]] for other platforms.
Firefox and Thunderbird will periodically check for updates by themselves. If you want to force an update check, choose "Help -> Check for Updates...".


== Performing an update ==
== The update process ==


After an update has been automatically detected, or if you choose "Check for Updates…" from the Help menu, follow the on-screen instructions to download the update. Although the application will need to restart to apply the update, you don't have to restart immediately. (If you do, and you use Firefox 1.5 without the SessionSaver extension (or something similar) then you will lose your open tabs.) On restart, the update will be applied and the application will start with the new version. You should verify that there are no further updates by going to "Help -> Check for Updates…".
When an update is found, follow the on-screen instructions to download and install the update. The application will need to restart to apply the update, but you can choose to restart later by pressing the Later button.


If the update does not work, see the [http://www.mozilla.com/support/ support information] for how to get help.
== Possible update problems ==


Note that the update icon that appeared next to the throbber in versions 1.0.x is no longer in use.
* [[Updates reported when running newest version]] or "Software update failed" message when starting Firefox[http://forums.mozillazine.org/viewtopic.php?t=542895]
* Update succeeded, but Firefox or Thunderbird doesn't work after the update:
** [[Firewalls|Can't connect to the Internet after updating]]
** [[Browser will not start up]]
** [[Gray bar below status bar]]
** [[Scrollbar gone]]
* In Firefox and Thunderbird 1.5, the update download may get stuck at '''paused'''[http://forums.mozillazine.org/viewtopic.php?t=378822] or the download may fail with an error such as "AUS: Connection timed out"[http://forums.mozillazine.org/viewtopic.php?t=502284].  In such cases, you can reset Software Update:
*#Close Firefox or Thunderbird and go to the [[installation directory]]
*#Delete the files <tt>active-update.xml</tt> and <tt>updates.xml</tt>
*#Delete the contents of the "updates" folder and its sub-folder (named "0")
*#Start Firefox or Thunderbird and try to update again.
== Configuring Software Update ==


== Advanced configuration ==
Software Update options are under "[[Menu differences in Windows, Linux, and Mac|Tools -> Options]] -> Advanced -> Update".
=== Update channels ===
 
=== Update channels (Advanced)===


Updates can be retrieved from a number of different update channels. This determines what kind of updates you will receive. The current [https://bugzilla.mozilla.org/show_bug.cgi?id=302721#c20 update channels] are:
Updates can be retrieved from a number of different update channels. This determines what kind of updates you will receive. The current [https://bugzilla.mozilla.org/show_bug.cgi?id=302721#c20 update channels] are:
Line 27: Line 40:
The installer/zip/tar/dmg that you last used to install Firefox or Thunderbird determines what update channel you start on. It does this by installing the file channel-prefs.js into <tt><install folder>\defaults\pref</tt>. To check which channel you are on, [[about:config | look in about:config]] at <tt>app.update.channel</tt>. Note that you <b>cannot</b> change channel using about:config. Instead, you can use the [http://users.blueprintit.co.uk/~dave/web/firefox/updatechannel/index.html Update Channel Changer] extension (go to Help -> Check for Updates -> Change Update Channel). Alternatively, you can edit the channel-prefs.js file with a text editor.
The installer/zip/tar/dmg that you last used to install Firefox or Thunderbird determines what update channel you start on. It does this by installing the file channel-prefs.js into <tt><install folder>\defaults\pref</tt>. To check which channel you are on, [[about:config | look in about:config]] at <tt>app.update.channel</tt>. Note that you <b>cannot</b> change channel using about:config. Instead, you can use the [http://users.blueprintit.co.uk/~dave/web/firefox/updatechannel/index.html Update Channel Changer] extension (go to Help -> Check for Updates -> Change Update Channel). Alternatively, you can edit the channel-prefs.js file with a text editor.


=== Update URLs ===
If you tried to change channel by editing channel-prefs.js and there is no <tt>app.update.channel</tt> pref in about:config, or it has not changed, then channel-prefs.js needs fixing. Either install the [http://users.blueprintit.co.uk/~dave/web/firefox/updatechannel/index.html Update Channel Changer], or open <tt><install dir>\defaults\pref\channel-prefs.js</tt> in a text editor like Notepad, making sure that it has two lines like this (for the nightly channel):
 
Early in the testing cycle of the new software update, testers were required to enter a special update url into the preference <tt>app.update.url</tt>. This is no longer the case and in fact now that preference is almost ignored. Only the setting from the file firefox.js (or thunderbird.js) in the installation directory is used. This is so the application always uses the same updates regardless of what user profile you are running with.
 
== Common problems ==
 
* If you tried to change channel by editing channel-prefs.js and there is no <tt>app.update.channel</tt> pref in about:config, or it has not changed, then channel-prefs.js needs fixing. Either install the [http://users.blueprintit.co.uk/~dave/web/firefox/updatechannel/index.html Update Channel Changer], or open <tt><install dir>\defaults\pref\channel-prefs.js</tt> in a text editor like Notepad, making sure that it has two lines like this (for the nightly channel):
  //@line 2 "/cygdrive/c/builds/tinderbox/Fx-Mozilla1.8/WINNT_5.2_Depend/mozilla/browser/app/profile/channel-prefs.js"
  //@line 2 "/cygdrive/c/builds/tinderbox/Fx-Mozilla1.8/WINNT_5.2_Depend/mozilla/browser/app/profile/channel-prefs.js"
  pref("app.update.channel", "nightly");
  pref("app.update.channel", "nightly");
:Only the // on the first line is important because it is a comment. If the value in [[about:config]] has still not changed, then right click and reset the preference - this removes the profile value that is masking the application one.
:Only the // on the first line is important because it is a comment. If the value in [[about:config]] has still not changed, then right click and reset the preference - this removes the profile value that is masking the application one.


* The download of the update may say '''paused''' and you cannot resume it [http://forums.mozillazine.org/viewtopic.php?t=378822] or the download may fail with an error such as "AUS: Connection timed out" but the Help menu still shows it as downloading [http://forums.mozillazine.org/viewtopic.php?t=502284].  In such cases, you can reset Software Update as follows (fixed in Firefox 2):
=== Update URLs (Advanced)===
**Close Firefox or Thunderbird and go to the installation directory (e.g., C:\Program Files\Mozilla Firefox)
**Delete the files <tt>active-update.xml</tt> and <tt>updates.xml</tt>
**Delete the contents of the "updates" folder and its sub-folder (named "0")


* [[Updates reported when running newest version]] or "Software update failed" message when starting Firefox [http://forums.mozillazine.org/viewtopic.php?t=542895]
Early in the testing cycle of the new software update, testers were required to enter a special update url into the preference <tt>app.update.url</tt>. This is no longer the case and in fact now that preference is almost ignored. Only the setting from the file firefox.js (or thunderbird.js) in the installation directory is used. This is so the application always uses the same updates regardless of what user profile you are running with.


[[Category:Installation and update (Firefox)]]
[[Category:Installation and update (Firefox)]]
[[Category:Installation and update (Thunderbird)]]
[[Category:Installation and update (Thunderbird)]]

Revision as of 21:02, 12 June 2007

Firefox and Thunderbird are by default updated automatically to keep you secure. This article describes how configure and run Software Update as well as discusses problems that can occur during or after an update.

Checking for updates

Firefox and Thunderbird will periodically check for updates by themselves. If you want to force an update check, choose "Help -> Check for Updates...".

The update process

When an update is found, follow the on-screen instructions to download and install the update. The application will need to restart to apply the update, but you can choose to restart later by pressing the Later button.

Possible update problems

Configuring Software Update

Software Update options are under "Tools -> Options -> Advanced -> Update".

Update channels (Advanced)

Updates can be retrieved from a number of different update channels. This determines what kind of updates you will receive. The current update channels are:

  • release: The release channel will provide stable release versions, including security updates (e.g. Firefox 1.5, 1.5.0.1, 1.5.1 etc. and their release candidates).
  • beta: The beta channel lets you receive every beta, release candidate, and release version of the product (e.g. Firefox 1.5 beta 1, Firefox 1.5 RC 1, Firefox 1.5, etc.).
  • nightly: The nightly channel allows you to update to every nightly test build that is produced. There are nightly channels for the trunk, and the Mozilla1.8 branch (leading to Firefox & Thunderbird 1.5).
  • default: This channel is used when there is no channel information, for example if you build Firefox or Thunderbird yourself. There are no updates on this channel.

Please be aware that the nightly, and to a lesser extent beta, channel may install builds that have serious bugs. The application may be non-functional and/or result in your profile being corrupted. See Profile_backup for information to safeguard your data, and see the daily builds threads at the Mozillazine forums for the current status of the builds: Firefox, Thunderbird

The installer/zip/tar/dmg that you last used to install Firefox or Thunderbird determines what update channel you start on. It does this by installing the file channel-prefs.js into <install folder>\defaults\pref. To check which channel you are on, look in about:config at app.update.channel. Note that you cannot change channel using about:config. Instead, you can use the Update Channel Changer extension (go to Help -> Check for Updates -> Change Update Channel). Alternatively, you can edit the channel-prefs.js file with a text editor.

If you tried to change channel by editing channel-prefs.js and there is no app.update.channel pref in about:config, or it has not changed, then channel-prefs.js needs fixing. Either install the Update Channel Changer, or open <install dir>\defaults\pref\channel-prefs.js in a text editor like Notepad, making sure that it has two lines like this (for the nightly channel):

//@line 2 "/cygdrive/c/builds/tinderbox/Fx-Mozilla1.8/WINNT_5.2_Depend/mozilla/browser/app/profile/channel-prefs.js"
pref("app.update.channel", "nightly");
Only the // on the first line is important because it is a comment. If the value in about:config has still not changed, then right click and reset the preference - this removes the profile value that is masking the application one.

Update URLs (Advanced)

Early in the testing cycle of the new software update, testers were required to enter a special update url into the preference app.update.url. This is no longer the case and in fact now that preference is almost ignored. Only the setting from the file firefox.js (or thunderbird.js) in the installation directory is used. This is so the application always uses the same updates regardless of what user profile you are running with.