Software Update: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
(→‎Software Update not working properly: added combined section for "Software Update Failed" errors, added reference for bug 466778)
Line 12: Line 12:
Some Software Update problems can be fixed by downloading the latest version of Firefox or Thunderbird from [http://www.mozilla.com www.mozilla.com] and installing the new version "on top of" your current version [http://forums.mozillazine.org/viewtopic.php?p=2778065#2778065] [https://bugzilla.mozilla.org/show_bug.cgi?id=386518#c3].   
Some Software Update problems can be fixed by downloading the latest version of Firefox or Thunderbird from [http://www.mozilla.com www.mozilla.com] and installing the new version "on top of" your current version [http://forums.mozillazine.org/viewtopic.php?p=2778065#2778065] [https://bugzilla.mozilla.org/show_bug.cgi?id=386518#c3].   


If the problem continues, you can manually reset the Software Update feature by closing Thunderbird or Firefox and deleting the <tt>active-update.xml</tt> and <tt>updates.xml</tt> files and the <tt>updates</tt> folder from these locations (using Firefox as an example):
If the problem continues, you can manually reset the Software Update feature by closing Thunderbird or Firefox and deleting the "updates" folder and the two files "active-update.xml" and "updates.xml", which can be found in one of these locations (using Firefox as an example):
*The [[installation directory]] (e.g. <tt>C:\Program Files\Mozilla Firefox</tt>)  
*The [[installation directory]] (e.g., the ''C:\Program Files\Mozilla Firefox'' folder on Windows)  
*(''Firefox 2.0.0.2 and later'') The location where Firefox stores temporary application data for your operating system (e.g.,  in Windows 2000/XP, <tt>C:\Documents and Settings\<username>\Local Settings\Application Data\Mozilla\Firefox\Mozilla Firefox</tt> and, in Windows Vista, <tt>C:\Users\<username>\AppData\Local\Mozilla\Firefox\Mozilla Firefox</tt>).  '''Important:'''  In Windows 2000 and later this location is hidden. Read  [[Finding_the_profile_folder_on_Windows#Viewing_hidden_files_and_folders|this]] if you need help viewing or searching Windows hidden files and folders.
*'''Firefox 2.0.0.2 and later''':  The folder where Firefox stores temporary application data for your operating system. '''Important:''' In Windows 2000/XP/Vista you need to [[show hidden files and folders]] to find these locations.
 
**Windows 2000/XP: ''C:\Documents and Settings\<username>\Local Settings\Application Data\Mozilla\Firefox\Mozilla Firefox''
**Windows Vista:  ''C:\Users\<username>\AppData\Local\Mozilla\Firefox\Mozilla Firefox''  
   
This will solve a number of Software Update problems, including:
This will solve a number of Software Update problems, including:
* [[Updates reported when running newest version]]  
* [[Updates reported when running newest version]]  
* "Check for Updates" is not available in the Help menu ("Downloading..." is shown) after an "AUS: Connection timed out" message [http://forums.mozillazine.org/viewtopic.php?t=567795]
* "Check for Updates" is not available in the Help menu ("Downloading..." is shown) after an "AUS: Connection timed out" message [http://forums.mozillazine.org/viewtopic.php?t=567795]
*In Firefox 1.5 and Thunderbird 1.5, the update download may get stuck at '''paused''' [http://forums.mozillazine.org/viewtopic.php?t=378822]
*In Firefox 1.5 and Thunderbird 1.5, the update download may get stuck at '''paused''' [http://forums.mozillazine.org/viewtopic.php?t=378822]
* "Software Update Failed. One or more files could not be updated" message when starting Firefox or Thunderbird.  [http://forums.mozillazine.org/viewtopic.php?t=542895] [http://forums.mozillazine.org/viewtopic.php?t=567816]. This can occur on systems with limited user accounts ([https://bugzilla.mozilla.org/show_bug.cgi?id=374900 bug 374900], [https://bugzilla.mozilla.org/show_bug.cgi?id=383518 bug 383518]).  
* "Software Update Failed" error when starting Firefox or Thunderbird.  [http://forums.mozillazine.org/viewtopic.php?t=542895] [http://forums.mozillazine.org/viewtopic.php?t=567816].
 
===Software Update Failed===
A ''Software Update Failed'' error can occur on systems with limited user accounts ([https://bugzilla.mozilla.org/show_bug.cgi?id=374900 bug 374900], [https://bugzilla.mozilla.org/show_bug.cgi?id=383518 bug 383518]). It can also occur when the Mozilla files to be updated are in use, such as when a second user on the same system is running Firefox or Thunderbird while another user is performing a software update or when a single user is running multiple instances of Firefox or Thunderbird and performs a software update in one of the instances.  ([https://bugzilla.mozilla.org/show_bug.cgi?id=466778 bug 466778])


===Software Update Failed. One or more files could not be updated===
====Software Update Failed. One or more files could not be updated====
This message when starting Firefox or Thunderbird can occur on systems with limited user accounts (see above). It can also be caused  by other software that is active on your system, including those listed below.
If you see a ''Software Update Failed'' error with the message, ''One or more files could not be updated.'' (or, in Firefox 3,  ''[[#Software Update Failed. The update could not be installed |The update could not be installed]]''),  try [[Kill application|ending all instances]] of Firefox or Thunderbird (or reboot the computer) and then restart your Mozilla application, to see if that allows the update to complete.   Also try closing any other running programs that may be interfering with the update process, such as the applications listed below.
====Software that can cause updates to fail====
====Software that can cause updates to fail====
Other installed software can disrupt the update process and cause the message,  ''Software Update Failed. One or more files could not be updated''.    See  [http://forums.mozillazine.org/viewtopic.php?t=572292 this forum topic] for other causes and solutions.   
Other installed applications can disrupt the update process and cause the ''Software Update Failed'' error.    See  [http://forums.mozillazine.org/viewtopic.php?t=572292 this forum topic] for other causes and solutions.   
*'''Logitech QuickCam:''' Disconnect your Web camera, right-click the QuickCam icon in the system tray and select 'Exit" (or open the Windows Task Manager and end the "QuickCam" process, e.g., "QuickCam10.exe") then try the update again.  [http://forums.mozillazine.org/viewtopic.php?p=2974502#p2974502] [http://forums.mozillazine.org/viewtopic.php?p=2975045#p2975045] [http://support.mozilla.com/tiki-view_forum_thread.php?comments_parentId=11911&forumId=1]
*'''Logitech QuickCam:''' Disconnect your Web camera, right-click the QuickCam icon in the system tray and select 'Exit" (or open the Windows Task Manager and end the "QuickCam" process, e.g., "QuickCam10.exe") then try the update again.  [http://forums.mozillazine.org/viewtopic.php?p=2974502#p2974502] [http://forums.mozillazine.org/viewtopic.php?p=2975045#p2975045] [http://support.mozilla.com/tiki-view_forum_thread.php?comments_parentId=11911&forumId=1]
*'''Spybot S&D TeaTimer:'''  Disable TeaTimer as follows, then try updating again (more information [http://forums.spybot.info/showthread.php?t=17020 here]).  
*'''Spybot S&D TeaTimer:'''  Disable TeaTimer as follows, then try updating again (more information [http://forums.spybot.info/showthread.php?t=17020 here]).  
Line 36: Line 41:
*Gadwin Printscreen [http://forums.mozillazine.org/viewtopic.php?p=5357305#p5357305]
*Gadwin Printscreen [http://forums.mozillazine.org/viewtopic.php?p=5357305#p5357305]


===Software Update Failed. The update could not be installed ===
====Software Update Failed. The update could not be installed ====
Some users may see a "Software Update Failed" dialog after restarting Firefox after an update, with the message, ''The update could not be installed. Please make sure there are no other copies of Firefox running on your computer, and then restart Firefox to try again.''  If you see this dialog, [[Kill application|end any Firefox processes]] (or reboot the computer) and restart Firefox.  
Some users may see a "Software Update Failed" dialog after restarting Firefox with the message, ''The update could not be installed. Please make sure there are no other copies of Firefox running on your computer, and then restart Firefox to try again.''  If you see this dialog, [[Kill application|end any Firefox processes]] (or reboot the computer) and restart Firefox.  


If  the issue is still not resolved and you are using Windows Vista, try the following:  [http://www.mikekeran.com/other/mozilla-mishaps]
If  the issue is still not resolved and you are using Windows Vista, try the following:  [http://www.mikekeran.com/other/mozilla-mishaps]

Revision as of 22:31, 25 March 2009

The Software Update feature allows you to automatically update your Mozilla application and add-ons. Software Update is available in Firefox and Thunderbird; it is also available in SeaMonkey 2 (currently in Alpha testing). This article describes how to configure and run Software Update and discusses problems that can occur during or after an update.

Checking for updates

By default, Software Update periodically checks for program and add-on updates and asks you what to do. You can modify these settings in your Options/Preferences via the "Advanced -> Update" preference panel (Firefox and Thunderbird) or the "Software Installation" panel (SeaMonkey 2). 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.

Software Update not working properly

Some Software Update problems can be fixed by downloading the latest version of Firefox or Thunderbird from www.mozilla.com and installing the new version "on top of" your current version [1] [2].

If the problem continues, you can manually reset the Software Update feature by closing Thunderbird or Firefox and deleting the "updates" folder and the two files "active-update.xml" and "updates.xml", which can be found in one of these locations (using Firefox as an example):

  • The installation directory (e.g., the C:\Program Files\Mozilla Firefox folder on Windows)
  • Firefox 2.0.0.2 and later: The folder where Firefox stores temporary application data for your operating system. Important: In Windows 2000/XP/Vista you need to show hidden files and folders to find these locations.
    • Windows 2000/XP: C:\Documents and Settings\<username>\Local Settings\Application Data\Mozilla\Firefox\Mozilla Firefox
    • Windows Vista: C:\Users\<username>\AppData\Local\Mozilla\Firefox\Mozilla Firefox

This will solve a number of Software Update problems, including:

  • Updates reported when running newest version
  • "Check for Updates" is not available in the Help menu ("Downloading..." is shown) after an "AUS: Connection timed out" message [3]
  • In Firefox 1.5 and Thunderbird 1.5, the update download may get stuck at paused [4]
  • "Software Update Failed" error when starting Firefox or Thunderbird. [5] [6].

Software Update Failed

A Software Update Failed error can occur on systems with limited user accounts (bug 374900, bug 383518). It can also occur when the Mozilla files to be updated are in use, such as when a second user on the same system is running Firefox or Thunderbird while another user is performing a software update or when a single user is running multiple instances of Firefox or Thunderbird and performs a software update in one of the instances. (bug 466778)

Software Update Failed. One or more files could not be updated

If you see a Software Update Failed error with the message, One or more files could not be updated. (or, in Firefox 3, The update could not be installed), try ending all instances of Firefox or Thunderbird (or reboot the computer) and then restart your Mozilla application, to see if that allows the update to complete. Also try closing any other running programs that may be interfering with the update process, such as the applications listed below.

Software that can cause updates to fail

Other installed applications can disrupt the update process and cause the Software Update Failed error. See this forum topic for other causes and solutions.

  • Logitech QuickCam: Disconnect your Web camera, right-click the QuickCam icon in the system tray and select 'Exit" (or open the Windows Task Manager and end the "QuickCam" process, e.g., "QuickCam10.exe") then try the update again. [7] [8] [9]
  • Spybot S&D TeaTimer: Disable TeaTimer as follows, then try updating again (more information here).
  1. Go into Spybot - Mode - Advanced Mode - Tools - Resident.
  2. Uncheck the following: Resident "TeaTimer" (Protection of over-all system settings) Active.

Other running programs that may interfere with the update process include:

  • Virus scanners, including Comodo Antivirus [10] NOD32 AntiVirus [11] and AVG AntiVirus [12]
  • Anti-spyware programs, including SpySweeper [13] and Spyware Blaster [14]
  • Aqua Dock [15]
  • Gadwin Printscreen [16]

Software Update Failed. The update could not be installed

Some users may see a "Software Update Failed" dialog after restarting Firefox with the message, The update could not be installed. Please make sure there are no other copies of Firefox running on your computer, and then restart Firefox to try again. If you see this dialog, end any Firefox processes (or reboot the computer) and restart Firefox.

If the issue is still not resolved and you are using Windows Vista, try the following: [17]

  1. Kill the Firefox process in the Windows Task manager (Press Ctrl+Shift+Esc, go to the "Processes" tab, select the "firefox.exe" process, click "End Process" and confirm your action in the warning dialog).
  2. Open the Windows Start Menu, type "firefox" (without the quotes) and right-click on the "Mozilla Firefox" entry that appears.
  3. Select "Run as Administrator" and "Continue" if the User Account Control dialog comes up (some Vista installs do not have UAC enabled).

Another possible solution is to reset the Software Update feature by ending all Firefox processes and then removing "active-update.xml", "updates.xml" and the "updates" folder from the appropriate folder locations (see above). As a last resort, download the latest version of Firefox from www.mozilla.com and install it over your current version. [18] [19]

AUS Update XML File Malformed 200

The message, AUS: Update XML File Malformed (200) can sometimes appear during a check for updates. This is a "catch-all" update error which can occur for different reasons such as being in "offline" mode, network problems, or not being signed on with your Master password (if you've set one up) before the update check [20]. Software Update requires a secure connection so, if you are also receiving errors on webmail login pages, bank sites or other secure (https) sites (e.g. https://addons.mozilla.org) see Error loading secure sites.

If Software Update errors persist, you can download the latest version of Firefox or Thunderbird from www.mozilla.com and install it "on top of" your current version, instead of using the Software Update feature.

Related bug reports include:

Problems after an update

The following issues can occur after a Firefox or Thunderbird update (see the linked articles for details).

Configuring Software Update

Software Update options are under "Tools -> Options -> Advanced -> Update" (Firefox and Thunderbird) or "Edit -> Preferences -> Software Installation" (SeaMonkey 2).

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 2.0, 2.0.0.4 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 (Firefox & Thunderbird 3 builds), and the Mozilla 1.8 branch (Firefox & Thunderbird 2.x builds).
  • 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 <installation directory>\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 the channel by editing channel-prefs.js and there is no app.update.channel pref in about:config, or it has not changed, then the "channel-prefs.js" file needs fixing. Either install the Update Channel Changer, or open <installation directory>\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 all-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.

External links