I enabled Feature flag LPD-11342 but migrating virtual instances across different Liferay installations fails.
I describe the process for asking for help from those who know and have already used this feature introduced in Liferay DXP 2025.Q2/Portal GA148.
The export phase is successful, but the import phase produces no results.
I don’t know if it’s a problem with the feature, which is in beta, or with the documentation, or just my own mistake.
I followed the documentation here: Migrating Liferay Instances - Liferay Official Documentation - Liferay Learn
- The migration attempt occurs between two perfectly identical Liferay DXP 2026.q1.2-lts installations as the bundle is the same copy for both servers.
Portal final build number: 7413
Portal final schema version: 38.2.2
-
The database server is MySQL 8.0.33 version and hosts the databases of both Liferay installations.
-
I use the tool to validate database partitions before performing a migration with the following command:
java -jar com.liferay.portal.tools.db.partition.migration.validator.jar export --company-id 69697099524243 --jdbc-url jdbc:mysql://localhost/lportal_nt27_2026_q1_2 --password *** --user ***
The command creates the file “20260516183924_export_69697099524243.json”. -
I follow the instructions that say: “Execute the command again for the target database.”.
I chose any company-id already present in the target database with a different company-id.
java -jar com.liferay.portal.tools.db.partition.migration.validator.jar export --company-id 90256445023424 --jdbc-url jdbc:mysql://localhost/lportal_nt103_2026_q1_2 --password *** --user ***
The command creates the file “20260517091044_export_90256445023424.json”. -
I run the following command in Validation Mode:
java -jar com.liferay.portal.tools.db.partition.migration.validator.jar validate --source-file 20260516183924_export_69697099524243.json --target-file 20260517091044_export_90256445023424.json
I get the following error:
[ERROR] Module com.liferay.search.experiences.service needs to be installed in the source database before the migration
[WARN] Table fvsactiveentry is not present in the target database
[WARN] Table fvscustomentry is not present in the target database
[WARN] Table fvsentry is not present in the target database
[WARN] Table sxpblueprint is not present in the source database
[WARN] Table sxpelement is not present in the source database
[WARN] Module com.liferay.hello.velocity.web is not present in the target database
[WARN] Module com.liferay.frontend.view.state.service is not present in the target database
[WARN] Module com.liferay.portal.search.elasticsearch.monitoring.web is not present in the source database
- I still perform the Database Partition Extraction:
In the Global Menu (Global Menu), navigate to Control Panel → Configuration → System Settings.
Go to Platform → Virtual Instances.
In the Extract Company ID field, enter the standalone partition’s company ID: 69697099524243.
The export creates the database schema with the name “lexported_69697099524243”.
Instead, the documentation says:
“This process creates a new database called lextracted_[companyId] which can be imported in the target Liferay installation to perform the insertion process.”
- I still perform the Insert Database Partition phase:
In the Global Menu (Global Menu), navigate to Control Panel → Configuration → System Settings.
Go to Platform → Virtual Instances → Portal Instance Insertion.
Fill the Insert Company ID field with the company ID of the standalone partition.
The ID must be different from any in the target installation.
So I used 69697099524243 in the Insert Company ID field.
Nothing happens.
Thanks in advance for any help.