<?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: History nodes should be &amp;quot;Orphean&amp;quot; but are not in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/history-nodes-should-be-quot-orphean-quot-but-are-not/m-p/290017#M243147</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did not encounter this problem, for versinalbe node We turn off archive mechnism in type definition to save storage.&lt;BR /&gt;In alfresco repository,if we use VersionService to delete(archive) a node ,it will also delete(archive) the node's version history.&lt;BR /&gt;Maybe it is a bug of share.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Nov 2016 14:35:53 GMT</pubDate>
    <dc:creator>kaynezhang</dc:creator>
    <dc:date>2016-11-30T14:35:53Z</dc:date>
    <item>
      <title>History nodes should be "Orphean" but are not</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/history-nodes-should-be-quot-orphean-quot-but-are-not/m-p/290011#M243141</link>
      <description>Hi all,I have a problem with some nodes that should be "Orphean" but are not.Using the Alfresco SDK, I was uploadling a document with ContentWriter:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ContentWriter contentWriter = serviceRegistry.getContentService().getWriter(nodeRef, &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ContentModel.PROP_CONTENT,&amp;nbsp;true);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;content</description>
      <pubDate>Tue, 22 Nov 2016 17:16:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/history-nodes-should-be-quot-orphean-quot-but-are-not/m-p/290011#M243141</guid>
      <dc:creator>fiston</dc:creator>
      <dc:date>2016-11-22T17:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: History nodes should be "Orphean" but are not</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/history-nodes-should-be-quot-orphean-quot-but-are-not/m-p/290012#M243142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By default &amp;nbsp;orphaned content will keep 14 days, so only content that are 14 days ago wil be deleted&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2016 02:24:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/history-nodes-should-be-quot-orphean-quot-but-are-not/m-p/290012#M243142</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2016-11-29T02:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: History nodes should be "Orphean" but are not</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/history-nodes-should-be-quot-orphean-quot-but-are-not/m-p/290013#M243143</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;As Kayne says orphaned content (deleted from trash) has&amp;nbsp;14 days period of retention. Then it is moved to contentstore.deleted. HINT:&amp;nbsp;Another way for deleting versions is to remove versionable aspect for the document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this figure from Toni de la fuente's blog for understanding content deletion in Alfresco:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://blyx.com/2014/08/18/understanding-alfresco-content-deletion/" title="http://blyx.com/2014/08/18/understanding-alfresco-content-deletion/" rel="nofollow noopener noreferrer"&gt;Understanding Alfresco Content Deletion – : : blyx.com : : Blog : : Toni de la Fuente : :&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://blyx.com/wp-content/uploads/2014/08/Slide1.png" title="http://blyx.com/wp-content/uploads/2014/08/Slide1.png" rel="nofollow noopener noreferrer"&gt;http://blyx.com/wp-content/uploads/2014/08/Slide1.png&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need to delete content urgently because your disk is near full, you can change these properties&amp;nbsp;in alfresco-global.properties&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #fdfdfd; color: #333333; font-size: 13.3333px;"&gt;&lt;STRONG&gt;system.content.eagerOrphanCleanup=true&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR style="color: #333333; font-size: 13.3333px;" /&gt;&lt;SPAN style="background-color: #fdfdfd; color: #333333; font-size: 13.3333px;"&gt;&lt;STRONG&gt;#system.content.orphanProtectDays=14&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #fdfdfd; color: #333333; font-size: 13.3333px;"&gt;&lt;STRONG&gt;system.content.orphanProtectDays=1&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #fdfdfd; color: #333333; font-size: 13.3333px;"&gt;&lt;STRONG&gt;system.content.orphanCleanup.cronExpression=0 0 4 * * ?&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For tracking orphans, you can query in your database:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="color: #333333; background-color: #fdfdfd; font-size: 13.3333px;"&gt;SELECT * FROM alf_content_url where orphan_time is not null&lt;/SPAN&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And finally, you can control the maximum number of versions with the addon:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/jottley/alfresco-maxversion-policy" title="https://github.com/jottley/alfresco-maxversion-policy" rel="nofollow noopener noreferrer"&gt;GitHub - jottley/alfresco-maxversion-policy&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--C.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2016 17:24:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/history-nodes-should-be-quot-orphean-quot-but-are-not/m-p/290013#M243143</guid>
      <dc:creator>cesarista</dc:creator>
      <dc:date>2016-11-29T17:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: History nodes should be "Orphean" but are not</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/history-nodes-should-be-quot-orphean-quot-but-are-not/m-p/290014#M243144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is that&amp;nbsp;the files are not orphaned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- I've removed a content file&lt;/P&gt;&lt;P&gt;- then I emptied the trash&lt;/P&gt;&lt;P&gt;- then I set the orphanProtectDays to 0&lt;/P&gt;&lt;P&gt;- finally I ran&amp;nbsp;&lt;STRONG style="color: #000000; background-color: #ffffff; border: 0px; font-weight: bold;"&gt;contentStoreCleanerTrigger&lt;/STRONG&gt; manually&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The content files and all of its versions (about 21000) are not set as orpheaned.&lt;/P&gt;&lt;P&gt;&lt;STRONG style="background-color: #fdfdfd; border: 0px; color: #333333; font-weight: inherit; font-size: 13.3333px;"&gt;orphan_time is null for each of those node&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #fdfdfd; border: 0px; font-size: 13.3333px;"&gt;But they are present on contentstore&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #fdfdfd; border: 0px; font-size: 13.3333px;"&gt;Nodes are no more available in workspace or archive Stores so I cannot set any aspect.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #fdfdfd; border: 0px; font-size: 13.3333px;"&gt;I think something went wrong when I've emptying the trash due to the number of versions of this nodes and I am looking for a solution in order to remove all of the versions of this file from contentstore.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #fdfdfd; border: 0px; font-size: 13.3333px;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2016 17:55:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/history-nodes-should-be-quot-orphean-quot-but-are-not/m-p/290014#M243144</guid>
      <dc:creator>fiston</dc:creator>
      <dc:date>2016-11-29T17:55:36Z</dc:date>
    </item>
    <item>
      <title>Re: History nodes should be "Orphean" but are not</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/history-nodes-should-be-quot-orphean-quot-but-are-not/m-p/290015#M243145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You mean you delete the node from share,the node is archived ,but the version hierarchy of that node are not archived?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2016 03:27:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/history-nodes-should-be-quot-orphean-quot-but-are-not/m-p/290015#M243145</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2016-11-30T03:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: History nodes should be "Orphean" but are not</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/history-nodes-should-be-quot-orphean-quot-but-are-not/m-p/290016#M243146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes the version hierarchy of that node are not archived.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can find them on database and contentstore.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2016 10:16:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/history-nodes-should-be-quot-orphean-quot-but-are-not/m-p/290016#M243146</guid>
      <dc:creator>fiston</dc:creator>
      <dc:date>2016-11-30T10:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: History nodes should be "Orphean" but are not</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/history-nodes-should-be-quot-orphean-quot-but-are-not/m-p/290017#M243147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did not encounter this problem, for versinalbe node We turn off archive mechnism in type definition to save storage.&lt;BR /&gt;In alfresco repository,if we use VersionService to delete(archive) a node ,it will also delete(archive) the node's version history.&lt;BR /&gt;Maybe it is a bug of share.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2016 14:35:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/history-nodes-should-be-quot-orphean-quot-but-are-not/m-p/290017#M243147</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2016-11-30T14:35:53Z</dc:date>
    </item>
  </channel>
</rss>

