Closed Bug 1825556 Opened 2 years ago Closed 2 years ago

Problem updating Firefox

Categories

(Toolkit :: Application Update, defect)

Firefox 111
All
Unspecified
defect

Tracking

()

RESOLVED DUPLICATE of bug 1702276

People

(Reporter: calanger, Unassigned)

References

Details

Attachments

(5 files)

Attached image Update Firefox.jpg

Steps to reproduce:

When I go to Firefox>Help>About Firefox I get a screen with a button that says "Restart to Update Firefox" (screenshot attached). I click on the button.

Actual results:

Firefox closes and then restarts, but has not updated - when I do the steps above, I get the same screen, and the version is unchanged.

Expected results:

Thunderbird should update to the latest version. I don't know what "browser's user agent string" refers to, so I can't include it.

Why was this filed under the "Focus" product?

My mistake, I guess. Please do what's necessary to make this a valid bug report. Thank you!

The severity field is not set for this bug.
:jonalmeida, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(jonalmeida942)
Flags: needinfo?(jonalmeida942)
Product: Focus → Firefox

The Bugbug bot thinks this bug should belong to the 'Toolkit::Application Update' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: General → Application Update
Product: Firefox → Toolkit
OS: Android → Unspecified

Hello! Thanks for filing a bug.

Can you please provide some logs so that we can see what is going on? They can be collected like this:

  1. Navigate to about:config.
  2. Set app.update.log to true.
  3. Open the Browser Console either with the hotkey Control+Shift+J (Command+Shift+J on macOS), or via Hamburger Menu->More Tools->Browser Console
  4. In the Filter textbox at the top, enter AUS: to filter out everything except the update messages.
  5. Navigate to the "Update" section of about:preferences. It should automatically check for an update.
  6. Once the update check has completed, copy the messages out of the Browser Console and attach them to this bug.

  1. Navigate to about:support
  2. Find the "Update Folder" entry and click "Open Folder".
  3. If this folder contains a file named updates.xml, attach it to this bug. If not, please tell us that it didn't exist.
  4. Open the updates directory.
  5. If this folder contains files named last-update.log and backup-update.log, attach both of these files to this bug. If not, please tell us that the files didn't exist.

