When running a deployment on targets that are accessed via a proxy when it gets to the retention policy steps, the deployment starts throwing the following error for all targets that are accessed via a proxy: “Attempted to access Proxy before it has been loaded”
Warning: Applying retention policy using 1 Items to set Environments-85/Projects-82/Step-EMDashboard - Install-Upgrade EventLogger Service/Machines-846/
20:16:42 Error | Attempted to access Proxy before it has been loaded
Thanks for contacting us. Would it be possible for you to send a complete log of a deployment that’s failed? Hopefully that will tell us something about the problem.
This is the log from the first attempt. After retrying a few of the retention failures and them still failing I then started ignoring the failures to get to the post retention steps. However, eventually the deployment hung and I had to cancel it to get the deploy to stop. I subsequently then rebooted the octopus server and the proxy server in case that helped. I then re-ran the deployment and exactly the same thing happened. Everything worked fine until it got to the retention steps.