<?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 Versions aren't deleted in Alfresco 3.2 CE in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/versions-aren-t-deleted-in-alfresco-3-2-ce/m-p/304074#M257204</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've found that versions of a document are not deleted from the repository, I'm using Alfresco 3.2 CE.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example I have deleted a document (also removed from the trashcan and moved in contentsore.deleted by ContentStoreCleaner). The problem is that if I search that file in the database I found some reference with this query:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;select * from alf_node nd, alf_node_properties np&lt;BR /&gt;where nd.id = np.node_id&lt;BR /&gt;and np.string_value = 'DELETED_FILE_NAME.doc'&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This nodes are stored in workspace://version2Store and have also a binary in the filesystem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I find these orphan versions and delete them from the database and the filesystem? Or there is some patch/workaround that I can try?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Luca&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Mar 2015 10:22:23 GMT</pubDate>
    <dc:creator>luca</dc:creator>
    <dc:date>2015-03-24T10:22:23Z</dc:date>
    <item>
      <title>Versions aren't deleted in Alfresco 3.2 CE</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/versions-aren-t-deleted-in-alfresco-3-2-ce/m-p/304074#M257204</link>
      <description>Hi,I've found that versions of a document are not deleted from the repository, I'm using Alfresco 3.2 CE.For example I have deleted a document (also removed from the trashcan and moved in contentsore.deleted by ContentStoreCleaner). The problem is that if I search that file in the database I found s</description>
      <pubDate>Tue, 24 Mar 2015 10:22:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/versions-aren-t-deleted-in-alfresco-3-2-ce/m-p/304074#M257204</guid>
      <dc:creator>luca</dc:creator>
      <dc:date>2015-03-24T10:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: Versions aren't deleted in Alfresco 3.2 CE</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/versions-aren-t-deleted-in-alfresco-3-2-ce/m-p/304075#M257205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is it possible that I have a lot (~280K) of versioned nodes without their parent in the SpaceStore??&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I found them with this query:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;select np.node_id, np.string_value&lt;BR /&gt;from alf_qname qn, alf_node_properties np&lt;BR /&gt;left outer join alf_node n on n.uuid = substring(np.string_value from 25 for 61)&lt;BR /&gt;where np.qname_id = qn.id&lt;BR /&gt;and qn.local_name = 'frozenNodeRef'&lt;BR /&gt;and n.id is null&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;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 14:20:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/versions-aren-t-deleted-in-alfresco-3-2-ce/m-p/304075#M257205</guid>
      <dc:creator>luca</dc:creator>
      <dc:date>2015-03-24T14:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: Versions aren't deleted in Alfresco 3.2 CE</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/versions-aren-t-deleted-in-alfresco-3-2-ce/m-p/304076#M257206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Luca,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;did you find an explanation to this issue ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am exactly in the same situation, fortunately the number of nodes are only 1099 ( but increasing )&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you think is it safe to remove this kind of nodes ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Marco &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PS : I'm using Alfresco Community 5.0.a&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Mar 2016 07:07:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/versions-aren-t-deleted-in-alfresco-3-2-ce/m-p/304076#M257206</guid>
      <dc:creator>kattaweb</dc:creator>
      <dc:date>2016-03-31T07:07:13Z</dc:date>
    </item>
  </channel>
</rss>

