for-win icon indicating copy to clipboard operation
for-win copied to clipboard

Docker Desktop Update 2.3.0.3 - Installation fails

Open Llois41 opened this issue 6 years ago • 34 comments

  • [x] I have tried with the latest version of my channel (Stable or Edge)
  • [ ] I have uploaded Diagnostics
  • Diagnostics ID:

Expected behavior

Should install update without any error.

Actual behavior

Installation fails, new Version of Docker wasn't installed.

Information

Stack Trace from Docker Desktop UI Window:

Process InstallerCli.exe exited with code 1 bei CommunityInstaller.ExecAction.<DoAsync>d__28.MoveNext() --- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde --- bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() bei CommunityInstaller.UninstallWorkflow.<ProcessAsync>d__12.MoveNext() --- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde --- bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) bei CommunityInstaller.InstallWorkflow.<PerformUninstall>d__28.MoveNext() --- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde --- bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) bei CommunityInstaller.InstallWorkflow.<HandlePrePackagedExeAsync>d__26.MoveNext() --- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde --- bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) bei CommunityInstaller.InstallWorkflow.<ProcessAsync>d__24.MoveNext()

  • Windows Version:
  • Docker Desktop Version: 2.3.0.2 (45183)

Steps to reproduce the behavior

  1. Click "Check for updates" - Docker Desktop UI
  2. Install Update
  3. Installation fails

Llois41 avatar May 28 '20 13:05 Llois41

Thanks for the report, can you look in %LOCALAPPDATA%\Docker inside the install-log*.txt to see if there is an error matching the time you updated?

mat007 avatar May 28 '20 15:05 mat007

Thanks for the report, can you look in %LOCALAPPDATA%\Docker inside the install-log*.txt to see if there is an error matching the time you updated?

Hey, first of all, there are many of them. I will paste the latest one (few moments ago) install-log.22.txt:

` [14:01:53.360] [CheckForUpdateHandler] Install found: version=45183, displayVersion=2.3.0.2, basePath=C:\Program Files\Docker\Docker, channel=stable, channelUrl=https://download.docker.com/win/stable/appcast.xml [14:01:53.702] [CheckForUpdateHandler] Appcast found: version=45519, displayVersion=2.3.0.3, installerUrl=https://desktop.docker.com/win/stable/45519/Docker%20Desktop%20Installer.exe [14:03:57.337] [NewVersionFoundDialog] Executing: C:\Program Files\Docker\Docker\Docker Desktop Installer.exe install -package "https://desktop.docker.com/win/stable/45519/Docker%20Desktop%20Installer.exe" --confirm --append-logs --log-output-file="C:\Users\LuisRaphaelRamer\AppData\Local\Docker\install-log.txt" [14:03:59.089] [InstallHandler] Existing installation found: version=45183, displayVersion=2.3.0.2, basePath=C:\Program Files\Docker\Docker, channel=stable, channelUrl=https://download.docker.com/win/stable/appcast.xml [14:03:59.103] [ProcessEnvironmentDetector] Not run as admin, relaunching with UAC prompt [14:04:03.873] [InstallHandler] Existing installation found: version=45183, displayVersion=2.3.0.2, basePath=C:\Program Files\Docker\Docker, channel=stable, channelUrl=https://download.docker.com/win/stable/appcast.xml [14:04:03.883] [InstallHandler] using package https://desktop.docker.com/win/stable/45519/Docker%20Desktop%20Installer.exe [14:04:04.242] [InstallWorkflow] Using package: https://desktop.docker.com/win/stable/45519/Docker%20Desktop%20Installer.exe [14:04:04.246] [InstallWorkflow] Downloading [14:04:04.400] [InstallWorkflow-DownloadStep] Progress: 0/409488592 (0 %) [14:04:05.404] [InstallWorkflow-DownloadStep] Progress: 13351136/409488592 (3,26044150211638 %) [14:04:06.407] [InstallWorkflow-DownloadStep] Progress: 26482912/409488592 (6,46731374631311 %) [14:04:07.411] [InstallWorkflow-DownloadStep] Progress: 39712992/409488592 (9,69819252009834 %) [14:04:08.414] [InstallWorkflow-DownloadStep] Progress: 52459720/409488592 (12,8110333291043 %) [14:04:09.416] [InstallWorkflow-DownloadStep] Progress: 65898720/409488592 (16,0929318392342 %) [14:04:10.418] [InstallWorkflow-DownloadStep] Progress: 79247584/409488592 (19,3528185029389 %) [14:04:11.421] [InstallWorkflow-DownloadStep] Progress: 92420320/409488592 (22,5696934677975 %) [14:04:12.423] [InstallWorkflow-DownloadStep] Progress: 105461984/409488592 (25,7545597265381 %) [14:04:13.425] [InstallWorkflow-DownloadStep] Progress: 118520032/409488592 (28,9434270735435 %) [14:04:14.428] [InstallWorkflow-DownloadStep] Progress: 131627232/409488592 (32,1442976853431 %) [14:04:15.430] [InstallWorkflow-DownloadStep] Progress: 144488672/409488592 (35,2851519731715 %) [14:04:16.431] [InstallWorkflow-DownloadStep] Progress: 156891360/409488592 (38,3139757895868 %) [14:04:17.440] [InstallWorkflow-DownloadStep] Progress: 170168096/409488592 (41,556248287376 %) [14:04:18.442] [InstallWorkflow-DownloadStep] Progress: 183263008/409488592 (44,754118082977 %) [14:04:19.445] [InstallWorkflow-DownloadStep] Progress: 196579104/409488592 (48,0060025701522 %) [14:04:20.448] [InstallWorkflow-DownloadStep] Progress: 209969472/409488592 (51,2760248031525 %) [14:04:21.449] [InstallWorkflow-DownloadStep] Progress: 220356928/409488592 (53,8127147630037 %) [14:04:22.452] [InstallWorkflow-DownloadStep] Progress: 233513280/409488592 (57,0255886395976 %) [14:04:23.459] [InstallWorkflow-DownloadStep] Progress: 246931776/409488592 (60,3024799284274 %) [14:04:24.464] [InstallWorkflow-DownloadStep] Progress: 260251968/409488592 (63,5553646876688 %) [14:04:25.465] [InstallWorkflow-DownloadStep] Progress: 273658176/409488592 (66,8292551603001 %) [14:04:26.468] [InstallWorkflow-DownloadStep] Progress: 286794048/409488592 (70,037127676563 %) [14:04:27.471] [InstallWorkflow-DownloadStep] Progress: 300213208/409488592 (73,3141811188723 %) [14:04:28.473] [InstallWorkflow-DownloadStep] Progress: 313254848/409488592 (76,4990415166438 %) [14:04:29.479] [InstallWorkflow-DownloadStep] Progress: 326411224/409488592 (79,7119212542068 %) [14:04:30.482] [InstallWorkflow-DownloadStep] Progress: 339321816/409488592 (82,8647788068294 %) [14:04:31.484] [InstallWorkflow-DownloadStep] Progress: 352494552/409488592 (86,081653771688 %) [14:04:32.486] [InstallWorkflow-DownloadStep] Progress: 365634520/409488592 (89,2905265600171 %) [14:04:33.487] [InstallWorkflow-DownloadStep] Progress: 378913752/409488592 (92,5334085985966 %) [14:04:34.491] [InstallWorkflow-DownloadStep] Progress: 392209344/409488592 (95,7802858644717 %) [14:04:35.492] [InstallWorkflow-DownloadStep] Progress: 405496792/409488592 (99,0251743081526 %) [14:04:35.966] [InstallWorkflow-DownloadStep] Download completed successfully [14:04:35.975] [InstallWorkflow] Uninstalling previous version in update mode [14:04:35.991] [UninstallWorkflow] Reading installation manifest [14:04:37.209] [UninstallWorkflow] Running before update actions [14:04:37.210] [UninstallWorkflow] Proceeding with CommunityInstaller.ExecAction

`

