« 返回到 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 附件
30001 查看
平均 (2 票)
满分为 5,平均得分为 1.0。
评论
讨论主题回复 作者 日期
Has anyone tried the above upgrade. As this... Vikash Pareek 2013年1月6日 下午11:11
What is the difference between step 3 and step... Simon Göransson 2013年1月11日 上午1:29
i try to upgrade liferay from 6.0.6 to 6.1.0... Tesfahun Zaro 2014年6月19日 上午3:07
Can anyone is having related documents , 1:... tushar verma 2014年7月27日 上午9:00

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.
在 13-1-6 下午11:11 发帖。
What is the difference between step 3 and step 6 for "Upgrade from 6.0. to 6.1"?
在 13-1-11 上午1:29 发帖。
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
在 14-6-19 上午3:07 发帖。
Can anyone is having related documents ,

1: how to upgrade the database which should be compatible with the other version of liferay?
2; How to upgrade the web content display of running liferay portal?
3: Is there any process directly i can use to upgrade the liferay server ?


I tried once with the .lar file.
在 14-7-27 上午9:00 发帖。