Tribune

Home » Liferay Portal » English » 2. Using Liferay » General

Vista Combinata Vista Piatta Vista ad Albero
Discussioni [ Precedente | Successivo ]
toggle
sudheesh poduval
lar file export/import to differnet Liferay versions
3 novembre 2009 6.14
Risposta

sudheesh poduval

Punteggio: Junior Member

Messaggi: 33

Data di Iscrizione: 27 maggio 2009

Messaggi recenti

Hi,

We have our current portal applications hosted in LR 5.1.5 version.
We are planning to upgrade the app. to LR 5.2.5 version.

So when we tried to export the LAR files of organizations from 5.1.5 version and tried importing it in 5.2.5 version; then we are getting an error saying the operation failed.

Is the .LAR files incompatible between different LR versions.

Any suggestions if there is any workaround here?
Lisa Simpson
RE: lar file export/import to differnet Liferay versions
3 novembre 2009 7.53
Risposta

Lisa Simpson

Punteggio: Liferay Legend

Messaggi: 2034

Data di Iscrizione: 5 marzo 2009

Messaggi recenti

I think that were changes ot the database schema that would affect that. Try this...

Grab a copy of your database
Put it on another server
Set a test copy of Liferay 5.2.5 to talk to that
Start Liferay and go through the database updates

Then try to export and import the LAR files..

See if that works for you.
Samuel Kong
RE: lar file export/import to differnet Liferay versions
3 novembre 2009 21.52
Risposta

Samuel Kong

LIFERAY STAFF

Punteggio: Liferay Master

Messaggi: 934

Data di Iscrizione: 10 marzo 2008

Messaggi recenti

LAR files are incompatible between different LR versions. LARs create in one version of Liferay cannot be imported into a different version of Liferay.

If you need to upgrade your site, please refer to the Upgrade instructions
delang j
RE: lar file export/import to differnet Liferay versions
24 dicembre 2010 20.00
Risposta

delang j

Punteggio: Regular Member

Messaggi: 223

Data di Iscrizione: 13 luglio 2008

Messaggi recenti

hi,

i just do some experiment to my portal(LR 511). what i did is import article using LAR from LR 511 to LR 526

1. got error cause diff build number
2. then i just edit manifest.xml in LAR file to build-number="5203"
3. and compress again as zip & rename to *.lar.
4. then i import to LR 526

so far it just working fine but im not sure in future. i want to do some more test so i can proceed this method to production.

please advice.
thanks.
Szymon Gołębiewski
RE: lar file export/import to differnet Liferay versions
25 dicembre 2010 12.42
Risposta

Szymon Gołębiewski

Punteggio: Regular Member

Messaggi: 247

Data di Iscrizione: 8 giugno 2009

Messaggi recenti

This also works with 5.2 to 6.0 and 6.0.5 but ONLY in some cases like importing only few articles without tags / categories. You sholud not rely on this method if you're importing business data.
Andreas Esau
RE: lar file export/import to differnet Liferay versions
28 dicembre 2010 8.47
Risposta

Andreas Esau

Punteggio: New Member

Messaggi: 1

Data di Iscrizione: 28 dicembre 2010

Messaggi recenti

Hi,
I'm new to liferay

we're running actually LR 5.2.3 and have to move the content (portlets, sites, etc) to vers. 6.0.5
now I'm facing the problem that it's not possible
any guess or expirience how to solve it
thanks in advance

Best regards,
Andy
Ray Augé
RE: lar file export/import to differnet Liferay versions
28 dicembre 2010 9.10
Risposta

Ray Augé

LIFERAY STAFF

Punteggio: Liferay Legend

Messaggi: 1238

Data di Iscrizione: 7 febbraio 2005

Messaggi recenti

The portal itself is designed to upgrade an old copy of db. As stated previously, if you point the new portal at the db + repository of an old version the upgrade should be automatic.

Note, allways backup your data. emoticon
Ahmed Hasan
RE: lar file export/import to differnet Liferay versions
28 dicembre 2010 9.55
Risposta

Ahmed Hasan

Punteggio: Expert

Messaggi: 303

Data di Iscrizione: 13 aprile 2007

Messaggi recenti

Hi Andreas,

Our company is actively doing migration of portals developed using a older version of liferay to the latest version. As most of the time, it is not direct one to one export / import of LAR files or running the upgrade scripts. There are so many things involved in the whole migration process which i am in the process of documenting and publishing soon.

If you can send across what exactly the kind of problem that you are facing then we can give you a proper solution / answer.

Ahmed Hasan
mPower Global Inc.