This seems right (Download seems to work), but then in install-log.txt (also updated moments ago):

` Version: 2.3.0.2 (45183) Channel: stable Sha1: e9b671cd3cb844cb63ad6fd7c79a4d15424233c4 Started on: 2020/05/29 14:04:37.592 Resources: C:\Program Files\Docker\Docker\resources OS: Windows 10 Pro Edition: Professional Id: 1909 Build: 18363 BuildLabName: 18362.1.amd64fre.19h1_release.190318-1202 File: C:\Users\LuisRaphaelRamer\AppData\Local\Docker\install-log.txt CommandLine: "C:\Program Files\Docker\Docker\InstallerCli.exe" -k -p You can send feedback, including this log file, at https://github.com/docker/for-win/issues [14:04:37.710][ComponentVersions ][Info ] Edition community [14:04:37.726][Installer ][Info ] Killing processes... [14:04:37.732][Installer ][Info ] Killing existing Docker Desktop process with PID 2300 [14:04:37.764][Installer ][Error ] Zugriff verweigert [14:04:37.870] [UninstallWorkflow] Action CommunityInstaller.ExecAction failed Exception type: System.InvalidOperationException, Exception message: Process InstallerCli.exe exited with code 1, StackTrace: bei CommunityInstaller.ExecAction.d__28.MoveNext() --- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde --- bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() bei CommunityInstaller.UninstallWorkflow.d__12.MoveNext() [14:04:37.874] [InstallWorkflow] Installation failed Exception type: System.InvalidOperationException, Exception message: Process InstallerCli.exe exited with code 1, StackTrace: bei CommunityInstaller.ExecAction.d__28.MoveNext() --- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde --- bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() bei CommunityInstaller.UninstallWorkflow.d__12.MoveNext() --- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde --- bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) bei CommunityInstaller.InstallWorkflow.d__28.MoveNext() --- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde --- bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) bei CommunityInstaller.InstallWorkflow.d__26.MoveNext() --- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde --- bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) bei CommunityInstaller.InstallWorkflow.d__24.MoveNext() [14:04:37.877] [InstallWorkflow] Rollbacking component CommunityInstaller.DownloadStep

`

Llois41 avatar May 29 '20 12:05 Llois41

Same here:

Version: 2.3.0.2 (45183)
Channel: stable
Sha1: e9b671cd3cb844cb63ad6fd7c79a4d15424233c4
Started on: 2020/05/29 16:16:19.554
Resources: C:\Program Files\Docker\Docker\resources
OS: Windows 10 Enterprise
Edition: Enterprise
Id: 1909
Build: 18363
BuildLabName: 18362.1.amd64fre.19h1_release.190318-1202
File: C:\Users\<redacted>\AppData\Local\Docker\install-log.txt
CommandLine: "C:\Program Files\Docker\Docker\InstallerCli.exe" -k -p
You can send feedback, including this log file, at https://github.com/docker/for-win/issues
[16:16:19.710][ComponentVersions ][Info   ] Edition community
[16:16:19.724][Installer         ][Info   ] Killing processes...
[16:16:19.730][Installer         ][Info   ] Killing existing Docker Desktop process with PID 4852
[16:16:19.769][Installer         ][Info   ] Killing existing com.docker.service process with PID 10944
[16:16:19.819][Installer         ][Error  ] Access is denied
[16:16:19.925] [UninstallWorkflow] Action CommunityInstaller.ExecAction failed
Exception type: System.InvalidOperationException, Exception message: Process InstallerCli.exe exited with code 1, StackTrace:
   at CommunityInstaller.ExecAction.<DoAsync>d__28.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at CommunityInstaller.UninstallWorkflow.<ProcessAsync>d__12.MoveNext()
