Octopus PlugIn ~ Could not find any packages with ID '***' in the feed ***
Hello everyone,
I've inherited a project that uses Octopus, and as of late various builds fail me because they can't find the octopus package in the step OctopusDeploy: Create release.
[08:00:56][Octopus Deploy] Could not find any packages with ID '***' in the feed ***
I've already checked that the package ID is correct. In fact, there are a number of *.nupkg files with the specified ID in the TeamCity Build Agent working directory. I checked that they have the correct ID using the NuGet Package Explorer.
My best guess at this point is that there is some problem with the feed. How can I check and potentially fix that?
Thanks in advance,
Kira Resari
Please sign in to leave a comment.
Okay, I managed to fix it. Here's my breakdown of the issue.
My old build configuration was:
NuGet pack
OctopusDeploy: push packages
OctopusDeploy: create release
This resulted in a situation where the package was created, and pushed to the octopus server. However, for some reason that I do not yet understand, Octopus was unable to access the packages, even though they were in its library of available packages.
What I did was change the [OctopusDeploy: push packages] step to a [NuGet Publish] step, where I explicitly pushed the package into the stream specified by the error message. So now my new build configuration is:
NuGet pack
NuGet Publish
OctopusDeploy: create release
Now my build is running again. However, I would still like to know why Octopus was not able to access the packages I pushed to it using the [OctopusDeploy: push packages] step. I imagine using this would make things easier, yet I simply don't know just what I'm doing wrong. Could someone please explain this to me?
Thanks in advance,
Kira Resari