<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Trashcan cleaner not working in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/trashcan-cleaner-not-working/m-p/30332#M12909</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeh! Thanks! It is &lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;Exactly what I was looking for&lt;/SPAN&gt;&lt;/SPAN&gt;! Actualy I not found this information earlyer, about contentstore.deleted. Thank you very much &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Aug 2017 07:33:57 GMT</pubDate>
    <dc:creator>art</dc:creator>
    <dc:date>2017-08-03T07:33:57Z</dc:date>
    <item>
      <title>Trashcan cleaner not working</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/trashcan-cleaner-not-working/m-p/30328#M12905</link>
      <description>Hello!I have installed Alfresco Community 5.2, and I tryind to enable Trashcan cleaner, by this instruction, but it not working. When I watch log - there is no errors about trashcan, but there is errors about ldap-syncronization.Tell me please, can this somehow depend?In attachment my alfresco.log</description>
      <pubDate>Wed, 02 Aug 2017 06:05:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/trashcan-cleaner-not-working/m-p/30328#M12905</guid>
      <dc:creator>art</dc:creator>
      <dc:date>2017-08-02T06:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: Trashcan cleaner not working</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/trashcan-cleaner-not-working/m-p/30329#M12906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Artem:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The link that you provided is for Alfresco Content Services 5.2.1. It is somehow related, but not exactly the same for Alfresco Community (e.x. the Admin Console). For example, to be sure about the module is installed you should see something like this in catalina.out during startup.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&amp;nbsp;2017-08-02 18:13:50,002 &amp;nbsp;INFO &amp;nbsp;[repo.module.ModuleServiceImpl] [localhost-startStop-1] Starting module 'alfresco-trashcan-cleaner' version 2.2.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AFAIK, the trashcan cronjob&amp;nbsp;is not enabled by default in Alfresco Community and the default period or retention days in trash is 28 days. You can check the trashcan config with OOTB Support Tools addon inspecting System Information page. There, you may search for trashcan related properties&amp;nbsp;such as &lt;STRONG&gt;trashcan-cleaner.cron&lt;/STRONG&gt; and&amp;nbsp;&lt;SPAN style="background-color: #ffffff; color: #58595b;"&gt;&lt;STRONG&gt;trashcan-cleaner.keepPeriod&lt;/STRONG&gt;&lt;/SPAN&gt;. If the cronjob is disabled, you will see the trashcan cronjob in&amp;nbsp;scheduled jobs section of this module for being executed in 2099.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to specify in alfresco-global.properties the next two properties:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;trashcan-cleaner.cron=&lt;SPAN style="color: #58595b; background-color: #ffffff;"&gt;0 30 * * * ?&lt;/SPAN&gt;&lt;SPAN style="color: #58595b; background-color: #ffffff;"&gt;&lt;BR /&gt;trashcan-cleaner.keepPeriod=&lt;SPAN style="color: #000000;"&gt;P1D&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Besides, you may configure log4j for getting more details (if you have OOTB Support Tools installed, you may even configure it from log4j section). Edit&amp;nbsp;/opt/alfresco52g/tomcat/shared/classes/alfresco/extension/custom-log4j.properties&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;log4j.logger.org.alfresco.trashcan=debug&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then restart Alfresco service, Once restarted, you may check your logs (catalina.out) at&amp;nbsp;&lt;SPAN style="color: #58595b; background-color: #ffffff;"&gt;each hour at the middle of the hour, or even force trashcan to do the job (once again with OOTB Support Tools addon). The retention in this case is for one day, so you should wait a day for these nodes to be considered in the cronjob. Once the job is executed, you should see something like this in catalina.out:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="color: #58595b; background-color: #ffffff;"&gt;2017-08-02 18:37:32,430 DEBUG [alfresco.trashcan.TrashcanCleaner] [DefaultScheduler_Worker-6] Running TrashcanCleaner&lt;BR /&gt; 2017-08-02 18:37:32,483 DEBUG [alfresco.trashcan.TrashcanCleaner] [DefaultScheduler_Worker-6] Found 0 nodes on trashcan&lt;BR /&gt; 2017-08-02 18:37:32,484 DEBUG [alfresco.trashcan.TrashcanCleaner] [DefaultScheduler_Worker-6] Number of nodes to delete: 0&lt;BR /&gt; 2017-08-02 18:37:32,486 DEBUG [alfresco.trashcan.TrashcanCleaner] [DefaultScheduler_Worker-6] Nodes deleted&lt;BR /&gt; 2017-08-02 18:37:32,488 DEBUG [alfresco.trashcan.TrashcanCleaner] [DefaultScheduler_Worker-6] TrashcanCleaner finished&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN style="color: #58595b; background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #58595b; background-color: #ffffff;"&gt;Hope this helps to set up trashcan. I would say that the other problem (ldap sync) is not related with it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #58595b; background-color: #ffffff;"&gt;Regards.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #58595b; background-color: #ffffff;"&gt;--C.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Aug 2017 16:48:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/trashcan-cleaner-not-working/m-p/30329#M12906</guid>
      <dc:creator>cesarista</dc:creator>
      <dc:date>2017-08-02T16:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: Trashcan cleaner not working</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/trashcan-cleaner-not-working/m-p/30330#M12907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi! &lt;BR /&gt;Maybe I wrong describe this. Trashcan is really working, I see it in alfresco.log, but free space at local hard drive on my server is ending, despite the fact that the trash is empty. In Community I readin that trashcan-cleaner must erase old data from the alfresco-base, but it is not so. How I can free the space on my hard disk, if trashcan-cleaner don't do it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Aug 2017 07:04:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/trashcan-cleaner-not-working/m-p/30330#M12907</guid>
      <dc:creator>art</dc:creator>
      <dc:date>2017-08-03T07:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: Trashcan cleaner not working</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/trashcan-cleaner-not-working/m-p/30331#M12908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deleting trash does not imply "to delete content from disk". Then it starts a 14-day retention period, and after it, the deleted content is moved to contentstore.deleted. Then content may be removed from contentstore.deleted safely. The retention period is managed with&amp;nbsp;the next property:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;system.content.orphanProtectDays=14&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;You may&amp;nbsp;change this parameter to 1 in alfresco-global.properties and restart Alfresco. After 1 day, you should see "the deleted content" in contentstore.deleted. Then you can remove content content safely.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some links about Alfresco content lifecycle:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://blyx.com/wp-content/uploads/2014/08/Slide1.png" title="https://blyx.com/wp-content/uploads/2014/08/Slide1.png" rel="nofollow noopener noreferrer"&gt;https://blyx.com/wp-content/uploads/2014/08/Slide1.png&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://blog.dbi-services.com/understand-the-lifecycle-of-alfresco-nodes/" title="https://blog.dbi-services.com/understand-the-lifecycle-of-alfresco-nodes/" rel="nofollow noopener noreferrer"&gt;https://blog.dbi-services.com/understand-the-lifecycle-of-alfresco-nodes/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;--C.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Aug 2017 07:22:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/trashcan-cleaner-not-working/m-p/30331#M12908</guid>
      <dc:creator>cesarista</dc:creator>
      <dc:date>2017-08-03T07:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: Trashcan cleaner not working</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/trashcan-cleaner-not-working/m-p/30332#M12909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeh! Thanks! It is &lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;Exactly what I was looking for&lt;/SPAN&gt;&lt;/SPAN&gt;! Actualy I not found this information earlyer, about contentstore.deleted. Thank you very much &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Aug 2017 07:33:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/trashcan-cleaner-not-working/m-p/30332#M12909</guid>
      <dc:creator>art</dc:creator>
      <dc:date>2017-08-03T07:33:57Z</dc:date>
    </item>
  </channel>
</rss>