[16:16:19.930] [InstallWorkflow] Installation failed
Exception type: System.InvalidOperationException, Exception message: Process InstallerCli.exe exited with code 1, StackTrace:
   at CommunityInstaller.ExecAction.<DoAsync>d__28.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at CommunityInstaller.UninstallWorkflow.<ProcessAsync>d__12.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 CommunityInstaller.InstallWorkflow.<PerformUninstall>d__28.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 CommunityInstaller.InstallWorkflow.<HandlePrePackagedExeAsync>d__26.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 CommunityInstaller.InstallWorkflow.<ProcessAsync>d__24.MoveNext()
[16:16:19.933] [InstallWorkflow] Rollbacking component CommunityInstaller.DownloadStep

brempusz avatar May 29 '20 14:05 brempusz

I have similar problem, this is the log output:

Windows version: Windows 10 Pro 1909

I tried a previous Docker version as well, 2.2.0.5, with same results.

[12:13:53.036] [InstallHandler] No installation found
[12:13:53.039] [InstallHandler] Using embedded package
[12:13:53.225] [InstallWorkflow] Using package: res:CommunityInstaller.DockerDesktop.d4w
[12:13:53.226] [InstallWorkflow] Downloading
[12:13:57.160] [InstallWorkflow] Extracting manifest
[12:13:57.196] [InstallWorkflow] Checking prerequisites
[12:13:58.034] [InstallWorkflow] Unpacking artifacts
[12:14:34.123] [InstallWorkflow] Deploying component CommunityInstaller.CreateGroupAction
[12:14:38.724] [InstallWorkflow] Deploying component CommunityInstaller.AddToGroupAction
[12:14:43.263] [InstallWorkflow] Deploying component CommunityInstaller.EnableFeaturesAction
[12:14:44.197] [InstallWorkflow] Deploying component CommunityInstaller.ServiceAction
[12:14:44.207] [InstallWorkflow-ServiceAction] Creating service
[12:14:45.690] [InstallWorkflow] Deploying component CommunityInstaller.ShortcutAction
[12:14:45.752] [InstallWorkflow-ShortcutAction] Creating shortcut: C:\ProgramData\Microsoft\Windows\Start Menu\Docker Desktop.lnk/Docker Desktop
[12:14:45.768] [InstallWorkflow] Deploying component CommunityInstaller.ShortcutAction
[12:14:45.770] [InstallWorkflow-ShortcutAction] Creating shortcut: C:\Users\Jeff\Desktop\Docker Desktop.lnk/Docker Desktop
[12:14:45.773] [InstallWorkflow] Deploying component CommunityInstaller.AutoStartAction
[12:14:45.805] [InstallWorkflow] Component CommunityInstaller.AutoStartAction failed
Exception type: System.UnauthorizedAccessException, Exception message: Intento de realizar una operación no válida., StackTrace:
   en Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str)
   en Microsoft.Win32.RegistryKey.SetValue(String name, Object value, RegistryValueKind valueKind)
   en CommunityInstaller.AutoStartAction.DoAsync(CancellationToken cancelToken)
   en CommunityInstaller.InstallWorkflow.<HandleD4WPackageAsync>d__29.MoveNext()
[12:14:45.806] [InstallWorkflow] Installation failed
Exception type: System.UnauthorizedAccessException, Exception message: Intento de realizar una operación no válida., StackTrace:
   en Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str)
   en Microsoft.Win32.RegistryKey.SetValue(String name, Object value, RegistryValueKind valueKind)
   en CommunityInstaller.AutoStartAction.DoAsync(CancellationToken cancelToken)
   en CommunityInstaller.InstallWorkflow.<HandleD4WPackageAsync>d__29.MoveNext()
--- Fin del seguimiento de la pila de la ubicación anterior donde se produjo la excepción ---
   en System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   en System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   en CommunityInstaller.InstallWorkflow.<ProcessAsync>d__24.MoveNext()
[12:14:45.808] [InstallWorkflow] Rollbacking component CommunityInstaller.ShortcutAction
[12:14:45.810] [InstallWorkflow] Rollbacking component CommunityInstaller.ShortcutAction
[12:14:45.810] [InstallWorkflow] Rollbacking component CommunityInstaller.ServiceAction
[12:14:45.812] [InstallWorkflow-ServiceAction] Stopping service
[12:14:46.815] [InstallWorkflow-ServiceAction] Deleting service
[12:14:46.816] [InstallWorkflow] Rollbacking component CommunityInstaller.EnableFeaturesAction
[12:14:46.817] [InstallWorkflow] Rollbacking component CommunityInstaller.AddToGroupAction
[12:14:46.818] [InstallWorkflow] Rollbacking component CommunityInstaller.CreateGroupAction
[12:14:46.819] [InstallWorkflow] Rollbacking component CommunityInstaller.UnpackArtifactsStep
[12:14:46.836] [FileSystem] Deleting C:\Program Files\Docker\Docker
[12:14:47.172] [FileSystem] Deleted C:\Program Files\Docker\Docker successfully
[12:14:47.172] [InstallWorkflow] Rollbacking component CommunityInstaller.ExtractManifestStep
[12:14:47.173] [InstallWorkflow] Rollbacking component CommunityInstaller.DownloadStep

kuritsu avatar May 31 '20 14:05 kuritsu

