How should I move NuGet artifacts to a new TeamCity server?

We've been using TeamCity as a NuGet server with great success. Last week I migrated TeamCity to a new server machine. The database remained where it was on an external server. I copied the artifacts folder to the new server and I can see them all listed on the project configuration page. However, the old packages are not showing up in the NuGet package feed. What else do I need to do to get the new TeamCity server to list those old packages?

Other projects that depend on older versions of these packages are currently broken because they can't be found.

1 comment
Comment actions Permalink

Hello,

NuGet packages are stored in build artifacts. What is missing after backup recovery was NuGet index.
Unfortunalety, we do not recreate the index on backup recovery (please post an issue for that at http://youtrack.jetbrains.com/)

There is a workaround to re-index finished builds. Please see
http://youtrack.jetbrains.com/issue/TW-19411#comment=27-408238
for more details

0

Please sign in to leave a comment.