留言板

Any way to move the whole portal from one server to another??

Silicon Smith,修改在12 年前。

Any way to move the whole portal from one server to another??

New Member 帖子: 21 加入日期: 11-10-4 最近的帖子
Hi everybody,

is there any way to move everything in a portal from one server to another server?? if No, could u please suggest any other alternative??
What I understand with exporting a .lar file is You have to export and then import page by page or organization by organization (one by one). Please correct me if I am wrong.
thanks in advance for your replies. Highly appreciated

Regards
Manjinder
thumbnail
Hitoshi Ozawa,修改在12 年前。

RE: Any way to move the whole portal from one server to another??

Liferay Legend 帖子: 7942 加入日期: 10-3-24 最近的帖子
If the environment is going to be same, you can just copy over the whole application server.

If there is going to be some differences, you can try migration: Control Panel -> Server Administration -> Data Migration
Silicon Smith,修改在12 年前。

RE: Any way to move the whole portal from one server to another??

New Member 帖子: 21 加入日期: 11-10-4 最近的帖子
Hello Hitoshi,

thank you very much for your reply.... I have tried data migration yesterday, but the server (from which the data is being moved) freezes and the message displayed is

" The system is shutdown. Please try again later."

we even waited for 6-7 hrs, but the message is still there. We tried to migrate data from one database to another.
thanks
thumbnail
Hitoshi Ozawa,修改在12 年前。

RE: Any way to move the whole portal from one server to another??

Liferay Legend 帖子: 7942 加入日期: 10-3-24 最近的帖子
" The system is shutdown. Please try again later."


This usually appears when database can not be accessed. Are both your database up?
Silicon Smith,修改在12 年前。

RE: Any way to move the whole portal from one server to another??

New Member 帖子: 21 加入日期: 11-10-4 最近的帖子
@hitoshi.... yes databases were all up.......
@nagendra ... right now, not a big database (around 10-15 files) but pretty soon we would be having quite a large number of files...

thanks again
Manjinder
thumbnail
Hitoshi Ozawa,修改在12 年前。

RE: Any way to move the whole portal from one server to another??

Liferay Legend 帖子: 7942 加入日期: 10-3-24 最近的帖子
If you are thinking of periodically moving your database from development to production, you may want to consider staging.

Also, please post which Liferay version you are using and your environment (e.g. CentOS + Tomcat + MySQL).
Silicon Smith,修改在12 年前。

RE: Any way to move the whole portal from one server to another??

New Member 帖子: 21 加入日期: 11-10-4 最近的帖子
yeah Staging is I guess a good option... Actually we first created data in a testing liferay server..... now we want that in production server.... we just wanted to reduce the extra work by just moving from test enviornment to the production......
we are using liferay 6.0.6 community edition + linux + tomcat + mysql
thanks Hitoshi
Guenter Baumgart,修改在12 年前。

RE: Any way to move the whole portal from one server to another??

Regular Member 帖子: 119 加入日期: 12-1-27 最近的帖子
Hi,

I tried all of the above suggestions but none of them are working.

I copied the the entire Lifray folder to my production server and copied also the MySQL database there. The settings and paths are identical with my developer machine.

When I start the new Liferay server (catalina.sh run) its trying to reinstall its default database :

[DialectDetector:145] Found dialect org.hibernate.dialect.MySQLDialect
13:54:36,034 WARN [BaseDB:382] Table 'QUARTZ_BLOB_TRIGGERS' already exists: create table QUARTZ_BLOB_TRIGGERS ( SCHED_NAME varchar(120) not null, TRIGGER_NAME varchar(200) not null, TRIGGER_GROUP varchar(200) not null, BLOB_DATA longblob null, primary key (SCHED_NAME, TRIGGER_NAME, TRIGGER_GROUP)) engine InnoDB;

When logging in, my admin login is not accepted. Also my custom portlets are all gone(Please don't use absolute paths in Catalina/localhost/ context files!).

However, even the default admin login doesn't work.

As next I tried a fresh installation. After the installation was finish, I replaced the MySQL database, but same result.

Is there a trick ?

I am using Liferay 6.1
fouad fouad,修改在9 年前。

RE: Any way to move the whole portal from one server to another??

Junior Member 帖子: 28 加入日期: 14-8-8 最近的帖子
hello my friend
how did u solve ur problem because im facing the same problem.

can you advise on how you solved ur problem?
thank you
fouad fouad,修改在9 年前。

RE: Any way to move the whole portal from one server to another??

Junior Member 帖子: 28 加入日期: 14-8-8 最近的帖子
fouad fouad:
hello my friend
how did u solve ur problem because im facing the same problem.

can you advise on how you solved ur problem?
thank you
thumbnail
Nagendra Kumar Busam,修改在12 年前。

RE: Any way to move the whole portal from one server to another??

Liferay Master 帖子: 678 加入日期: 09-7-7 最近的帖子
How big is your data BTW?