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

Docker Desktop 3.0.0, Installation Failed (After update and also downloaded install)

Open RAHoebe opened this issue 5 years ago • 31 comments

Component CommunityInstaller.EnableFeaturesAction failed: Kan bestand of assembly System.Management.Automation, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 of een van de afhankelijkheden hiervan niet laden. Er wordt verwacht dat de module een assembly-manifest zou bevatten. bij CommunityInstaller.InstallWorkflow.d__29.MoveNext() --- Einde van stacktracering vanaf vorige locatie waar uitzondering is opgetreden --- bij System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() bij System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) bij CommunityInstaller.InstallWorkflow.d__23.MoveNext()

RAHoebe avatar Dec 12 '20 13:12 RAHoebe

Tried reinstall 2.4 version: Also Error now:

Kan bestand of assembly System.Management.Automation, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 of een van de afhankelijkheden hiervan niet laden. Er wordt verwacht dat de module een assembly-manifest zou bevatten. bij CommunityInstaller.EnableFeaturesAction.DoAsync(CancellationToken cancelToken) bij CommunityInstaller.InstallWorkflow.d__32.MoveNext() --- Einde van stacktracering vanaf vorige locatie waar uitzondering is opgetreden --- bij System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() bij System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) bij CommunityInstaller.InstallWorkflow.d__27.MoveNext()

RAHoebe avatar Dec 12 '20 13:12 RAHoebe

Same happened to me, exactly same error, 2.5.0.1 can't be installed back as well...

Edition	Windows 10 Pro
Version	20H2
Installed on	‎28/‎05/‎2020
OS build	19042.610
Experience	Windows Feature Experience Pack 120.2212.31.0

Martyrer avatar Dec 13 '20 16:12 Martyrer

upd. I was able to install v3.0.0 after removing docker related folders

C:\Program Files\Docker
C:\Users\<UserProfile>\AppData\Local\Docker
C:\Users\<UserProfile>\AppData\Roaming\Docker
C:\Users\<UserProfile>\AppData\Roaming\Docker Desktop

after successful installation, folders related to the AppData have been moved back overriding existing files (just to restore the settings)

Martyrer avatar Dec 13 '20 20:12 Martyrer

Facing the same issue. I used @Martyrer 's instructions to "hard remove" any leftovers. Not sure that was actually necessary. After this I started a fresh install and unchecked Install required Windows components for WSL 2. This did the trick. I had Docker on WSL2 working before, so this step was not necessary for me anyway.

Here is my latest install-log file:

Started on: 2020/12/13 23:46:38.482
File: C:\Users\mulle\AppData\Local\Docker\install-log.txt
CommandLine: "C:\Users\mulle\AppData\Local\Temp\MicrosoftEdgeDownloads\24422bdd-2e36-4ce7-8625-97c11b01ab55\Docker Desktop Installer.exe" "install" -package "res:DockerDesktop" --relaunch-as-admin
[23:46:38.482][ManifestAndExistingInstallationLoader] No install path specified, looking for default installation registry key
[23:46:38.482][Program] No installation found
[23:46:38.633][InstallWorkflow] Using package: res:DockerDesktop
[23:46:38.648][InstallWorkflow] Downloading
[23:46:40.891][InstallWorkflow] Extracting manifest
[23:46:41.285][InstallWorkflow] Manifest found: version=50684, displayVersion=3.0.0, channelUrl=https://desktop.docker.com/win/stable/appcast.xml
[23:46:41.287][InstallWorkflow] Checking prerequisites
[23:46:41.330][InstallWorkflow] Unpacking artifacts
[23:48:39.787][InstallWorkflow] Deploying component CommunityInstaller.CreateGroupAction
[23:48:44.401][InstallWorkflow] Deploying component CommunityInstaller.AddToGroupAction
[23:48:48.946][InstallWorkflow] Deploying component CommunityInstaller.EnableFeaturesAction
[23:48:49.036][InstallWorkflow] Installation failed
Exception type: System.Exception, Exception message: Component CommunityInstaller.EnableFeaturesAction failed: Not found , StackTrace:
   at CommunityInstaller.InstallWorkflow.<DoHandleD4WPackageAsync>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.<DoProcessAsync>d__23.MoveNext()
