Foros de discusión

Remove an instance

Jim Bell, modificado hace 16 años.

Remove an instance

New Member Mensajes: 2 Fecha de incorporación: 12/09/07 Mensajes recientes
It is quite easy to add another instance in liferay, but how do we remove an instance cleanly?

Does it require a database update or property changes?
fahd A Helwani, modificado hace 16 años.

RE: Remove an instance

New Member Mensajes: 5 Fecha de incorporación: 21/08/07 Mensajes recientes
anyone ? I'm facing the same problem here emoticon

any help would be appreciated.
thumbnail
Rob Sonke, modificado hace 16 años.

RE: Remove an instance

Expert Mensajes: 275 Fecha de incorporación: 26/08/07 Mensajes recientes
That's not possible yet. I don't think it should be too hard to build it yourself (and maybe donate it).
thumbnail
Michael Saechang, modificado hace 16 años.

RE: Remove an instance

Liferay Master Mensajes: 576 Fecha de incorporación: 19/11/07 Mensajes recientes
hey Jim,

Rob's right, there is currently no way to delete instances. If you want, you could create a LEP ticket.

http://support.liferay.com/

-mike
thumbnail
Danny Stevens, modificado hace 11 años.

RE: Remove an instance

New Member Mensajes: 20 Fecha de incorporación: 15/09/11 Mensajes recientes
We developed a script for Liferay 5.2.3 to do this. It removes records from tables based on a company Id, and captures a few records that don't have a company Id but a foreign key to a table that does also contain a company Id. Working on something similar for version 6.1 but it may be a while before its done. See also: http://www.liferay.com/community/forums/-/message_boards/message/15367496
thumbnail
Markus B, modificado hace 10 años.

Broken instance makes upgrade to 6.1 impossible

New Member Mensajes: 17 Fecha de incorporación: 8/01/09 Mensajes recientes
I'm currently working on www.evolutionsoft.ch for upgrading to 6.1.1-ce-ga2.

We had the problem of a broken instance by deleting the only one public page at the begin on 6.0.6. The login to that instance was then no more possible.

Now that remaining instances causes an upgrade exception by having a JournalArticleStructure referring to an non existing groupID.

Could anyone provide me a cleanup script to clean the integrity errors in the DB created via allowed liferay admin actions ?

THX
thumbnail
Alberto Chaparro, modificado hace 10 años.

RE: Broken instance makes upgrade to 6.1 impossible

Liferay Master Mensajes: 549 Fecha de incorporación: 25/04/11 Mensajes recientes
Hi Markus,

Next time please open a separate thread for your question.

You can create the script you need taking a look at the liferay API:
http://docs.liferay.com/portal/6.0/javadocs/

Probably you have all you need in the clasess JournalStructureLocalServiceUtil and GroupLocalServiceUtil.

Good luck.
thumbnail
Hitoshi Ozawa, modificado hace 11 años.

RE: Remove an instance

Liferay Legend Mensajes: 7942 Fecha de incorporación: 24/03/10 Mensajes recientes
This request has come up several times before. Unfortunately, the only way now is to shutdown liferay and execute sql script to delete records related to an instance.

Please DO NOT create a LPS issue for this because it has already been created.

http://issues.liferay.com/browse/LPS-14023