legacy-knowledge-base
公開されました Sep. 10, 2025

ノードを同時に起動すると、モジュールのアップグレードが正しく行われないことがある

written-by

Mariano Alvaro

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

問題

  • 新しいfixpackに移行すると、モジュールの機能が使えなくなるようです。
  • system:check を実行すると、以下のような不満足な依存関係が現れます:
Component with ID 58 is unavailable due to missing required dependencies:
service dependency [com.liferay.portal.kernel.model.Release (&(release.bundle.symbolic.name=com.liferay.dynamic.data.mapping.service)(&(release.schema.version>=3.2.0)(!(release.schema.version>=4.0.0)))(|(!(release.state=*))(release.state=0)))]

Environment

  • 複数のノードが同時に起動するクラスター環境。

解決策

  • リリースノートによると、新しいfixpackが1つ以上のアップグレードを含んでいる場合、アップグレードを実行する際の競合状態を避けるために、ノードを順番に起動する必要があります。
  • バージョン 7.0, 7.1, 7.2 でノードを順次起動するオプションがない場合 com.liferay.portal.upgrade.internal.configuration.ReleaseManagerConfiguration.config モジュールアップグレードがデフォルトで実行されないように設定する必要があります。 7.3+ については、 DXP 7.3 以上での自動アップグレード これにより、ゴーゴーシェルからオンデマンドでアップグレードが実行可能になり、競合状態を回避できます。 ゴーゴーシェルを使ってモジュールをアップグレードするを参照してください。
  • 同時起動がすでに行われ、不正な動作が確認された場合は、 system:check コマンドを実行し、 Release_ テーブルを servletContextName でフィルタリングして検索し、障害モジュールの状態を確認します。 例として以下のクエリを使用します:
select * from Release_ where servletContextName = 'com.liferay.dynamic.data.mapping.service'
  • 取得した情報を提供する状態が1(失敗)の場合、サポートに連絡する。

*

did-this-article-resolve-your-issue

legacy-knowledge-base