Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker Desktop update results in... an uninstallation(?) #14316

Open
SpiralBrad opened this issue Sep 13, 2024 · 6 comments
Open

Docker Desktop update results in... an uninstallation(?) #14316

SpiralBrad opened this issue Sep 13, 2024 · 6 comments

Comments

@SpiralBrad
Copy link

SpiralBrad commented Sep 13, 2024

Description

Twice now, I I have tried to update Docker Desktop (from 4.32.0 and I think even 4.33.1) to the more recent 4.34.1 and now 4.34.2, and it results in... no errors, but also no more Docker Dekstop.

The UI alerts me to a newer version, and it allows me to download and update it within the UI. I do that, and... the UI goes away, with nothing further. At that point, I no longer have Docker Desktop installed.

Reproduce

  1. Install Docker Desktop 4.32.0 or 4.33.1
  2. Use the UI to do an in-place update.
  3. Docker Desktop is seemingly uninstalled.

Expected behavior

Docker Desktop should UPDATE (as that is what the user is doing), not uninstall.

An uninstallation should not be part of the process. It should update in-place, and if there are maintenance or cleanup tasks needed from older versions, they should be handled as part of the update; not via a complete uninstallation.

docker version

(can't get anything of use, as docker was uninstalled under my nose; reinstalling would be of no use for this)

docker info

(can't get anything of use, as docker was uninstalled under my nose; reinstalling would be of no use for this)

Diagnostics ID

(can't get anything of use, as docker was uninstalled under my nose; reinstalling would be of no use for this)

Additional Info

No response

@SpiralBrad
Copy link
Author

This may be related to #14299

@SpiralBrad
Copy link
Author

SpiralBrad commented Sep 13, 2024

An an attempted reinstallation with the 4.33.1 installer just gave the following error:

Component Docker.Installer.EnableFeaturesAction failed: 
   at Docker.Installer.InstallWorkflow.<DoHandleD4WPackageAsync>d__30.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Docker.Installer.InstallWorkflow.<DoProcessAsync>d__23.MoveNext()

@MihaelaStoica
Copy link

MihaelaStoica commented Sep 16, 2024

@SpiralBrad I am sorry to hear that you are having troubles upgrading Docker Desktop.
I don't know if this is possible with the state of the application on your machine, but could you please try create and upload a diagnostic via the command line, as per instructions here?
If this doesn't work, could you please share the install logs, which should have been preserved. There are 2 sets of install logs:

  • the user instal logs in C:\Users\<USER>\AppData\Local\Docker
  • the admin install logs in C:\ProgramData\DockerDesktop

@SpiralBrad
Copy link
Author

I could do neither thing in the state it was in, but I did manage to reinstall Docker Desktop 4.33.1.

I am certain that if I were to upgrade to 4.34.2 (current) using the UI at this point, I would return to the state of this issue, where Docker was completely uninstalled (as the same process has caused it twice).

But with my current installation of 4.33.1, the diagnostic confirmed an upload, and is: DAC528BD-C4E4-4BF2-B504-28FF4B6BAE1C/20240918191054

I saw it gathering tons of logs from previous dates, so that may have plenty of data for you.

@chandrabhan-singh-1
Copy link

chandrabhan-singh-1 commented Sep 20, 2024

Download the latest release 4.34.2 . This may solve the problem for you, But, it also giving errors while starting for me these days. Maybe, it will work for you. Just don't use WSL and Docker together, Their compatibility issues are causing most of these problems.

@SpiralBrad
Copy link
Author

Download the latest release 4.34.2 . This may solve the problem for you, But, it also giving errors while starting for me these days. Maybe, it will work for you. Just don't use WSL and Docker together, Their compatibility issues are causing most of these problems.

I was indeed able to update to 4.34.2 using the installer on its' release notes page. Had I updated using the UI in 4.33.1 I think it would have broken again.

I'm gonna be rather leary of updating from the UI for a while, heh.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants