Legacy Knowledge Base
公開されました Jul. 2, 2025

アップグレードに失敗しログが残らない、特定のモジュールがアップグレードされない

Written By

Rita Schaff

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.

問題

  • 6.2からDXP7.3へのアップグレードを試みても、アップグレードログに何も残っていないのです。
  • gogo shell (7.3) でこのコマンド、 upgrade:check を実行したところ、まだアップデートされていないこれらのモジュール、例えばが見つかりました。
    There are upgrade processes available for com.liferay.portal.workflow.kaleo.designer.web from 0.0.1 to 1.0.2
    There are upgrade processes available for com.liferay.calendar.service from 1.0.5 to 4.1.2
    There are upgrade processes available for com.liferay.layout.service from 0.0.1 to 1.2.1

Environment

  • DXP 7.3

解決策

  • データベースのアップグレードが正常に終了しない場合に発生します。 アップグレード後にログに何も表示されないのは、通常、良い兆候ではありません。
  • 再度アップグレードを行う場合は、そのログを必ず保存しておいてください。

ソリューションステップ

  1. ポータルをシャットダウンし、アップグレードプロセスを再度実行したところ、レイアウトとワークフローが表示されるはずです。
  2. NoSuchRoleExceptionのため、カレンダーはアップグレードされません。 この例外は、データベースにカレンダー関連の項目がない場合に発生します。
  3. 下記の問い合わせ先でご確認ください:
    select * from calendar where companyid not in (select companyid from company);
    select * from calendarresource where companyid not in (select companyid from company);
  4. 解決策は、APIを使用してそれらのエントリーを削除することです。

追加情報

Did this article resolve your issue ?

Legacy Knowledge Base