Cannot create release after deployment process modification

Octopus version: 2023.1 Build 10235

Hello,
we have encountered a strange problem. After some changes to deployment process our CI cannot create release for one of our project. Also manuały created release cannot be made. Any actions ends with error:


In web console we can see that errors raise on GET to /api/Spaces-1/projects/Projects-2187/deploymentprocesses/template?channel=Channels-2328
Also any modification to deployment proces ends with unsaved results. We tried to clone our project and clone each deployment step to new project. This deployment process uses only helm upgrade built-in step. Other projects works fine. Can you help us ?

Hey @Piotr,

Thanks for reaching out and sorry to hear about the issues you’re experiencing.

The issue, as you’ve investigated yourself, is likely to do with channel version rules/package references and could be corrupt or orphaned data.

In regards to Channels-2328, are you able to access this channel within the project?
You can tell which channel is which by looking at the URL in your browser once accessing the channel, as the ID should be contained at the end.

Once you’ve found Channels-2328, are you able to delete and then re-create the channel?
Once this channel has been re-created please attempt to create the release once more.

If the issue still persists, can I ask what response you get from the API endpoints:
/api/Spaces-1/projects/Projects-2187/deploymentprocesses/
/api/Spaces-1/projects/Projects-2187/deploymentsettings/

The reason behind this is that one or both of these endpoints may return the Object reference error and determining which can narrow down the cause of the issue.

Kind Regards,
Adam

Hi @adam.hollow,

We re-create channel, but error still exists. Any of your API endpoints return payload in correct way. We decide to remove this project. Problem no longer exists.

Best regards
Piotr

1 Like

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.