03-20-2020 05:50 AM
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
03-20-2020 02:38 PM
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
03-23-2020 05:24 AM
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
03-23-2020 01:46 PM
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.
03-25-2020 05:27 AM
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
Explore our Alfresco products with the links below. Use labels to filter content by product module.