Alfresco Deleted Content Store Cleaner

Document created by alfresco Employee on Jun 20, 2018
Version 1Show Document
  • View in full screen mode

This add-on provide a job to remove abandoned files in Deleted Content Store.

 

From Alfresco 5.2 (201707 GA) a **Trashcan Cleaner** job is provided out of the box, although is disabled by default. This job removes documents from trash can periodically.

 

Once a content has been deleted from trashcan, `ContentStoreCleaner` job moves it to Deleted Content Store and change node state to `deleted` in database 14 days after. `NodeServiceCleanup` job remove the node from database 30 days after, but in the end the file is still living in Deleted Content Store. This addon will purge from Deleted Content Store (usually at `${alfresco}/alf_data/contentstore.deleted`) these abandoned files.

 

Configuring both Trashcan Cleaner and Deleted Content Store Cleaner addons, contents will be removed phisically from content stores without user or admin operation.

 

**License**
The plugin is licensed under the LGPL v3.0

**State**
Current addon release is 1.0.0

**Compatibility**
The current version has been developed using Alfresco 201702 and Alfresco SDK 3.0.1
***No original Alfresco resources have been overwritten***
Downloading the ready-to-deploy-plugin
--------------------------------------
The binary distribution is made of one JAR file to be deployed in Alfresco as a repo module:
* https://github.com/keensoft/alfresco-deleted-content-store-cleaner/releases/download/1.0.0/deleted-content-store-cleaner-1.0.0.jar
You can install it by copying JAR file to `$ALFRESCO_HOME/modules/platform` and re-starting Alfresco.

Building the artifacts
----------------------
You can build the artifacts from source code using maven
```$ mvn clean package```

 

 

OwnerAngel Borroy
Versions

Community 5.2.x

Enterprise 5.2.x

License TypeGNU Library or "Lesser" General Public License (LGPL)
Project PageGitHub - keensoft/alfresco-deleted-content-store-cleaner: Alfresco Deleted Content Store Cleaner job 
Download PageGitHub - keensoft/alfresco-deleted-content-store-cleaner: Alfresco Deleted Content Store Cleaner job 
Tagskeensoft
ComponentsAction
Extension PointsPublic API,Scheduled Job
InstallationJAR
ProductsRepository 
1 person found this helpful

Attachments

    Outcomes