掲示板

Liferay 6.1 with existing database

thumbnail
11年前 に Namrata Hangal によって更新されました。

Liferay 6.1 with existing database

Regular Member 投稿: 161 参加年月日: 10/07/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
11年前 に Hitoshi Ozawa によって更新されました。

RE: Liferay 6.1 with existing database

Liferay Legend 投稿: 7942 参加年月日: 10/03/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
11年前 に Namrata Hangal によって更新されました。

RE: Liferay 6.1 with existing database

Regular Member 投稿: 161 参加年月日: 10/07/27 最新の投稿
Thanks Hitoshi.

Can you point me to any documentation?
11年前 に Gowtham Mani によって更新されました。

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