« Back to Upgrade Instructions

Upgrade Instructions from 6.0 to 6.1

This upgrade is recommended to anyone running Liferay Portal 6.0.6SE and wants to benefit from the New Features in Liferay Portal v6.1

Always use the latest version of 6.1 available as it will have fixed all the potential upgrade issues that may have been found. You should at least use v6.1 GA1.

The official resource for topics including upgrading is the Portal Administrator's Guide. The book is available for print as well as a free PDF download.

Some APIs have changed, so you will need to upgrade your plugins.

Upgrade from 6.0. to 6.1 #

It took me some hours to update my Liferay version from 6.0. to 6.1. , but actually only a few steps are necessary. I hope my instructions will help you:

1.) Backup your database (dump-file)

2.) download and unzip liferay-portal-tomcat-6.1.1-ce-ga2

3.) copy the liferay/data - folder from the old version to the new liferay-portal-tomcat-6.1.1-ce-ga2 folder

4.) copy your portal-ext.properties to the new liferay-portal-tomcat-6.1.1-ce-ga2

5.) open portal-ext.properties in the new liferay version, if liferay.home is set - change it to the new version, e.g.: liferay.home=D:/liferay/liferay-portal-tomcat-6.1.1-ce-ga2

6.) copy the data folder from the old version to the new version, e.g.: liferayliferay-portal-tomcat-6.1.0/data -->liferay/liferay-portal-tomcat-6.1.1-ce-ga2/data

7.) start the server --> liferay/liferay-portal-tomcat-6.1.1-ce-ga2/tomcat-7.0.23/bin/startup

Now liferay automatically updates the database and starts the portal These are the main steps.

8.) Now all own portlets have to be deployed. Therefore I installed the new liferay-plugin-sdk-6.1.1-ce-ga2 and deployed the portlets to the new Liferay server.

Installing Liferay 6.1.1 as a windows service (32 bit and 64 bit) #

1.) Download Tomcat core from http://tomcat.apache.org/download-70.cgi (32 bit or 64 bit)

2.) unzip tomcat7.0.33

3.) go to tomcat7.0.33/bin/ and copy service.bat, tomcat7.exe and tomcat7w.exe into your liferay/liferay-portal-tomcat-6.1.1-ce-ga2/tomcat-7.0.23/bin folder

4.) run service.bat install in your commando shell, in windows: start cmd.exe in the system32-folder as administrator, go to your /liferay-portal-tomcat-6.1.1-ce-ga2/tomcat-7.0.23/bin folder an run service.bat install

5.) now the service is installed, in the windows explorer go back to your /liferay-portal-tomcat-6.1.1-ce-ga2/tomcat-7.0.23/bin folder and start tomcat7w.exe (start it as administrator)

6.) in the gui go to the JAVA-tab and set the initial memory pool and the maxium memory pool both to 1024, then add the following parameters:

  • -XX:PermSize=128m
  • -XX:MaxPermSize=256m

7.) Now start the service

0 Attachments
19169 Views
Average (2 Votes)
The average rating is 1.0 stars out of 5.
Comments
Threaded Replies Author Date
Has anyone tried the above upgrade. As this... Vikash Pareek January 6, 2013 11:11 PM
What is the difference between step 3 and step... Simon Göransson January 11, 2013 1:29 AM
i try to upgrade liferay from 6.0.6 to 6.1.0... Tesfahun Zaro June 19, 2014 3:07 AM

Has anyone tried the above upgrade. As this upgrade may take some time therefore I was confirming whether this upgrade procedure can be executed at my end. Please confirm.
Posted on 1/6/13 11:11 PM.
What is the difference between step 3 and step 6 for "Upgrade from 6.0. to 6.1"?
Posted on 1/11/13 1:29 AM.
i try to upgrade liferay from 6.0.6 to 6.1.0 based on the documentation here and still get errors:
com.liferay.portal.kernel.upgrade.UpgradeException: java.sql.SQLException: ORA-00942: table or view does not exist

Any idea guys ....?



Note:
i put the following definition in portal-ext.properties
image.hook.impl=com.liferay.portal.image.DatabaseHook
image.hook.impl=com.liferay­.portal.image.DLHook
image.hook.impl=com.liferay.portal.image.FileSystemHook
verif­y.frequency=0
permissions.user.check.algorithm=5
upgrade.processes=com.liferay.por­tal.upgrade.UpgradeProcess_6_1_0
Posted on 6/19/14 3:07 AM.