Shane Gill on 13 Oct, 2017 12:19 AM
Thanks for getting in touch. I'm sorry to hear you release has gone missing.
It may have been cleaned up by retention (https://octopus.com/docs/administration/retention-policies). Retention policies are set by lifecycle, you can find the retention policy for a project by going to the project page and selecting "Process". The lifecycle is shown on the right. Take note of the lifecycle and then head to Library > Lifecycles. Click the lifecycle appropriate to your project and the retention policy for that lifecycle will be shown.
If the lifecycle is set to keep a limited number of releases, my guess is that your release was cleaned up. If that is the case, there is no way to recover the release except to restore a database backup.
I’ve checked the lifecycle and it is limited to keep 5 releases. However, in the project page, under “Releases” , I can see many releases also the previous ones. I mean, missing release is v0.0.1348 but for example v0.0.1294 is there although it is a previous release. Do you have any idea about this?
Shane Gill on 13 Oct, 2017 07:00 AM
Retention policy for releases is based on lifecycle phases. When retention is set to keep 5 releases, it will keep 5 releases for that phase. That means you could have 5 releases for Production, 5 releases for Test and 5 undeployed releases. If you had 5 undeployed releases and created a new release, the oldest undeployed releases would get cleaned up by retention.
The retention task provides a fairly detailed explanation about why releases are kept or deleted. You can find it by going to the "Tasks" page, using the task type drop down filter to select "Retention" and then clicking on one of the tasks. The verbose log will contain the reason why some releases are kept and others deleted.
From the screenshot of the dashboard that you sent I can see 1581, 1533 and 1508 are in the "Production" phase. Only two more releases will be kept in "Production", so I am guessing you have two releases that were deployed to production after 1348.