Vscodium: Make Update Download Folder Unique

Created on 16 Sep 2019  Â·  14Comments  Â·  Source: VSCodium/vscodium

The automatic update mechanism in VSCodium appears to be broken.

Sometimes an update is reported and installed again when it had been installed previously. This happens even when this new version will be cleanly installed. This happened to me with 1.37. After some days it seems to be fixed magically.

Now, with 1.38, VSCodium again and again tries to "update" with VS Code...

I'm not sure how I can help with system information. It's Windows 10, and I'm currently using Codium and VS Code in parallel.

bug

Most helpful comment

I installed 1.38.1 manually tonight (W10 Pro), and the check for updates item in the help menu triggers a "server returned 404" error. Update definitely seems broken.

All 14 comments

I installed 1.38.1 manually tonight (W10 Pro), and the check for updates item in the help menu triggers a "server returned 404" error. Update definitely seems broken.

I am getting the same result, trying to update from 1.38.0 on W10 Pro.

image

Hi @jeffrson (and others who commented). This is a known issue and has happened in the past couple of versions released. It doesn't get fixed magically -- someone reports it and we troubleshoot it and then push a fix.

Some more info needed to properly troubleshoot it this time:

  • what installer are you using for vscodium? system or user?
  • what architecture are you on? 32-bit or 64-bit?

User. 64-bit. Happy to give any other info you need.

Of course. 64-bit system installer.

On 19 Sep 2019, at 18.38, Peter Squicciarini notifications@github.com wrote:

Hi @jeffrson (and others who commented). This is a known issue and has happened in the past couple of versions released. It doesn't get fixed magically -- someone reports it and we troubleshoot it and then push a fix.

Some more info needed to properly troubleshoot it this time:

what installer are you using for vscodium? system or user?
what architecture are you on? 32-bit or 64-bit?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

@TroySchmidt @linsui @mdavis199 have any of you had update problems with the latest release? I'm unable to reproduce the issue here, but it sounds very similar to what was happening in 1.36 for you all.

I'm running version 1.38.1. (Windows 10 x64 Ent, 1809). I had no problems with this release.
Also, I always install using the zip file.

I am not having issues either.

VSCodium-win32-x64-1.38.1.zip, no problem here.

Well, as it seems (on Windows at least), as long as "%temp%\vscode-update-user-x64" contains the VSCode update, the correct update to VSCodium will not be downloaded and VSCode instead will be installed again and again.
You probably should change the name of the download folder.

@jeffrson are you running both VS Code and VS Codium in tandem? I am only running Codium and have no issues still.

Yes, did not uninstall it when I started to try VSCodium.

And, you know, bug reports require to test with VSCode as well.

Good call out @jeffrson ! This makes a clear action item for this issue.

Unfortunately the 'vscode' part of the path is fixed: https://github.com/microsoft/vscode/blob/master/src/vs/platform/update/electron-main/updateService.win32.ts#L58

I think our only option is to patch this file pre-build to set the path to vscodium-update-...

Was this page helpful?
0 / 5 - 0 ratings

Related issues

apollolux picture apollolux  Â·  35Comments

tyu1996 picture tyu1996  Â·  29Comments

jannik-mohemian picture jannik-mohemian  Â·  17Comments

cristianovitorino picture cristianovitorino  Â·  80Comments

JL2210 picture JL2210  Â·  55Comments