Closed
Bug 1503181
Opened 8 years ago
Closed 8 years ago
Firefox update does not work and Firefox will not start
Categories
(Firefox :: Untriaged, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: uwe.schmidt, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:63.0) Gecko/20100101 Firefox/63.0
Steps to reproduce:
System: Windows 10 1803
Useraccount with no aministrative rights
The userprofile is linked to drive d: (mklink /d), example: mklink /d C:\Users\Test d:\Test
I make a manuell update by Preferences / Help / About Firefox
The download ist working and the files are places in d:\test\AppData\Mozilla\updates
After Clicking "Restart Firefox for updating", Firefox closed and nothing happens.
If you delete the update directory in the user profile, you can start firefox, but it is the old version.
If I do this with an account witch is located on Drive C: , it works without problems.
This works for a long time, this error is since Quantum was released.
Actual results:
Firefox didn't Update the Version and couldn't started again.
Expected results:
The Update should work
| Reporter | ||
Updated•8 years ago
|
Flags: needinfo?(uwe.schmidt)
Comment 1•8 years ago
|
||
Since I'm having the same problem, I took a closer look on what is happening.
On my machine, the user profiles are also symbolically linked from "C:\Users\username" to "P:\shortusername". The firefox installation is located at C:\Users\username\AppData\Local\Mozilla Firefox".
When firefox is restarted to apply the (already downloaded) update, the sysinternal process monitor shows that updater.exe is invoked with argv={"P:\shortusername\AppData\Local\Mozilla Firefox\updater.exe","C:\Users\username\AppData\Local\Mozilla\updates\A821403C0D2AB72\updates\0","C:\Users\username\AppData\Local\Mozilla Firefox","C:\Users\username\AppData\Local\Mozilla Firefox",14044,"C:\Users\username\AppData\Local\Mozilla Firefox","C:\Users\username\AppData\Local\Mozilla Firefox\firefox.exe"}.
At some point, updater.exe exits with the return value 1 indicating an error. To check why this process exits with code 1, the process was executed manually in a command line:
"P:\shortusername\AppData\Local\Mozilla Firefox\updater.exe" "C:\Users\username\AppData\Local\Mozilla\updates\A821403C0D2AB72\updates\0" "C:\Users\username\AppData\Local\Mozilla Firefox" "C:\Users\username\AppData\Local\Mozilla Firefox" > updater_log.txt 2>&1
Afterwards, updater_log.txt contains the following text:
The patch directory path is not valid for this application (C:\Users\username\AppData\Local\Mozilla\updates\A821403C0D2AB72\updates\0)
This message is produced in "firefox-63.0/toolkit/mozapps/update/updater/updater.cpp", by the following check
if (!IsValidFullPath(argv[1]))
I do not really know why this function returns false (to check this, I would have to set up a windows development enviroment for firefox), but I hope this information is helpful.
Comment 2•8 years ago
|
||
Hi, I tried to reproduce this issue but without success, here are the steps I followed and you guys can correct me and maybe provide some new steps after.
1. Open CMD with "Run as Admin" then typed - mklink /d C:\Users\username\Desktop\test F:\Profiles\Test (which created the symbolic link)
2. Installed Firefox 63 and started with a new Profile > when Creating the Profile the selected folder is C:\Users\username\Desktop\test which automatically shows the other path where the actual folder exists the F:\Profiles\Test.
3. Open the "About Firefox" and wait for build 63.0.1 to download, click the Restart to Update Firefox button when it becomes available.
4. The Firefox browser restarts and its updated to 63.0.1.
Am I missing some steps ?
I am also using Windows 10 64 bit.
Comment 3•8 years ago
|
||
The difference between the steps in the initial bug report and in comment 2 is probably the linked folder:
In Comment 2, only the firefox profile is linked, but the updates are not installed to the profile.
Anyway, I tried to reproduce the steps in Comment 2 with the whole windows user profile symlinked and I could not reproduce it anymore as well. It turned out that it is reproducable with 60.2.2esr, but not with 63.0.0, so the issue might be already fixed (at least for me - I don't know if the issue persists for the reporter).
I apologize for the work that I caused (I forgot that I installed the ESR version while searching for a solution) and thak you for your help.
| Reporter | ||
Comment 4•8 years ago
|
||
I have tried it again and the error is the same.
I can reproduce the error.
I'm an IT Administrator at the University of Kassel and we are cloning maschines
A clone maschine with two partitions C: and D:
I create a new account on c: with default directories (c:\Users\uwe)
I login to this account
I copy a Firefox Profile to c:\Users\Uwe\firefox
Firefox works and then logout
I copy the Profile to d:\uwe and delete the profile on drive c:
mklink /d c:\Users\Uwe d:\uwe
I login into this account and everything works fine
Now I start Firefox and start a manually Update und the error occurs.
Firefox Version 62.0.3
The error occurs also, if I make a new firefox profile
Flags: needinfo?(uwe.schmidt)
| Reporter | ||
Comment 5•8 years ago
|
||
Now I have tried it with Version 63.0.0 and then the Update works, like Marc Niehaus told.
So you can close the case.
Comment 6•8 years ago
|
||
Great, I was able to reproduce this issue as well with Firefox 62.0.3 but not with older versions of Firefox 63.0 , Beta 64.0b5, or Latest Nightly. I will mark this issue as Resolved Works For Me based on Comment 5.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•