Product: PowerShell Universal
Version: 4.4.1
Running a licensed MSI install on Windows Server 2019 Standard.
Hi all,
We recently moved our psu content to a new enterprise github repo and we’re seeing odd sporadic issues around git synchronization failing, as well as our custom modules not being loaded into one of our dashboards/psu apps.
I’ll outline the steps I performed below to swap to the new repo:
- clone new repo using same ssh keypair for previous repo
- stop PSU service; set to manual start; restart server
- rename pre-existing/old repo folder to
repository.old
- rename new repo folder to
repository
- start PSU service
No PSU configs were changed between the old repo and the new repo (besides the git sync config changed through the admin panel).
Everything started up fine and git sync was/is working without issue.
When testing our dashboard/app, we noticed that one of our custom modules fails to be loaded into the dashboard. A restart of the PSU service fixes this, but the error occurs sporadically.
We plan on poking around when this issue occurs next to try to track down why this is happening.
We’re now seeing 2 additional sporadic issues that have popped up in the past few days around git sync.
An error with grpc (we don’t use grpc at all in PSU):
Status(
StatusCode="Unavailable",
Detail="failed to connect to all addresses",
DebugException="Grpc.Core.Internal.CoreErrorDetailException:
{
"created":"@1742876235.068000000",
"description":"Failed to pick subchannel",
"file":"..\..\..\src\core\ext\filters\client_channel\client_channel.cc",
"file_line":3218,
"referenced_errors":[
{
"created":"@1742876235.068000000",
"description":"failed to connect to all addresses",
"file":"..\..\..\src\core\lib\transport\error_utils.cc",
"file_line":165,
"grpc_status":14
}
]
}"
)
For this issue, I don’t really have a clue how to dig into this. It doesn’t really make sense to me.
And an error with file permissions on .git/config
:
Git command failed with exit code 128.
Errors:
error: could not write config file .git/config:
Permission denied fatal: could not set 'remote.origin.url' to 'git@companygithub.company.example.com:github-org/psu.git'
For this issue, I’ve compared our old repo .git/config
file permissions with our new repo; and they are identical. The service account that PSU is running under has full control of all folders & files under the new repo, the exact same as the old repo.
All of the issues occur sporadically.
If anyone has experienced any of the above issues and has any thoughts/recommendations in terms of tracking down the core issue, please chime in!
Thanks,
pb