docker / for-win

Bug reports for Docker Desktop for Windows
https://www.docker.com/products/docker#/windows
1.87k stars 292 forks source link

i need help for “Component CommunityInstaller.AddToGroupAction failed” #13818

Open JamSang opened 11 months ago

JamSang commented 11 months ago

Description

Version: 4.25.2 (129061) Sha1: Started on: 2023-11-29 18:04:10.247 Resources: C:\Program Files\Docker\resources OS: Windows 10 Home China Edition: CoreCountrySpecific Id: 2009 Build: 19044 BuildLabName: 19041.1.amd64fre.vb_release.191206-1406 File: C:\ProgramData\DockerDesktop\install-log-admin.txt CommandLine: "C:\Program Files\Docker\Docker Desktop Installer.exe" install --installation-dir=C:\Docker\ You can send feedback, including this log file, at https://github.com/docker/for-win/issues [2023-11-29T18:04:10.989946700Z][ManifestAndExistingInstallationLoader][I] Install path is C:\Docker. Loading manifest first [2023-11-29T18:04:10.998619400Z][ManifestAndExistingInstallationLoader][I] No manifest found, returning no existing install [2023-11-29T18:04:10.998619400Z][Installer][I] No installation found [2023-11-29T18:04:11.368973100Z][InstallWorkflow][I] Cancel pending background download [2023-11-29T18:04:11.372963500Z][BackgroundTransfer][I] Cancel current background transfer job [2023-11-29T18:04:11.411590900Z][InstallWorkflow][I] Using package: res:DockerDesktop [2023-11-29T18:04:11.415217300Z][InstallWorkflow][I] Downloading [2023-11-29T18:04:18.101380200Z][InstallWorkflow][I] Extracting manifest [2023-11-29T18:04:20.693498500Z][InstallWorkflow][I] Manifest found: version=129061, displayVersion=4.25.2, channelUrl=https://desktop-stage.docker.com/win/main/amd64/appcast.xml [2023-11-29T18:04:20.694443800Z][InstallWorkflow][I] Checking prerequisites [2023-11-29T18:04:21.223057600Z][InstallWorkflow][I] Prompting for optional features [2023-11-29T18:04:26.570681400Z][InstallWorkflow][I] Selected backend mode: wsl-2 [2023-11-29T18:04:26.572812700Z][InstallWorkflow][I] Unpacking artifacts [2023-11-29T18:08:49.558265000Z][InstallWorkflow][I] Deploying component CommunityInstaller.CreateGroupAction [2023-11-29T18:09:01.395465500Z][InstallWorkflow][I] Deploying component CommunityInstaller.AddToGroupAction [2023-11-29T18:09:12.794711000Z][InstallWorkflow-AddToGroupAction][E] Unable to add user to group 调用的目标发生了异常。 [2023-11-29T18:09:12.798764800Z][InstallWorkflow][E] Installation failed System.Exception: Component CommunityInstaller.AddToGroupAction failed: 调用的目标发生了异常。 ---> System.Reflection.TargetInvocationException: 调用的目标发生了异常。 ---> System.Runtime.InteropServices.COMException: 有更多数据可用。

--- 内部异常堆栈跟踪的结尾 --- 在 System.DirectoryServices.DirectoryEntry.Invoke(String methodName, Object[] args) 在 CommunityInstaller.AddToGroupAction.AddUserToGroup(DirectoryEntry group, String username) 在 System.Threading.Tasks.Task.Execute() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 CommunityInstaller.AddToGroupAction.d37.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 CommunityInstaller.InstallWorkflow.d30.MoveNext() --- 内部异常堆栈跟踪的结尾 --- 在 CommunityInstaller.InstallWorkflow.d30.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 CommunityInstaller.InstallWorkflow.d23.MoveNext() [2023-11-29T18:09:12.801783100Z][InstallWorkflow][I] Rollbacking component CommunityInstaller.CreateGroupAction [2023-11-29T18:09:12.801783100Z][InstallWorkflow][I] Rollbacking component CommunityInstaller.UnpackArtifactsStep [2023-11-29T18:09:12.810732600Z][FileSystem][I] Deleting C:\Docker\ [2023-11-29T18:09:13.466979600Z][FileSystem][I] Deleted C:\Docker\ successfully [2023-11-29T18:09:13.466979600Z][InstallWorkflow][I] Rollbacking component CommunityInstaller.ExtractManifestStep [2023-11-29T18:09:13.469323600Z][InstallWorkflow][I] Rollbacking component CommunityInstaller.DownloadStep [2023-11-29T18:09:13.475167800Z][InstallWorkflow-DownloadStep][I] Failed to delete package: 未能找到路径“C:\Docker\dockerinstallerpackage”的一部分。

Reproduce

none

Expected behavior

No response

docker version

Version: 4.25.2 (129061)

docker info

Version: 4.25.2 (129061)

Diagnostics ID

0

Additional Info

No response

handa-ly commented 2 weeks ago

I have the same problem