<?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: Disappearing Spaces in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/disappearing-spaces/m-p/191638#M144768</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks - we'll assign to the owner of those projects for review.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Apr 2009 10:59:22 GMT</pubDate>
    <dc:creator>mikeh</dc:creator>
    <dc:date>2009-04-01T10:59:22Z</dc:date>
    <item>
      <title>Disappearing Spaces</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/disappearing-spaces/m-p/191633#M144763</link>
      <description>Hi,I'm wondering if someone else has run into the following problem:We have a rather large but fairly static space structure.&amp;nbsp; In consists of around 40 spaces each with their own project spaces inside them and each of these project spaces containts roughly 12-20 sub spaces.&amp;nbsp; Of those 40 main spaces,</description>
      <pubDate>Wed, 25 Mar 2009 11:41:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/disappearing-spaces/m-p/191633#M144763</guid>
      <dc:creator>macros</dc:creator>
      <dc:date>2009-03-25T11:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: Disappearing Spaces</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/disappearing-spaces/m-p/191634#M144764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've created a quick testcase for this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Start with a blank new install of Alfresco Enterprise (trial version in my case).&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Once its started up, mount the drive locally on linux :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;lindevel mnt # mount -t cifs //localhost/Alfresco /mnt/alfresco -o username=admin,password=admin&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Next run the folling script on the local CIFS share:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;#!/bin/bash&lt;BR /&gt;&lt;BR /&gt;mkdir TestSpace&lt;BR /&gt;cd TestSpace&lt;BR /&gt;for i in $(seq 1 1 200)&lt;BR /&gt;do&lt;BR /&gt;&amp;nbsp; mkdir "00$i - Project $i"&lt;BR /&gt;&amp;nbsp; cd "00$i - Project $i"&lt;BR /&gt;&amp;nbsp; for a in $(seq 1 1 12)&lt;BR /&gt;&amp;nbsp; do&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; mkdir "Subspace $a"&lt;BR /&gt;&amp;nbsp; done&lt;BR /&gt;&amp;nbsp; cd ..&lt;BR /&gt;done&lt;BR /&gt;cd ..&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;/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;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;You should now have a space called TestSpace with 200 project spaces each with 12 spaces of their own.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now try the following inside the newly created TestSpace space:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;lindevel TestSpace # ls -1 | wc -l&lt;BR /&gt;203&lt;BR /&gt;lindevel TestSpace #&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;SPAN&gt;This shows that there is currently 200 folders (plus the 3 desktop actions) inside the space.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now open another terminal, go to the same space and do the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;lindevel TestSpace # find . -name "test" -print&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;You don't need to search for something that exists, anything will do.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;While this is running, go back to the other terminal and do the same command as above:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;lindevel TestSpace # ls -1 | wc -l&lt;BR /&gt;148&lt;BR /&gt;lindevel TestSpace #&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;SPAN&gt;This is clearly not right, some of the spaces are not showing up at all.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now try the following: (stop the find, make sure the server is not doing anything else perhaps by stopping/starting alfresco if you like)&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;lindevel mnt # mount -t nfs localhost:/alfresco /mnt/nfs&lt;BR /&gt;lindevel mnt # cd nfs&lt;BR /&gt;lindevel nfs # cd TestSpace/&lt;BR /&gt;lindevel TestSpace # ls -1 |wc -l&lt;BR /&gt;192&lt;BR /&gt;lindevel TestSpace #&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;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;Again, this is not right as there are 8 spaces missing.&amp;nbsp; On some further examination, it appears as though every 23rd space is left out (counting from 0).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I seem to have been mistaken about this being reflected on the web front end though, all spaces stay visible throughout the tests above, it only disappears in CIFS.&amp;nbsp; NFS stays wrong no matter what you do.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2009 11:22:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/disappearing-spaces/m-p/191634#M144764</guid>
      <dc:creator>macros</dc:creator>
      <dc:date>2009-03-26T11:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: Disappearing Spaces</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/disappearing-spaces/m-p/191635#M144765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've fixed both of the issues above.&amp;nbsp; Both were because of bugs in Alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;NFS wasn't working because every 22nd space was enough to fill up an RPC packet, it skipped an entry before it moved on to the next lot.&amp;nbsp; (This error would probably have occured in CIFS as well in certain cases)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Of course if I knew that NFS (version 2 and 3) didn't support UTF-8 before I started fixing this I wouldn't have bothered, however, seeing that UTF-8 isn't supported, it forced me to fix the CIFS issue as well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The CIFS problem was slightly more complicated and only occurs in very certain circumstances:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;a.) You have to run something that causes a lot of search objects to be created/destroyed (ie. a find, rsync, something that traverses directories basically)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;b.) While that is going on, use the same client machine that is doing the operation above, to create another search object but one that has to be continued.&amp;nbsp; Its likely that it will only complete its first iteration.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Not really sure what to do with the code, don't really want to paste it all here.&amp;nbsp; I suppose if someone at alfresco is interested they can pm/mail me and I'll send it along.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2009 16:46:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/disappearing-spaces/m-p/191635#M144765</guid>
      <dc:creator>macros</dc:creator>
      <dc:date>2009-03-31T16:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: Disappearing Spaces</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/disappearing-spaces/m-p/191636#M144766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for digging into this. We would definitely be interested in any fixes you've put together.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The easiest way to contribute is to raise a &lt;/SPAN&gt;&lt;A href="http://issues.alfresco.com" rel="nofollow noopener noreferrer"&gt;JIRA ticket&lt;/A&gt;&lt;SPAN&gt; and attach the source code to that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2009 18:33:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/disappearing-spaces/m-p/191636#M144766</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2009-03-31T18:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: Disappearing Spaces</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/disappearing-spaces/m-p/191637#M144767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;A href="https://issues.alfresco.com/jira/browse/ALFCOM-2716" rel="nofollow noopener noreferrer"&gt;ALFCOM-2716&lt;/A&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;A href="https://issues.alfresco.com/jira/browse/ALFCOM-2717" rel="nofollow noopener noreferrer"&gt;ALFCOM-2717&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Feel free to pay me. :wink: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Beer is indeed an acceptable currency.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2009 10:38:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/disappearing-spaces/m-p/191637#M144767</guid>
      <dc:creator>macros</dc:creator>
      <dc:date>2009-04-01T10:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: Disappearing Spaces</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/disappearing-spaces/m-p/191638#M144768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks - we'll assign to the owner of those projects for review.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2009 10:59:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/disappearing-spaces/m-p/191638#M144768</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2009-04-01T10:59:22Z</dc:date>
    </item>
  </channel>
</rss>

