Tips to Migrate from Liferay 6.0.x to Liferay 6.1

Nov 11th, 2013

Tips to Migrate from Liferay 6.0.x to Liferay 6.1

Following are the important tips to Migrate from Liferay 6.0.x to Liferay 6.1:

Unzip Liferay 6.1 bundle

Copy complete data folder as is from Liferay 6.0.x bundle to Liferay 6.1 bundle

Take backup of your the database that Liferay 6.0.x points to

Drop portal-ext.properties from Liferay 6.0.x to Liferay 6.1 (in ROOT/WEB-INF/classes ofcourse). Essentially you are pointing your new Liferay 6.1 to old database

Start Liferay 6.1 and it will automatically detect that it needs to upgrade the database and will run the upgrade scripts. In case there is any exception, you will have to restore the backup of old database and start all over again. Usually the exception is because of missing resource in data folder that the entry in database refers to.

If all goes well then your Liferay 6.1 will start successfully with old database upgraded.

Check whether you get all your Users and Organizations under “Users & Organizations” in control panel. If not then run – Control Panel >> Server Administration >> Re-Index all Search Indexes

Struts Portlet in Plugin Project:

If you have struts portlet in plugin project, on Liferay 6.1, it will throw InvokeFilter Exception and will result in StackOver Flow.

Make an entry in liferay-plugin-packages.properties file : liferay-web-xml-enabled=false

Be careful while rebuilding the existing services generated using ServiceBuilder. Delete all rows from servicecomponent table and reset the service builder number to 0 and then build services. Liferay keeps a backup of database tables associated with entitties in the service and will rewrite the contents of some of the tables. If you do not want your tables to be overwritten then set build.auto.upgrade=false in service.properties file in src folder of your plugin project

Comments are closed.

Let's Discuss Your Project

Get free consultation and let us know your project idea to turn
it into an amazing digital product.

Let’s talk

NEWS & BLOG

Related Blogs

How to Select Cross-Platform Mobile App Development Company?

Cross-Platform App Nov 18th, 2024

How to Select Cross-Platform Mobile App Development Com...

Read more
Android vs iOS Development : Which Is Best For Your App?

Mobile App Nov 15th, 2024

Android vs iOS Development : Which Is Best For Your App...

Read more
How to Hire and Find Mobile App Developers?

Hire Developer Oct 25th, 2024

How to Hire and Find Mobile App Developers?...

Read more

INQUIRY

Let's get in touch

UNITED STATES

31236 Meadowview Square,
Delmar,
DE 19940, USA

Sales: +1 (415) 230 0051

UNITED KINGDOM

13 Layton Road,
Hounslow,
London, TW3 1YJ

Sales: +44 7404 607567

INDIA

101, Kalasagar Shopping Hub, Sattadhar, Gujarat 380061

+91 999-894-5667

For Project Inquiries

Please enable JavaScript in your browser to complete this form.
emailsales@solutionanalysts.com emailinfo@solutionanalysts.com emailcareer@solutionanalysts.com skypebiz.solutionanalysts