Jumpserver 4.7 初始化部署远程应用发布机 Tinker无法安装

Jumpserver部署时间比较早,当初应该是在线部署的4.3版本,因怀疑是Jumpserver问题,后续离线升级至4.7,仍旧报错,log如下

2025-02-25 16:53:37
PLAY [all] *********************************************************************
2025-02-25 16:53:37
TASK [Gathering Facts] *********************************************************
2025-02-25 16:53:39 ok: [SecurityVM]
2025-02-25 16:53:39
TASK [Check if CORE_HOST is redirects] *****************************************
2025-02-25 16:53:40 ok: [SecurityVM]
2025-02-25 16:53:40
TASK [Check failed] ************************************************************
2025-02-25 16:53:40 skipping: [SecurityVM]
2025-02-25 16:53:40
TASK [Install RDS-RD-Server (RDS)] *********************************************
2025-02-25 16:53:41 ok: [SecurityVM]
2025-02-25 16:53:41
TASK [Stop Tinker before install] **********************************************
2025-02-25 16:53:43 ok: [SecurityVM]
2025-02-25 16:53:43
TASK [Download JumpServer Tinker installer] ************************************
2025-02-25 16:53:44 changed: [SecurityVM]
2025-02-25 16:53:44
TASK [Install JumpServer Tinker] ***********************************************
2025-02-25 16:53:46 An exception occurred during task execution. To see the full traceback, use -vvv. The error was: at System.Management.Automation.CommandProcessorBase.Complete()
fatal: [SecurityVM]: FAILED! => {“changed”: false, “msg”: “Unhandled exception while executing module: Exception calling "CreateProcess" with "7" argument(s): "CreateProcessW() failed (The file or directory is corrupted and unreadable, Win32ErrorCode 1392 - 0x00000570)"”}
2025-02-25 16:53:46
TASK [debug] *******************************************************************
2025-02-25 16:53:46 ok: [SecurityVM] => {
“ansible_failed_result”: {
“changed”: false,
“exception”: “Exception calling "CreateProcess" with "7" argument(s): "CreateProcessW() failed (The file or directory is corrupted and unreadable, Win32ErrorCode 1392 - 0x00000570)"\r\nAt line:678 char:15\r\n+ $result = Start-AnsibleWindowsProcess @commandArgs\r\n+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n + CategoryInfo : NotSpecified: (:slight_smile: [Start-AnsibleWindowsProcess], MethodInvocationException\r\n + FullyQualifiedErrorId : Win32Exception,Start-AnsibleWindowsProcess\r\n\r\nScriptStackTrace:\r\nat Start-AnsibleWindowsProcess, : line 230\r\nat Invoke-Executable, : line 678\r\nat , : line 1327\r\nat , : line 1479\r\n\r\nSystem.Management.Automation.MethodInvocationException: Exception calling "CreateProcess" with "7" argument(s): "CreateProcessW() failed (The file or directory is corrupted and unreadable, Win32ErrorCode 1392 - 0x00000570)" —> ansible_collections.ansible.windows.plugins.module_utils.Process.Win32Exception: CreateProcessW() failed (The file or directory is corrupted and unreadable, Win32ErrorCode 1392 - 0x00000570)\r\n at ansible_collections.ansible.windows.plugins.module_utils.Process.ProcessUtil.NativeCreateProcess(String applicationName, String commandLine, SecurityAttributes processAttributes, SecurityAttributes threadAttributes, Boolean inheritHandles, ProcessCreationFlags creationFlags, IDictionary environment, String currentDirectory, StartupInfo startupInfo) in c:\Users\Administrator\AppData\Local\Temp\lgtqoxzt.1.cs:line 440\r\n at ansible_collections.ansible.windows.plugins.module_utils.Process.ProcessUtil.CreateProcess(String lpApplicationName, String lpCommandLine, String lpCurrentDirectory, IDictionary environment, Byte[] stdin, String outputEncoding, Boolean waitChildren) in c:\Users\Administrator\AppData\Local\Temp\lgtqoxzt.1.cs:line 404\r\n at CallSite.Target(Closure , CallSite , Type , Object , String , String , Object , Object , String , SwitchParameter )\r\n — End of inner exception stack trace —\r\nat System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)\r\n at System.Management.Automation.Interpreter.ActionCallInstruction2.Run(InterpretedFrame frame)\r\n at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)\r\n at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)\r\n at System.Management.Automation.Interpreter.Interpreter.Run(InterpretedFrame frame)\r\n at System.Management.Automation.Interpreter.LightLambda.RunVoid1[T0](T0 arg0)\r\n at System.Management.Automation.PSScriptCmdlet.RunClause(Action1 clause, Object dollarUnderbar, Object inputToProcess)\r\n at System.Management.Automation.PSScriptCmdlet.DoEndProcessing()\r\n at System.Management.Automation.CommandProcessorBase.Complete()”,
“failed”: true,
“msg”: “Unhandled exception while executing module: Exception calling "CreateProcess" with "7" argument(s): "CreateProcessW() failed (The file or directory is corrupted and unreadable, Win32ErrorCode 1392 - 0x00000570)"”
}
}
2025-02-25 16:53:46
TASK [fail] ********************************************************************
2025-02-25 16:53:46 fatal: [SecurityVM]: FAILED! => {“changed”: false, “msg”: “Failed to deploy applet host”}
2025-02-25 16:53:46
PLAY RECAP *********************************************************************
SecurityVM : ok=6 changed=1 unreachable=0 failed=0 skipped=1 rescued=2 ignored=0
2025-02-25 16:53:46 Task terminal.tasks.run_applet_host_deployment[4f22e504-d720-4af8-a0a5-c77ffbbc05f0] succeeded in 9.831353337038308s: None

在C:\Users\Administrator\AppData\Local\Temp下确实找到了Tinker_Installer_v0.2.0.exe,但是执行会报错
image
4.3版本初始化部署时的0.1.6(应该是这个版本)的Tinker安装包报错相同,实在是找不到原因了,希望大家可以帮忙看一下。

windows安装失败了,可以尝试重启windows