Script package referenced in runbook disappears after 7 days

We upload a script package to Octopus Deploy and then use the scripts in a runbook.
Every week the script package disappears. Presumably because our Repository retention is set to 7 days and the package is not referenced in any releases.

If one can use a packaged script in a runbook, Octopus should not remove the latest/only version of this package.

Hi Heidi,

Thanks for reaching out to us with your question about runbooks.

I’ve looked into this and I can confirm that it was a known issue which was fixed in version 2020.1.1. You’ll need to be running that version (or later) to prevent this from happening. You can read the GitHub issue at https://github.com/OctopusDeploy/Issues/issues/6150.

I hope this is helpful. Please let me know if you have any questions.

Best Regards,

Charles

Thanks for the quick answer Charles!

We couldn’t update earlier because of the requirement for a newer version of SQL than we have. Now that that requirement has changed we have put upgrading back into our pipeline. One more reason to push that particular item higher up the priority list! :slight_smile:

1 Like