cancel
Showing results for 
Search instead for 
Did you mean: 

File server configuration on Community edition

timmer
Champ on-the-rise
Champ on-the-rise
Edition: Community
Version: 5.2.0 (r125711-b6)
Platform: Windows Server 2012r2

Hello!

I'm a bit confused by configuring file server on Alfresco. I have configured and running instance of Alfresco 4.2.f on Ubuntu server and there I can find configuration files for file server. But there are no such files on Windows Server after I've installed Alfresco.
Also, I've found no information about how to enable file servers in Community edition neither in documentation nor in wiki (except info about enabling file servers in admin console which is unavailable for Community edition).

So, how it can be done? I've already configured authentication via my AD, but I want to map network drive on my windows PC that will contain my Alfresco document library.
Can you help me with this issue, please?
6 REPLIES 6

afaust
Legendary Innovator
Legendary Innovator
Hello,

the default configuration files are still there but they are no longer available in the webapps/alfresco/WEB-INF/classes location as "exploded files". Instead, they are now contained inside the JARs within webapps/alfresco/WEB-INF/lib. This is done to prevent end-users to modify the out-of-the-box files (which always was NOT recommended) and configure the Alfresco system properly within the shared/classes/alfresco/extension directory or via the alfresco-global.properties file.
The documentation is still where it has been since 4.1/4.2, on the <a href="http://docs.alfresco.com/5.1/concepts/fileserv-subsystem-intro.html">docs.alfresco.com</a> site. Only the first sub-section of that chapter refers to the admin console - the other ones (including their sub-sections) refer to properties that can be set in alfresco-global.properties.

Regards
Axel

timmer
Champ on-the-rise
Champ on-the-rise
Thanks for your reply!

Since I have no JARs with the name like fileServers (or something like this), I want to ask - to configure file server I can just copy my config from 'file-servers.properties' from Alfresco 4.2 instance to alfresco-global.properties of my new Alfresco 5.2 CE instance and it would work?

UPDATE:
Heh, found the fileServers subsystem in alfresco-repository*.jar. As I understand, I can configure it either in alfresco-global.properties or in config files that JAR-file contains?

afaust
Legendary Innovator
Legendary Innovator
Hello,

yes, the alfresco-repository*.jar will contain them, but you should never modify them inside the JAR. Putting the config files inside the JAR was specifically done to discourage people from modifying those files, as this can lead to support / upgrade nightmares.
You can configure the properties within the alfresco-global.properties. You can alternatively also configure the subsystem in the extension directory - the abstract path pattern for this is explained in <a href="http://docs.alfresco.com/5.1/tasks/subsystem-classpath.html">the documentation</a>.

timmer
Champ on-the-rise
Champ on-the-rise
Great! Thanks one more time for your answer.

edu_gb15
Champ in-the-making
Champ in-the-making

Hi Axel,

I want to mount an Alfresco Repository as a shared drive using CIFS/SMB. I don't find any tutorial where show me step by step how I can do that.

I have to, decompress alfresco-repository.jar and copy the configurations files in the /tomcat/webapps/alfresco/WEB-INF/classes/alfresco/subsystems/fileServers/default  directory? and then configure the alfresco-global.properties?

afaust
Legendary Innovator
Legendary Innovator

You don't have to decompress anything. As I said you only configure via alfresco-global.properties. I also linked to the documentation in my very first response, so please go through that to learn about how to configure the file server capabilities of Alfresco..