05-25-2022 05:13 AM
Hello,
I'm trying to configure trashcan-cleaner to wipe documents older than 1 day in ACS 7.1 Community Edition. But cannot get it to work.
# cron schedule for the Trashcan Cleaner job trashcan-cleaner.cron=0 0/30 * * * ? # the period for which trashcan items are kept (in java.time.Duration format) # default is 28 days trashcan-cleaner.keepPeriod=P1D
# how many trashcan items to delete per job run trashcan-cleaner.deleteBatchCount=1000 # move orphans to deleted contentstore after 1 day (default 14 days) system.content.orphanProtectDays=1 # purge content instead of moving to deleted contentstore system.content.eagerOrphanCleanup=true
And I've enabled debug logging and there I can see the cron is starting every 30 minutes as wanted.
2022-05-25 10:00:00,004 INFO [alfresco.trashcan.TrashcanCleaner] [DefaultScheduler_Worker-7] Running TrashcanCleaner 2022-05-25 10:00:00,031 INFO [alfresco.trashcan.TrashcanCleaner] [DefaultScheduler_Worker-7] Number of nodes to delete: 0 2022-05-25 10:00:00,032 INFO [alfresco.trashcan.TrashcanCleaner] [DefaultScheduler_Worker-7] Number of deleted nodes: 0 2022-05-25 10:00:00,032 INFO [alfresco.trashcan.TrashcanCleaner] [DefaultScheduler_Worker-7] TrashcanCleaner finished 2022-05-25 10:30:00,004 INFO [alfresco.trashcan.TrashcanCleaner] [DefaultScheduler_Worker-10] Running TrashcanCleaner 2022-05-25 10:30:00,028 INFO [alfresco.trashcan.TrashcanCleaner] [DefaultScheduler_Worker-10] Number of nodes to delete: 0 2022-05-25 10:30:00,029 INFO [alfresco.trashcan.TrashcanCleaner] [DefaultScheduler_Worker-10] Number of deleted nodes: 0 2022-05-25 10:30:00,029 INFO [alfresco.trashcan.TrashcanCleaner] [DefaultScheduler_Worker-10] TrashcanCleaner finished
But the files are still in the trash can.
over 2 days since deleted
06-01-2022 06:59 AM
No hints? The files are still in the trash can one week later.
06-16-2022 02:26 AM
Anyone got this working in ACS 7.1?
01-26-2024 12:51 PM
Did you find a solution to this problem ?
01-29-2024 12:22 AM
Hello,
Sadly, no.
Explore our Alfresco products with the links below. Use labels to filter content by product module.