How to migrate Liferay portal from one windows machine to other?

允我心安 提交于 2019-12-04 19:35:47
Sunil Rai

These are the steps that I have followed and able to migrate the Liferay successfully:

  1. Take the backup of Liferay files and database from first windows machine.

  2. Install the same version of Liferay (Say Liferay 5.2.3) on second windows machine.

  3. Shut down Liferay.

  4. Import the database on new system.

  5. Add portal-ext.properties with relevant entries. (e.g Datbase Name, User Name , Pasword etc)

  6. Add \liferay-portal-5.2.3\data\document_library files from old machine.

  7. Start the tomcat. It will automtically do the rest.

NOTE: In the above method I have not deployed Theme and custom plugins etc, you have to deploy Theme and custom plugins also that are used on old system.

Lifery is trying to connect to plugin repository to find whether there are updates for plugins. Does your new machine have internet conectivity?

Also you have options to ignore that message or configure liferay not to check for updates. For later put in portal-ext.properties

plugin.repositories.trusted=
plugin.repositories.untrusted=

UPDATE:

If behind proxy create (if not existent) system-ext.properties (beside portal-ext.properties) and add

com.liferay.util.Http.proxy.host=proxy_host
com.liferay.util.Http.proxy.port=proxy_port

Change proxy_host and proxy_port with your values.

Also remove from portal-ext.properties if you want liferay to check repositories

plugin.repositories.trusted=
plugin.repositories.untrusted=
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!