Configuring Local Live Staging
With Local Live Staging, both your Staging and Live environments are hosted on the same Liferay server. When enabled, Liferay DXP creates a local clone of your Site or Asset Library that serves as the Staging environment, while the original becomes your Live environment. Both environments share the same JVM, database, selected application data, and configurations (e.g., portal properties).
Setting Up Local Live Staging for Sites
Go to Site Menu → Publishing → Staging.
Select Local Live, which reveals additional fields for Page Versioning and Staged Content.
(For Sites only) Select whether you want Page Versioning enabled.
Select the data and content types you want to stage.warning
When applications are checked, their data is copied to Staging, and it may not be possible to edit them directly in Live. When unchecking an application, first make sure that any changes in Staging are published, since they may be lost. See Managing Data and Content Types in Staging for more information.
Click on Save to initiate the cloning process. The duration of this process depends on the size of your Site.tip
Stage your Site early on to reduce cloning time and record a more complete history of your Site’s update history, since updates are only recorded once you enable Page Versioning.
Once the process is complete, you are ready to use Local Live Staging. See Site Staging UI Reference for information about navigating the Staging environment’s publishing features.
Setting Up Staging for Asset Libraries
Open the Global Menu () and click Asset Libraries in the Applications tab.
Open the desired Asset Library and click Staging under Publishing.
Select Local Live.
Select the application data you want to stage.
For Asset Libraries, you can stage data for Documents and Media and Web Content.
Click Save to initiate the cloning process. The duration of this process depends on the size of the Asset Library.
Once the process is complete, you are ready to use Local Live Staging in your Asset Library.
Disabling Local Live Staging
If for any reason you must disable Staging for your Site or Asset Library, you can do that from your staging environment. However, be aware that disabling Local Live Staging deletes the Staging environment, along with all unpublished content. For this reason, ensure all necessary information is published or preserved elsewhere before disabling Staging.
This process may take some time, depending on the size of your Staging environment. It’s best not to disable staging when your DXP instance is busy.
Follow these steps to disable Local Live Staging:
Open the Staging application in your Site or Asset Library.
Click Actions ( ) in the Application bar and select Staging Configuration.
Select None for your Staging configuration, and click Save.
For most content types, Staging only publishes the latest approved version of each content item. For this reason, disabling Local Live Staging results in the loss of older content versions (e.g., documents). Once Staging is disabled, only the latest published version in Live is preserved. Web Content is the only exception.