Partial Export Error - One of the attachment files was not found for ActionTemplateVersions


I am running into the following error when attempting a partial export using the Octopus.Migrator.exe utility:

One of the attachment files was not found for ActionTemplateVersions-11. Expected to find it at c:\temp\ExportFolder\Attachments\Spaces-1.ActionTemplateVersions-11-2021052408512471

The command I am using is:
Octopus.Migrator.exe partial-export --projectGroup=Database --password secret_password_here --directory c:\temp\ExportFolder --ignore-history

There is a similar error when attempting to import from this export in a new environment. What’s the best way to resolve or work around this issue?


Hi Nick,

Thanks for getting in touch! I’m sorry to see you’re hitting this issue while trying to partial-export this project. If you’re currently running versions 2021.1 or later, I’m wondering if a quick solution would be to use the new export/import projects feature in the UI. Details on this feature can be referenced in our documentation.

If it fails on import, would you be willing to send us the resulting task log from the import attempt?

This might however not address the root issue, as the error seems to imply something like an orphaned reference to an old action template version, probably in some old release(s). If this doesn’t get resolved via export/import feature (I’m hoping this specific instance is handled better here), would you be willing to also share the export file itself to have a look at? You can upload it via this secure upload link.

I look forward to hearing back and getting to the bottom of this one.

Best regards,


This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.