Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
How to change location of liferay directory for file storage
I need to change the location of liferay folder or directory that contains subfolders (deploy, ehcache, jackrabbit, lucene). The folder by default "resides in home directory of the user ID under which Liferay is running" (Liferay admin Guide). I need to move it to another drive like E:\ in Windows. Can someone help me with this?
Thanks,
Isabel
Thanks,
Isabel
portal-ext.properties
[b]resource.repositories.root=other_folder/liferay[/b]
auto.deploy.deploy.dir=${resource.repositories.root}/deploy
lucene.dir=${resource.repositories.root}/lucene/
jcr.jackrabbit.repository.root=${resource.repositories.root}/jackrabbit
dl.hook.file.system.root.dir=${resource.repositories.root}/document_library
Jonatan,
Thanks for the quick response and perfect solution to what I needed.
With much appreciation,
Isabel
Thanks for the quick response and perfect solution to what I needed.
With much appreciation,
Isabel
Jonatan Oyola:
portal-ext.properties[b]resource.repositories.root=other_folder/liferay[/b] auto.deploy.deploy.dir=${resource.repositories.root}/deploy lucene.dir=${resource.repositories.root}/lucene/ jcr.jackrabbit.repository.root=${resource.repositories.root}/jackrabbit dl.hook.file.system.root.dir=${resource.repositories.root}/document_library
Hi Oyola ,
Right now , I am also facing a bit of challenge with hot deployment process , I changed
auto.deploy.dir=${user.home}/Desktop/liferay/deploy
In my build.${user.home}.properties file and one more change just like as you said in portal-ext.properties file .
when I deploy themes /portlets / layouts from plugins , those are shifting into ${user.home}/Desktop/liferay/deploy as a jar's but from the ${user.home}/Desktop/liferay/deploy , The hot deployer is not deploying into tomcat , so can you explain more about this process of deploying once again .
Thanks & Regards...
G.Gurumurthy
It did not work for me, unable to show the old documents,i.e, pdf/doc files. Please suggest
Open/Create [tt]<portal>/WEB-INF/classes/portal-ext.properties[/tt]
and add/modify the value of:
[tt]resource.repositories.root=${user.home}/liferay[/tt]
HTH!
and add/modify the value of:
[tt]resource.repositories.root=${user.home}/liferay[/tt]
HTH!