Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error in deployment in Octopus deploy

Hi I am new to Octopus deploy.

I have created a nupkg and trying to deploy it to an IIS server.

I am getting following error.

There was a problem with your request. There must be at least one enabled healthy machine to deploy to in the environment, or the Project Deployment Target settings must be set to allow deployments to empty environments. Once you have corrected these problems you can try again. If the problem is related to a variable you will need to update the variables for this release or recreate the release for the changes to take effect. If the problem is related to the deployment process you will need to create a new release for the changes to take effect.

like image 527
user2746466 Avatar asked Apr 12 '26 19:04

user2746466


2 Answers

In Target Machine you have to add environment names.

Go to Infrastructure -> Deployment Targets -> any Target

then add your environment to this target. try as per below image.

enter image description here

like image 196
Nirav Mistry Avatar answered Apr 16 '26 20:04

Nirav Mistry


On mine my Target Role had a typo so resulted in nonsense.

Instead of being in two roles: "web-server" and "app-server" mine was in a new role called "web-server;app-server"

enter image description here

Which was pretty hard to spot

like image 34
User1 Avatar answered Apr 16 '26 21:04

User1



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!