Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
Cached Packages never disappear
-
I've created a feed with caching enabled, added a connector to the nuget.org feed and pushed two of my own packages to the feed.
I expected to see hundreds of packages from nuget.org in my feed (with that antenna - or whatever it is - symbol in the icon to mark packages from connectors) and my own packages. And i did so. Everything as expected.
Then, I removed the connector, cleared the cache and switched of caching for the feed. After a few days, I expected to see nothing than my own two packages. Nope. In the feed, I have my own packages - as expected - and six random packages from the official nuget feed (this time without the antenna symbol). These packages were never downloaded from the feed. I've tried to enable/clear/disable caching again, waited another day but these packages still sit in my feed and I have no idea why and how to remove them.
Any explanation why they're still in my feed and how to get rid of them?
Product: ProGet
Version: 3.4.6
-
It looks like the clear cache link does not work for non-legacy feeds. We'll have that fixed in 3.4.7.
-
Did this get fixed? I'm seeing the same problem still in 3.4.7.
-
This was definitely fixed in 3.4.7, and I just verified this again on a fresh 3.4.7 install. Are the cached packages getting deleted from disk?
-
To clarify, the packages are not cached in the package folder. The feed is still reflecting the packages from the connector, though (even though it has been removed). I've found no way to successfully clean up the feed.
If you create a new feed and keep the default options, you end up with a connector to NuGet. If you go view the feed in the ProGet web site, and then go edit the feed and remove the NuGet connector, all of the nuget.org packages will still show up when you go back and view the feed again.
-
I had the same problem, the packages still showed up after deleting the conector.
SOLUTION
- Restart Proget
DETAILS
I browsed the database and the packages folder for the offending packages and could not find them.
The connector was also deleted from the database.
Running feed cleanup also did nothing.
In short, I could find no evidence of a problem that would persist after a restart, so I restarted the server Proget ran on and after restart it no longer pulled in packages from the deleted remote.I have proget version:
- Version 3.7.5 (Build 3)