I just tried again - update to 2.3.0.3 (45519) and this time it worked. This is different build number - previous was 2.3.0.2 (45183), so maybe it is fixed already...

brempusz avatar Jun 01 '20 07:06 brempusz

I upgraded my Windows version to 2004, Build 19041.264, upgraded WSL to version 2, and only then the install error went away.

kuritsu avatar Jun 01 '20 13:06 kuritsu

I just tried again - update to 2.3.0.3 (45519) and this time it worked. This is different build number - previous was 2.3.0.2 (45183), so maybe it is fixed already...

Did it, still doesn't work for me. On my private notebook it worked fine as well as for my colleague (same work notebook as i have). Upgrading Windows wasn't necessary for him, however it's even controlled by the company.

Llois41 avatar Jun 02 '20 07:06 Llois41

Same issue. But...When starting downloading "Installing Docker Desktop 2.3.0.3 (45519)" at the error time at the bottom of window error the string change as: "Installing Docker Desktop 2.3.0.2 (45183)". I think you need to fix the installer, because it actually say installing 2.3.0.3 but in reality it install the 2.3.0.2.

Here the error msg:

Process InstallerCli.exe exited with code 1
   à CommunityInstaller.ExecAction.<DoAsync>d__28.MoveNext()
--- Fin de la trace de la pile à partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
   à System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   à System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   à CommunityInstaller.UninstallWorkflow.<ProcessAsync>d__12.MoveNext()
--- Fin de la trace de la pile à partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
   à System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   à System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   à CommunityInstaller.InstallWorkflow.<PerformUninstall>d__28.MoveNext()
--- Fin de la trace de la pile à partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
   à System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   à System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   à CommunityInstaller.InstallWorkflow.<HandlePrePackagedExeAsync>d__26.MoveNext()
--- Fin de la trace de la pile à partir de l'emplacement précédent au niveau duquel l'exception a été levée ---
   à System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   à System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   à CommunityInstaller.InstallWorkflow.<ProcessAsync>d__24.MoveNext()

michaelbacci avatar Jun 08 '20 08:06 michaelbacci

@michaelbacci Oh you're right. Didn't saw this. But idk how to "fix" my installer? I'll try to avoid a uninstall and re-install of Docker...

Llois41 avatar Jun 09 '20 14:06 Llois41

I am reporting the same error as others.

Windows Version: Windows 10 Enterprise Version 1909 Docker Desktop Version: 2.3.0.3

I upgraded to version 1909 on Monday, June 8th. After that upgrade was complete, Docker informed me of an available update. I chose to install.

Here is an excerpt from that install log:

[11:16:40.743] [CheckForUpdateHandler] Install found: version=43884, displayVersion=2.2.0.5, basePath=C:\Program Files\Docker\Docker, channel=stable, channelUrl=https://download.docker.com/win/stable/appcast.xml
[11:16:41.196] [CheckForUpdateHandler] Appcast found: version=45519, displayVersion=2.3.0.3, installerUrl=https://desktop.docker.com/win/stable/45519/Docker%20Desktop%20Installer.exe
[11:17:30.126] [NewVersionFoundDialog] Executing: C:\Program Files\Docker\Docker\Docker Desktop Installer.exe install -package "https://desktop.docker.com/win/stable/45519/Docker%20Desktop%20Installer.exe" --confirm --append-logs --log-output-file="C:\Users\aa99988\AppData\Local\Docker\install-log.txt"
[11:18:16.682] [InstallHandler] Existing installation found: version=43884, displayVersion=2.2.0.5, basePath=C:\Program Files\Docker\Docker, channel=stable, channelUrl=https://download.docker.com/win/stable/appcast.xml
[11:18:16.692] [InstallHandler] using package https://desktop.docker.com/win/stable/45519/Docker%20Desktop%20Installer.exe
[11:18:16.878] [InstallWorkflow] Using package: https://desktop.docker.com/win/stable/45519/Docker%20Desktop%20Installer.exe
[11:18:16.896] [InstallWorkflow] Downloading
[11:18:17.272] [InstallWorkflow-DownloadStep] Progress: 0/409488592 (0 %)
[11:18:18.275] [InstallWorkflow-DownloadStep] Progress: 1291936/409488592 (0.31549987600143 %)
[11:18:19.279] [InstallWorkflow-DownloadStep] Progress: 2733728/409488592 (0.667595643299386 %)
...
[11:23:57.201] [InstallWorkflow-DownloadStep] Progress: 409488592/409488592 (100 %)
[11:23:58.205] [InstallWorkflow-DownloadStep] Progress: 409488592/409488592 (100 %)
[11:23:59.209] [InstallWorkflow-DownloadStep] Progress: 409488592/409488592 (100 %)
[11:23:59.745] [InstallWorkflow-DownloadStep] Download completed successfully
[11:23:59.751] [InstallWorkflow] Uninstalling previous version in update mode
[11:23:59.767] [UninstallWorkflow] Reading installation manifest
[11:23:59.815] [UninstallWorkflow] Running before update actions
[11:23:59.817] [UninstallWorkflow] Proceeding with CommunityInstaller.ExecAction

The next log shows the following:

