We are encountering an issue with scheduled triggers. We have a project with a scheduled trigger, which creates the release and then deploys it to the first environment in the lifecycle, specific to one tenant. As it runs through the steps, when it gets to a step of type “Deploy a Release” (a step template by Octopus Deploy), the step always fails with the following error message.
The step failed: Activity Step 5 on the Octopus Server failed with error ‘The resource ‘users-system’ was not found.’.
This error message only occurs if the deployment was triggered by a schedule. If you re-deploy the release (“Try Again” button or otherwise), the step succeeds without complaining.
We are running Octopus v2018.4.10. I can provide logs if you need them.
Thanks for getting in touch! I’m sorry you’re hitting this unintended and annoying bug. I’ve been able to reproduce this behavior and raised the following issue to get this looked into and fixed.
I appreciate you bringing this to our attention and providing the repro steps. Don’t hesitate to reach out if you have any further questions or concerns going forward.
Add a scheduled trigger to the deployer project which will create and deploy a new release to the tenant which is connected to this project to some environment.
I should also mention, as a side note, your forum system does not let me edit my original post if I’m only changing the title. I tried editing my post title to add quotes around “Deploy a Release”, but upon clicking “Save”, the dialog closes, and nothing is saved. Also no errors either.