legacy-knowledge-base
公開されました Jul. 2, 2025

DXPにリネームされたマーケットプレイスおよびエンタープライズサーチアプリケーションの新バージョンをインストールする。

written-by

Tibor Lipusz

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

learn-legacy-article-disclaimer-text

紹介

この記事は、 Liferay DXPで、名前を変更したMarketplaceアプリケーションの新バージョンをインストールする方法を記録しています。

Liferay Marketplaceの一部のアプリケーションは、サードパーティーのソフトウェアと接続するためにLiferayが開発したアプリケーションであることを区別し、サードパーティー自身がアプリケーションやそのサポートに責任を持つという混乱を避けるために、名称が変更されています。

以下のMarketplaceのアプリケーションの名称を変更しました:

  • Liferay OAuth Provider > Liferay Connector to OAuth 1.0a
  • Liferay SAML 2.0 Provider > Liferay Connector to SAML 2.0
  • Liferay Connector for Sharepoint > Liferay REST Connector for SharePoint
  • Liferay Connector for Sharepoint 2010 > Liferay SOAP Connector for SharePoint
  • Liferay Connector to Elasticsearch Learning to Rank > Liferay Enterprise Search Learning to Rank
  • Liferay Connector to X-Pack Monitoring [Elastic Stack 6.x] > Liferay Enterprise Search Monitoring
  • Liferay Connector to X-Pack Security [Elastic Stack 6.x] > Liferay Enterprise Search Security

この変更により、古い(LPKGファイル)名の指定されたアプリケーションの古いバージョンが既にデプロイされているシステムでは、起動時に問題が発生することがあります。 例えば、Liferay OAuth Provider(3.0.1 for DXP)のリリースに伴い、アプリの名称を Liferay Connector to OAuth 1.0aに変更しました。 旧バージョン(3.0.0)のアプリを以前にデプロイしていた場合、起動時にエラーが発生します。

ヘルプセンターダウンロードのLiferay Enterprise Search connectors for Liferay DXP 7.0のファイルも、バージョン番号を含む名前に変更されました。

  • Liferay Connector to Elasticsearch 6.lpkg > Liferay Connector to Elasticsearch 6 1.1.0.lpkg
  • Liferay Connector to X-Pack Monitoring [Elastic Stack 6.x].lpkg > Liferay Connector to X-Pack Monitoring 1.0.0.lpkg
  • Liferay Connector to X-Pack Security [Elastic Stack 6.x].lpkg> Liferay Connector to X-Pack Security 1.0.0.lpkg
  • Liferay Elastic Marvel Integration.lpkg > Liferay Elastic Marvel Integration 1.1.0.lpkg
  • Liferay Elastic Shield Integration.lpkg > Liferay Elastic Shield Integration 1.1.0.lpkg
  • Liferay Connector to X-Pack Monitoring [Elastic Stack 6.x] > Liferay Enterprise Search Monitoring 1.0.0.lpkg
  • Liferay Connector to X-Pack Security [Elastic Stack 6.x] > Liferay Enterprise Search Security 1.0.0.lpkg

解像度

重要:新しいバージョンのLESアプリをインストールする前、または同じバージョンの名前を変更したアプリを再デプロイする前に、古いアプリをシステムと対応するからアンインストールする必要があります。 同じアプリケーションの2つのインスタンスが実行されないようにするには、 [Liferay Home]/osgi/marketplace の下の LPKGファイル削除する必要があります。

旧アプリと新アプリのLPKGを両方インストールした場合、起動時に問題が発生することがあります。 例えば、古いLPKGが新しいLPKGの後に処理された場合、そちらが優先され、新しいアプリのLPKGのモジュールは有効になりません。

この問題を解決するためには、以下の手順を実行してください:

  1. マーケットプレイスから最新版のアプリケーションをダウンロードする(手動インストール用のLPKGファイルを入手する)。
  2. Liferay DXPの停止
  3. LIFERAY_HOME/osgi/marketplaceに移動します。
  4. アプリケーションの古い LPKG ファイルを見つけて削除します。例: Liferay OAuth Provider.lpkg
  5. 新しい LPKG ファイル(Liferay Connector to OAuth 1.0a.lpkgLIFERAY_HOME/osgi/marketplaceに配置してください。
    1. これにより、 Liferay Sync Connector アプリケーションが OAuth コネクタの要件が不足しているために LPKGVerifyException を生成しないことを保証します。
  6. Liferay DXPを再起動する
did-this-article-resolve-your-issue

legacy-knowledge-base