File Store Updates

File store options and configuration values changed in Liferay DXP 7.0. If you’re on 7.0 or earlier and are affected by these changes, you must update your file store before upgrading your DXP database.

This table lists the required updates per Liferay version.

Current Liferay VersionRequired Updates
Liferay DXP 7.01. Migrate from CMIS Store and JCR Store.
Liferay Portal 6.2 and earlier1. Update your store implementation class name.
2. Migrate from CMIS Store and JCR Store.
3. Configure the file store in System Settings.

The following sections explain how to update your file store.

Updating the Store Implementation Class Name

The store implementation class package names changed from com.liferay.portlet.documentlibrary.store.* in Liferay Portal 6.2 to com.liferay.portal.store.* in DXP 7.0. Set your dl.store.impl property in portal-ext.properties one of these ways:

dl.store.impl=com.liferay.portal.store.file.system.FileSystemStore
dl.store.impl=com.liferay.portal.store.db.DBStore
dl.store.impl=com.liferay.portal.store.file.system.AdvancedFileSystemStore
dl.store.impl=com.liferay.portal.store.s3.S3Store

Migrating from JCR Store

JCR Store was deprecated in DXP 7.0. The file storage documentation describes other store options. Migrate to a supported file store before upgrading your database.

Migrating from CMIS Store

CMIS Store was deprecated in 7.0.10 Fix Pack 14 and was removed in DXP 7.2. The file storage documentation describes other store options. Migrate to a supported file store before upgrading your database.

Configuring the File Store in System Settings

Since DXP 7.0, document store type-specific configuration (e.g., specific to Simple File Store, Advanced File Store, S3, etc.) is done in the Control Panel at ConfigurationSystem SettingsFile Storage, or using OSGi configuration files (.config files). Type-specific configuration is no longer done using portal-ext.properties. After upgrading your database, configure your file store in System Settings.

See Configuring File Storage for more store configuration details.

Capabilities

Product

Contact Us

Connect

Powered by Liferay
© 2024 Liferay Inc. All Rights Reserved • Privacy Policy