Monday, 12 September 2016

Liferay Migration From 6.1 to 6.2

Steps for Migration

Step 1: Create dump of liferay6.1(eg : mysqlDump61.sql)

Step 2: Create New Database for Lifeay6.2 (eg: "mysqlDump62.sql")

Step 3: Setup a New Liferay Setup and start the server then finish the Configuration by pointing to the newly Created Database (eg :"mysqlDump62.sql") once setUp Finshed Stop the Server.(Note: Start With Fresh Liferay Bundels)

Step 4: Stop the Liferay6.2 Server.

Step 5: Import Lifeay6.1 dump(eg : mysqlDump61.sql) into Lifeay6.2 Database(eg:"mysqlDump62.sql")

Steps 7: Copy the "data" folder from Liferay6.1 server and replace the Liferay 6.2 "data" folder  with Liferay6.1 "data" folder in Liferay6.2 server.

Steps 8: Add following lines in "portal-setup-wizard.properties" file.

              dl.hook.impl=com.liferay.documentlibrary.util.AdvancedFileSystemHook
              dl.store.impl=com.liferay.portlet.documentlibrary.store.AdvancedFileSystemStore
              passwords.encryption.algorithm.legacy=SHA  // this property helps to remove conflicts in password encryption occurs in migrated database passwords.

Steps 9: Start the Liferay6.2 Server then you can able to notice that updating process taking place wait till update and migration complete.


No comments:

Post a Comment