Unable to update deployment steps because invalid characters

We recently updated to the latest version of octopus deploy and it looks like the update added validation for step names. When we try to update one of the invalid step names to make it valid the save fails because other steps still exist in the same deployment process with invalid characters in their name. What is needed to be done in order to fix this issue? I’m sure others are running into the same thing

Hi Michael,

Yes, you are exactly right.

We have an issue open for this, and it will be resolved soon.

In the meantime, unfortunately, the only way to resolve this is to edit the data in the SQL Server database (other than deleting all except for one step, which is probably even less appealing).

You will need to edit the DeploymentProcess table. You can find the row to modify by examining the OwnerId column (it will reference your project) and the IsFrozen column (it will be 0). Find the affected step names in the JSON column and remove the offending ‘[’ and ‘]’ characters.

We sincerely apologize for the inconvenience this issue has caused. If you need any further assistance to resolve this issue please don’t hesitate to ask.

Regards,
Michael R