[ 
https://issues.apache.org/jira/browse/MRM-2028?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17471310#comment-17471310
 ] 

Martin Schreier commented on MRM-2028:
--------------------------------------

Hi Kilian,

unfortunately, there is no easy way to cleanup the data. The only possibility I 
can think of, is to recreate the files on the filesystem (e.g. with 'touch 
<path to file>'). And then run a full repository scan again.

You can get a the list of artifacts via the REST service, e.g this call:

{color:#000000}curl 
https://${ARCHIVA_HOST}/archiva/restServices/archivaServices/browseS{color}ervice/artifactDownloadInfos/ch.nextstride/doc/8.4.0-SNAPSHOT


 

I'm not sure, if this really works, it's just a guess.

> CLONE - Purge by retention count deletes files but leaves history on website.
> -----------------------------------------------------------------------------
>
>                 Key: MRM-2028
>                 URL: https://issues.apache.org/jira/browse/MRM-2028
>             Project: Archiva
>          Issue Type: Bug
>          Components: Archiva Components, Web Interface
>    Affects Versions: 2.2.5
>         Environment: Ubuntu 20.04, Tomcat 8.5.71
>            Reporter: Kilian Felder
>            Assignee: Martin Schreier
>            Priority: Minor
>              Labels: features, web-dashboard
>             Fix For: 2.2.8
>
>         Attachments: archiva.log, archiva_2.2.5_bug-1.png, 
> archiva_2.2.5_bug-2.png
>
>
> Hi all,
> I'm still having the same issue as described in MRM-1958.
> Files are deleted from the hard drive (as configured in archiva.xml), but the 
> history still exists in the archiva portal.
> Best regards,
> Kilian



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to