Vivaldi cannot update itself
-
Hi there there's a strange error occured to me today and some weeks ago happened also.
If i want to update my vivaldi this screen tells me that i cant
Because the installer cannot make a temp. folder.
I have the temp folder on a seperate HDD, that has like 320 Gigabytes of free space avalible. So i dunno what the problem is. Tried to check out the read only checkbox, the issue persists. Deleting everything from the folder, and the issue is the same.Last time if i update it manually, like downloading a new vivaldi setup from the site, that one installed with no problem, but now i wanted to update and it still Cannot.
What could i do?
-
@Sztewe Hello, please translate the text in the dialog box, my Hungarian is not so good
It might be some third-party security software stopping the updater.
Or it cannot handle the remapping of the temp folder, how have you done this remapping? By env. variables, or by junction links? Is this on a network drive?
-
@Pathduck Bing Translation:
The installer failed to create the temporary directory. Please check that there is enough space on the disk and that you are licensed to install the software.
-
My suspicion: User has overridden the
%TEMP%
variable and possibly deleted/write-protected the original directory but the Vivaldi updater uses the%TMP%
variable which is still set to the original location.@Sztewe Check your environment variables in Advanced System Settings. Or open a cmd prompt and do:
> set | findstr /RI "TE*MP" TEMP=C:\Users\Stian\AppData\Local\Temp TMP=C:\Users\Stian\AppData\Local\Temp
-
I had moved my temp folders to a hard drive (i mentioned it in the post ) when a GoG installer cannot installed a game because it wasn't enough space in the system folder (30 gigs of installer exe failed to install, unless i moved the temp folder, it was Serious Sam 4).
So that was the issue? What gives? Any other software installs just dandy just fine, only Vivaldi update cannot, it sticks to the default enviroment variables?
If that is it, than i'll update it manually.
-
@Sztewe Both TEMP and TMP variables are used in Windows and you need to change them both.
https://devblogs.microsoft.com/oldnewthing/20150417-00/?p=44213
https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-gettemppathwAlso if you did not write-protect (or delete?) your original temp folder it would still have worked without you noticing anything.
I don't know why the Vivaldi updater uses the TMP variable only, and does not fall back to TEMP when it fails. Feel free to create a bug report on that, it should be more robust in handling exceptions:
https://vivaldi.com/bugreport/ -
@Pathduck I have checked, nope the original temp folders are there. And no, no read only on any folder.
@Gwen-Dragon That would be no problem because the downloads folder in the HDD the Vivaldi browser is in that HDD too, and the Temp folders is in that volume too. Checked the user rights, no restrictions whatsoever. So your guess is good as mine.My guess that Vivaldi doesn't like non default enviroment variables, that's the culprit of failing to install.
I give up. If it means that i can only update vivaldi manually, so be it.
But, thank you for trying to help guys.
-
@Sztewe Check your env. variables in advanced system settings or the cmd prompt like I posted above.
You can also use process monitor to figure out why the installer fails on your system.
https://docs.microsoft.com/en-us/sysinternals/downloads/procmon -
@Pathduck said in Vivaldi cannot update itself:
@Sztewe Check your env. variables in advanced system settings or the cmd prompt like I posted above.
You can also use process monitor to figure out why the installer fails on your system.
https://docs.microsoft.com/en-us/sysinternals/downloads/procmonI have checked
-
I don't understand why you have a \TEMP and a \TMP, make both vars point to the same D:\TEMP
And do both directories exist and are writable by everyone? because if a process can't write to a dir it's probably requiring admin access. -
@Sztewe said in Vivaldi cannot update itself:
I have checked
OK so why pointing to two different directories? The default is that TEMP and TMP variables point to the same directory. Check the permissions of the
D:\Tmp
directory. SYSTEM and the User+Administrators must have full control of the directory@iAN-CooG said in Vivaldi cannot update itself:
it's probably requiring admin access.
Good point. The installer will use UAC to ask for elevated privileges. The updater won't so might be related to privileges, as the error message states.
-
Mine is probably a separate problem , but it put up a similar failure dialog. Except mine just said the update failed, no clue why. Finally downloaded the full version which installed properly.
For each failure I find a folder like:
Directory of C:\Users\loren\AppData\Local\Temp\Update-08d3c0f6-3027-4f3e-83a7-2b434dd425bb 11/25/2020 12:05 AM <DIR> . 11/25/2020 12:05 AM <DIR> .. 11/12/2020 05:55 AM 1,332 setup.3.4.2066.99-3.4.2066.106.x64.delta.7z 11/12/2020 06:05 AM 1,639,038 Vivaldi.3.4.2066.99-3.4.2066.106.x64.delta.7z 11/25/2020 12:05 AM 1,648,760 Vivaldi.3.4.2066.99-3.4.2066.106.x64.delta.7z.cab 3 File(s) 3,289,130 bytes 2 Dir(s) 41,083,990,016 bytes free C:\Users\loren\AppData\Local\Temp\Update-08d3c0f6-3027-4f3e-83a7-2b434dd425bb>
And a binary file like:
11/25/2020 12:04 AM 16,384 ~DF2FB1677C82A499F8.TMP 11/25/2020 12:24 AM 16,384 ~DF4845A2A0F55FBB07.TMP
The possibly strange thing is these happened right before the first Vivaldi failure:
11/25/2020 12:00 AM 2,149 chrome_installer.log 11/25/2020 12:00 AM 3,289 msedge_installer.log
I certainly didn't intend to install those. Ever since I got Win 10 2004, it has been randomly putting up notifications that my default app has been reset - to Edge. But when I look it is always still Vivaldi. Is there some kind of browser war going on here?
-
Yes the
Update-
folder is what Vivaldi creates when it does the update. Something not well known is that Vivaldi uses a Windows task to actually do the connection and download, which then first ends up in the good old IE cache folder (AppData\Local\Microsoft\Windows\INetCache\IE
)There should also be a log file in temp:
vivaldi_installer.log
similar failure dialog
Well "similar" doesn't help much. What's the full text, might give a clue?
And a binary file like:
The possibly strange thing is these happened right before the first Vivaldi failure:And where do you find these files? In Temp as well? I don't think they're related. A lot of sh*t happens at all times in Temp...
You know what I'm going to ask you to to do next right? I'm going to ask you to run Process Monitor and capture a trace
-
Vivaldi uses a Windows task to actually do the connection and download which then first ends up in the IE cache folder (AppData\Local\Microsoft\Windows\INetCache\IE)
You have to enable "System" files to even see that folder. Essentially nothing there. A zero byte file at the time of the Edge "install":
Directory of C:\Users\loren\AppData\Local\Microsoft\Windows\INetCache\IE 11/25/2020 12:00 AM 0 container.dat
There should also be a log file in temp:
vivaldi_installer.logThere is for the later full download install, that worked. Nothing for the failures.
And where do you find these files? In Temp as well?
Yes.
Well "similar" doesn't help much. What's the full text, might give a clue?
Sorry, I didn't save the error dialog, it seemed useless.
I'm going to ask you to run Process Monitor and capture a trace
Except I've already installed the full download. It was midnight and I wanted to go play on the web...
Maybe someone else will run into this.
-
@LorenAmelang said in Vivaldi cannot update itself:
You have to enable "System" files to even see that folder. Essentially nothing there.
Maybe the files are cleaned up after a bit, after all this was several days ago.
There is for the later full download install, that worked. Nothing for the failures.
Yes, you're right, I think the log is only created for the full installer
Except I've already installed the full download.
Well, you could always install an older version and install it as Standalone, then trigger an update and recreate the issue
https://vivaldi.com/download/archive/Maybe someone else will run into this.
Very likely someone will, and then we're back to square one. At least I know you are of the technical sort and know your $TEMP from your $TMP
I don't even know if the OP will be back, we'll see...
-
@Pathduck
So i made some digging, and found a setup log.
Still can't make heads or tails of that problem.[1126/211545.011:ERROR:setup_main.cc(599)] Could not create temporary path.: Access Denied. (0x5) [1126/211547.217:ERROR:persistent_histogram_storage.cc(146)] Persistent histograms fail to write to file: D:\Program Files\Vivaldi\Application\SetupMetrics\20201126211547.pma [1127/101340.809:ERROR:install_worker.cc(144)] Failed creating a firewall rules. Continuing with install. [1127/101342.627:VERBOSE1:setup_main.cc(1517)] Command Line: "C:\Users\szabo\AppData\Local\Vivaldi\Application\3.4.2066.106\Installer\setup.exe" --delete-old-versions --verbose-logging --vivaldi-install-dir="C:\Users\szabo\AppData\Local\Vivaldi" [1127/101342.627:VERBOSE1:install_util.cc(250)] Windows NT 10.0.18363 [1127/101342.628:VERBOSE1:setup_main.cc(1719)] system install is 0 [1127/101342.629:VERBOSE1:installer_state.cc(127)] Install Chrome [1127/101342.660:VERBOSE1:install_util.cc(250)] Windows NT 10.0.18363 [1127/101343.618:VERBOSE1:installer_state.cc(127)] Install Chrome [1127/101358.621:VERBOSE1:setup_main.cc(404)] Successfully deleted all old files from --delete-old-versions process. [1129/103734.640:ERROR:setup_main.cc(599)] Could not create temporary path.:Access Denied. (0x5) [1129/103737.380:ERROR:persistent_histogram_storage.cc(146)] Persistent histograms fail to write to file: D:\Program Files\Vivaldi\Application\SetupMetrics\20201129103737.pma [1129/110640.413:ERROR:setup_main.cc(599)] Could not create temporary path.: Access Denied. (0x5) [1129/110644.651:ERROR:persistent_histogram_storage.cc(146)] Persistent histograms fail to write to file: D:\Program Files\Vivaldi\Application\SetupMetrics\20201129110644.pma [1129/111444.413:ERROR:install_worker.cc(144)] Failed creating a firewall rules. Continuing with install. [1129/111446.186:VERBOSE1:setup_main.cc(1517)] Command Line: "C:\Users\szabo\AppData\Local\Vivaldi\Application\3.4.2066.106\Installer\setup.exe" --delete-old-versions --verbose-logging --vivaldi-install-dir="C:\Users\szabo\AppData\Local\Vivaldi" [1129/111446.186:VERBOSE1:install_util.cc(250)] Windows NT 10.0.18363 [1129/111446.187:VERBOSE1:setup_main.cc(1719)] system install is 0 [1129/111446.188:VERBOSE1:installer_state.cc(127)] Install Chrome [1129/111446.246:VERBOSE1:install_util.cc(250)] Windows NT 10.0.18363 [1129/111447.166:VERBOSE1:installer_state.cc(127)] Install Chrome [1129/111502.837:VERBOSE1:setup_main.cc(404)] Successfully deleted all old files from --delete-old-versions process. [1130/113040.634:ERROR:setup_main.cc(599)] Could not create temporary path.: Access Denied. (0x5) [1130/113042.152:ERROR:persistent_histogram_storage.cc(146)] Persistent histograms fail to write to file: D:\Program Files\Vivaldi\Application\SetupMetrics\20201130113042.pma [1130/113119.217:ERROR:install_worker.cc(144)] Failed creating a firewall rules. Continuing with install. [1130/113120.897:VERBOSE1:setup_main.cc(1517)] Command Line: "C:\Users\szabo\AppData\Local\Vivaldi\Application\3.4.2066.106\Installer\setup.exe" --delete-old-versions --verbose-logging --vivaldi-install-dir="C:\Users\szabo\AppData\Local\Vivaldi" [1130/113120.897:VERBOSE1:install_util.cc(250)] Windows NT 10.0.18363 [1130/113120.898:VERBOSE1:setup_main.cc(1719)] system install is 0 [1130/113120.898:VERBOSE1:installer_state.cc(127)] Install Chrome [1130/113120.933:VERBOSE1:install_util.cc(250)] Windows NT 10.0.18363 [1130/113121.888:VERBOSE1:installer_state.cc(127)] Install Chrome [1130/113136.891:VERBOSE1:setup_main.cc(404)] Successfully deleted all old files from --delete-old-versions process. [1130/123010.921:ERROR:setup_main.cc(599)] Could not create temporary path.: Access Denied. (0x5) [1130/123013.452:ERROR:persistent_histogram_storage.cc(146)] Persistent histograms fail to write to file: D:\Program Files\Vivaldi\Application\SetupMetrics\20201130123013.pma
-
@Sztewe said in Vivaldi cannot update itself:
Could not create temporary path.: Access Denied.
I think that should be a clue. Did you change your TMP variable to point to the same place as the TEMP one?
-
Vivaldi is Reaally ..... up on my machine. I restored the original Enviroment Variables, still, the updater Cannot Update. DAFQ?
I am thinkig totally erase it and reinstalling it. Something really bugz in the profile.
modedit language
-
@Pathduck Yeah, i have restored it to the system default restarted the system, same folder in the Appdata/Local/Temp
as were always. And still no update. -
@Sztewe said in Vivaldi cannot update itself:
I am thinkig totally erase it and reinstalling it. Something really bugz in the profile.
You could try, I doubt it helps much. This is something on your OS level so a reinstall of Vivaldi won't help.
So you changed now both the TMP and TEMP variables to point back to
Appdata\Local\Temp
? And this folder exists now and has the correct permissions?Just to make sure open cmd prompt and type:
icacls %TMP% & icacls %TEMP%
Post output here in a code block.Or go to Properties > Security > Advanced and check Full Control for SYSTEM, user and Administrators.
Close Vivaldi, go to Vivaldi install folder (same as vivaldi.exe). Type:
update_notifier.exe --c
After update fails look in TEMP folder, locate
Update-*
folder and verify if Vivaldi update file exists (CAB/EXE file).