<?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 [SOLVED] Trying to understand removal of orphaned nodes in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/solved-trying-to-understand-removal-of-orphaned-nodes/m-p/212585#M165715</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm trying to understand how the contentstore configuration works. I've read the wiki, but I can't get it to work. This is what I've done:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. I've changed the "protectDays" property to 1: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;property name="protectDays" &amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;1&amp;lt;/value&amp;gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;2. I've removed a file and then deleted it permanently in the "Manage Deleted Items" interface.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Then I stop Alfresco, adjust the time and date to 03:55, two days ahead, and restart Alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Shouldn't the expected outcome be that the deleted file is moved to contentstore.deleted? The actual outcome is that nothing shows up there. I've done no modifications in the appropriate files, other than changing the protectDays value.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I configure logging to see what's happening? What would the expected log result be if the cleanup job is running as expected?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Edit: This is on 3.2r2 and 3.2r.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Dec 2009 10:02:18 GMT</pubDate>
    <dc:creator>gronfelt</dc:creator>
    <dc:date>2009-12-04T10:02:18Z</dc:date>
    <item>
      <title>[SOLVED] Trying to understand removal of orphaned nodes</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-trying-to-understand-removal-of-orphaned-nodes/m-p/212585#M165715</link>
      <description>I'm trying to understand how the contentstore configuration works. I've read the wiki, but I can't get it to work. This is what I've done:1. I've changed the "protectDays" property to 1: &amp;lt;property name="protectDays" &amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;1&amp;lt;/value&amp;gt;‍‍2. I've removed a file and then deleted</description>
      <pubDate>Fri, 04 Dec 2009 10:02:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-trying-to-understand-removal-of-orphaned-nodes/m-p/212585#M165715</guid>
      <dc:creator>gronfelt</dc:creator>
      <dc:date>2009-12-04T10:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: [SOLVED] Trying to understand removal of orphaned nodes</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-trying-to-understand-removal-of-orphaned-nodes/m-p/212586#M165716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;A follow-up question: I seem to have a lot of nodes that are orphaned, at least I cannot find the .bin file names in the table alf_content_url. What will happen if I delete those files? Would it break anything, even thought they seems to be removed from the database?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I realize that this is NOT the right way to work things, but I'm running out of disk space because of these abandoned nodes and I thought it might be a good way to handle that until I can figure out why the cleanup job isn't working.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2009 11:52:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-trying-to-understand-removal-of-orphaned-nodes/m-p/212586#M165716</guid>
      <dc:creator>gronfelt</dc:creator>
      <dc:date>2009-12-04T11:52:49Z</dc:date>
    </item>
    <item>
      <title>Re: [SOLVED] Trying to understand removal of orphaned nodes</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-trying-to-understand-removal-of-orphaned-nodes/m-p/212587#M165717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi gronfelt,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the table alf_content_url is only used by the cleaner job. That is, it is used by it to hold the possibly very very large list of files of the contentstore.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;After completion, the cleaner job empties the alf_content_url table. So, might be that if you found some rows in alf_content_url, the job was just still running.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Per default it moves the file to the directory contentstore.deleted. If you have files there, the job did run. Btw. to do proper housekeeping, the contentstore.deleted directory needs to be cleaned regularly….&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; lothar&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2009 12:20:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-trying-to-understand-removal-of-orphaned-nodes/m-p/212587#M165717</guid>
      <dc:creator>lotharm</dc:creator>
      <dc:date>2009-12-04T12:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: [SOLVED] Trying to understand removal of orphaned nodes</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-trying-to-understand-removal-of-orphaned-nodes/m-p/212588#M165718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for answering.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a couple of Alfresco installations up and running and I just checked the databases and alf_content_url is populated in everyone of them and there ought to be no jobs running now, since it's almost 2 pm, local time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How long is the cleanup job expected to take? I have one server, where I removed one file, which has been running for just over two hours since 4 am (I changed the date and time on that machine) and so far contentstore.deleted is completely empty.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I set logging to see if the job is running? Would this be an appropriate setting?&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;log4j.logger.org.alfresco.repo.content.cleanup=debug&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2009 12:47:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-trying-to-understand-removal-of-orphaned-nodes/m-p/212588#M165718</guid>
      <dc:creator>gronfelt</dc:creator>
      <dc:date>2009-12-04T12:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: [SOLVED] Trying to understand removal of orphaned nodes</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-trying-to-understand-removal-of-orphaned-nodes/m-p/212589#M165719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;org.alfresco.repo.content.cleanup.ContentStoreCleaner is the logger of the class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;There should be some DEBUG logging like this on completion:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;nbsp; if (logger.isDebugEnabled())&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; logger.debug("&amp;nbsp;&amp;nbsp; Content store cleanup completed.");&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe it is helpful to enable the quartz logger to see if the job is started at all. Logger is org.quartz=debug if I am right.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If all your alfresco installations have full alf_content_url tables, could it be that you do a daily restart while the jobs are running?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;lothar&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2009 12:54:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-trying-to-understand-removal-of-orphaned-nodes/m-p/212589#M165719</guid>
      <dc:creator>lotharm</dc:creator>
      <dc:date>2009-12-04T12:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: [SOLVED] Trying to understand removal of orphaned nodes</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-trying-to-understand-removal-of-orphaned-nodes/m-p/212590#M165720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Well, this makes me feel somewhat like an idiot, but the problem is solved: For some reason the contentStoreCleanerTrigger bean was commented out in the file scheduled-jobs-context.xml and I hadn't seen that, even though I checked the file earlier to find out the job was supposed to start.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That bean seems to be commented out by default in later releases (I have not changed anything myself and I verified it with other installations) is there a reason for this? Obviously this prevents the job from running, but perhaps there is some thought behind that? Or is it some mistake that ought to be reported in the JIRA?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Edit: Anyway, thanks a lot for your input Lothar, it's really appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2009 13:37:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-trying-to-understand-removal-of-orphaned-nodes/m-p/212590#M165720</guid>
      <dc:creator>gronfelt</dc:creator>
      <dc:date>2009-12-04T13:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: [SOLVED] Trying to understand removal of orphaned nodes</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solved-trying-to-understand-removal-of-orphaned-nodes/m-p/212591#M165721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;on alfresco 4.2.c there are 4 files. which do i edit so it can delete orphaned files and old transfer log files and how do i know it is running. I have over 20gb of transfer log files dating to 2011 which i want deleted.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;[root@hector tomcat]#&amp;nbsp; find . -type f -name "scheduled-jobs-context.xml"&lt;BR /&gt;./webapps/alfresco/WEB-INF/classes/alfresco/subsystems/Search/lucene/scheduled-jobs-context.xml&lt;BR /&gt;./webapps/alfresco/WEB-INF/classes/alfresco/scheduled-jobs-context.xml&lt;BR /&gt;./work/Admin/localhost/alfresco/WEB-INF/classes/alfresco/subsystems/Search/lucene/scheduled-jobs-context.xml&lt;BR /&gt;./work/Admin/localhost/alfresco/WEB-INF/classes/alfresco/scheduled-jobs-context.xml&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2013 11:25:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solved-trying-to-understand-removal-of-orphaned-nodes/m-p/212591#M165721</guid>
      <dc:creator>sharifu</dc:creator>
      <dc:date>2013-08-28T11:25:17Z</dc:date>
    </item>
  </channel>
</rss>