Version: 2.2.0.5 (43884)
Channel: stable
Sha1: 758e889f2c543b35d0bdfa51e811744f686d81b3
Started on: 2020/06/08 11:24:01.567
Resources: C:\Program Files\Docker\Docker\resources
OS: Windows 10 Enterprise
Edition: Enterprise
Id: 1909
Build: 18363
BuildLabName: 18362.1.amd64fre.19h1_release.190318-1202
File: C:\Users\aa99988\AppData\Local\Docker\install-log.txt
CommandLine: "C:\Program Files\Docker\Docker\InstallerCli.exe" -k -p
You can send feedback, including this log file, at https://github.com/docker/for-win/issues
[11:24:01.666][ComponentVersions ][Info   ] Edition community
[11:24:01.716][ComponentVersions ][Info   ] Edition community
[11:24:01.756][Linux             ][Info   ] Setting container engine status to Stopped
[11:24:01.758][WslEngine         ][Info   ] Setting container engine status to Stopped
[11:24:01.760][Installer         ][Info   ] Killing processes...
[11:24:01.783][Installer         ][Info   ] Killing existing Docker Desktop process with PID 63940
[11:24:01.814][Installer         ][Info   ] Killing existing com.docker.service process with PID 17736
[11:24:09.832][Cmd               ][Info   ] time="2020-06-08T11:24:09.831832900-04:00" level=fatal msg="The specified service does not exist as an installed service."
[11:24:09.840][Installer         ][Info   ] Preparing upgrade...
[11:24:09.852][Linux             ][Info   ] Setting container engine status to Destroying
[11:24:09.853][HyperV            ][Info   ] Destroy
[11:24:09.859][PowerShell        ][Info   ] Run script with parameters: -KeepVolume True -Destroy True -VmName DockerDesktopVM -SwitchName DockerNAT -Verbose True -ErrorAction Stop
[11:24:09.862][PowerShell        ][Info   ] Creating a Runspace Pool...
[11:24:09.865][PowerShell        ][Info   ] Run script with parameters: -RemoveNetworks True
[11:24:10.519][PowerShell        ][Info   ] Runspace Pool created (Min=1, Max=2)
[11:24:14.998][HyperV            ][Info   ] VM DockerDesktopVM is stopped
[11:24:15.010][HyperV            ][Info   ] Destroying Switch DockerNAT...
[11:24:15.064][HyperV            ][Info   ] Removing VM DockerDesktopVM...
[11:24:15.224][HyperV            ][Debug  ] [destroy] took 00:00:05.3697536 to run
[11:24:15.227][Firewall          ][Info   ] Closing ports...
[11:24:15.228][Firewall          ][Info   ] Removing all existing rules...
[11:24:15.262][Firewall          ][Info   ] All existing rules are removed.
[11:24:15.262][Firewall          ][Info   ] Ports are closed
[11:24:15.263][HyperVGuids       ][Info   ] Removing GUIDs...
[11:24:15.264][HyperVGuids       ][Info   ] GUIDs removed
[11:24:15.264][Linux             ][Info   ] Setting container engine status to Destroyed
[11:24:15.266][Installer         ][Info   ] Prepare upgrade completed successfully
[11:24:15.267][Installer         ][Info   ] Fixing permissions...
[11:24:15.267][Installer         ][Info   ] Deleting directory C:\ProgramData\DockerDesktop\version-bin
[11:24:15.268][Installer         ][Info   ] Deleting directory C:\ProgramData\Docker\cli-plugins
[11:24:15.302][Installer         ][Info   ] Permissions should be fixed.
[11:24:17.550] [UninstallWorkflow] Proceeding with installed components
[11:24:17.553] [UninstallWorkflow] Proceeding with CommunityInstaller.ExecAction
[11:24:17.556] [UninstallWorkflow] Proceeding with CommunityInstaller.SettingsUpdateAction
[11:24:17.559] [UninstallWorkflow] Proceeding with CommunityInstaller.PathAction
[11:24:17.638] [UninstallWorkflow] Proceeding with CommunityInstaller.PathAction
[11:24:17.668] [UninstallWorkflow] Proceeding with CommunityInstaller.AutoStartAction
[11:24:17.670] [UninstallWorkflow] Proceeding with CommunityInstaller.ShortcutAction
[11:24:17.672] [UninstallWorkflow] Proceeding with CommunityInstaller.ShortcutAction
[11:24:17.674] [UninstallWorkflow] Proceeding with CommunityInstaller.ServiceAction
[11:24:17.678] [UninstallWorkflow-ServiceAction] Deleting service
[11:24:17.681] [UninstallWorkflow] Proceeding with CommunityInstaller.EnableFeaturesAction
[11:24:17.682] [UninstallWorkflow] Proceeding with CommunityInstaller.AddToGroupAction
[11:24:17.683] [UninstallWorkflow] Proceeding with CommunityInstaller.CreateGroupAction
[11:24:17.683] [UninstallWorkflow] Unregistering product
[11:24:17.702] [FileSystem] Deleting C:\Program Files\Docker\Docker
[11:24:17.946] [FileSystem] Deleted C:\Program Files\Docker\Docker successfully
[11:24:17.946] [UninstallWorkflow] Uninstalled finished
[11:24:17.955] [InstallWorkflow] Deleted shortcut: C:\Users\aa99988\Desktop\Docker Desktop.lnk

