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
Conteúdo Excluesivo para Assinantes
Uma Subscrição do Liferay Enterprise fornece acesso a mais de 1.500 artigos que incluem práticas recomendadas, solução de problemas e outras soluções valiosas. Faça login para obter acesso completo.
Entrar