Hello, I recently installed the 5.2 community edition and I would like to change the content store to be point to another drive on the server (this is an install at home). I have searched the documentation as well as the forums and found several articals on the topic, such as:
How to change location of contentstore dir?
Everything I read tells me to change the "alfresco-global.properties" to reflect where I want the contentstore to be located. I have searched the alfresco install directory and found the file, however there is no entry for the "dir.contentstore" and "dir.contentstore.deleted" in the file, nor was there a reference to those entries in the sample file. Am I missing something? Was there a change to version 5.2?
Thanks for your help.
There is a config option to move your alf_data folder. But it‘s possible to use a mountpoint or link for your contentstores, just using your Servers os.
The dir.contentstore property is set by default via the repository.properties file in the alfresco-repository JAR. The alfresco-global.properties file can be used to override that default value but it will not contain that property unless you add it yourself (in fact, alfresco-global.properties file can technically be completely empty causing Alfresco to use all the default settings). So if you are missing any property in alfresco-global.properties that is not a problem at all - just add it with your specific value and it should override what is provided by default. If you want to know the default values (and available properties) you can always look in the source. Besides the repository.properties there are a couple of extra files which provide default options.
Hi:
Additionally you may check and look for the most of the properties of repository.properties file, in System Information page (with OOTB Support Tools addon).
/alfresco/service/ootbee/admin/system-information
Regards.
--C
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.