技术文章 - CS329897

使用 Foundation 安装程序安装 ThingWorx Platform 时,出现“出现错误。ThingWorx Foundation 安装失败。请检查日志。应用程序将立即退出。”

已修改: 20-May-2024   


注意:本文已使用机器翻译软件翻译,以方便非英语客户阅读。但翻译内容可能包含语法错误或不准确之处。请注意, PTC对本文所含信息的翻译准确性及使用后果不承担任何责任。请在 此处 查看本文的英文原始版本以便参考。有关机器翻译的更多详情,请单击 此处
感谢您告诉我们。我们将尽快审阅此译文。

适用于

  • 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-XXXXXXXXXX.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
这是文章 329897 的 PDF 版本,可能已过期。最新版本 CS329897