This document will provide Liferay-Tomcat-6 release notes for all operating
systems offered by eApps. Please see the section specific to the
operating system of your subscription. To get the operating system of your subscription take the
steps below.
Log into your Control Panel > click My Account
tab > Subscriptions > click the Name of the subscription (with
type Virtuozzo Container)> the operating system is listed on the
Server section of the page.
CentOS 5
The latest version available on CentOS 5 plans is 5.2.3
Changes in 5.2.3
eApps Release Notes
-none
Official Release Notes
How To Upgrade
- Please see the Upgrading Liferay Portal section below.
Upgrading Liferay Portal
Backup your database
Please go to system tab -> all applications and check if PhpMyadmin is listed on the installed applications.
If
not, go to -> system tab -> add application -> select
PhpMyAdmin -> update, wait until you can see it as installed in the
All Applications list.
You will need to know the password for
root mysql user, if you don't know it, you should change it in: system
tab -> databases -> change root password.
Now go to domain.com/myadmin and login using user root and the mysql root password.
Once
logged in, click on Export. now from the left panel called Export,
select the lportal. From the SQL Options on the right panel, you will need to select 'Add
DROP DATABASE', also please select from the bottom panel 'Save as file'
and chose a name in the FileName template field. You can select a
compression method also.
Now click on GO, and wait until you are prompted to save the file on your local PC.
Upgrade Liferay
- Log into your Control Panel > Click System Tab > All Applications > Liferay-Tomcat-6 > Upgrade To Latest
After the upgrade process above your old Liferay files will be backed up to /opt/tomcat6/webapps.backup.date_time_of_upgrade.
Configure Liferay to Use Your Exiting Database (Customers upgrading from version 5.1.1 only)
The database access configuration for life has been moved from /opt/tomcat6/conf/Catalina/localhost/ROOT.xml to The database configuration is in /opt/tomcat6/webapps/ROOT/WEB-INF/classes/portal-ext.properties. You will need to modify this this file to connect to you existing Liferay database. Take the steps below to make this changes for your database.
1. Log into your Control Panel.
2. Click System tab then File Manager.
3. Navigate to opt -> tomcat6 -> webapps -> ROOT -> WEB-INF -> classes
4. Select the check box next to portal-ext.properties and click Edit.
5. Uncomment the lines below that are appropriate for your database system (MySQL or PostgreSQL). If you need to reference your old ROOT.xml for your database username and password there is a backup in /opt/tomcat6/conf/Catalina/localhost/ROOT.xml.backup.date_time_of_upgrade.
6. After the changes make sure Unix(LF) is selected and click Ok to save the file.
For MySQL
#jdbc.default.driverClassName=com.mysql.jdbc.Driver
#jdbc.default.url=jdbc:mysql://localhost/lportal?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useFastDateParsing=false
#jdbc.default.username=username
#jdbc.default.password=password
For PostgreSQL
#jdbc.default.driverClassName=com.postgresql.Driver
#jdbc.default.url=jdbc:postgresql://localhost:5432/lportal?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useFastDateParsing=false
#jdbc.default.username=username
#jdbc.default.password=password
7. Click System tab -> Liferay-Tomcat-6 ->
Restart to restart the service. Initial startup will take about 10
minutes because of database setup and JSP compilation.
8. Check your website and confirm your content is correct. If you need to you can restore any custom configurations and portlets from the backup in /opt/tomcat6/webapps.backup.date_time_of_upgrade.
CentOS 4 and Fedora Core
Liferay-Tomcat-6 is not available on CentOS 4 and Fedora Plans. If you would like to use Liferay-Tomcat-6, you can migrate to a CentOS 5 plan. For migration
details please send a request to support@eapps.com.