I know version 5 was a significant upgrade. Due to unforeseen circumstances, I had to upgrade these servers to the latest build. Overall, everything seems to work fine, except for a few buttons on a dashboard that call Invoke-UDScript. Here’s an example:
I do not, not on any of my scripts. I thought maybe it was because I had 4.5.1 and 5.2.1 installed. Removed and restarted and still seeing the same thing. I think because I am not seeing the UI is why the Invoke-PSUScript is not seeing the parameters either.
Hey @adam,
No errors in the UI, just notifications.
Seeing this in the agent log:
2025-01-31 15:58:13.732 -05:00 [ERR] Error starting agent.
Grpc.Core.RpcException: Status(StatusCode="Unknown", Detail="Exception was thrown by handler.", DebugException="Grpc.Core.Internal.CoreErrorDetailException: {"created":"@1738357093.692000000","description":"Error received from peer ipv6:[::1]:56160","file":"..\..\..\src\core\lib\surface\call.cc","file_line":953,"grpc_message":"Exception was thrown by handler.","grpc_status":2}") ---> Grpc.Core.Internal.CoreErrorDetailException: {"created":"@1738357093.692000000","description":"Error received from peer ipv6:[::1]:56160","file":"..\..\..\src\core\lib\surface\call.cc","file_line":953,"grpc_message":"Exception was thrown by handler.","grpc_status":2}
--- End of inner exception stack trace ---
The other systemlog contains a bunch of misc errors:
2025-01-31 05:54:48.154 -05:00 [WRN] HTTP/2 is not enabled for [::]:5000. The endpoint is configured to use HTTP/1.1 and HTTP/2, but TLS is not enabled. HTTP/2 requires TLS application protocol negotiation. Connections to this endpoint will use HTTP/1.1.
adminAccount.ps1 cannot be loaded because you opted not to run this software now.
2025-01-31 05:54:47.863 -05:00 [WRN] Signature not recognized for PowerShellUniversal.IConfigurationSystemWatcher.Pause; method will not be bound
2025-01-31 05:54:47.863 -05:00 [WRN] Signature not recognized for PowerShellUniversal.IConfigurationSystemWatcher.CheckSum; method will not be bound
adminAccount.ps1 cannot be loaded because you opted not to run this software now.
Do you have AV on this machine or are the files blocked some how? PSU is probably trying to read the files and failing. You could try to do Get-ChildItem -Recurse | Unblock-File on the repository.
Was this an in place upgrade? I don’t know why it would start doing that all of a sudden if that’s the case.
I checked the file first via file explorer and did not see it was blocked. I did go ahead and run Unblock-File recursively on the repository. Does not seem to help.
This was an in-place upgrade. I also checked the execution policy was set correctly. There is an Anti-Virus software installed, our security department said they do not see anything on their end and exclusions are in place.