Open ImmutableVector opened 5 years ago
Alright, after a bit of trial and error I got this to install
I acquired the stand alone files for service fabric from the dev notes. Tried running in powershell and got that log posted above.
After reading that I thought that maybe the VC++ update was causing the timeout, so ran the update manually from: C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code\vcredist_x64.exe
After that I was able to run .\MicrosoftServiceFabric.6.5.639.9590.exe /accepteula
I am going to leave the issue open for the team here to look at and see if it is something they want/need to address for this on their end.
Before running the VC++ update
Console Log for this on Fail:
-------------------------------
7/10/2019 4:02:25 AM,Info,Installing... Logs written to C:\WINDOWS\TEMP\InstallFabricRuntime.log
7/10/2019 4:02:25 AM,Info,Running extract in parallel.
7/10/2019 4:02:25 AM,Info,Unpackaging autoextractor...
7/10/2019 4:02:25 AM,Info,7/10/2019 12:02:25 AM Running Process: powershell.exe -NoProfile Get-ExecutionPolicy -Scope CurrentUser with timeout 00:01:00
7/10/2019 4:02:26 AM,Info,Extracting runtime cab...
7/10/2019 4:02:26 AM,Info,7/10/2019 12:02:26 AM Running Process: C:\WINDOWS\TEMP\MicrosoftServiceFabricAutoextractor.exe /L "C:\Program Files\Microsoft Service Fabric.lsnkruaq.5cx" /E /Y with timeout 01:00:00
7/10/2019 4:02:30 AM,Info,Current Powershell Execution Policy: Unrestricted
7/10/2019 4:02:30 AM,Info,Searching for legacy installation registry key.
7/10/2019 4:02:30 AM,Info,Service Fabric Product not detected in registry.
7/10/2019 4:02:30 AM,Info,Found legacy fabric files at C:\Program Files\Microsoft Service Fabric. Start removal...
7/10/2019 4:02:30 AM,Info,Executing powershell.exe with parameters: -NoProfile -Command & 'C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code\CleanFabric.ps1' -LogPath C:\WINDOWS\TEMP\FabricSetupLog.Uninstall.log
7/10/2019 4:02:30 AM,Info,7/10/2019 12:02:30 AM Running Process: powershell.exe -NoProfile -Command & 'C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code\CleanFabric.ps1' -LogPath C:\WINDOWS\TEMP\FabricSetupLog.Uninstall.log with timeout 00:10:00
7/10/2019 4:02:33 AM,Info,Legacy Fabric Uninstalled using CleanFabric.ps1!
7/10/2019 4:02:33 AM,Info,Successfully extracted cab file to C:\Program Files\Microsoft Service Fabric.lsnkruaq.5cx
7/10/2019 4:02:33 AM,Info,Moving FabricRoot files from 'C:\Program Files\Microsoft Service Fabric.lsnkruaq.5cx' to 'C:\Program Files\Microsoft Service Fabric'.
7/10/2019 4:02:33 AM,Info,Installing Service Fabric Runtime... Logs written to: C:\WINDOWS\TEMP\FabricSetupLog.log
7/10/2019 4:02:33 AM,Info,Executing powershell.exe with parameters: -NoProfile -Command & 'C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code\InstallFabric.ps1' -FabricRootIsPreInstalled -AcceptEULA -LogPath C:\WINDOWS\TEMP\FabricSetupLog.log
7/10/2019 4:02:33 AM,Info,7/10/2019 12:02:33 AM Running Process: powershell.exe -NoProfile -Command & 'C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code\InstallFabric.ps1' -FabricRootIsPreInstalled -AcceptEULA -LogPath C:\WINDOWS\TEMP\FabricSetupLog.log with timeout 00:10:00
7/10/2019 4:05:35 AM,Error,Unable to install Service Fabric Runtime using C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code\InstallFabric.ps1. ExitCode: 1. Find additional logs at: C:\WINDOWS\TEMP\FabricSetupLog.log.
After running the VC++ update manually
Console Log for this on success:
-----------------------------------
7/10/2019 4:08:49 AM,Info,Installing... Logs written to C:\WINDOWS\TEMP\InstallFabricRuntime.log
7/10/2019 4:08:49 AM,Info,Running extract in parallel.
7/10/2019 4:08:49 AM,Info,Unpackaging autoextractor...
7/10/2019 4:08:49 AM,Info,7/10/2019 12:08:49 AM Running Process: powershell.exe -NoProfile Get-ExecutionPolicy -Scope CurrentUser with timeout 00:01:00
7/10/2019 4:08:51 AM,Info,Extracting runtime cab...
7/10/2019 4:08:51 AM,Info,7/10/2019 12:08:51 AM Running Process: C:\WINDOWS\TEMP\MicrosoftServiceFabricAutoextractor.exe /L "C:\Program Files\Microsoft Service Fabric.d2b2ygkq.0c4" /E /Y with timeout 01:00:00
7/10/2019 4:09:04 AM,Info,Current Powershell Execution Policy: Unrestricted
7/10/2019 4:09:04 AM,Info,Searching for legacy installation registry key.
7/10/2019 4:09:04 AM,Info,Service Fabric Product not detected in registry.
7/10/2019 4:09:04 AM,Info,Found legacy fabric files at C:\Program Files\Microsoft Service Fabric. Start removal...
7/10/2019 4:09:04 AM,Info,Executing powershell.exe with parameters: -NoProfile -Command & 'C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code\CleanFabric.ps1' -LogPath C:\WINDOWS\TEMP\FabricSetupLog.Uninstall.log
7/10/2019 4:09:04 AM,Info,7/10/2019 12:09:04 AM Running Process: powershell.exe -NoProfile -Command & 'C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code\CleanFabric.ps1' -LogPath C:\WINDOWS\TEMP\FabricSetupLog.Uninstall.log with timeout 00:10:00
7/10/2019 4:09:07 AM,Info,Legacy Fabric Uninstalled using CleanFabric.ps1!
7/10/2019 4:09:07 AM,Info,Successfully extracted cab file to C:\Program Files\Microsoft Service Fabric.d2b2ygkq.0c4
7/10/2019 4:09:07 AM,Info,Moving FabricRoot files from 'C:\Program Files\Microsoft Service Fabric.d2b2ygkq.0c4' to 'C:\Program Files\Microsoft Service Fabric'.
7/10/2019 4:09:07 AM,Info,Installing Service Fabric Runtime... Logs written to: C:\WINDOWS\TEMP\FabricSetupLog.log
7/10/2019 4:09:07 AM,Info,Executing powershell.exe with parameters: -NoProfile -Command & 'C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code\InstallFabric.ps1' -FabricRootIsPreInstalled -AcceptEULA -LogPath C:\WINDOWS\TEMP\FabricSetupLog.log
7/10/2019 4:09:07 AM,Info,7/10/2019 12:09:07 AM Running Process: powershell.exe -NoProfile -Command & 'C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code\InstallFabric.ps1' -FabricRootIsPreInstalled -AcceptEULA -LogPath C:\WINDOWS\TEMP\FabricSetupLog.log with timeout 00:10:00
7/10/2019 4:09:13 AM,Info,Successfully installed Service Fabric Runtime
It may be due to a command-line bug caused by the space in your user name. The vcredist log path parameter /log C:\Users\Scott Peabody\AppData\Local\Temp\vcredist_x64.exe.log would need to have wrapping quotes or similar.
I have been trying for a few days to install Service Fabric. I found some other install issues on the forum and managed to find a log. Any ideas on what I can do to overcome this?
Log at: C:\Windows\Temp\FabricSetupLog.log
FabricSetup.exe invoked with arguments (C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code\FabricSetup.exe /operation:install). Current Exe version 6.5.639.9590 Environment information Data Root C:\ProgramData\Microsoft Service Fabric, Log Root C:\ProgramData\Microsoft Service Fabric\Log Starting service eventlog Starting service pla Starting UserGroupManager::Install Group ServiceFabricAdministrators already exists, Returning success CreateUserGroup succeeded. Group:ServiceFabricAdministrators has been created or already exists with sid:S-1-5-21-3855971603-2744815022-2051266979-1021 Group ServiceFabricAllowedUsers already exists, Returning success CreateUserGroup succeeded. Group:ServiceFabricAllowedUsers has been created or already exists with sid:S-1-5-21-3855971603-2744815022-2051266979-1022 UserGroupManager::Install successful Starting VCRedistManager::Install VC++11 is installed; checking version. VC++11 will be updated to 11.0.61030.0. Installing VC++11 from C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code\vcredist_x64.exe... CreateProcess Successful for CommandLine:C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code\vcredist_x64.exe /install /quiet /norestart /log C:\Users\Scott Peabody\AppData\Local\Temp\vcredist_x64.exe.log. ProcessId:8 MainThreadId:11052 ProcessHandle:240 FabricSetup Operation timed out, shutting down process..