legacy-knowledge-base
公開されました Jun. 30, 2025

既存のHotfixをアンインストールすることができない

written-by

Kanchan Bisht

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

問題

  • 既存のHotfixをアンインストールすることができず、以下のエラー行が表示されます:
    • Exception occurred during the restore of the backup
    • ERROR [Patcher:-1] The command has failed. Please see the log for details
  • './patching-tool.sh auto-discovery' コマンドを実行した後、エラー 'Liferay home was not found in specified directory' が発生します。

Environment

  • Liferay DXP 7.3

解決策

  • どの環境でも、Hotfixをインストールすると、アプリケーションサーバーの 'webapps/ROOT/WEB-INF' パス内に以下のファイルが存在するようになります。
    hotfix-xyz-backup.zip,
    hotfix-xyz-new archives.json,
    hotfix-xyz-new files.json,
    hotfix-xyz-renames.json
  • この問題の根本は、このパスに hotfix-xyz-backup.zip がなかったことです。このファイルは、このHotfixのインストールに使用したのと同じバージョンのパッチツールでこのパスに再追加することで修正されました。

  • また、「ERROR [c:-1] Cannot proceed with the install - the following files are missing」というエラー行があります:[../webapps/ROOT/WEB-INF/hotfix-xyz-backup.zip]' は、パッチのログファイルにも見られることがあるようです。

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base