留言板

Liferay 6.1 with existing database

thumbnail
Namrata Hangal,修改在11 年前。

Liferay 6.1 with existing database

Regular Member 帖子: 161 加入日期: 10-7-27 最近的帖子
We have setup Liferay 6.1 GA1 CE on jBoss 5.1 successfully using the default hsql.

The next step is to connect the instance with an existing DB2 database.

Now the catch is that, the DB2 instance has all tables and data as per Liferay 5.2.3.(our previously created portal). We cannot create new database and must reuse the tables/data. Any changes to database may result in our live site collapsing.

How do I go about connecting 6.1 with the existing database?
I'm sure the db schema is different in 6.1 compared to 5.2.3. So what should be the first step?

Can anyone outline the steps to be followed?

Thanks!
thumbnail
Hitoshi Ozawa,修改在11 年前。

RE: Liferay 6.1 with existing database

Liferay Legend 帖子: 7942 加入日期: 10-3-24 最近的帖子
Do several liferay upgrades to update your database. I think you'll have to upgrade to 6.0 and then to 6.1.
thumbnail
Namrata Hangal,修改在11 年前。

RE: Liferay 6.1 with existing database

Regular Member 帖子: 161 加入日期: 10-7-27 最近的帖子
Thanks Hitoshi.

Can you point me to any documentation?
Gowtham Mani,修改在11 年前。

RE: Liferay 6.1 with existing database

Junior Member 帖子: 56 加入日期: 08-11-26 最近的帖子
Hi Namrata,

Place these values in the portal-ext.properties along with any other older properties value.

#
# Input a list of comma delimited class names that implement
# com.liferay.portal.upgrade.UpgradeProcess. These classes will run on
# startup to upgrade older data to match with the latest version.
#
upgrade.processes=

have a look at the portal.properties for the list of all the classes.

Gowtham