[
https://issues.apache.org/jira/browse/MRM-2028?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17470859#comment-17470859
]
Kilian Felder commented on MRM-2028:
------------------------------------
With the link you gave me first (a tar.gz), there is no WAR file included, so I
created one from these files. In the meantime I know from where I have to take
the WAR file. I downloaded and used
https://archiva-repository.apache.org/archiva/repository/snapshots/org/apache/archiva/archiva-webapp/2.2.8-SNAPSHOT/archiva-webapp-2.2.8-20220106.105441-6.war
but also with this file it didn't work and Archiva won't start ->
ClassNotFoundException.
Then, I modified the web.xml in the WAR file! I deleted the modifications for
'<servlet>' you added on 17.01.2021 with commit
09ada1604274d54efef155205e20f344361418f0 in file
archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/web.xml
And with this modification I was able to start archiva as expected. When it was
up and running I started a "directory scan" on my snapshot repository but until
now the history on the website is still not up-to-date. Currently I see no
error messages in the log.
I think it will take some weeks until I know if the purge it's working
correctly.
> 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)