Legacy Knowledge Base
Published Jul. 2, 2025

Migration of documents to a supported file system store before upgrade

Written By

Sivakumar Perumal

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

  • As the JCR store is supported as a document store till Liferay Portal 6.2 and from DXP 7.0 onwards it is no longer supported, what are the guidelines that should be followed before upgrading from Liferay 6.2 into any higher version of Liferay?

Environment

  • Liferay Portal 6.2
  • Liferay DXP 7.0, 7.1, 7.2

Resolution

  • Since the JCR is no longer supported from Liferay DXP 7.0 SP3 onwards, migrating from JCR to any other file system is recommended.

    Migration steps:
    1) Login with Admin user
    2) Go to Control Panel -> Configuration -> Server Administration -> Data Migration -> Migrate documents from one repository to another
    3) Select a new repository and then check "Delete files from previous repository"
    4) Click on Execute.
    5) Now documents will be migrated into the new repository. Shut down the Liferay to make the new repository as the default by adding the below property in portal-ext.properties file, and then restart

    eg: if Advanced File System Store is selected, the following property should be added in portal-ext.properties

    dl.store.impl=com.liferay.portlet.documentlibrary.store.AdvancedFileSystemStore

Additional Information

  • Selecting a new repository completely depends on the business use case. Connecting with the respective architect team would help.
Did this article resolve your issue ?

Legacy Knowledge Base