I'm trying to install Telligent Community 10.0.2 on a Windows Server 2012 R2 box and ran into a strange error. After successfully installing Search, I tried running the Job Service's HealthCheck.ps1 file (Job Service is still not installed) and immediately get an error:
The search instance was installed from a direct copy of the downloaded package and I confirmed that it opens correctly in a web browser. Any idea what I am missing or what must be done to resolve this?
What version of powershell are you running ( Use $PSVersionTable)
PSVersion is 4.0. BuildVersion is 6.3.9600.17400.
Looks like the UserBasicParsing property was only added to Invoke-RestMethod in Powershell 5.0
If you find the two occurrences of the following line in the healthcheck
Invoke-RestMethod $url -UseBasicParsing
And remove the -UseBasicParsing parameter, it should work with Powershell 3 & 4.
Thanks, Alex! That fixes those two errors.
The only remaining problem ("minor annoyance" might be more apt) is line checking the Job Service running status. In the PowerShell script around line 198, it's expecting the status string to be "Running" in order to pass the check, but in my environment (Win2012r2), the status of the running service is returning "OK", so I get an error stating that the service is not running even though it is.
Hmm... looks like the service Status property is returning "OK" whether the service is running or not.
Powered by Telligent Community