When using PowerShell remoting to execute Chocolatey commands using background mode, the following error is thrown:
[Background] Chocolatey is configured for background service, but there is no background service available and running. Please ensure you have installed the service - 'choco install chocolatey-agent' (or upgraded to at least 0.5.0 - earlier version are not compatible).
There was no agent listening at net.pipe://localhost/chocolateyagentservice
^^^ Output has been stripped for brevity, leaving the relevant error details intact. Full error is in a screenshot in the ticket linked below
What is Expected?
Chocolatey works correctly and the background service is able to execute the command.
How Did You Get This To Happen? (Steps to Reproduce)
Install Chocolatey and configure for Background Mode
Execute a choco command that installs a package locally. This will work
Remote to the machine and execute the same command, this should fail
What You Are Seeing?
When using PowerShell remoting to execute Chocolatey commands using background mode, the following error is thrown:
^^^ Output has been stripped for brevity, leaving the relevant error details intact. Full error is in a screenshot in the ticket linked below
What is Expected?
Chocolatey works correctly and the background service is able to execute the command.
How Did You Get This To Happen? (Steps to Reproduce)
References