« Return to Thread: Releases In the Trash!?

Re: Releases In the Trash!?

by jrduncans :: Rate this Message:

Reply to Author | View in Thread

On Tue, Jun 2, 2009 at 1:49 PM, Brian Fox <brianf@...> wrote:
For a hosted release repository, none of the tasks should touch a release repo. Check the system changes feed to see what actions have occured around the time where the artifacts went missing.

To restore them, on the server simply copy/move the contents from the trash back to the storage folder. You would then want to run a reindex.


On Tue, Jun 2, 2009 at 10:42 AM, Stephen Duncan Jr <stephen.duncan@...> wrote:
Running Nexus version 1.3.3.  I noticed yesterday that, in my companies Nexus install, all our old releases were missing.  It turns out that on Saturday, May 30th, they were put in the trash folder. 

I have several scheduled tasks, but I did not understand any of them to ever delete released jars. 

1) What all do I have to do to get those releases back from the trash into the releases?
2) What should I look for in terms of things that could have caused this?  What log files should I look at?

--
Stephen Duncan Jr
www.stephenduncanjr.com


For Satuday (which is the timestamp on almost all of the directories in trash/releases/our/groupid), what I have in the System Change feed:

Removing snapshots from repository Snapshots
Emptying Trash
Downloading indexes for repository group public
Evicting unused proxied items for all registered proxy repositories

During that last one, I did see an exception in the log:

2009-05-30 12:03:13 WARN  [pool-1-thread-2] - o.s.n.p.r.ShadowRep~:m2-m1-s~ - Could not sync shadow repository because of exception
org.sonatype.nexus.proxy.ItemNotFoundException: Item not found on UID central-m1:/com.google.gwt/poms/gwt-servlet-1.4.62.pom in repository central-m1

--
Stephen Duncan Jr
www.stephenduncanjr.com

 « Return to Thread: Releases In the Trash!?