[23:48:49.039][InstallWorkflow] Rollbacking component CommunityInstaller.AddToGroupAction
[23:48:49.041][InstallWorkflow] Rollbacking component CommunityInstaller.CreateGroupAction
[23:48:49.042][InstallWorkflow] Rollbacking component CommunityInstaller.UnpackArtifactsStep
[23:48:49.049][FileSystem] Deleting C:\Program Files\Docker\Docker
[23:48:49.295][FileSystem] Deleted C:\Program Files\Docker\Docker successfully
[23:48:49.296][InstallWorkflow] Rollbacking component CommunityInstaller.ExtractManifestStep
[23:48:49.297][InstallWorkflow] Rollbacking component CommunityInstaller.DownloadStep

nphmuller avatar Dec 13 '20 22:12 nphmuller

upd. I was able to install v3.0.0 after removing docker related folders

C:\Program Files\Docker
C:\Users\<UserProfile>\AppData\Local\Docker
C:\Users\<UserProfile>\AppData\Roaming\Docker
C:\Users\<UserProfile>\AppData\Roaming\Docker Desktop

after successful installation, folders related to the AppData have been moved back overriding existing files (just to restore the settings)

Tried this, but does not work for me.

RAHoebe avatar Dec 14 '20 10:12 RAHoebe

Same issue here but deleting the folders and trying to reinstall does not work. I can't install older versions (2.5.0 or 2.4.0) aswell.

dmg-hamann avatar Dec 16 '20 11:12 dmg-hamann

I was able to reinstall it by doing the following steps.

Delete all folders mentioned in the post below

upd. I was able to install v3.0.0 after removing docker related folders

C:\Program Files\Docker
C:\Users\<UserProfile>\AppData\Local\Docker
C:\Users\<UserProfile>\AppData\Roaming\Docker
C:\Users\<UserProfile>\AppData\Roaming\Docker Desktop

after successful installation, folders related to the AppData have been moved back overriding existing files (just to restore the settings)

Tried this, but does not work for me.

When running the installation wizard unmark all options (Enable hyper v, use wsl, add shortcut).

That did the trick for me.

Afterwards I needed to unregister my old dockder-desktop distro and restart docker-desktop. Now it is back up and running.

dmg-hamann avatar Dec 17 '20 07:12 dmg-hamann

Issues go stale after 90 days of inactivity. Mark the issue as fresh with /remove-lifecycle stale comment. Stale issues will be closed after an additional 30 days of inactivity.

Prevent issues from auto-closing with an /lifecycle frozen comment.

If this issue is safe to close now please do so.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. /lifecycle stale

docker-robott avatar Mar 17 '21 01:03 docker-robott

/remove-lifecycle stale

Fake4d avatar Mar 17 '21 06:03 Fake4d

I was able to reinstall it by doing the following steps.

Delete all folders mentioned in the post below

upd. I was able to install v3.0.0 after removing docker related folders

C:\Program Files\Docker
C:\Users\<UserProfile>\AppData\Local\Docker
C:\Users\<UserProfile>\AppData\Roaming\Docker
C:\Users\<UserProfile>\AppData\Roaming\Docker Desktop

after successful installation, folders related to the AppData have been moved back overriding existing files (just to restore the settings)

Tried this, but does not work for me.

When running the installation wizard unmark all options (Enable hyper v, use wsl, add shortcut).

That did the trick for me.

Afterwards I needed to unregister my old dockder-desktop distro and restart docker-desktop. Now it is back up and running.

This also just fixed it for me for 3.2.2, many thanks! (note: have to run DD as Admin)

syeats avatar Apr 13 '21 20:04 syeats

Same error in 3.3.0... please fixed

fjfuente77 avatar Apr 24 '21 22:04 fjfuente77

I was able to reinstall it by doing the following steps. Delete all folders mentioned in the post below

upd. I was able to install v3.0.0 after removing docker related folders

C:\Program Files\Docker
C:\Users\<UserProfile>\AppData\Local\Docker
C:\Users\<UserProfile>\AppData\Roaming\Docker
C:\Users\<UserProfile>\AppData\Roaming\Docker Desktop

after successful installation, folders related to the AppData have been moved back overriding existing files (just to restore the settings)

Tried this, but does not work for me.

When running the installation wizard unmark all options (Enable hyper v, use wsl, add shortcut). That did the trick for me. Afterwards I needed to unregister my old dockder-desktop distro and restart docker-desktop. Now it is back up and running.

This also just fixed it for me for 3.2.2, many thanks! (note: have to run DD as Admin)

Also works for 3.3.3 (Deleted the files, and unchecked every box in the beginning of the wizard.)

risto-trajanov avatar May 11 '21 13:05 risto-trajanov

Same problem at 3.5.2. This sollution worked

