After a Puppet run, you get an error message in the puppetserver.log in Puppet Enterprise.
Error message
2022-10-28T20:08:01.446Z WARN [qtp740278701-595] [c.p.p.ShellUtils] Executed an external process which logged to STDERR: error: object directory /opt/puppetlabs/server/data/code-manager/worker-caches/deploy-pool-2-2/git@github.com-bastelfreak-controlrepo.git/objects does not exist; check .git/objects/info/alternates
error: object directory /opt/puppetlabs/server/data/code-manager/worker-caches/deploy-pool-2-1/git@*REDACTED*-*REDACTED*-controlrepo.git/objects does not exist; check .git/objects/info/alternates
Version and installation information
PE version: All supported
Solution
A custom script has an incorrect file path saved to the code directory in PE. To resolve the issue, update your script with the correct file path: etc/puppetlabs/puppetserver/code
.
How can we improve this article?
0 comments
Please sign in to leave a comment.
Related articles