azuredatastudio icon indicating copy to clipboard operation
azuredatastudio copied to clipboard

Azure Data Studio cant install updates

Open DeveloperLookBook opened this issue 1 year ago • 6 comments

Type: Bug

When I install updates for Azure Data Studio, it says that everything was installed but in a few moment later says that I have updates again. This repeats infinitely after each update.

Azure Data Studio version: azuredatastudio 1.45.1 (88c21b1725a3e79440027bdb7b5a55fb036be0e2, 2023-08-03T00:42:56.773Z) OS version: Darwin arm64 23.5.0 Restricted Mode: No Preview Features: Enabled Modes:

System Info
Item Value
CPUs Apple M1 Max (10 x 24)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Load (avg) 2, 2, 3
Memory (System) 64.00GB (12.40GB free)
Process Argv
Screen Reader no
VM 0%
Extensions (1)
Extension Author (truncated) Version
copilot Git 1.128.504

DeveloperLookBook avatar Aug 14 '24 16:08 DeveloperLookBook

@caohai do you have any idea what's going on here?

kburtram avatar Aug 15 '24 18:08 kburtram

Hi @DeveloperLookBook , after installing the update, are you seeing the same 1.45.1 version? If so the local installation might have some issue applying the update.

I just tested by installing 1.45.1 on my MacBook (intel) and was able to successfully update to the latest version.

I'd suggest you to manually install the latest 1.49.1 version as 1.45.1 is more than 1 year old. https://learn.microsoft.com/en-us/azure-data-studio/download-azure-data-studio

@kburtram I don't think this is an issue with the update infra as I was not able to repro. The update server response also looks correct to me:

GET https://azuredatastudio-update.azurewebsites.net/api/update/darwin-arm64/stable/88c21b1725a3e79440027bdb7b5a55fb036be0e2 HTTP/1.1
image

caohai avatar Aug 15 '24 19:08 caohai

Hi, @caohai

Here is how it looks from my side after the updates installation. As you can see Azure Data Studio propose me to install updates again and again, infinitely.

Screenshot 2024-08-16 at 10 29 37

DeveloperLookBook avatar Aug 16 '24 07:08 DeveloperLookBook

@caohai Also, I don't understand, why do I have a version 1.45.1 that is one year old. I regularly installed updates. Probably, all this time I was sure that I'm updating it

DeveloperLookBook avatar Aug 16 '24 07:08 DeveloperLookBook

@caohai I had the same situation with VS Code. Exactly the same!

DeveloperLookBook avatar Aug 16 '24 07:08 DeveloperLookBook

Hi, @caohai

Here is how it looks from my side after the updates installation. As you can see Azure Data Studio propose me to install updates again and again, infinitely.

Screenshot 2024-08-16 at 10 29 37

Yep this means the update somehow didn't succeed so after installation you are still seeing the same update notification. I'm not sure what has caused this. I'd recommend you manually install the latest version. Can you try it and share if that works for you? https://learn.microsoft.com/en-us/azure-data-studio/download-azure-data-studio

You won't be able to verify if auto-update works with that version given it's the latest but you can always reach back to us later if you see the same behavior when a new version is released in the future.

caohai avatar Aug 16 '24 21:08 caohai