Legacy Knowledge Base
Published Jul. 2, 2025

Common Error With Staging or Export/Import Between Servers

Written By

Nimród Papp

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

The article documents an error users may encounter when attempting to establish Remote Live Staging or when the export/import feature between two Liferay instances is used. It is mandatory to have exactly the same Liferay versions on both servers when attempting to establish Remote Live Staging or using the export/import feature. It is also recommended to use exactly the same patch(es) to avoid failures and data corruption.

Resolution

Example Steps to Reproduce

  1. Start Liferay 6.2 EE SP11
  2. Create a Site with a page
  3. Create a Web Content Structure with an image field
  4. Create a Web Content Template for your Structure
  5. Create a Web Content Article with your Structure, upload an image to the image field
  6. Export the whole Site into a LAR file
  7. Start Liferay 6.2 EE with portal-86-6210 fix pack
  8. Create a Site
  9. Import the LAR file into your Site
  10. Check your Web Content Article

Result

The image is missing from the article.

Solution

If you are moving data between two different environments using export/import or Remote Staging, you need to make sure that the same patches are applied to all servers being used. This is also true if you are importing a LAR file which originated from the same server. It is essential that all servers are updated with the same patch level which ensures that the code base of the export and import processes are in sync and they will handle the data in the same way. 

Additional Information

Did this article resolve your issue ?

Legacy Knowledge Base