アーティクル - CS365539

ThingWorx Platform のアップグレードが失敗した後、Foundation ログ内に「(twx_foundation::database 行 65) にエラーが発生しました: Mixlib::ShellOut::ShellCommandFailed」が表示されます。

修正日: 13-Aug-2024   


注記:ここに記載されている情報は、お客様の利便性向上のため機械翻訳ソフトを使用しています。PTCは、ここに記載されている情報の翻訳の正確性について、一切の責任を負いませんので、ご了承ください。英語の原文を参照するには、こちら。この機械翻訳に関する詳細は、こちら。
お知らせいただき、ありがとうございます。この機械翻訳をレビューします。

適用対象

  • ThingWorx Platform 9.0 to 9.3 SP5
  • Microsoft SQL Server
  • PostgreSQL

説明

  • インストーラを使用して ThingWorx Platform をアップグレードできません
  • アップグレード ユーティリティを使用して ThingWorx Platform を更新できない
  • インストーラを使用してThingWorx Platformを更新すると失敗する
  • インストーラ内のスクリプトエラーにより、ThingWorx プラットフォームの MS SQL アップグレードが失敗する
  • 基礎ログファイルには
    FATAL: Mixlib::ShellOut::ShellCommandFailed

  • インストーラーアップグレードヘルプセンターに従ってThingWorx Platformをアップグレードしましたが失敗しました
  • インストーラを使用して ThingWorx Platform の Microsoft SQL Server バージョンをアップグレードできません
  • ThingWorx Platform を Program Files (x86) の下にインストールしましたが、アップグレードを完了できません
    • スペースのないディレクトリの場所にインストールされた ThingWorx Platform インスタンスは期待どおりに動作します。
  • ThingWorx Platform のアップグレードが失敗した後、 <ThingWorxFoundation>/installer/logs/foundation-<date>.logファイル内に次のエラーが表示される
INFO: Processing execute[<ThingWorx Install Location>/thingworx/update/update_mssql.ps1] action run (twx_foundation::database line 65)
INFO: Running queued delayed notifications before re-raising exception
ERROR: Running exception handlers
ERROR: Exception handlers complete
FATAL: Stacktrace dumped to <ThingWorx Install Location>/installer/foundation/local-mode-cache/cache/chef-stacktrace.out
FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
FATAL: Mixlib::ShellOut::ShellCommandFailed: execute[<ThingWorx Install Location>/thingworx/update/update_mssql.ps1] (twx_foundation::database line 65) had an error: Mixlib::ShellOut::ShellCommandFailed: Command execution failed. STDOUT/STDERR suppressed for sensitive resource
  • PostgreSQLデータベースの場合
  * execute[C:\PROGRA~2\THINGW~1/thingworx/update/update_postgres.ps1] action  INFO: Processing execute[C:\PROGRA~2\THINGW~1/thingworx/update/update_postgres.ps1] action run (twx_foundation::database line 65)

    
    ================================================================================
    [31mError executing action `run` on resource 'execute[C:\PROGRA~2\THINGW~1/thingworx/update/update_postgres.ps1]'
    ================================================================================
    
    Mixlib::ShellOut::ShellCommandFailed

  • <ThingWorxFoundation>\installer\foundation\cookbooks\twx_foundation\recipes\database.rbsensitiveフラグがfalseに設定されている場合、次のメッセージも<ThingWorxFoundation>/installer/logs/foundation-<date>.logに記録されます。
    • ---- Begin output of powershell  G:\Program Files (x86)\ThingWorxFoundation/thingworx/update/update_mssql.ps1 -h <host> -p 1433 -d Thingworx_Redo -u Twadmin --update_all -y < nul ----
      STDOUT:
      STDERR: x86 : The term 'x86' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
      
      spelling of the name, or if a path was included, verify that the path is correct and try again.
      
      At line:1 char:19

最新バージョンはこちらを参照ください CS365539