As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
I'm trying to empty a large trashcan (about 100 GB) in Alfresco Community Edition 5.1.e, but all I get (using Alfresco Share) is "Failed to recover {0}".The logs show:
2017-09-11 12:07:00,007 INFO [org.springframework.extensions.webscripts.connector.RemoteClient] [ajp-apr-8009-exec-13] Exception calling (DELETE) http://localhost:8080/alfresco/s/api/archive/workspace/SpacesStore?alf_ticket=TICKET_xxxxxxxxxxxxx2017-09-11 12:07:00,007 INFO [org.springframework.extensions.webscripts.connector.RemoteClient] [ajp-apr-8009-exec-13] Error status 408 Read timed outjava.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method)
Solution seems to be increasing http.socket.timeout, as stated here:
[#ALF-18441] Read Timeout when delete big sites but that is for Alfresco 4.x. So the question is: What is the right way to fix this in Alfresco 5.1.e?Thanks!
I think, just the GUI is detached because of the timeout. The process that is emptying the trash can should still be working. You will just have to wait, deleting 100GB from the trash takes a long time.
The right way to "fix" this would be by implementing a proper trashcan cleanup in Alfresco, e.g. that processes archived items in parallel / batches and provides progress feedback to the Share UI. One of the project ideas for the upcoming global virtual hack-a-thon is actually about better trash management.
...yes, that would be the solution, many people are waiting for (including me 🙂 ) - a shame that I can't hack a the hack-a-thon - good luck and success to all
Me too
Well, I used this script once to clean the trashcan limpeza lixeira alfresco.js · GitHub
I'm afraid that's not the case. I've waited more than 24 hours, but trash is still there...Thanks anyway
Just for the record...I've "fixed" this issue by upgrading to 5.2 and enabling alfresco-trashcan-cleaner