Hi
I got an error in pipeline of the Azure DevOps below:
2021-04-14T07:03:36.0850286Z Creating release…
2021-04-14T07:03:36.2358215Z There was a problem with your request.
2021-04-14T07:03:36.2359005Z
2021-04-14T07:03:36.2359523Z - Release ‘1.12.6’ already exists for this project. Please use a different version, or look at using a mask to auto-increment the number.
2021-04-14T07:03:36.2359947Z
2021-04-14T07:03:36.2368779Z Error from Octopus Server (HTTP 400 BadRequest)
2021-04-14T07:03:36.2369685Z Exit code: -7
2021-04-14T07:03:36.2583177Z ##[error]Error: The process ‘C:\agent05_work_tool\octo\7.4.4\x64\octo.cmd’ failed with exit code 4294967289
2021-04-14T07:03:36.2585815Z ##[error]Failed to deploy release The process ‘C:\agent05_work_tool\octo\7.4.4\x64\octo.cmd’ failed with exit code 4294967289
2021-04-14T07:03:36.2650234Z ##[section]Finishing: Create Octopus Release
2021-04-14T07:03:35.9451316Z Finding release template…
2021-04-14T07:03:35.9972417Z The package version for some steps was not specified. Going to try and resolve those automatically…
2021-04-14T07:03:36.0484685Z Finding latest package for step: Create Web Site and Application Pool
2021-04-14T07:03:36.0742915Z Selected ‘CSI’ version ‘1.12.5.1’ for ‘Create Web Site and Application Pool’
2021-04-14T07:03:36.0790254Z Using version number from release template: 1.12.6
2021-04-14T07:03:36.0846737Z Release plan for CSI Test 02 1.12.6
2021-04-14T07:03:36.0847469Z Channel: ‘Default’ (this is the default channel)
2021-04-14T07:03:36.0848143Z # Name Version Source Version rules
2021-04-14T07:03:36.0848777Z — -------------------------------------- ---------- ------------------ -------------------
2021-04-14T07:03:36.0849429Z 1 Create Web Site and Application Pool 1.12.5.1 Latest available Allow any version
2021-04-14T07:03:36.0849902Z
2021-04-14T07:03:36.0850286Z Creating release…
2021-04-14T07:03:36.2358215Z There was a problem with your request.
2021-04-14T07:03:36.2359005Z
2021-04-14T07:03:36.2359523Z - Release ‘1.12.6’ already exists for this project. Please use a different version, or look at using a mask to auto-increment the number.
2021-04-14T07:03:36.2359947Z
2021-04-14T07:03:36.2368779Z Error from Octopus Server (HTTP 400 BadRequest)
2021-04-14T07:03:36.2369685Z Exit code: -7
2021-04-14T07:03:36.2583177Z ##[error]Error: The process ‘C:\agent05_work_tool\octo\7.4.4\x64\octo.cmd’ failed with exit code 4294967289
2021-04-14T07:03:36.2585815Z ##[error]Failed to deploy release The process ‘C:\agent05_work_tool\octo\7.4.4\x64\octo.cmd’ failed with exit code 4294967289
2021-04-14T07:03:36.2650234Z ##[section]Finishing: Create Octopus Release
I seem to have found a bit of a problem, but how do I fix this error?
It looks like Octopus is seeing 1.12.5.1 as the latest release and uses the version template to increment that to 1.12.6.
If you manually create a higher release, such as 1.12.7 or 1.12.8 and then check the Create Release screen again does the “Most recent release” field update to that newer version?
If so, all you would need to do is bump that number past the current existing versions so that the version template can automatically increment to a version that does not already exist.