Legacy Knowledge Base
公開されました Jun. 30, 2025

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.

問題

  • DXP が新しいライセンスのデプロイに失敗する場合があります
  • バックアップを復元した後、ライセンスをインストールするプロンプトが表示されます
  • また、次のログが表示される場合があります
[com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][AutoDeployDir:238] Processing dxpActivationLicense.xml

 

環境

  • Liferay PaaS

 

解決

  • これは、デプロイされている古いライセンスが原因である可能性があります。
  • Liferay サービスが次のコマンドを実行するには、 Shell Access が必要です。
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
  • 数秒後、Liferay サービスに次のログが表示されます。
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

追加情報

 

Did this article resolve your issue ?

Legacy Knowledge Base