empty trash with 197 thousand files

cancel
Showing results for 
Search instead for 
Did you mean: 
MrNico
Customer

empty trash with 197 thousand files

Hello, I need ideas to be able to empty the trash that has 194071 files. I have not been able to do it from the web page, since it crashes and gives a timeout error.

Community alfresco use 4.2.f
It is not possible to install trashcan cleaner (I could never compile the program)

2 Replies
angelborroy
Alfresco Employee

Re: empty trash with 197 thousand files

alfresco-trashcan-cleaner seems the right approach.

I've packaged the AMP from https://github.com/atolcd/alfresco-trashcan-cleaner adding some code to pom.xml in dependencyManagement section

            <dependency>
                <groupId>org.springframework.extensions.surf</groupId>
                <artifactId>spring-surf-core-configservice</artifactId>
                <version>1.2.0-M17</version>
            </dependency>
            <dependency>
                <groupId>org.springframework.extensions.surf</groupId>
                <artifactId>spring-webscripts-api</artifactId>
                <version>1.2.0-M17</version>
            </dependency>
            <dependency>
                <groupId>org.springframework.extensions.surf</groupId>
                <artifactId>spring-webscripts</artifactId>
                <version>1.2.0-M17</version>
            </dependency>

Let me know if that works for you

Hyland Developer Evangelist
angelborroy
Alfresco Employee

Re: empty trash with 197 thousand files

You may use the Alfresco REST API to remove nodes in "archive/workspace/SpaceStore" in chunks.

Hyland Developer Evangelist