[11:24:17.957] [InstallWorkflow] Executing: C:\Users\aa99988\AppData\Local\Temp\410blffc.nf0.exe install --uninstall-info-file="C:\Users\aa99988\AppData\Local\Temp\mwbzhitk.isr" --confirm --append-logs --log-output-file=C:\Users\aa99988\AppData\Local\Docker\install-log.txt
[11:24:32.609] [InstallHandler] No installation found
[11:24:32.622] [InstallHandler] Using embedded package
[11:24:32.796] [InstallWorkflow] Using package: res:CommunityInstaller.DockerDesktop.d4w
[11:24:32.800] [InstallWorkflow] Downloading
[11:24:33.783] [InstallWorkflow] Extracting manifest
[11:24:34.755] [InstallWorkflow] Checking prerequisites
[11:24:35.285] [InstallWorkflow] Unpacking artifacts
[11:26:02.626] [InstallWorkflow] Deploying component CommunityInstaller.CreateGroupAction
[11:26:05.321] [InstallWorkflow] Deploying component CommunityInstaller.AddToGroupAction
[11:26:05.343] [InstallWorkflow] Deploying component CommunityInstaller.EnableFeaturesAction
[11:26:06.006] [InstallWorkflow] Deploying component CommunityInstaller.ServiceAction
[11:26:06.010] [InstallWorkflow-ServiceAction] Removing service
[11:26:06.013] [InstallWorkflow-ServiceAction] Creating service
[11:26:08.458] [InstallWorkflow] Component CommunityInstaller.ServiceAction failed
Exception type: CommunityInstaller.Win32ExceptionWithContext, Exception message: Failed to start service: The service did not respond to the start or control request in a timely fashion, StackTrace:
   at CommunityInstaller.Service.Service.<StartAsync>d__4.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 CommunityInstaller.Service.Manager.<AddServiceAsync>d__7.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 CommunityInstaller.ServiceAction.<DoAsync>d__36.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at CommunityInstaller.InstallWorkflow.<HandleD4WPackageAsync>d__29.MoveNext()
[11:26:08.461] [InstallWorkflow] Installation failed
Exception type: CommunityInstaller.Win32ExceptionWithContext, Exception message: Failed to start service: The service did not respond to the start or control request in a timely fashion, StackTrace:
   at CommunityInstaller.Service.Service.<StartAsync>d__4.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 CommunityInstaller.Service.Manager.<AddServiceAsync>d__7.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 CommunityInstaller.ServiceAction.<DoAsync>d__36.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at CommunityInstaller.InstallWorkflow.<HandleD4WPackageAsync>d__29.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 CommunityInstaller.InstallWorkflow.<ProcessAsync>d__24.MoveNext()
[11:26:08.466] [InstallWorkflow] Rollbacking component CommunityInstaller.EnableFeaturesAction
[11:26:08.471] [InstallWorkflow] Rollbacking component CommunityInstaller.AddToGroupAction
[11:26:08.472] [InstallWorkflow] Rollbacking component CommunityInstaller.CreateGroupAction
[11:26:08.473] [InstallWorkflow] Rollbacking component CommunityInstaller.UnpackArtifactsStep
[11:26:08.499] [FileSystem] Deleting C:\Program Files\Docker\Docker
[11:26:08.859] [FileSystem] Deleted C:\Program Files\Docker\Docker successfully
[11:26:08.860] [InstallWorkflow] Rollbacking component CommunityInstaller.ExtractManifestStep
[11:26:08.860] [InstallWorkflow] Rollbacking component CommunityInstaller.DownloadStep

Every attempt to install after results in:

[09:10:31.477] [InstallHandler] No installation found
[09:10:31.480] [InstallHandler] Using embedded package
[09:10:31.801] [InstallWorkflow] Using package: res:CommunityInstaller.DockerDesktop.d4w
[09:10:31.824] [InstallWorkflow] Downloading
[09:10:32.611] [InstallWorkflow] Extracting manifest
[09:10:34.008] [InstallWorkflow] Checking prerequisites
[09:10:34.539] [InstallWorkflow] Unpacking artifacts
[09:11:49.897] [InstallWorkflow] Deploying component CommunityInstaller.CreateGroupAction
[09:11:54.816] [InstallWorkflow] Deploying component CommunityInstaller.AddToGroupAction
[09:11:54.856] [InstallWorkflow] Deploying component CommunityInstaller.EnableFeaturesAction
[09:11:55.639] [InstallWorkflow] Deploying component CommunityInstaller.ServiceAction
[09:11:55.642] [InstallWorkflow-ServiceAction] Removing service
[09:11:55.646] [InstallWorkflow-ServiceAction] Creating service
[09:11:56.376] [InstallWorkflow] Component CommunityInstaller.ServiceAction failed
Exception type: CommunityInstaller.Win32ExceptionWithContext, Exception message: Failed to start service: The service did not respond to the start or control request in a timely fashion, StackTrace:
   at CommunityInstaller.Service.Service.<StartAsync>d__4.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 CommunityInstaller.Service.Manager.<AddServiceAsync>d__7.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 CommunityInstaller.ServiceAction.<DoAsync>d__36.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at CommunityInstaller.InstallWorkflow.<HandleD4WPackageAsync>d__29.MoveNext()
[09:11:56.378] [InstallWorkflow] Installation failed
Exception type: CommunityInstaller.Win32ExceptionWithContext, Exception message: Failed to start service: The service did not respond to the start or control request in a timely fashion, StackTrace:
   at CommunityInstaller.Service.Service.<StartAsync>d__4.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 CommunityInstaller.Service.Manager.<AddServiceAsync>d__7.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 CommunityInstaller.ServiceAction.<DoAsync>d__36.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at CommunityInstaller.InstallWorkflow.<HandleD4WPackageAsync>d__29.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 CommunityInstaller.InstallWorkflow.<ProcessAsync>d__24.MoveNext()
[09:11:56.381] [InstallWorkflow] Rollbacking component CommunityInstaller.EnableFeaturesAction
[09:11:56.384] [InstallWorkflow] Rollbacking component CommunityInstaller.AddToGroupAction
[09:11:56.385] [InstallWorkflow] Rollbacking component CommunityInstaller.CreateGroupAction
[09:11:56.385] [InstallWorkflow] Rollbacking component CommunityInstaller.UnpackArtifactsStep
[09:11:56.408] [FileSystem] Deleting C:\Program Files\Docker\Docker
[09:11:56.735] [FileSystem] Deleted C:\Program Files\Docker\Docker successfully
[09:11:56.735] [InstallWorkflow] Rollbacking component CommunityInstaller.ExtractManifestStep
[09:11:56.736] [InstallWorkflow] Rollbacking component CommunityInstaller.DownloadStep

