Closed Bug 787235 Opened 12 years ago Closed 12 years ago

Unable to upgrade to Firefox 15 release channel via "Apply Update" feature

Categories

(Firefox :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 770996
Firefox 14

People

(Reporter: cmore, Unassigned)

Details

Attachments

(5 files)

Attached image Firefox version
I'm currently running Firefox 14.0.1 Funnelcake on OSX.

Steps to reproduce:

1) Open Firefox 14

2) Go to Firefox menu > About Firefox

3) Wait for update to download

4) Click "Apply Update" button.

5) Firefox closes

6) Update dialog box opens

7) Firefox opens

8) Software Update dialog box opens

9) A message says "It is strongly recommended that you apply this update to Firefox as soon as possible"

10) Click continue

11) Update process starts and never finishes.

Expected results:

Firefox would update to version 15 as soon as the browser updates from the "Apply Update" button.

Actual results:

Update is never applied and software update dialog never finishes.

(I will attached screenshots of the process above.)

I am next going to start disabling add-ons to see if that helps. I have updated previously fine with the "Apply Update" button and have not had any problems.
I opened Firefox in safe-mode and disabled all add-ons and the problem still exists.
Target Milestone: --- → Firefox 14
I'm having this problem while sitting in the Mozilla Mountain Office connected to wireless. Mac Firewall is disabled.
If I try to click on the "more information on this update link" it goes no where. The entire dialog box is weird and doesn't look like Firefox.
Could this have something to do with the one-off funnelcake build?
I have this exact issue as well. My about screen looks exactly like Chris'.

Version: 14.0.1 Funnelcake Jul 2012
This sounds like bug 786719, which ended up being a dupe of bug 398984. Rob?
(In reply to Ben Hearsum [:bhearsum] from comment #8)
> This sounds like bug 786719, which ended up being a dupe of bug 398984. Rob?

It sounds a lot like it, but do you still think it is related to the Funnelcake build? Why would I not have any problems upgrading every 6 weeks and then now? What about other people that are having similar problems? It seems like this could hurt uptake if this is a widespread issue that people don't realize is a problem.

How are we going to tell those users that they need to manually upgrade by downloading? About:home snippet?
Well, Funnelcake specifically could be subject to bug 774618, but I saw multiple instances of the other bug this week so I wanted to throw it out there first.

Additional information that would be helpful in debugging:
* Set app.update.log to True, open the error console and clear it, check for updates by going to help->about, paste in all the messages that appear in the console.
* Package up update* from the appdir and attach it.
The following is all the messages and error I see in the console after following instructions from comment #10, clicking the "apply now" button on the about screen, and the browser attempting to upgrade and launching again. This is on Mac OSX 10.7.4.

~~~~~~~~~~~~~~~~~~~~~
Could not read chrome manifest 'file:///Applications/Firefox.app/Contents/MacOS/extensions/%7B972ce4c6-7e08-4474-a285-3208198ce6fd%7D/chrome.manifest'.
~~~~~~~~~~~~~~~~~~~~~
AUS:SVC gCanCheckForUpdates - able to check for updates
~~~~~~~~~~~~~~~~~~~~~
AUS:SVC gCanApplyUpdates - testing write access /Applications/Firefox.app/Contents/MacOS/update.test
~~~~~~~~~~~~~~~~~~~~~
AUS:SVC gCanApplyUpdates - able to apply updates
~~~~~~~~~~~~~~~~~~~~~
AUS:SVC readStatusFile - status: failed: 4, path: /Applications/Firefox.app/Contents/MacOS/updates/0/update.status
~~~~~~~~~~~~~~~~~~~~~
AUS:SVC readStatusFile - status: failed: 4, path: /Applications/Firefox.app/Contents/MacOS/updates/0/update.status
~~~~~~~~~~~~~~~~~~~~~
AUS:SVC UpdateManager:_loadXMLFileIntoArray - invalid update
~~~~~~~~~~~~~~~~~~~~~
AUS:SVC UpdateService:_postUpdateProcessing - install of complete or only one patch offered failed... showing error.
~~~~~~~~~~~~~~~~~~~~~
AUS:UI gUpdates:onLoad - setting current page to startpage updatesfoundbasic
~~~~~~~~~~~~~~~~~~~~~
Timestamp: 8/31/12 4:35:16 PM
Error: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIStringBundle.GetStringFromName]
Source File: XStringBundle
Line: 17
~~~~~~~~~~~~~~~~~~~~~

I also see the following after leaving the about screen up for a bit. 

