Getting this exception while pushing metadata to octopus. Any pointers?
octo.exe push-metadata --server https://server --apikey SECRET --package-id MyPackage --version 26 --metadata-file octopus.metadata
[10:45:14] [Octopus Deploy] System.Exception: The document does not define a link for 'PackageMetadata'
[10:45:14] [Octopus Deploy] at Octopus.Client.Model.Resource.Link(String name)
Thanks for getting in touch. Could you please help me with the following questions so I can try to reproduce this?
- Which version of
Octo.exe are you running? That should show up in that same TeamCity log file.
- Which version of the Octopus Server are you running?
- How are you creating
- Can you share me your
Feel free to send me your files to
support@Octopus.com if you don’t want to share them in this public thread.
The problem seems to be that the versions of
Octopus Server you are using are incompatible. That
push-metadata command was introduced as part of our integration with Jira which requires you to upgrade your
Octopus Server at least to
So you´re gonna need to either upgrade your Octopus Server to
2019.4.1>, or downgrade your
TeamCity Plugin to
<5.0.1 which will also downgrade the version of
Octo.exe you are using.
Here’s the link to that version of the TC plugin: https://octopus.com/downloads/2019.3.5
Hope that helps,
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.