Salve,
Per Alfresco community edition 6021 ho aggiunto nel alfresco-global.properties la parte per l'abilitazione del trashcancleaner:
trashcan-cleaner.cron=0 30 * * * ?
trashcan-cleaner.keepPeriod=P1D
trashcan-cleaner.deleteBatchCount=100000
Seguendo la documentazione ufficiale in:
https://docs.alfresco.com/6.0/concepts/trashcan-cleaner.html
Ma non viene cancellato nulla.
Su github ho trovato un'altra procedura da eseguire per abilitarlo con il modulo "alfrescotrashcancleaner2.amp" ma non funziona ugualmente
Potete aiutarmi?
Grazie mille
For community edition, i think you need to install the module. It comes ootb with enterprise version only as far as i can recall.
Have a look at these links:
https://hub.alfresco.com/t5/alfresco-content-services-forum/trashcan-cleaner-not-working/td-p/183344
https://github.com/Alfresco/alfresco-trashcan-cleaner-module
Hello,
Thanks a lot for the answer.
the problem persists because the basket is too big what else can i do?
i also tried installing this:
https://github.com/pdubois/trashcancleaner
You can try to delete in batch of 100 if that works. I had written a script long back to call Alfresco's archieve API and delete the nodes from trashcan in batches.
It worked for ACS 5.2, hoping that it would work for latest versions as well.
Hello, Now I see that:
INFO 2020-03-24 16:23:24 : deleted b15c50cd-4c7f-40f2-bc36-b18a99ae6cbe
DEBUG 2020-03-24 16:23:24 : DELETE -> http://127.0.0.1:8080/alfresco/service/api/archive/archive/SpacesStore/27aa738b-87eb-4e05-a163-de1b1651dbd8?alf_ticket=TICKET_d399fc357f193753cc8c50d10with the query: select * from alf_node where uuid = 'b15c50cd-4c7f-40f2-bc36-b18a99ae6cbe'
select * from alf_node where uuid = 'b15c50cd-4c7f-40f2-bc36-b18a99ae6cbe'
I find 2 records. but the db always increases in size
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.