Documentation

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

  1. Go to Site MenuPublishingStaging.

    Go to Staging in the Site Menu.

  2. Select Local Live, which reveals additional fields for Page Versioning and Staged Content.

    Select Local Live.

  3. Select whether you want Page Versioning enabled on Public and/or Private Page sets.

    Enable Page Versioning for your Private and Public Page sets.

  4. Select the data and content types you want to stage.

    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.

  5. 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

  1. Open the Global Menu (Global Menu) and click Asset Libraries in the Applications tab.

  2. Open the desired Asset Library and click Staging under Publishing.

  3. Select Local Live.

    Select Local Live.

  4. Select the application data you want to stage.

    For Asset Libraries, you can stage data for Documents and Media and Web Content.

    Select the application data you want to stage.

  5. 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.

Tip

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:

  1. Open the Staging application in your Site or Asset Library.

  2. Click Actions ( Actions button ) in the Application bar and select Staging Configuration.

    Click the Actions button in the Application bar, and select Staging Configuration

  3. Select None for your Staging configuration, and click Save.