(In reply to Charles from comment #0)

Expected results:

Thunderbird should update to the latest version.

Is this meant to read "Firefox" instead of "Thunderbird"?

I don't know what "browser's user agent string" refers to, so I can't include it.

Let's not worry about that for now.


Also, could you please tell me what Operating System (ex: Windows, macOS) you are running and what version?

Thank you!

I'm running Win 7 64-bit Pro. Here's the log:

AUS:SVC Creating UpdateService
AUS:SVC Logging current UpdateService status:
AUS:SVC UpdateService.canUsuallyCheckForUpdates - able to check for updates
AUS:SVC UpdateService.canCheckForUpdates - able to check for updates
DEPRECATION WARNING: Calling FileUtils.getDir(..., ..., true) causes main thread I/O and should be avoided especially during startup/shutdown
You may find more details about this deprecation at: https://bugzilla.mozilla.org/show_bug.cgi?id=921157
resource://gre/modules/FileUtils.sys.mjs 62 FileUtils_getDir
resource://gre/modules/UpdateService.jsm 1065 getUpdateDirCreate
resource://gre/modules/UpdateService.jsm 1104 getUpdateFile
resource://gre/modules/UpdateService.jsm 783 getCanApplyUpdates
resource://gre/modules/UpdateService.jsm 3969 get canUsuallyApplyUpdates
resource://gre/modules/UpdateService.jsm 3977 get canApplyUpdates
resource://gre/modules/UpdateService.jsm 4196 AUS__logStatus
resource://gre/modules/UpdateService.jsm 2648 UpdateService
resource://gre/modules/UpdateServiceStub.jsm 112 UpdateServiceStub
Deprecated.sys.mjs:80:13
AUS:SVC getCanApplyUpdates - testing write access C:\ProgramData\Mozilla-1de4eec8-1241-4177-a864-e594e8d1fb38\updates\CDFCF4B7528A39A6\update.test
AUS:SVC isServiceInstalled - returning true
AUS:SVC shouldUseService - returning true
AUS:SVC getCanApplyUpdates - bypass the write checks because the Windows Maintenance Service can be used
AUS:SVC isServiceInstalled - returning true
AUS:SVC shouldUseService - returning true
AUS:SVC getCanStageUpdates - able to stage updates using the service
AUS:SVC Elevation required: false
AUS:SVC Other instance of the application currently running: false
AUS:SVC Downloading: false
AUS:SVC End of UpdateService status
AUS:SVC UpdateService.canUsuallyCheckForUpdates - able to check for updates
AUS:SVC UpdateService.canCheckForUpdates - able to check for updates
AUS:SVC readStatusFile - status: failed: 35, path: C:\ProgramData\Mozilla-1de4eec8-1241-4177-a864-e594e8d1fb38\updates\CDFCF4B7528A39A6\updates\0\update.status
AUS:SVC UpdateService:_postUpdateProcessing - status = "failed: 35"
AUS:SVC getCanApplyUpdates - testing write access C:\ProgramData\Mozilla-1de4eec8-1241-4177-a864-e594e8d1fb38\updates\CDFCF4B7528A39A6\update.test
AUS:SVC isServiceInstalled - returning true
AUS:SVC shouldUseService - returning true
AUS:SVC getCanApplyUpdates - bypass the write checks because the Windows Maintenance Service can be used
AUS:SVC readStatusFile - status: failed: 35, path: C:\ProgramData\Mozilla-1de4eec8-1241-4177-a864-e594e8d1fb38\updates\CDFCF4B7528A39A6\updates\0\update.status
AUS:SVC UpdateManager:UpdateManager - status = "failed: 35"
AUS:SVC UpdateManager:UpdateManager - Initialized downloadingUpdate to null
AUS:SVC UpdateManager:UpdateManager - Initialized readyUpdate to [object Object]
AUS:SVC UpdateManager:UpdateManager - Initialized readyUpdate state to applied-service
AUS:SVC readStringFromFile - file doesn't exist: C:\ProgramData\Mozilla-1de4eec8-1241-4177-a864-e594e8d1fb38\updates\CDFCF4B7528A39A6\updates\0\bt.result
AUS:SVC readBinaryTransparencyResult - result: null, path: C:\ProgramData\Mozilla-1de4eec8-1241-4177-a864-e594e8d1fb38\updates\CDFCF4B7528A39A6\updates\0\bt.result
AUS:SVC UpdateService:_postUpdateProcessing - Setting update's state from the status file (="failed")
AUS:SVC UpdateService:_postUpdateProcessing - Setting update's errorCode from the status file (="35")
AUS:SVC UpdateService:_postUpdateProcessing - Attempting handleUpdateFailure
AUS:SVC handleUpdateFailure - Failure is a write error. Setting state to pending
AUS:SVC transitionState - "STATE_IDLE" -> "STATE_PENDING".
AUS:SVC UpdateService:_postUpdateProcessing - handleUpdateFailure success.
Layout was forced before the page was fully loaded. If stylesheets are not yet loaded this may cause a flash of unstyled content. aboutconfig.js:444:18
AUS:SVC UpdateService.canUsuallyCheckForUpdates - able to check for updates
AUS:SVC UpdateService.canCheckForUpdates - able to check for updates
AUS:SVC CheckerService:checkForUpdates - checkType: 2
AUS:SVC CheckerService:checkForUpdates - Making new check request for check id 1.
AUS:SVC waitForOtherInstances - beginning polling
AUS:SVC waitForOtherInstances - no other instances found, exiting
AUS:SVC CheckerService:getUpdateURL - checkType: 2
AUS:SVC CheckerService:getUpdateURL - update URL: https://aus5.mozilla.org/update/6/Firefox/111.0.1/20230321111920/WINNT_x86_64-msvc-x64/en-US/release/Windows_NT%206.1.1.0.7601%20(x64)/ISET:SSE4_2,MEM:32587/default/default/update.xml?force=1
AUS:SVC CheckerService:#updateCheck - sending request to: https://aus5.mozilla.org/update/6/Firefox/111.0.1/20230321111920/WINNT_x86_64-msvc-x64/en-US/release/Windows_NT%206.1.1.0.7601%20(x64)/ISET:SSE4_2,MEM:32587/default/default/update.xml?force=1
AUS:SVC CheckerService:#updateCheck - request got 'load' event
AUS:SVC CheckerService:#updateCheck - request completed downloading document
AUS:SVC CheckerService:#updateCheck - number of updates available: 1
AUS:SVC UpdateService.canUsuallyCheckForUpdates - able to check for updates
AUS:SVC isServiceInstalled - returning true
AUS:SVC shouldUseService - returning true
AUS:SVC getCanStageUpdates - able to stage updates using the service
AUS:SVC getCanUseBits - BITS can be used to download updates

This output is unexpected for multiple reasons. Did you see the "Restart to Update" message when you collected this log?

Also, you didn't include updates.xml, last-update.log, or backup-update.log. Could you please include those?

Flags: needinfo?(calanger)

Hello Robin,

I did see the "Restart to Update" message. One (and only one) of the times I saw this message, Firefox said it was downloading an update and that I should restart, but nothing happened.

updates.xml:

<?xml version="1.0"?><updates xmlns="http://www.mozilla.org/2005/app-update"><update xmlns="http://www.mozilla.org/2005/app-update" appVersion="111.0.1" buildID="20230321111920" channel="release" detailsURL="https://www.mozilla.org/en-US/firefox/111.0.1/releasenotes/" displayVersion="111.0.1" installDate="1679571354801" isCompleteUpdate="false" name="Firefox 111.0.1" previousAppVersion="111.0" promptWaitTime="691200" serviceURL="https://aus5.mozilla.org/update/6/Firefox/111.0/20230309232128/WINNT_x86_64-msvc-x64/en-US/release/Windows_NT%206.1.1.0.7601%20(x64)/ISET:SSE4_2,MEM:32587/default/default/update.xml" type="minor" statusText="The Update was successfully installed" foregroundDownload="true"><patch size="62766399" type="complete" URL="https://download.mozilla.org/?product=firefox-111.0.1-complete&amp;os=win64&amp;lang=en-US" hashFunction="sha512" hashValue="8ac9d0af5ecd689d1ca68688e73d1a313bb16df4bd4ccf0223f123fb560c8fb83f3c80c46c2f81de232a722f2a44c6f0dc70f485fee906a57becb0eeb5892181"/><patch size="6812043" type="partial" URL="https://download.mozilla.org/?product=firefox-111.0.1-partial-111.0&amp;os=win64&amp;lang=en-US" selected="true" state="succeeded" hashFunction="sha512" hashValue="4865fd7cb747ddfd2c072a863beb68c95a6aae2807c57a9a95cde5e6e42ce7a6baffabde7230568a755bcd729c7478a0d3d91830e1c7c50058304b4d8c681755" bitsId="{517C68FF-ECA6-40B4-9E43-2B3EA39229C7}" bitsResult="0"/></update><update xmlns="http://www.mozilla.org/2005/app-update" appVersion="105.0.1" buildID="20220922151854" channel="release" detailsURL="https://www.mozilla.org/en-US/firefox/105.0.1/releasenotes/" displayVersion="105.0.1" installDate="1664842711514" isCompleteUpdate="true" name="Firefox 105.0.1" previousAppVersion="103.0.2" promptWaitTime="691200" serviceURL="https://aus5.mozilla.org/update/6/Firefox/103.0.2/20220808125904/WINNT_x86_64-msvc-x64/en-US/release/Windows_NT%206.1.1.0.7601%20(x64)/ISET:SSE4_2,MEM:32587/default/default/update.xml" type="minor" statusText="Install Pending" actions="showURL" openURL="https://www.mozilla.org/firefox/105.0.1/whatsnew/?oldversion=%OLD_VERSION%"><patch size="60736315" type="complete" URL="https://download.mozilla.org/?product=firefox-105.0.1-complete&amp;os=win64&amp;lang=en-US" selected="true" state="applied-service" hashFunction="sha512" hashValue="7ad50778b33e47165801e0c755ee0b5fe2e720363b92dec5db349ec454680023ecd31527df24b431f16b88a3d04cbd77772a9055f61c2114933b2faf3b13c188" bitsId="{07CA4855-3385-4D56-BB1C-3690B02859C1}" bitsResult="0"/></update><update xmlns="http://www.mozilla.org/2005/app-update" appVersion="103.0.2" buildID="20220808125904" channel="release" detailsURL="https://www.mozilla.org/en-US/firefox/103.0.2/releasenotes/" displayVersion="103.0.2" installDate="1661513429520" isCompleteUpdate="true" name="Firefox 103.0.2" previousAppVersion="101.0.1" promptWaitTime="691200" serviceURL="https://aus5.mozilla.org/update/6/Firefox/101.0.1/20220608170832/WINNT_x86_64-msvc-x64/en-US/release/Windows_NT%206.1.1.0.7601%20(x64)/ISET:SSE4_2,MEM:32587/default/default/update.xml" type="minor" statusText="The Update was successfully installed" actions="showURL" openURL="https://www.mozilla.org/firefox/103.0.2/whatsnew/?oldversion=%OLD_VERSION%"><patch size="60226567" type="complete" URL="https://download.mozilla.org/?product=firefox-103.0.2-complete&amp;os=win64&amp;lang=en-US" selected="true" state="succeeded" hashFunction="sha512" hashValue="d9a143e0ac852373a1bb98d635ad3d055c3380d4edad3cf84f60de3d4c0b45e1d9e6bd1c03b19f3dcac802fbd2bb799a534619e69986b5d7ac34c11123705589" bitsId="{11A5F296-0556-4473-B704-898EB2166553}" bitsResult="0"/></update><update xmlns="http://www.mozilla.org/2005/app-update" appVersion="103.0.2" buildID="20220808125904" channel="release" detailsURL="https://www.mozilla.org/en-US/firefox/103.0.2/releasenotes/" displayVersion="103.0.2" installDate="1660652770912" isCompleteUpdate="true" name="Firefox 103.0.2" previousAppVersion="101.0.1" promptWaitTime="691200" serviceURL="https://aus5.mozilla.org/update/6/Firefox/101.0.1/20220608170832/WINNT_x86_64-msvc-x64/en-US/release/Windows_NT%206.1.1.0.7601%20(x64)/ISET:SSE4_2,MEM:32587/default/default/update.xml" type="minor" statusText="Install Pending" actions="showURL" openURL="https://www.mozilla.org/firefox/103.0.2/whatsnew/?oldversion=%OLD_VERSION%"><patch size="60226567" type="complete" URL="https://download.mozilla.org/?product=firefox-103.0.2-complete&amp;os=win64&amp;lang=en-US" selected="true" state="applied-service" hashFunction="sha512" hashValue="d9a143e0ac852373a1bb98d635ad3d055c3380d4edad3cf84f60de3d4c0b45e1d9e6bd1c03b19f3dcac802fbd2bb799a534619e69986b5d7ac34c11123705589" bitsId="{A062912B-B79E-4399-B05F-EF5AC2E5930A}" bitsResult="0"/></update><update xmlns="http://www.mozilla.org/2005/app-update" appVersion="103.0.1" buildID="20220729222726" channel="release" detailsURL="https://www.mozilla.org/en-US/firefox/103.0.1/releasenotes/" displayVersion="103.0.1" installDate="1659439668047" isCompleteUpdate="false" name="Firefox 103.0.1" previousAppVersion="101.0.1" promptWaitTime="691200" serviceURL="https://aus5.mozilla.org/update/6/Firefox/101.0.1/20220608170832/WINNT_x86_64-msvc-x64/en-US/release/Windows_NT%206.1.1.0.7601%20(x64)/ISET:SSE4_2,MEM:32587/default/default/update.xml?force=1" type="minor" statusText="Install Pending" actions="showURL" openURL="https://www.mozilla.org/firefox/103.0.1/whatsnew/?oldversion=%OLD_VERSION%" foregroundDownload="true"><patch size="60245659" type="complete" URL="https://download.mozilla.org/?product=firefox-103.0.1-complete&amp;os=win64&amp;lang=en-US" hashFunction="sha512" hashValue="90800c9be789faaf6781ecc1067541c21ed3d4f98ea5c569f6f53ab977b5b7e26587eb07c7c58fa675a250ab5f9c73934dc7cfb5e8065dff35782d9e04cf6f2b"/><patch size="16837590" type="partial" URL="https://download.mozilla.org/?product=firefox-103.0.1-partial-101.0.1&amp;os=win64&amp;lang=en-US" selected="true" state="applied-service" hashFunction="sha512" hashValue="a28074007c01e3817c472dfba782a6e5fd5d4fd80dc809f82d3e027fcdfc8cb8b8600d176a5fb269e7a557ef866c6b0a77c25242213428260c988fee15e0934e" bitsId="{1B58A655-5DD6-46D7-89CD-B1609519BBC4}" bitsResult="0"/></update><update xmlns="http://www.mozilla.org/2005/app-update" appVersion="101.0.1" buildID="20220608170832" channel="release" detailsURL="https://www.mozilla.org/en-US/firefox/101.0.1/releasenotes/" displayVersion="101.0.1" installDate="1655726066263" isCompleteUpdate="false" name="Firefox 101.0.1" previousAppVersion="100.0" promptWaitTime="691200" serviceURL="https://aus5.mozilla.org/update/6/Firefox/100.0/20220428192727/WINNT_x86_64-msvc-x64/en-US/release/Windows_NT%206.1.1.0.7601%20(x64)/ISET:SSE4_2,MEM:32587/default/default/update.xml" type="minor" statusText="The Update was successfully installed" actions="showURL" openURL="https://www.mozilla.org/firefox/101.0.1/whatsnew/?oldversion=%OLD_VERSION%"><patch size="60323951" type="complete" URL="https://download.mozilla.org/?product=firefox-101.0.1-complete&amp;os=win64&amp;lang=en-US" hashFunction="sha512" hashValue="0c8290217e15e9c544af4681c96f54c6d8620ad7e81acc6ee4346c66dca17af933f4277638caf391c5a84856c0c3291da881557243b0f91dab924f660b1cc91f"/><patch size="20854034" type="partial" URL="https://download.mozilla.org/?product=firefox-101.0.1-partial-100.0&amp;os=win64&amp;lang=en-US" selected="true" state="succeeded" hashFunction="sha512" hashValue="103e157886f28b13391d2d558944cb36f71cc1a858312ca868742d3ad4045fec38e4c7ee6d7faa8aba26cde540ad97e0d0eddbf55bd73d1343b1af0d22567e24" bitsId="{6E3472B9-1903-4C1D-BFFF-CCC82D6BEF0B}" bitsResult="0"/></update><update xmlns="http://www.mozilla.org/2005/app-update" appVersion="101.0.1" buildID="20220608170832" channel="release" detailsURL="https://www.mozilla.org/en-US/firefox/101.0.1/releasenotes/" displayVersion="101.0.1" installDate="1654947488676" isCompleteUpdate="false" name="Firefox 101.0.1" previousAppVersion="100.0" promptWaitTime="691200" serviceURL="https://aus5.mozilla.org/update/6/Firefox/100.0/20220428192727/WINNT_x86_64-msvc-x64/en-US/release/Windows_NT%206.1.1.0.7601%20(x64)/ISET:SSE4_2,MEM:32587/default/default/update.xml" type="minor" statusText="Install Pending" actions="showURL" openURL="https://www.mozilla.org/firefox/101.0.1/whatsnew/?oldversion=%OLD_VERSION%"><patch size="60323951" type="complete" URL="https://download.mozilla.org/?product=firefox-101.0.1-complete&amp;os=win64&amp;lang=en-US" hashFunction="sha512" hashValue="0c8290217e15e9c544af4681c96f54c6d8620ad7e81acc6ee4346c66dca17af933f4277638caf391c5a84856c0c3291da881557243b0f91dab924f660b1cc91f"/><patch size="20854034" type="partial" URL="https://download.mozilla.org/?product=firefox-101.0.1-partial-100.0&amp;os=win64&amp;lang=en-US" selected="true" state="applied-service" hashFunction="sha512" hashValue="103e157886f28b13391d2d558944cb36f71cc1a858312ca868742d3ad4045fec38e4c7ee6d7faa8aba26cde540ad97e0d0eddbf55bd73d1343b1af0d22567e24" bitsId="{F003CC62-5614-4D3C-A160-6A9E01BDE926}" bitsResult="0"/></update><update xmlns="http://www.mozilla.org/2005/app-update" appVersion="99.0.1" buildID="20220411174855" channel="release" detailsURL="https://www.mozilla.org/en-US/firefox/99.0.1/releasenotes/" displayVersion="99.0.1" installDate="1650970412414" isCompleteUpdate="false" name="Firefox 99.0.1" previousAppVersion="99.0" promptWaitTime="691200" serviceURL="https://aus5.mozilla.org/update/6/Firefox/99.0/20220330194208/WINNT_x86_64-msvc-x64/en-US/release/Windows_NT%206.1.1.0.7601%20(x64)/ISET:SSE4_2,MEM:32587/default/default/update.xml?force=1" type="minor" statusText="Install Pending" foregroundDownload="true"><patch size="59767975" type="complete" URL="https://download.mozilla.org/?product=firefox-99.0.1-complete&amp;os=win64&amp;lang=en-US" hashFunction="sha512" hashValue="158f10d758a276701cd57e1175894e0c56f2083b555e15f185cf9449ce7b9672fd81bfdf15fddfb349512498f94cd6977696e5a9d3b833cb6754049ad1de15a8"/><patch size="6719955" type="partial" URL="https://download.mozilla.org/?product=firefox-99.0.1-partial-99.0&amp;os=win64&amp;lang=en-US" selected="true" state="applied-service" hashFunction="sha512" hashValue="1a704a8e46cd335323339447d647473e36be27e3ce239c68382bca68f6f852908fd29ea0d19db237d143089c237171f11b9e3d508330292a952dc0273a926b8d" bitsId="{AE9B61DA-0804-46B9-8019-D4E3819DFD5D}" bitsResult="0"/></update><update xmlns="http://www.mozilla.org/2005/app-update" appVersion="99.0" buildID="20220330194208" channel="release" detailsURL="https://www.mozilla.org/en-US/firefox/99.0/releasenotes/" displayVersion="99.0" installDate="1649590357537" isCompleteUpdate="true" name="Firefox 99.0" previousAppVersion="95.0.2" promptWaitTime="691200" serviceURL="https://aus5.mozilla.org/update/6/Firefox/95.0.2/20211218203254/WINNT_x86_64-msvc-x64/en-US/release/Windows_NT%206.1.1.0.7601%20(x64)/ISET:SSE4_2,MEM:32587/default/default/update.xml" type="minor" statusText="The Update was successfully installed" actions="showURL" openURL="https://www.mozilla.org/firefox/99.0/whatsnew/?oldversion=%OLD_VERSION%"><patch size="59770511" type="complete" URL="https://download.mozilla.org/?product=firefox-99.0-complete&amp;os=win64&amp;lang=en-US" selected="true" state="succeeded" hashFunction="sha512" hashValue="c82152638ec426e5815c6d93fd9d8dfbe9cb02723030eeb2626ea3ce06bebec71167d2f3c787636140fbb26b0d4531d52dd6c0f46495b50feef39f4935aa16ad" bitsId="{F049C692-2EF3-46BF-AE6F-A9A9BAAE30F2}" bitsResult="0"/></update><update xmlns="http://www.mozilla.org/2005/app-update" appVersion="97.0.1" buildID="20220216172458" channel="release" detailsURL="https://www.mozilla.org/en-US/firefox/97.0.1/releasenotes/" displayVersion="97.0.1" installDate="1645733834676" isCompleteUpdate="false" name="Firefox 97.0.1" previousAppVersion="95.0.2" promptWaitTime="691200" serviceURL="https://aus5.mozilla.org/update/6/Firefox/95.0.2/20211218203254/WINNT_x86_64-msvc-x64/en-US/release/Windows_NT%206.1.1.0.7601%20(x64)/ISET:SSE4_2,MEM:32587/default/default/update.xml" type="minor" statusText="Install Pending" actions="showURL" openURL="https://www.mozilla.org/firefox/97.0.1/whatsnew/?oldversion=%OLD_VERSION%"><patch size="59795707" type="complete" URL="https://download.mozilla.org/?product=firefox-97.0.1-complete&amp;os=win64&amp;lang=en-US" hashFunction="sha512" hashValue="0487538b16bb295cad37bd766154c3c43dca6f55f38b49bac02e4fefa51bbdb2f4edb3efbe3998f3b00b9e45b18398e6cbae23ac6832a8c2bf2daea1403e05f5"/><patch size="17724329" type="partial" URL="https://download.mozilla.org/?product=firefox-97.0.1-partial-95.0.2&amp;os=win64&amp;lang=en-US" selected="true" state="applied-service" hashFunction="sha512" hashValue="a517819d9e02737f37025a107983a067021c56be0983f7caa2947ff197e3f50d121a63abaeecd394dcb3be846c50481de36e8ffe8d5b94a8b4cdb3dc7855152f" bitsId="{9B6F6E8F-BF56-46E5-9EE2-70EFFD5FEA3C}" bitsResult="0"/></update></updates>

last-update.log:

2023-04-14 13:11:48-0400: PATCH DIRECTORY C:\ProgramData\Mozilla-1de4eec8-1241-4177-a864-e594e8d1fb38\updates\CDFCF4B7528A39A6\updates\0
2023-04-14 13:11:48-0400: INSTALLATION DIRECTORY D:\Program Files\Mozilla Firefox
2023-04-14 13:11:48-0400: WORKING DIRECTORY D:\Program Files\Mozilla Firefox
2023-04-14 13:11:48-0400: NS_main: callback app file open attempt 1 failed. File: D:\Program Files\Mozilla Firefox\firefox.exe. Last error: 5
2023-04-14 13:11:48-0400: NS_main: callback app file open attempt 2 failed. File: D:\Program Files\Mozilla Firefox\firefox.exe. Last error: 5
2023-04-14 13:11:48-0400: NS_main: callback app file open attempt 3 failed. File: D:\Program Files\Mozilla Firefox\firefox.exe. Last error: 5
2023-04-14 13:11:49-0400: NS_main: callback app file open attempt 4 failed. File: D:\Program Files\Mozilla Firefox\firefox.exe. Last error: 5
2023-04-14 13:11:49-0400: NS_main: callback app file open attempt 5 failed. File: D:\Program Files\Mozilla Firefox\firefox.exe. Last error: 5
2023-04-14 13:11:49-0400: NS_main: callback app file open attempt 6 failed. File: D:\Program Files\Mozilla Firefox\firefox.exe. Last error: 5
2023-04-14 13:11:49-0400: NS_main: callback app file open attempt 7 failed. File: D:\Program Files\Mozilla Firefox\firefox.exe. Last error: 5
2023-04-14 13:11:49-0400: NS_main: callback app file open attempt 8 failed. File: D:\Program Files\Mozilla Firefox\firefox.exe. Last error: 5
2023-04-14 13:11:49-0400: NS_main: callback app file open attempt 9 failed. File: D:\Program Files\Mozilla Firefox\firefox.exe. Last error: 5
2023-04-14 13:11:49-0400: NS_main: callback app file open attempt 10 failed. File: D:\Program Files\Mozilla Firefox\firefox.exe. Last error: 5
2023-04-14 13:11:49-0400: NS_main: callback app file in use, failed to exclusively open executable file: D:\Program Files\Mozilla Firefox\firefox.exe

backup-update.log:

2023-04-14 09:28:19-0400: PATCH DIRECTORY C:\ProgramData\Mozilla-1de4eec8-1241-4177-a864-e594e8d1fb38\updates\CDFCF4B7528A39A6\updates\0
2023-04-14 09:28:19-0400: INSTALLATION DIRECTORY D:\Program Files\Mozilla Firefox
2023-04-14 09:28:19-0400: WORKING DIRECTORY D:\Program Files\Mozilla Firefox
2023-04-14 09:28:19-0400: NS_main: callback app file open attempt 1 failed. File: D:\Program Files\Mozilla Firefox\firefox.exe. Last error: 5
2023-04-14 09:28:19-0400: NS_main: callback app file open attempt 2 failed. File: D:\Program Files\Mozilla Firefox\firefox.exe. Last error: 5
2023-04-14 09:28:19-0400: NS_main: callback app file open attempt 3 failed. File: D:\Program Files\Mozilla Firefox\firefox.exe. Last error: 5
2023-04-14 09:28:19-0400: NS_main: callback app file open attempt 4 failed. File: D:\Program Files\Mozilla Firefox\firefox.exe. Last error: 5
2023-04-14 09:28:19-0400: NS_main: callback app file open attempt 5 failed. File: D:\Program Files\Mozilla Firefox\firefox.exe. Last error: 5
2023-04-14 09:28:20-0400: NS_main: callback app file open attempt 6 failed. File: D:\Program Files\Mozilla Firefox\firefox.exe. Last error: 5
2023-04-14 09:28:20-0400: NS_main: callback app file open attempt 7 failed. File: D:\Program Files\Mozilla Firefox\firefox.exe. Last error: 5
2023-04-14 09:28:20-0400: NS_main: callback app file open attempt 8 failed. File: D:\Program Files\Mozilla Firefox\firefox.exe. Last error: 5
2023-04-14 09:28:20-0400: NS_main: callback app file open attempt 9 failed. File: D:\Program Files\Mozilla Firefox\firefox.exe. Last error: 5
2023-04-14 09:28:20-0400: NS_main: callback app file open attempt 10 failed. File: D:\Program Files\Mozilla Firefox\firefox.exe. Last error: 5
2023-04-14 09:28:20-0400: NS_main: callback app file in use, failed to exclusively open executable file: D:\Program Files\Mozilla Firefox\firefox.exe

Flags: needinfo?(calanger)

Can you check the permissions for me on your Firefox binary? You can do this by opening the command prompt with Windows Key+R then typing cmd and clicking "Ok". Then enter this command: icacls "D:\Program Files\Mozilla Firefox\firefox.exe"

For example, when I do this for my Firefox binary, I get:

>icacls "C:\Program Files\Firefox Nightly\firefox.exe"
C:\Program Files\Firefox Nightly\firefox.exe S-1-15-3-1024-1238444810-1356253261-2257478630-1143196962-1563090664-2414759320-1282101916-4218287853:(I)(RX)
                                             NT AUTHORITY\SYSTEM:(I)(F)
                                             BUILTIN\Administrators:(I)(F)
                                             BUILTIN\Users:(I)(RX)
                                             APPLICATION PACKAGE AUTHORITY\ALL APPLICATION PACKAGES:(I)(RX)
                                             APPLICATION PACKAGE AUTHORITY\ALL RESTRICTED APPLICATION PACKAGES:(I)(RX)

Successfully processed 1 files; Failed processing 0 files

Can you also attach the file at the following path please: C:\Program Files (x86)\Mozilla Maintenance Service\logs\maintenanceservice.log

Thank you!

Flags: needinfo?(calanger)

icacls "D:\Program Files\Mozilla Firefox\firefox.exe" returns "The system cannot find the path specified"

maintenanceservice.log:

Disabled unneeded token privilege: SeAssignPrimaryTokenPrivilege.
Disabled unneeded token privilege: SeAuditPrivilege.
Disabled unneeded token privilege: SeBackupPrivilege.
Disabled unneeded token privilege: SeCreateGlobalPrivilege.
Disabled unneeded token privilege: SeCreatePagefilePrivilege.
Disabled unneeded token privilege: SeCreatePermanentPrivilege.
Disabled unneeded token privilege: SeCreateSymbolicLinkPrivilege.
Could not disable token privilege value: SeCreateTokenPrivilege. (1300)
Disabled unneeded token privilege: SeDebugPrivilege.
Could not disable token privilege value: SeEnableDelegationPrivilege. (1300)
Disabled unneeded token privilege: SeImpersonatePrivilege.
Disabled unneeded token privilege: SeIncreaseBasePriorityPrivilege.
Disabled unneeded token privilege: SeIncreaseQuotaPrivilege.
Disabled unneeded token privilege: SeIncreaseWorkingSetPrivilege.
Disabled unneeded token privilege: SeLoadDriverPrivilege.
Disabled unneeded token privilege: SeLockMemoryPrivilege.
Could not disable token privilege value: SeMachineAccountPrivilege. (1300)
Disabled unneeded token privilege: SeManageVolumePrivilege.
Disabled unneeded token privilege: SeProfileSingleProcessPrivilege.
Could not disable token privilege value: SeRelabelPrivilege. (1300)
Could not disable token privilege value: SeRemoteShutdownPrivilege. (1300)
Disabled unneeded token privilege: SeRestorePrivilege.
Disabled unneeded token privilege: SeSecurityPrivilege.
Disabled unneeded token privilege: SeShutdownPrivilege.
Could not disable token privilege value: SeSyncAgentPrivilege. (1300)
Disabled unneeded token privilege: SeSystemEnvironmentPrivilege.
Disabled unneeded token privilege: SeSystemProfilePrivilege.
Disabled unneeded token privilege: SeSystemtimePrivilege.
Disabled unneeded token privilege: SeTakeOwnershipPrivilege.
Disabled unneeded token privilege: SeTcbPrivilege.
Disabled unneeded token privilege: SeTimeZonePrivilege.
Could not disable token privilege value: SeTrustedCredManAccessPrivilege. (1300)
Disabled unneeded token privilege: SeUndockPrivilege.
Could not disable token privilege value: SeUnsolicitedInputPrivilege. (1313)
Executing service command software-update, ID: 1f99b420-3a81-46e3-b765-f61390f02dfe
Checking for Maintenance Service registry. key: 'SOFTWARE\Mozilla\MaintenanceService\105cad4e647fb250cd814fb4fe894222'
updater.exe was compared successfully to the installation directory updater.exe.
The updater.exe application contains the Mozilla updater identity.
The file "C:\Program Files (x86)\Mozilla Thunderbird\updater.exe" is signed and the signature was verified.
Passed in path: 'C:\Program Files (x86)\Mozilla Thunderbird\updater.exe' (ignored); Install dir has: 'C:\Program Files (x86)\Mozilla Thunderbird\updater.exe'; Using this path for updating: 'C:\Program Files (x86)\Mozilla Maintenance Service\update\updater.exe'.
updater.exe was compared successfully to the installation directory updater.exe.
The updater.exe application contains the Mozilla updater identity.
The file "C:\Program Files (x86)\Mozilla Maintenance Service\update\updater.exe" is signed and the signature was verified.
Starting update process as the service in session 0.
Starting service with cmdline: "C:\Program Files (x86)\Mozilla Maintenance Service\update\updater.exe" C:\ProgramData\Mozilla\updates\8216C80C92C4E828\updates\0 "C:\Program Files (x86)\Mozilla Thunderbird" "C:\Program Files (x86)\Mozilla Thunderbird\updated" 12676/replace C:\windows\system32 "C:\Program Files (x86)\Mozilla Thunderbird\thunderbird.exe" -compose mailto:?body=about%3Apreferences&subject=Options
Process was started... waiting on result.
Process finished with return code 0.
updater.exe was launched and run successfully!
The file "C:\Program Files (x86)\Mozilla Maintenance Service\maintenanceservice_tmp.exe" is signed and the signature was verified.
Service command software-update complete.
service command MozillaMaintenance complete with result: Success.

Flags: needinfo?(calanger)

(In reply to Charles from comment #10)

icacls "D:\Program Files\Mozilla Firefox\firefox.exe" returns "The system cannot find the path specified"

Well this is rather confusing given this

(In reply to Charles from comment #8)

2023-04-14 13:11:48-0400: INSTALLATION DIRECTORY D:\Program Files\Mozilla Firefox
2023-04-14 13:11:48-0400: WORKING DIRECTORY D:\Program Files\Mozilla Firefox
2023-04-14 13:11:48-0400: NS_main: callback app file open attempt 1 failed. File: D:\Program Files\Mozilla Firefox\firefox.exe. Last error: 5
2023-04-14 13:11:48-0400: NS_main: callback app file open attempt 2 failed. File: D:\Program Files\Mozilla Firefox\firefox.exe. Last error: 5

Can you please navigate to about:support, find the "Application Binary" line, and tell me what it says?

Flags: needinfo?(calanger)

Application Binary says D:\Program Files\Mozilla Firefox\firefox.exe

Flags: needinfo?(calanger)

So Firefox thinks that it's binary is at D:\Program Files\Mozilla Firefox\firefox.exe but icacls "D:\Program Files\Mozilla Firefox\firefox.exe" claims that that file doesn't exist? That is extremely odd. Could you double check the icacls command output for me?

Additionally, if you open a file explorer and type %PROGRAMFILES% into the location bar and hit enter, what path does it take you to?

Flags: needinfo?(calanger)
Attached image icacls successfull.jpg
Flags: needinfo?(calanger)

o The icacls works if I do it without "Firefox Nightly" - please see attached screenshot
o %PROGRAMFILES% returns two folders , "Program Files" and "Program Files(x86)"

(In reply to Charles from comment #15)

o %PROGRAMFILES% returns two folders , "Program Files" and "Program Files(x86)"

Ok, I have a couple of points of clarification here.

  1. How did typing one value into the File Explorer navigate you to two different directories?
  2. I need to know the whole path, not just the directory name.

After you give me the full path for %PROGRAMFILES%, could you also give me the full path for %PROGRAMFILES(X86)%.

Thank you.

Flags: needinfo?(calanger)

I'm typing "Program Files" into the "Start>Search all programs and files" box, and get those two folders - is there something different I need to do?

Flags: needinfo?(calanger)

Yes, I need you to put those variables, one at a time, into the location bar of the file explorer. Not into the start menu.

Flags: needinfo?(calanger)

Or, if you would rather, you can use the Run Dialog (Windows Key + R)

Attached image %PF%.jpg

Please see attached screenshot

Flags: needinfo?(calanger)

That is not the location bar. That is the search bar. The location bar is just to the left of the search bar. Please put the variables, one at a time, into the location bar. Or the Run Dialog (Windows Key + R).

Flags: needinfo?(calanger)
Attached image Run PROGRAMFILES.jpg

Using Run>%PROGRAMFILES% I get the attached

Flags: needinfo?(calanger)

Thank you. What about the second variable that I asked for? %PROGRAMFILES(X86)%

Flags: needinfo?(calanger)
Attached image Run PROGRAMFILESx86.jpg

Attached, scrolled down to include "Mozilla Maintenance Service"

Flags: needinfo?(calanger)

Ok, I have enough information to say exactly what is going on here. Ever since Bug 1643199, we cannot use the Maintenance Service to elevate our permissions if the installation is not located in the %PROGRAMFILES% or %PROGRAMFILES(X86) directories. Bug 1676840 tracks fixing this issue, but work on this is not currently highly prioritized. On your machine, those locations correspond to C:\Program Files and C:\Program Files (x86), which are their typical locations for English Windows installations. However, your installation is located in D:\Program Files which is, of course, outside of that.

Normally, we would still attempt to elevate our permissions via a UAC prompt in this case. However, we have not yet had an opportunity to fix Bug 1702276, which prevents the UAC prompt from being properly shown if the user has write permissions to the directory but not delete permissions.

Until that is fixed, you should be able to get around this problem by either (1) using an installation in C:\Program Files instead of D:\Program Files, or (2) by granting the "Delete" permission to the BUILTIN\Users group for the D:\Program Files directory and its subdirectories. You should also be able to update via the UAC prompt if you (3) remove the "Write" permission to the BUILTIN\Users group for the D:\Program Files directory and its subdirectories. Of these options, (1) is the safest, followed by (3), and then (2).

Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1702276
Resolution: --- → DUPLICATE

How do I remove the "Write" permission to the BUILTIN\Users group for the D:\Program Files directory and its subdirectories?

P.S. - Please be advised that I have the exact same problem with Thunderbird, reported under Bug 1825410, and unresolved.

(In reply to Charles from comment #26)

How do I remove the "Write" permission to the BUILTIN\Users group for the D:\Program Files directory and its subdirectories?

Because of potential permission inheritance, there isn't actually a simple answer to this. Permissions are subtle and difficult to get right, even knowing all the other permissions on the system that could interact with the ones in question (which, in this case, I definitely do not). Ultimately, this is not a medium for Windows support, so I am not the right person to answer this question. If it is important that your D:\Program Files directory have the correct permissions to contain applications and maintain the same level of security that %PROGRAMFILES% would provide, I would recommend asking a Windows specialist how to do this. Or, better yet, get support from Microsoft itself.

(In reply to Charles from comment #27)

P.S. - Please be advised that I have the exact same problem with Thunderbird, reported under Bug 1825410, and unresolved.

If Thunderbird is also installed into D:\Program Files, you are almost certainly having exactly the same problem.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: