Scripts blocking other scripts on my node

Hey Guys,

I am getting deadlocks on my octopus deploy. I get told

" Waiting for the script in task ServerTasks-38160 to finish as this script requires that no other Octopus scripts are executing on this target at the same time."

I have set the task cap on the node to 5. But I get that error when only two tasks are running on the server.

I can’t see anywhere in my process where I am telling it that no other scripts can execute on the target at the same time.

How do I remove the exclusivity requirement of my script? I want other scripts to run on the node at the same time.

Hi Paul,

Thanks for getting in touch!

This is a deliberate safety measure that we put in place so that multiple deployments don’t accidentally stomp on each other on the same target. This is a per project setting that you can turn off, the linked documentation has more information.

If you have any further questions please let me know,

Regards,
Alex