cancel
Showing results for 
Search instead for 
Did you mean: 

CIFS/WebDAV show different content than Sandbox

awilcox
Champ in-the-making
Champ in-the-making
I have been able to configure CIFS and WebDAv for Labs 3 on Ubuntu.  I can upload a file and see it in both CIFS and WebDAV, but I can not see it in my Sandbox.  Likewise, any file in my sandbox I can not see in CIFS or WebDAV.  Am I missing something? :shock:

Thanks in advance,

Andy
2 REPLIES 2

zaizi
Champ in-the-making
Champ in-the-making
It might be because of
By default the virtualization view filters out workflow preview and author preview sandboxes/stores, and only shows the web project store and author store for the logged in user. If the user is a content manager on one or more web projects then all author sandboxes will be shown. For the admin user all sandboxes are shown.

More information on this and how it can be changed is available at http://wiki.alfresco.com/wiki/File_Server_Configuration#AVM.2FWCM_Filesystems.

awilcox
Champ in-the-making
Champ in-the-making
I have made some progress, but of course it just raises new questions.

I discovered that I was looking in the wrong filesystem using CIFS.  I have two configured in my file-servers-custom.xml as shown below.  The first is a 'filesystem' called 'Alfresco', and the second is a 'avmfilesystem' called 'AVM'.  If i use CIFS to look in 'AVM', I will see all my content of the Web Project.  If I use CIFS to look in 'Alfresco', I do not see the content of my Web Project.  If I add content to 'AVM' via CIFS, then I see it in the web interface under web projects.  If I add content via 'Alfresco' to web projects, I do not see it in the web interface.  I should clarify that this issue only applies to Web Projects.  If I place content in 'Alfresco' via CIFS in a non-web project folder, I CAN see it in the web interface.

Is this a config issue or is this the way it works for Web Projects?

Thanks,

Andy

<alfresco-config area="file-servers">

   <!– To override the default Alfresco filesystem use replace="true", to –>
   <!– add additional filesystems remove the replace="true" attribute     –>
  
   <config evaluator="string-compare" condition="CIFS Server" replace="true">
      <serverEnable enabled="true"/>
      <host name="$UBUNTU_A" domain="EVERAGE" />
      <comment>Alfresco CIFS Server</comment>
      <broadcast>255.255.255.255</broadcast>
      <tcpipSMB platforms="linux,solaris,macosx"/>
      <netBIOSSMB platforms="linux,solaris,macosx"/>
      <tcpipSMB port="1445" platforms="linux,solaris,macosx"/>
      <netBIOSSMB sessionPort="1139" namePort="1137" datagramPort="1138" platforms="linux,solaris,macosx"/>
      <hostAnnounce interval="5"/>
      <sessionDebug flags="Negotiate,Socket"/>
      <Win32NetBIOS/>
      <Win32Announce interval="5"/>
   </config>  
   <config evaluator="string-compare" condition="Filesystems" replace="true">
      <filesystems>

         <filesystem name="Alfresco">
            <store>workspace://SpacesStore</store>
            <rootPath>/app:company_home</rootPath>

            <!– Add a URL file to each folder that links back to the web client –>
            <urlFile>
               <filename>__Alfresco.url</filename>
               <webpath>http://${localname}:8080/alfresco/</webpath>
            </urlFile>

            <!– Mark locked files as offline –>
            <offlineFiles/>

            <!– Desktop actions –>

            <desktopActions>
               <global>
                  <path>alfresco/desktop/Alfresco.exe</path>
                  <webpath>http://${localname}:8080/alfresco/</webpath>
               </global>
               <action>
                  <class>org.alfresco.filesys.repo.desk.CheckInOutDesktopAction</class>
                  <name>CheckInOut</name>
                  <filename>__CheckInOut.exe</filename>
               </action>
               <action>
                  <class>org.alfresco.filesys.repo.desk.JavaScriptDesktopAction</class>
                  <name>JavaScriptURL</name>
                  <filename>__ShowDetails.exe</filename>
                  <script>alfresco/desktop/showDetails.js</script>
                  <attributes>anyFiles</attributes>
                  <preprocess>copyToTarget</preprocess>
               </action>

            </desktopActions>

<!–
            <accessControl default="Write">
               <user name="admin" access="Write"/>
               <address subnet="90.1.0.0" mask="255.255.0.0" access="Write"/>
            </accessControl>
–>
         </filesystem>
       
       <!– AVM virtualization view of all stores/versions for WCM –>

         <avmfilesystem name="AVM">
            <virtualView stores="normal,staging,author,preview"/>
         </avmfilesystem>
       
      </filesystems>
   </config>

</alfresco-config>