I was able to reinstall it by doing the following steps. Delete all folders mentioned in the post below

upd. I was able to install v3.0.0 after removing docker related folders

C:\Program Files\Docker
C:\Users\<UserProfile>\AppData\Local\Docker
C:\Users\<UserProfile>\AppData\Roaming\Docker
C:\Users\<UserProfile>\AppData\Roaming\Docker Desktop

after successful installation, folders related to the AppData have been moved back overriding existing files (just to restore the settings)

Tried this, but does not work for me.

When running the installation wizard unmark all options (Enable hyper v, use wsl, add shortcut). That did the trick for me. Afterwards I needed to unregister my old dockder-desktop distro and restart docker-desktop. Now it is back up and running.

This also just fixed it for me for 3.2.2, many thanks! (note: have to run DD as Admin)

Also works for 3.3.3 (Deleted the files, and unchecked every box in the beginning of the wizard.)

swatoff avatar Aug 05 '21 13:08 swatoff

Same problem at 3.5.2

As @dmg-hamann stated I disabled the "install windows components for wsl2" option and that worked for me. I forgot that I already have wsl installed.

*The wizard just showed me two options:

  • install windows components for wsl2
  • Create shortcut

Same problem at 3.6.0 Idem fix (clean folders, uncheck all during install wizard)

markdebruijne avatar Aug 26 '21 21:08 markdebruijne

3.5.2'de aynı sorun

As @ dmg-hamann belirtti ben "wsl2 için pencereleri bileşenleri yüklemek" seçeneğini devre dışı ve bu benim için çalıştı. Zaten wsl'nin kurulu olduğunu unutmuşum.

*Sihirbaz bana iki seçenek gösterdi:

  • wsl2 için Windows bileşenlerini yükleyin
  • Kısayol oluştur

thanks it worked for 3.6.0

yagmurerdem avatar Sep 02 '21 06:09 yagmurerdem

Same problem at 3.5.2. This sollution worked

I was able to reinstall it by doing the following steps. Delete all folders mentioned in the post below

upd. I was able to install v3.0.0 after removing docker related folders

C:\Program Files\Docker
C:\Users\<UserProfile>\AppData\Local\Docker
C:\Users\<UserProfile>\AppData\Roaming\Docker
C:\Users\<UserProfile>\AppData\Roaming\Docker Desktop

after successful installation, folders related to the AppData have been moved back overriding existing files (just to restore the settings)

Tried this, but does not work for me.

When running the installation wizard unmark all options (Enable hyper v, use wsl, add shortcut). That did the trick for me. Afterwards I needed to unregister my old dockder-desktop distro and restart docker-desktop. Now it is back up and running.

This also just fixed it for me for 3.2.2, many thanks! (note: have to run DD as Admin)

Also works for 3.3.3 (Deleted the files, and unchecked every box in the beginning of the wizard.)

This solution worked for me; Docker Desktop 4.1.1.

MehmetAzizYirik avatar Oct 14 '21 10:10 MehmetAzizYirik

This solution did not work for me. Anyone else a other solution for Docker Desktop 4.1.1?

ghost avatar Oct 18 '21 14:10 ghost

Same problem at 3.5.2. This sollution worked

I was able to reinstall it by doing the following steps. Delete all folders mentioned in the post below

upd. I was able to install v3.0.0 after removing docker related folders

C:\Program Files\Docker
C:\Users\<UserProfile>\AppData\Local\Docker
C:\Users\<UserProfile>\AppData\Roaming\Docker
C:\Users\<UserProfile>\AppData\Roaming\Docker Desktop

after successful installation, folders related to the AppData have been moved back overriding existing files (just to restore the settings)

Tried this, but does not work for me.

When running the installation wizard unmark all options (Enable hyper v, use wsl, add shortcut). That did the trick for me. Afterwards I needed to unregister my old dockder-desktop distro and restart docker-desktop. Now it is back up and running.

This also just fixed it for me for 3.2.2, many thanks! (note: have to run DD as Admin)

Also works for 3.3.3 (Deleted the files, and unchecked every box in the beginning of the wizard.)

This solution worked for me; Docker Desktop 4.1.1.

The solution didn't work for me in Docker Desktop 4.1.1. Then I tried it again only this time in ran installer as an administrator and it worked

domenHren27 avatar Oct 20 '21 12:10 domenHren27

Even with all the suggestions, the error remains. I can't believe I was idle for 2 days trying to resolve this problem for nothing. Windows is horrible.

felipecastrosales avatar Jan 08 '22 13:01 felipecastrosales