Tribune

Home » Liferay Portal » English » Liferay Legacy

Vista Combinata Vista Piatta Vista ad Albero
Discussioni [ Precedente | Successivo ]
toggle
Jim Bell
Remove an instance
12 settembre 2007 4.24
Risposta

Jim Bell

Punteggio: New Member

Messaggi: 2

Data di Iscrizione: 12 settembre 2007

Messaggi recenti

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
RE: Remove an instance
1 gennaio 2008 6.18
Risposta

fahd A Helwani

Punteggio: New Member

Messaggi: 5

Data di Iscrizione: 21 agosto 2007

Messaggi recenti

anyone ? I'm facing the same problem here emoticon

any help would be appreciated.
Rob Sonke
RE: Remove an instance
2 gennaio 2008 0.02
Risposta

Rob Sonke

Punteggio: Expert

Messaggi: 275

Data di Iscrizione: 26 agosto 2007

Messaggi recenti

That's not possible yet. I don't think it should be too hard to build it yourself (and maybe donate it).
Michael Saechang
RE: Remove an instance
2 gennaio 2008 14.18
Risposta

Michael Saechang

LIFERAY STAFF

Punteggio: Liferay Master

Messaggi: 577

Data di Iscrizione: 19 novembre 2007

Messaggi recenti

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
Danny Stevens
RE: Remove an instance
5 agosto 2012 21.10
Risposta

Danny Stevens

Punteggio: New Member

Messaggi: 20

Data di Iscrizione: 14 settembre 2011

Messaggi recenti

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
Hitoshi Ozawa
RE: Remove an instance
5 agosto 2012 21.19
Risposta

Hitoshi Ozawa

Punteggio: Liferay Legend

Messaggi: 7990

Data di Iscrizione: 23 marzo 2010

Messaggi recenti

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
Markus B
Broken instance makes upgrade to 6.1 impossible
5 maggio 2013 2.44
Risposta

Markus B

Punteggio: New Member

Messaggi: 17

Data di Iscrizione: 8 gennaio 2009

Messaggi recenti

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
Alberto Chaparro
RE: Broken instance makes upgrade to 6.1 impossible
8 maggio 2013 6.50
Risposta

Alberto Chaparro

LIFERAY STAFF

Punteggio: Junior Member

Messaggi: 99

Data di Iscrizione: 25 aprile 2011

Messaggi recenti

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.