~~~~~~~~~~~~~~~~~~~~~
AUS:SVC Checker:getUpdateURL - update URL: https://aus3.mozilla.org/update/3/Firefox/14.0.1/20120713134347/Darwin_x86_64-gcc3-u-i386-x86_64/en-US/release-cck-mozilla14/Darwin%2011.4.0/mozilla14/1.0/update.xml
~~~~~~~~~~~~~~~~~~~~~
Not sure if this is what you wanted, but it seems to contain some interesting stuff.
(In reply to Paul McLanahan [:pmac] from comment #11)
> AUS:SVC UpdateManager:_loadXMLFileIntoArray - invalid update
> ~~~~~~~~~~~~~~~~~~~~~
> AUS:SVC UpdateService:_postUpdateProcessing - install of complete or only
> one patch offered failed... showing error.


These two lines are a little scary. There should be a bit more in the error console - do you have any lines with "https://aus3.mozilla.org" in them?
Whoops, missed the last part of your comment - nm.
So, that update URL is an empty XML file, which means you're not getting an update offered. Investigating why.
Occasionally I also see this error in the console:

Timestamp: 8/31/12 4:44:42 PM
Error: TypeError: this.aus is undefined
Source File: chrome://browser/content/aboutDialog.js
Line: 475
EXECUTE PATCH Contents/MacOS/firefox
Okay, looking at update.log in the zip you posted I see:
LoadSourceFile: destination file crc -2076527537 does not match expected crc 1900940070
LoadSourceFile failed
### execution failed
FINISH ADD precomplete

Which tells me that the your 'firefox' binary doesn't look like the one the updater is expecting. And because of bug 774618, you never fallback to the complete update, which isn't subject to CRC checks.

Is there any chance you have modified your Firefox install in any way? Where exactly did you download the build from?
I haven't done anything to it. I downloaded it a month or so ago when they were running the funnelcake test. Perhaps it's trying the CRC for the non-funnelcake build?
Here is my error console:

Before clicking "Apply Now" button:

AUS:SVC UpdateManager:_loadXMLFileIntoArray - invalid update

----

AUS:SVC getLocale - getting locale from file: resource://app/update.locale, locale: en-US

----

AUS:SVC Checker:getUpdateURL - update URL: https://aus3.mozilla.org/update/3/Firefox/14.0.1/20120713134347/Darwin_x86_64-gcc3-u-i386-x86_64/en-US/release-cck-mozilla14/Darwin%2010.8.0/mozilla14/1.0/update.xml?force=1

----

AUS:SVC gCanCheckForUpdates - able to check for updates

----

Then a

AUS:SVC Checker:checkForUpdates - sending request to: https://aus3.mozilla.org/update/3/Firefox/14.0.1/20120713134347/Darwin_x86_64-gcc3-u-i386-x86_64/en-US/release-cck-mozilla14/Darwin%2010.8.0/mozilla14/1.0/update.xml?force=1

----

AUS:SVC Checker:onProgress - 892/892

----

AUS:SVC Checker:onLoad - request completed downloading document

----

AUS:SVC Checker:getUpdateURL - update URL: https://aus3.mozilla.org/update/3/Firefox/14.0.1/20120713134347/Darwin_x86_64-gcc3-u-i386-x86_64/en-US/release-cck-mozilla14/Darwin%2010.8.0/mozilla14/1.0/update.xml?force=1

----

AUS:SVC Checker:onLoad - number of updates available: 1

----

AUS:SVC gCanApplyUpdates - testing write access /Applications/Firefox.app/Contents/MacOS/update.test

----

AUS:SVC gCanApplyUpdates - able to apply updates

----

AUS:SVC readStringFromFile - file doesn't exist: /Applications/Firefox.app/Contents/MacOS/updates/0/update.status

----

AUS:SVC readStatusFile - status: null, path: /Applications/Firefox.app/Contents/MacOS/updates/0/update.status

----

AUS:SVC UpdateManager:_loadXMLFileIntoArray - invalid update

----

AUS:SVC Downloader:downloadUpdate - downloading from http://download.mozilla.org/?product=firefox-15.0-partial-14.0.1&os=osx&lang=en-US&force=1 to /Applications/Firefox.app/Contents/MacOS/updates/0/update.mar

----

AUS:SVC Downloader:onStartRequest - original URI spec: http://download.mozilla.org/?product=firefox-15.0-partial-14.0.1&os=osx&lang=en-US&force=1, final URI spec: http://download.cdn.mozilla.net/pub/mozilla.org/firefox/releases/15.0/update/mac/en-US/firefox-14.0.1-15.0.partial.mar

----

AUS:SVC Downloader:onProgress - progress: 15012295/15012295

----

AUS:SVC Downloader:onStopRequest - original URI spec: http://download.mozilla.org/?product=firefox-15.0-partial-14.0.1&os=osx&lang=en-US&force=1, final URI spec: http://download.cdn.mozilla.net/pub/mozilla.org/firefox/releases/15.0/update/mac/en-US/firefox-14.0.1-15.0.partial.mar, status: 0

----

AUS:SVC Downloader:onStopRequest - setting state to: pending

----

After clicking "Apply Now" button:

AUS:SVC readStringFromFile - file doesn't exist: /Applications/Firefox.app/Contents/MacOS/updates/0/update.status

----

AUS:SVC readStatusFile - status: null, path: /Applications/Firefox.app/Contents/MacOS/updates/0/update.status

----

AUS:SVC Downloader:downloadUpdate - no patch to download

----

AUS:SVC readStringFromFile - file doesn't exist: /Applications/Firefox.app/Contents/MacOS/updates/0/update.status


----

AUS:SVC readStatusFile - status: null, path: /Applications/Firefox.app/Contents/MacOS/updates/0/update.status
I also have not done any modifications to my Firefox. I got the funnelcake build for the CDN test and haven't done anything more to it.
I did some more digging and found bug 770996, which tracked an issue where partner build signing broke partial MARs for partner builds. This is definitely a dupe of that, but I'm not sure that bug is actually fixed anymore =(.

Thank you for reporting this problem, we'll look into further in bug 770996.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
I happened to restart Firefox randomly and it upgraded to 15.0.1 without having to do anything special.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: