<?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: How to add clean content store job to admin console in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-add-clean-content-store-job-to-admin-console/m-p/99850#M28899</link>
    <description>&lt;P&gt;&lt;SPAN class="value"&gt;I added the option to alfresco-global.properties (in tomcat/shared/classes, I assume this is correct?) and set the days to 1, &lt;/SPAN&gt;I also checked the license tab and this is what it has:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="label"&gt;License:&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN class="value"&gt;Enterprise - v6.0&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="value"&gt;but I don't have the 'contentStoreCleanerJobDetail' in my scheduled tasks for some reason!&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 01 Nov 2020 14:52:15 GMT</pubDate>
    <dc:creator>mankind1023</dc:creator>
    <dc:date>2020-11-01T14:52:15Z</dc:date>
    <item>
      <title>How to add clean content store job to admin console</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-add-clean-content-store-job-to-admin-console/m-p/99846#M28895</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I just started using ACS 6 (last 2 days or so), and I found this link to clean up orphan files:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.alfresco.com/6.0/concepts/clean-content.html" target="_self" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/6.0/concepts/clean-content.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But I have no idea where / how to use this, I've been going through docs all day, without any luck.&lt;/P&gt;&lt;P&gt;Can someone tell me / point me to a step by step guide on how to do this? Basically, I'm looking to add the above to the admin console page at&amp;nbsp;admin/admin-scheduledjobs, where you can hit 'run' to run the job immediately.&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated, the server I am working on has run out of space (due to lots deleted files), and I need to free it up ASAP.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Oct 2020 21:42:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-add-clean-content-store-job-to-admin-console/m-p/99846#M28895</guid>
      <dc:creator>mankind1023</dc:creator>
      <dc:date>2020-10-30T21:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to add clean content store job to admin console</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-add-clean-content-store-job-to-admin-console/m-p/99847#M28896</link>
      <description>&lt;P&gt;Can you elobrate what you want to achive?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;If you are enterprise user, you should see the option already in enterprise admin console:&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="contentstore-cleaner.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/904iEFF3DC907965F62B/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Content store cleaner job be default runs everyday at 4 am as part of node lifecycle. it cleans up 14 days old orphand node. I recommend to read the post given below.&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Must read:&amp;nbsp;&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blog.dbi-services.com/understand-the-lifecycle-of-alfresco-nodes/" target="_blank" rel="noopener nofollow noreferrer"&gt;https://blog.dbi-services.com/understand-the-lifecycle-of-alfresco-nodes/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blyx.com/2014/08/18/understanding-alfresco-content-deletion/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://blyx.com/2014/08/18/understanding-alfresco-content-deletion/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;You also have ability to adjust the protectedDays and other stuffs as well via global properties and spring bean context.&lt;/P&gt;
&lt;P&gt;If you are a community user, you won't the the above options by default. But you can use this add-on to see the options:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/OrderOfTheBee/ootbee-support-tools" target="_blank" rel="noopener nofollow noreferrer"&gt;https://github.com/OrderOfTheBee/ootbee-support-tools&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 31 Oct 2020 19:00:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-add-clean-content-store-job-to-admin-console/m-p/99847#M28896</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2020-10-31T19:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to add clean content store job to admin console</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-add-clean-content-store-job-to-admin-console/m-p/99848#M28897</link>
      <description>&lt;P&gt;Thanks for the reply,&amp;nbsp;I'm not on my work laptop so I can't check, but I think that option is there.&lt;/P&gt;&lt;P&gt;I'm trying to remove the orphan files immediately because I need the space, they have not been orpaned for 14 days so this button will not do anything, how can I achieve this exactly?&lt;/P&gt;</description>
      <pubDate>Sat, 31 Oct 2020 22:06:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-add-clean-content-store-job-to-admin-console/m-p/99848#M28897</guid>
      <dc:creator>mankind1023</dc:creator>
      <dc:date>2020-10-31T22:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to add clean content store job to admin console</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-add-clean-content-store-job-to-admin-console/m-p/99849#M28898</link>
      <description>&lt;P&gt;This is not recommended for prodcuction environment and as long as you have appropriate backup/restore&amp;nbsp;strategy. In general Its not recommended.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope you also read the blog post i recommended.&lt;/P&gt;
&lt;P&gt;However to your very specific case, you can copy the bean definition in your &lt;A href="http://bean%20id=&amp;quot;contentStoreCleaner&amp;quot; class=&amp;quot;org.alfresco.repo.content.cleanup.ContentStoreCleaner&amp;quot;" target="_blank" rel="noopener nofollow noreferrer"&gt;spring bean context&lt;/A&gt; file and override the number of protected days as given here:&amp;nbsp;&lt;A href="https://docs.alfresco.com/6.0/concepts/clean-content.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/6.0/concepts/clean-content.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;or simply set following properties in alfresco-global.properties file and restart:&lt;/P&gt;
&lt;PRE&gt;system.content.orphanProtectDays=14 #default value, change it as per your need&lt;/PRE&gt;
&lt;P&gt;Also note that, deleting the orphand nodes won't reclaim the space unless you also cleanup "contentstore.deleted" folder. &lt;A href="https://github.com/Alfresco/alfresco-repository/blob/master/src/main/java/org/alfresco/repo/content/cleanup/ContentStoreCleaner.java" target="_blank" rel="noopener nofollow noreferrer"&gt;ContentStoreCleaner&lt;/A&gt; will move orphand nodes f&lt;SPAN&gt;rom /contentstore/ to /contentstore.deleted/ folder.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you want, orphand files to be deleted completely without being moved to contentstore.deleted folder, add the following in alfresco-global.properties:&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;system.content.eagerOrphanCleanup=true&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN&gt;Note that, it is not recommended as long as you have appropriate backup/restore&amp;nbsp;strategy in place.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 01 Nov 2020 00:14:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-add-clean-content-store-job-to-admin-console/m-p/99849#M28898</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2020-11-01T00:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to add clean content store job to admin console</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-add-clean-content-store-job-to-admin-console/m-p/99850#M28899</link>
      <description>&lt;P&gt;&lt;SPAN class="value"&gt;I added the option to alfresco-global.properties (in tomcat/shared/classes, I assume this is correct?) and set the days to 1, &lt;/SPAN&gt;I also checked the license tab and this is what it has:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="label"&gt;License:&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN class="value"&gt;Enterprise - v6.0&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="value"&gt;but I don't have the 'contentStoreCleanerJobDetail' in my scheduled tasks for some reason!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 01 Nov 2020 14:52:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-add-clean-content-store-job-to-admin-console/m-p/99850#M28899</guid>
      <dc:creator>mankind1023</dc:creator>
      <dc:date>2020-11-01T14:52:15Z</dc:date>
    </item>
  </channel>
</rss>

