Closed Bug 2033218 Opened 7 months ago Closed 5 days ago

Firefox Nightly cannot be updated without UAC prompt

Categories

(Toolkit :: Application Update, defect)

Firefox 151
Desktop
Windows 10
defect

Tracking

()

RESOLVED DUPLICATE of bug 2094269

People

(Reporter: amy, Unassigned)

References

Details

Attachments

(6 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:151.0) Gecko/20100101 Firefox/151.0

Steps to reproduce:

Installed Firefox Nightly from the EXE (firefox-151.0a1.es-ES.win64.installer from Apr 12) and enabled automatic updates.

Actual results:

Every day I should get Firefox to update itself without further intervention.

Expected results:

Daily, on the first start I get an UAC prompt for the past day's update to be applied.

OS: Unspecified → Windows 10
Hardware: Unspecified → Desktop

Hey! Are you running firefox from a non-admin account?

Flags: needinfo?(amy)

Yes, I always use Firefox from a non-admin account. Only the install has been performed as admin, but via UAC elevation prompt, not from an admin session.

Flags: needinfo?(amy)

Hi amyspark!

Is it possible that you selected a Custom setup during installation and unchecked Install Maintenance Service?

If not, is it possible that you uninstalled Mozilla Maintenance Service after installation?

On the other hand, could you share the install.log file located in the installation folder?

Flags: needinfo?(amy)

Is it possible that you selected a Custom setup during installation and unchecked Install Maintenance Service?

Not at all.

is it possible that you uninstalled Mozilla Maintenance Service after installation?

Yes, as recommended here: https://support.mozilla.org/en-US/questions/1202971 . Please note that this made no effect, Firefox kept asking for UAC permission before and after the uninstall/reinstall.

I'll attach the requested logs now.

Flags: needinfo?(amy)
Attached file install.log —

Firefox Nightly installer log

Thank you for attaching the logs! To refine the investigation, could you please answer these questions?

  • Are you using Windows 10 or Windows 11?
  • Is the user who installed Firefox the same one using it? If so, I understand that the user belongs to the Administrators group, right?

Could you check whether the Mozilla Maintenance Service is correctly registered as a service?

  • Press Win + R.
  • Type services.msc and press Enter.
  • Search for Mozilla Maintenance Service. The Startup Type should be set to Manual, and Log On As should be set to Local System.
Flags: needinfo?(amy)

Are you using Windows 10 or Windows 11?

As specified in Categories > Platform, I am using Windows 10 (in particular 22H2).

Is the user who installed Firefox the same one using it? If so, I understand that the user belongs to the Administrators group, right?

See https://bugzilla.mozilla.org/show_bug.cgi?id=2033218#c2 -- I never use the admin account except via UAC prompt.

To be completely precise, I have two accounts, an unprivileged (Amy) and an Administrator-group (Amalia) account. I launched the Firefox installer as Amy, which immediately requested to elevate via UAC to Amalia to install to C:/Program Files. But afterwards I always run Firefox from Amy.

Search for Mozilla Maintenance Service. The Startup Type should be set to Manual, and Log On As should be set to Local System.

Confirmed both are set accordingly.

Flags: needinfo?(amy)

Thank you very much for providing such detailed information.

To understand what's happening, we need to generate a log of the update process.

Please follow the steps below to generate it before downloading a new update:

  • Navigate to about:config.
  • Set app.update.log.file to true.
  • Navigate to about:preferences.
  • Navigate to the "Update" section, check for updates check and apply the update.
  • Navigate to about:support.
  • Navigate to the "Profile Folder" section and open the folder.
  • Attach the update_messages.log to the ticket.
Flags: needinfo?(amy)

Attach the update_messages.log to the ticket.

I've followed the steps as you mention, but no update_messages.log is generated. There does is an update_messages_old.log which shows the last update check state. I will attach that and the update.log from the update folder, in case those explain why.

Flags: needinfo?(amy)
Attached file backup-update.log —
Attached file last-update.log —

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

For more information, please visit BugBot documentation.

Flags: needinfo?(nrishel)

As Mozilla Maintenance Service is installed and set up correctly, could you check app.update.service.enabled is set to true in about:config because I can see in the main log

AUS:SVC isServiceInstalled - returning true
AUS:SVC shouldUseService - returning false

and the only way shouldUseService can return false is if the service isn't installed (which it is) or it's been disabled by setting app.update.service.enabled to false

Flags: needinfo?(nrishel) → needinfo?(amy)
Severity: -- → S4
Priority: -- → P5

I force enabled that pref in about:config and now it's back to auto-updating just fine. Thanks!

Flags: needinfo?(amy)
Severity: S4 → S3
Priority: P5 → --
See Also: → 2094269

This is a duplicate of bug 2094269.

Status: UNCONFIRMED → RESOLVED
Closed: 5 days ago
Duplicate of bug: 2094269
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: