Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CommunityActionTemplates folder missing when exporting a runbook using Octopus.Migrator.exe #6799

Closed
5 tasks done
OctoStu opened this issue Mar 19, 2021 · 4 comments
Closed
5 tasks done
Assignees
Labels
area/core feature/migrator kind/bug This issue represents a verified problem we are committed to solving

Comments

@OctoStu
Copy link

OctoStu commented Mar 19, 2021

Are you a customer of Octopus Deploy? Don't raise the issue here. Please contact our support team so we can triage your issue, making sure it's handled appropriately.

Prerequisites

  • I have verified the problem exists in the latest version
  • I have searched open and closed issues to make sure it isn't already reported
  • I have written a descriptive issue title
  • I have linked the original source of this report
  • I have tagged the issue appropriately (area/*, kind/bug, tag/regression?)

The bug

When using Octopus.Migrator.exe to export a runbook that includes a step with a community step template, the CommunityActionTemplates folder isn't exported resulting in the runbook not being able to use that step after import.

What I expected to happen

Runbook steps that use a community step template in the process should be able to export/import successfully

Steps to reproduce

  1. Create a runbook that uses a community step template in one of the steps
  2. Use octopus.Migrator.exe to export it Octopus.Migrator.exe partial-export --directory="C:\runbook" --ignore-deployments --ignore-machines --ignore-tenants --project="runbook" --password="password" --clean
  3. Import it to another instance Octopus.Migrator.exe import --directory="C:\runbook" --password="password"
  4. Browse to the steps in the runbook, the affected step will not load and the blue progress bar at the top will not stop moving:
    image
  5. Attempting to delete the step will give the following error:
    image

Screen capture

Left: Runbook export, Right: Deployment process export
image

Log excerpt

N/A

Affected versions

Octopus Server: Reproduced in 2020.5.5, also attempted an export on 2021.1.0-ci0972 and the folder wasn't included there either

Workarounds

Two possible workarounds:
1: Delete the step and add it again
2: Delete the affected step before exporting and manually add it after importing

Links

Internal link - https://octopus.zendesk.com/agent/tickets/65831

@OctoStu OctoStu added the kind/bug This issue represents a verified problem we are committed to solving label Mar 19, 2021
@droyad droyad closed this as completed May 18, 2021
@vladpRiM
Copy link

This is still an issue - will it be fixed?

@droyad
Copy link
Contributor

droyad commented May 18, 2021

@vladpRiM This is included in 2020.6.5026

@droyad
Copy link
Contributor

droyad commented May 18, 2021

Release Note: Included the community action templates when exporting a runbook

@Octobob
Copy link
Member

Octobob commented Aug 11, 2021

🎉 The fix for this issue has been released in:

Release stream Release
2020.6 2020.6.5026
2021.1 2021.1.7159
2021.2 2021.2.3652
2021.3+ all releases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/core feature/migrator kind/bug This issue represents a verified problem we are committed to solving
Projects
None yet
Development

No branches or pull requests

6 participants