All install attempts were done using elevated rights.

Is there a way to work around this? Or a possible patch coming soon?

PStoner3 avatar Jun 10 '20 16:06 PStoner3

I have the same problem. Is there any workaround at this point?

Windows Version: Windows 10 Enterprise Version 1909 Docker Desktop Version: 2.3.0.3

Can confirm that the log output looks like the others pasted.

TheLeftMoose avatar Jun 11 '20 08:06 TheLeftMoose

Disabling Window's "Power" service, and rebooting, allows the installer, and Docker Desktop to run. Seems to be an issue with this service.

jomaedu avatar Jun 19 '20 19:06 jomaedu

As @jomaedu points out, this solution also worked for me.

PStoner3 avatar Jun 25 '20 00:06 PStoner3

Same here:

Version: 2.3.0.1 (44875)
Channel: edge
Sha1: 31df1d7f4287b1d02b8333031dcaf616f6127144
Started on: 2020/06/26 18:46:09.560
Resources: C:\Program Files\Docker\Docker\resources
OS: Windows 10 Pro
Edition: Professional
Id: 2004
Build: 19041
BuildLabName: 19041.1.amd64fre.vb_release.191206-1406
File: C:\Users\yukid\AppData\Local\Docker\install-log.txt
CommandLine: "C:\Program Files\Docker\Docker\InstallerCli.exe" -k -p
You can send feedback, including this log file, at https://github.com/docker/for-win/issues
[18:46:09.631][ComponentVersions ][Info   ] Edition community
[18:46:09.646][Installer         ][Info   ] Killing processes...
[18:46:09.660][Installer         ][Error  ] アクセスが拒否されました。
[18:46:09.719] [UninstallWorkflow] Action CommunityInstaller.ExecAction failed
Exception type: System.InvalidOperationException, Exception message: Process InstallerCli.exe exited with code 1, StackTrace:
   蝣エ謇€ CommunityInstaller.ExecAction.<DoAsync>d__28.MoveNext()
--- 逶エ蜑阪↓萓句、悶′繧ケ繝ュ繝シ縺輔l縺溷エ謇€縺九i縺ョ繧ケ繧ソ繝・け 繝医Ξ繝シ繧ケ縺ョ邨ゅo繧・---
   蝣エ謇€ System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   蝣エ謇€ CommunityInstaller.UninstallWorkflow.<ProcessAsync>d__11.MoveNext()
[18:46:09.722] [InstallWorkflow] Installation failed
Exception type: System.InvalidOperationException, Exception message: Process InstallerCli.exe exited with code 1, StackTrace:
   蝣エ謇€ CommunityInstaller.ExecAction.<DoAsync>d__28.MoveNext()
--- 逶エ蜑阪↓萓句、悶′繧ケ繝ュ繝シ縺輔l縺溷エ謇€縺九i縺ョ繧ケ繧ソ繝・け 繝医Ξ繝シ繧ケ縺ョ邨ゅo繧・---
   蝣エ謇€ System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   蝣エ謇€ CommunityInstaller.UninstallWorkflow.<ProcessAsync>d__11.MoveNext()
--- 逶エ蜑阪↓萓句、悶′繧ケ繝ュ繝シ縺輔l縺溷エ謇€縺九i縺ョ繧ケ繧ソ繝・け 繝医Ξ繝シ繧ケ縺ョ邨ゅo繧・---
   蝣エ謇€ System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   蝣エ謇€ System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   蝣エ謇€ CommunityInstaller.InstallWorkflow.<PerformUninstall>d__31.MoveNext()
--- 逶エ蜑阪↓萓句、悶′繧ケ繝ュ繝シ縺輔l縺溷エ謇€縺九i縺ョ繧ケ繧ソ繝・け 繝医Ξ繝シ繧ケ縺ョ邨ゅo繧・---
   蝣エ謇€ System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   蝣エ謇€ System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   蝣エ謇€ CommunityInstaller.InstallWorkflow.<HandleD4WPackageAsync>d__32.MoveNext()
--- 逶エ蜑阪↓萓句、悶′繧ケ繝ュ繝シ縺輔l縺溷エ謇€縺九i縺ョ繧ケ繧ソ繝・け 繝医Ξ繝シ繧ケ縺ョ邨ゅo繧・---
   蝣エ謇€ System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   蝣エ謇€ System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   蝣エ謇€ CommunityInstaller.InstallWorkflow.<DoProcessAsync>d__27.MoveNext()
[18:46:09.723] [InstallWorkflow] Rollbacking component CommunityInstaller.ExtractManifestStep
[18:46:09.724] [InstallWorkflow] Rollbacking component CommunityInstaller.DownloadStep

hk220 avatar Jun 26 '20 09:06 hk220

Same problem.

Windows Version: Windows 10 Enterprise Version 1909 From 2.3.0.2 (45183) to 2.3.0.3 (45519)

csongs avatar Jul 15 '20 05:07 csongs

Update on version 2.4.0.4 (46911):

Still seems to be an issue.

Llois41 avatar Jul 27 '20 14:07 Llois41

Same Issue on 2.3.3.2 (46784) (also tried 2.3.0.4 (46911) via WinGet; same issue).

image

