microsoft / azuredatastudio

Azure Data Studio is a data management and development tool with connectivity to popular cloud and on-premises databases. Azure Data Studio supports Windows, macOS, and Linux, with immediate capability to connect to Azure SQL and SQL Server. Browse the extension library for more database support options including MySQL, PostgreSQL, and MongoDB.
https://learn.microsoft.com/sql/azure-data-studio
MIT License
7.58k stars 908 forks source link

Azure Data Studio cant install updates #25837

Open DeveloperLookBook opened 3 months ago

DeveloperLookBook commented 3 months ago

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
kburtram commented 3 months ago

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

caohai commented 3 months ago

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
DeveloperLookBook commented 3 months ago

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 commented 3 months ago

@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 commented 3 months ago

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

caohai commented 3 months ago

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.