Legacy Knowledge Base
Published Jun. 30, 2025

License fails to deploy for Liferay PaaS

Written By

Giulianna Munoa

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.
Note: please note that Liferay has renamed its Liferay Experience Could offerings to Liferay SaaS (formerly LXC) and Liferay PaaS (formerly LXC-SM).

Issue

  • Sometimes DXP may fail to deploy a new license
  • After restoring a backup you see the prompt to install a license
  • Also you may encounter the following log:
[com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][AutoDeployDir:238] Processing dxpActivationLicense.xml

Environment

  • Liferay PaaS

Resolution

  • This might be caused due to old licenses being deployed.
  • You'll need shell access for the Liferay service to execute the following commands:
mkdir -p /opt/liferay/data/backup/license /opt/liferay/data/backup/osgi 
mv -v /opt/liferay/data/license/* /opt/liferay/data/backup/license
mv -v /opt/liferay/osgi/modules/*.xml /opt/liferay/data/backup/osgi
cp /mnt/dxpcloud/license/* /opt/liferay/deploy
  • After a couple seconds you can find the following logs in Liferay service:
Apr 27 17:38:38.955 build-1080 [liferay-6b5c4f56f4-ht7jm] [dxp] INFO [fileinstall-directory-watcher][LicenseManager:-1] DXP Unlimited Enterprise-Wide license validation passed
Apr 27 17:38:38.955 build-1080 [liferay-6b5c4f56f4-ht7jm] [dxp] INFO [fileinstall-directory-watcher][LicenseManager:-1] License registered for DXP Unlimited Enterprise-Wide

Additional Information

 

Did this article resolve your issue ?

Legacy Knowledge Base