Installer log (click to view) [02:04:20.023] [InstallHandler] No installation found [02:04:20.288] [InstallWorkflow] Using package: res:DockerDesktop [02:04:20.293] [InstallWorkflow] Downloading [02:04:21.671] [InstallWorkflow] Extracting manifest [02:04:22.691] [InstallWorkflow] Checking prerequisites [02:04:22.845] [InstallWorkflow] Prompting for optional features [02:04:31.098] [InstallWorkflow] Unpacking artifacts [02:05:56.456] [InstallWorkflow] Deploying component CommunityInstaller.CreateGroupAction [02:06:07.759] [InstallWorkflow] Deploying component CommunityInstaller.AddToGroupAction [02:06:19.020] [InstallWorkflow] Deploying component CommunityInstaller.EnableFeaturesAction [02:06:19.168] [InstallWorkflow] Component CommunityInstaller.EnableFeaturesAction failed Exception type: System.Runtime.InteropServices.COMException, Exception message: , StackTrace: at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext() at System.Linq.Enumerable.d__97`1.MoveNext() at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext() at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext() at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source) at CommunityInstaller.EnableFeaturesAction.GetFeaturesToEnable() at CommunityInstaller.EnableFeaturesAction.d__37.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at CommunityInstaller.InstallWorkflow.d__32.MoveNext() [02:06:19.170] [InstallWorkflow] Installation failed Exception type: System.Runtime.InteropServices.COMException, Exception message: , StackTrace: at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext() at System.Linq.Enumerable.d__97`1.MoveNext() at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext() at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext() at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source) at CommunityInstaller.EnableFeaturesAction.GetFeaturesToEnable() at CommunityInstaller.EnableFeaturesAction.d__37.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at CommunityInstaller.InstallWorkflow.d__32.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 CommunityInstaller.InstallWorkflow.d__27.MoveNext() [02:06:19.172] [InstallWorkflow] Rollbacking component CommunityInstaller.AddToGroupAction [02:06:19.174] [InstallWorkflow] Rollbacking component CommunityInstaller.CreateGroupAction [02:06:19.175] [InstallWorkflow] Rollbacking component CommunityInstaller.UnpackArtifactsStep [02:06:19.185] [FileSystem] Deleting C:\Program Files\Docker\Docker [02:06:19.512] [FileSystem] Deleted C:\Program Files\Docker\Docker successfully [02:06:19.513] [InstallWorkflow] Rollbacking component CommunityInstaller.ExtractManifestStep [02:06:19.515] [InstallWorkflow] Rollbacking component CommunityInstaller.DownloadStep

EDIT: tried @jomaedu's suggested fix, but that didn't work. Still getting the same crash log.

UpcraftLP avatar Jul 28 '20 00:07 UpcraftLP

Update: unselecting the WSL 2 integration when running the installer fixed the problem for me.

UpcraftLP avatar Jul 28 '20 12:07 UpcraftLP

My log:

[21:35:04.107] [InstallHandler] No installation found
[21:35:04.367] [InstallWorkflow] Using package: res:DockerDesktop
[21:35:04.373] [InstallWorkflow] Downloading
[21:35:05.247] [InstallWorkflow] Extracting manifest
[21:35:10.494] [InstallWorkflow] Checking prerequisites
[21:35:10.623] [InstallWorkflow] Prompting for optional features
[21:35:37.615] [InstallWorkflow] Unpacking artifacts
[21:37:57.780] [InstallWorkflow] Deploying component CommunityInstaller.CreateGroupAction
[21:38:02.860] [InstallWorkflow] Deploying component CommunityInstaller.AddToGroupAction
[21:38:02.874] [InstallWorkflow] Deploying component CommunityInstaller.EnableFeaturesAction
[21:38:04.640] [InstallWorkflow] Component CommunityInstaller.EnableFeaturesAction failed
Exception type: System.Runtime.InteropServices.COMException, Exception message: , StackTrace:
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
   at System.Linq.Enumerable.<CastIterator>d__97`1.MoveNext()
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
   at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source)
   at CommunityInstaller.EnableFeaturesAction.GetFeaturesToEnable()
   at CommunityInstaller.EnableFeaturesAction.<DoAsync>d__37.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at CommunityInstaller.InstallWorkflow.<HandleD4WPackageAsync>d__32.MoveNext()
[21:38:04.642] [InstallWorkflow] Installation failed
Exception type: System.Runtime.InteropServices.COMException, Exception message: , StackTrace:
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
   at System.Linq.Enumerable.<CastIterator>d__97`1.MoveNext()
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
   at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source)
   at CommunityInstaller.EnableFeaturesAction.GetFeaturesToEnable()
   at CommunityInstaller.EnableFeaturesAction.<DoAsync>d__37.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at CommunityInstaller.InstallWorkflow.<HandleD4WPackageAsync>d__32.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 CommunityInstaller.InstallWorkflow.<DoProcessAsync>d__27.MoveNext()
[21:38:04.646] [InstallWorkflow] Rollbacking component CommunityInstaller.AddToGroupAction
[21:38:04.649] [InstallWorkflow] Rollbacking component CommunityInstaller.CreateGroupAction
[21:38:04.651] [InstallWorkflow] Rollbacking component CommunityInstaller.UnpackArtifactsStep
[21:38:04.670] [FileSystem] Deleting C:\Program Files\Docker\Docker
[21:38:05.056] [FileSystem] Deleted C:\Program Files\Docker\Docker successfully
[21:38:05.057] [InstallWorkflow] Rollbacking component CommunityInstaller.ExtractManifestStep
[21:38:05.058] [InstallWorkflow] Rollbacking component CommunityInstaller.DownloadStep

Win 10 Enterprise 20175.1000

Fails on both latest stable and edge.

alejandro5042 avatar Jul 28 '20 15:07 alejandro5042

Same environment and same error message as @alejandro5042

Mortinke avatar Jul 29 '20 10:07 Mortinke