-
Notifications
You must be signed in to change notification settings - Fork 904
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.chocolateyPending file is being used by another process #1159
Comments
It feels like you have two Chocolatey's running. That is usually the case when you see an error such as this. |
However the error of not being able to access the file is likely not the actual error, it's just a warning that is shown. Usually it won't break the process. From what I see here, it looks like you should increase your WinRM memory. It's too low to handle an install. I would suggest at least 800MB. |
It's the OutOfMemory exception that led me to this conclusion - https://gist.github.com/biradrags/a413afa6f8987d7779bca9441ed0fc72#file-chocolatey-log-L271 |
Here is how you can do this: #721 (comment) 1GB is probably not a bad idea. |
@biradrags let me know if that resolves your issue. Thanks! |
@ferventcoder thank you so much!!! |
Happy to assist. |
Hello
We use chocolatey to install many custom packages remotely using Ansible
What You Are Seeing?
When I run the installation locally on the server, installation is correct.
However, if I run the installation remotely through the ansible installation has an error
What is Expected?
Remote installation must take place correctly
How Did You Get This To Happen? (Steps to Reproduce)
When i install package locally on server using command
choco install ibm_integration_bus -dyv
- I has successfull installationHere is logfile:
https://gist.github.com/biradrags/20fffa07319da3495ffdb7112a3cd2b4
But when I try to install package remotely, using Ansible or PowerShell, I get an error when chocolatey trying to remove .chocolateyPending file
https://gist.github.com/biradrags/a413afa6f8987d7779bca9441ed0fc72
Output Log
Chocolatey.log:
I also recorded the log file handling to .chocolateypending file using procmon.exe:
The text was updated successfully, but these errors were encountered: