08-08-2019 11:46 AM
Hi,
Sorry, my english is very bad.
I have an issue when I try to show the content of trashcan.
My version is : Community Edition 5.2.0
Alfresco Share v5.1.g
(r128321-b8, Aikau 1.0.67, Spring Surf 5.1.g, Spring WebScripts 6.7, Freemarker 2.3.20-alfresco-patched, Rhino 1.7R4-alfresco-patched, Yui 2.9.0-alfresco-20141223)
Alfresco Community v5.2.0
(r128301-b8) schema 10003
When I try to show the content of trashcan, after 120s, the following error appears in GUI : Error loading items
and the following error appears in log catalina.out and share.log :
2019-08-08 15:53:16,238 INFO [org.springframework.extensions.webscripts.connector.RemoteClient] [http-apr-8080-exec-521] Exception calling (GET) http://localhost:8080/alfresco/s/api/archive/workspace/SpacesStore?maxItems=51&alf_ticket=TICKET_
2faaac9ad68d14c18ba0f28f7b20a3ff6b388dfe
2019-08-08 15:53:16,249 INFO [org.springframework.extensions.webscripts.connector.RemoteClient] [http-apr-8080-exec-521] Error status 408 Read timed out
java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:170)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:139)
at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:155)
at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:284)
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:140)
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:57)
at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:261)
at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:165)
at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:167)
at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:272)
at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:124)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:271)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)...
...
...
Furthermore, DATA present in contentstore.deleted directory is not purged
After followed diffents threads in this forum, I tried to implement the TRASHCAN CRON (Configuring the Trashcan Cleaner | Alfresco Documentation ) but this seems not working
Do you know how can I showed documents in trashcan and especially cleared out it ?
Regards,
08-13-2019 05:45 AM
I want to know that whether you want to show the contents of Trashcan or you want to clean the Trashcan?
If you want to clean the Trashcan using Trashcan cleaner periodically you should refer https://docs.alfresco.com/6.0/concepts/trashcan-cleaner.html.
If you are already facing the issue with Trashcan cleaner then please mention the error logs for the same.
Regards,
Kintu
08-13-2019 06:29 AM
Hello There,
[REPO-1333] Trashcan Cleaner 1.0 - Alfresco JIRA
May be this is related to your issue.
Hope you are aware about content life cycle of Alfresco.
08-13-2019 07:44 AM
Hi,
I think thrashcan cleaner is in 5.2.g version of the repo (and 5.2.f for Share - Alfresco 201707GA). Maybe your version is a previous one.
If you can not see the thrascan, maybe you can see something via Node Browser (archive store).
Probably some of the nodes in the thrascan have errors, and it may be necessary to detele it via some API, to see thrashcan correctly. This may help clean thrascan via JS API in JS Console:
limpeza lixeira alfresco.js · GitHub
Anyway, data is never purged from contentstore.deleted. And this is the place where content ends after 14 days of retention, but then you need to delete those files from disk. This diagram explain the deletion lifecycle in Alfresco.
https://i1.wp.com/blyx.com/wp-content/uploads/2014/08/Slide1.png?w=720&ssl=1
Regards.
--C.
Explore our Alfresco products with the links below. Use labels to filter content by product module.