アーティクル - CS329897
Foundation インストーラを使用して ThingWorx Platform をインストールすると、「エラーが発生しました。ThingWorx Foundation のインストールに失敗しました。ログを確認してください。アプリケーションは終了します。」というメッセージが表示されます。
修正日: 20-May-2024
適用対象
- ThingWorx Platform 8.5 to 9.6
- Microsoft Windows
- Microsoft SQL Server
- PostgreSQL
説明
- インストーラー経由でThingWorx for Microsoft SQL Server (mssql)をインストールするとエラーが発生する
- インストーラーによるアップグレード中にエラーが発生する
- 最終段階でインストールが中止される
- インストーラを使用した ThingWorx のインストールは、次のいずれかのエラーで失敗します。
There has been an error. ThingWorx Foundation installation failed. Please check the logs. The application will exit now. There has been an error. No supported version of Java detected. Please install a supported version of Java, and ensure that the Java bin directory is in the system PATH variable. For more information about the compatibility of Java and ThingWorx versions, see the ThingWorx help center.
- <thingworx_installation_folder>\installer_Failed_installs\ThingWorxFoundation_install.log またはC:\Users\<username>\AppData\Local\Temp\ThingWorxFoundation_Failed_installs\ThingWorxFoundation_install.log にエラーが表示されます:
Error running <chef>\bin\chef-client -z --config "<thingworx_installation_folder>\installer\foundation\knife.rb" -j "<thingworx_installation_folder>\installer\foundation.json" -L "<thingworx_installation_folder>\installer\logs\foundation-YYYYMMDDhhmmss.log": Program ended with an error exit code
または以下のエラー:
ERROR: Exception handlers complete Cinc Client failed. 30 resources updated in 25 seconds FATAL: Stacktrace dumped to <Thingworx installer>/foundation/local-mode-cache/cache/cinc-stacktrace.out FATAL: Please provide the contents of the stacktrace.out file if you file a bug report FATAL: Mixlib::ShellOut::ShellCommandFailed: twx_keystore_secret[encrypt_db_password] (twx_foundation::database line 47) had an error: Mixlib::ShellOut::ShellCommandFailed: execute[secret ] (<Thingworx installer>/foundation/local-mode-cache/cache/cookbooks/twx_keystore/resources/secret.rb line 36) had an error: Mixlib::ShellOut::ShellCommandFailed: Command execution failed. STDOUT/STDERR suppressed for sensitive resource
- インストーラーが失敗し、 foundation-XXXXXXXXXXXX.logに次のエラーが記録されます:
FATAL: Mixlib::ShellOut::ShellCommandFailed: twx_keystore_secret[encrypt_db_password] (twx_foundation::database line 47) had an error: Mixlib::ShellOut::ShellCommandFailed: execute[secret ] (<Thingworx installer>/foundation/local-mode-cache/cache/cookbooks/twx_keystore/resources/secret.rb line 36) had an error: Mixlib::ShellOut::ShellCommandFailed: Command execution failed. STDOUT/STDERR suppressed for sensitive resource
- インストーラーが失敗し、 ThingWorxFoundation_installer.logに次のエラーが記録されます:
Error running cinc-client -z --config "<twx_installation_path>\installer\foundation\knife.rb" -j "<twx_installation_path>\installer\foundation.json" -L "<twx_installation_path>\installer\logs\foundation-XXXXXX.log": Program ended with an error exit code
- インストーラーは、foundation-YYYYYYY インストーラー ログファイルで次のエラーが発生して失敗します:-
The JAVA_HOME environment variable is not defined correctly This environment variable is needed to run this program; NB: JAVA_HOME should point to a JDK not a JRE
最新バージョンはこちらを参照ください CS329897