Legacy Knowledge Base
Published Jun. 30, 2025

Images lost during staging publication

Written By

Giulianna Munoa

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.

Issue

  • Customer reports images are gone after they published content
  • It could be images or files from the Document Library

 

Environment

  • Liferay DXP 7.2

 

Resolution

  • If the publication took a lot of time it is very likely the cause of this behavior is the use of the option "Delete Application Data Before Importing" during the publication task.
  • This will delete all staged data on the Live Site prior to running the publish logic. The purpose of this option is to effectively "reset" the Live Site for the case that the Live Site somehow became out of sync with the Staging Site.
  • Unfortunately, deleting Web Content articles is a very involved process because of the Web Content versioning system causing Liferay to need to fetch the earlier version of the article and update the associated AssetEntry accordingly. So if they have a large number of Web Content articles in the Live Site, this process to delete them all may take a long time.
  • The only option to solve this behavior is not use this option on the publication and do a "From Last Publish Date" publish process instead.

 

Additional Information

 

 

 

Did this article resolve your issue ?

Legacy Knowledge Base