|
从 ThingWorx 9.4.0 开始,客户无法直接从 ThingWorx 8.5 或 ThingWorx 9.0 升级到 ThingWorx 9.4.0。如果客户希望从 ThingWorx 8.5 或 ThingWorx 9.0 升级到 ThingWorx 9.4.0 及更高版本,则需要升级到中间版本,然后再升级到 ThingWorx 9.4.0 及更高版本。ThingWorx 建议使用最新 ThingWorx 9.3.x 作为中间升级路径。
|
|
目前,不支持 H2 的大整数/时区数据库迁移脚本。这些迁移脚本针对其他受支持的数据库进行了详细说明。如果存在现有 H2 数据库且需要进行时区修正,则必须迁移至受支持的数据库,例如 PostgreSQL 或 MS SQL。如果应用程序将在未进行时区修正的情况下运行,则可在 H2 上升级至 ThingWorx 的最新版本。请注意,您将跳过前面提到的设置 ThingWorx 服务器时区部分。
|
如果必须升级 Java 版本,请在升级 Java 前先升级 ThingWorx。 |
如果不能执行此操作,则升级将失败,您必须再次部署较旧版本 (如果进行了架构更新,则需要回滚/恢复数据库),并添加缺失的索引值或从数据表中移除自定义索引,然后再执行升级。 |
使用 InfluxDB v2 升级到 ThingWorx 9.3.9 及更高版本或 ThingWorx 9.4.0 及更高版本时,需要导出存储在 InfluxDB 中的数据并将其导入 ThingWorx 9.3.9 或 ThingWorx 9.4.0。但是,由于 ThingWorx 9.3.0 到 9.3.7 版本的已知问题,Influx 数据导出会中断。在 ThingWorx 9.3.0 到 ThingWorx 9.3.7 版本中,无法从 InfluxDB v2 导出数据。此问题已在 ThingWorx 9.3.8 中修复。因此,要更新到 ThingWorx 9.3.9 及更高版本,或更新到 ThingWorx 9.4.0 及更高版本,必须先升级到 ThingWorx 9.3.8。升级到 ThingWorx 9.3.8 后,可以升级到 ThingWorx 9.3.9 或 ThingWorx 9.4.0。可按照以下说明升级 InfluxDB。如果从 ThingWorx 9.3.7 或更早版本升级到 ThingWorx 9.3.8,则无需按照以下步骤操作。 如果使用 InfluxDB 1.x 从 ThingWorx 升级到 ThingWorx 9.3.9 或更高版本,或升级到 ThingWorx 9.4.0 及更高版本,请按照以下步骤操作。无需升级到 ThingWorx 9.3.8,因为 InfluxDB 1.x 导出工作正常。 如果使用 InfluxDB 1.7.x (ThingWorx 8.5.x、9.0.x) 将 ThingWorx 升级到 InfluxDB 1.8.x (ThingWorx 9.1.x 或 9.2.x),请按照以下步骤操作。 |
validation.properties 文件将在启动 ThingWorx 时创建。如果要保留所做的任何更改,将文件保存在 ThingworxStorage 目录之外的位置,然后继续移除 esapi 目录。启动时,ThingWorx 将重新创建该文件,您可以将自定义正则表达式重新添加到自动生成的 validation.properties 文件中。 有关其他信息,请参阅本主题。 |
以下所参考的全部脚本均位于 ThingWorx 软件下载的 update 文件夹中。 |
以下所参考的全部脚本都需要数据库访问权限。如果定义了 PGPASSWORD 环境变量,则脚本将使用其值作为数据库密码。否则,脚本将提示您输入数据库密码。有关详细信息,请参阅 Postgres 官方文档。 |
在不使用任何参数的情况下运行此脚本会输出其使用语句: update_postgres.ps1 -h <host> -p <port> -d <database> -s <schema> -u <user> [--managed_instance <name>] ( --update_all | [--update_data] [--update_model] [--update_property] [--update_system] ) [-y] Supported Options: -h host The host name of the machine on which the database is running. -p port The port on which the database server is listening for connections. -d database The name of the database to connect to. -s schema The name of the database schema to update. -u user Connect to the database as this user. --managed_instance name To be specified only when the database is deployed within a Managed Instance (e.g. Azure, etc). --system_version_override version Forces the upgrade to assume the database schema is currently of this version (i.e. "n.n.n"), rather than of the actual, persisted version. --update_all Update all information (i.e. Data, Model, Property, etc). Same as specifying all other "--update_..." flags. --update_data Update only Data information. Can be specified with any other "--update_..." flags, except "--update_all". --update_model Update only Model information. Can be specified with any other "--update_..." flags, except "--update_all". --update_property Update only Property information. Can be specified with any other "--update_..." flags, except "--update_all". --update_system Update only System information. Can be specified with any other "--update_..." flags, except "--update_all". -y Suppress all non-required prompts, such as "Are you sure?" |
仅当从 ThingWorx 8.5 或 ThingWorx 9.0.0、9.0.1 或 9.0.2 升级到新的 ThingWorx 版本时,才需要运行 ThingWorx 时区脚本。ThingWorx 9.4.0 及更高版本不支持从 ThingWorx 8.5 或 ThingWorx 9.0.0、9.0.1 或 9.0.2 直接升级。相反,客户必须升级到中间 ThingWorx 版本,如 ThingWorx 9.3。从 ThingWorx 8.5 或 ThingWorx 9.0.0、9.0.1 或 9.0.2 升级到 ThingWorx 9.3.x 时,请运行以下脚本。ThingWorx 建议使用最新 ThingWorx 9.3.x 版本作为中间版本。 |
保留此列表以供日后参考。 |
"自" 和 "至" 时区名称可以相同。 |
在不使用任何参数的情况下运行此脚本会输出其使用语句: Usage: update_bigint_timezone_schema_postgres.ps1 -h <host> -p <port> -d <database> -s <schema> -u <user> [--managed_instance <name>] --from_timezone <timezone> --to_timezone <timezone> [-y] Supported Options: -h host The host name of the machine on which the database is running. -p port The port on which the database server is listening for connections. -d database The name of the database to connect to. -s schema The name of the database schema to update. -u user Connect to the database as this user. --managed_instance name To be specified only when the database is deployed within a Managed Instance (e.g. Azure, etc). --system_version_override version Forces the upgrade to assume the database schema is currently of this version (i.e. "n.n.n"), rather than of the actual, persisted version. --from_timezone timezone The name of the timezone for all existing data. --to_timezone timezone The name of the timezone to which all existing data will be updated. -y Suppress all non-required prompts, such as "Are you sure?" |
尽管此脚本会直接迁移某些数据,但不会迁移任何数据表、流或值流数据。相反,此脚本会创建所有数据表、流和值流数据的备份,以便之后进行迁移。出于性能方面的原因,此脚本实际上不会在现有数据表、流和值流表中创建数据的备份副本,而是会将现有表从 "foo" 重命名为 "foo_backup"。由此可避免复制大量数据的过程,因为这一过程可能会比较耗时。对这些现有的表 (进而成为其自己的备份表) 进行重命名后,即会以原始名称创建新表。这些新表为空,并且与原始表具有相同的作用 (因为它们的名称与原始表相同)。 |
在不使用任何参数的情况下运行此脚本会输出其使用语句: Usage: update_bigint_timezone_data_postgres.ps1 -h <host> -p <port> -d <database> -s <schema> -u <user> [--managed_instance <name>] --from_timezone <timezone> --to_timezone <timezone> --chunk_size <chunk_size> ( --update_data_table | --update_stream | --update_value_stream ) [-y] Supported Options: -h host The host name of the machine on which the database is running. -p port The port on which the database server is listening for connections. -d database The name of the database to connect to. -s schema The name of the database schema to update. -u user Connect to the database as this user. --managed_instance name To be specified only when the database is deployed within a Managed Instance (e.g. Azure, etc). --system_version_override version Forces the upgrade to assume the database schema is currently of this version (i.e. "n.n.n"), rather than of the actual, persisted version. --from_timezone timezone The name of the timezone for all existing data. --to_timezone timezone The name of the timezone to which all existing data will be updated. --chunk_size chunk_size The number of records to update per transaction. Must be greater than 0. --update_data_table Update "data_table" information. Cannot be specified with any other "--update_..." flag. --update_stream Update "stream" information. Cannot be specified with any other "--update_..." flag. --update_value_stream Update "data_table" information. Cannot be specified with any other "--update_..." flag. -y Suppress all non-required prompts, such as "Are you sure?" |
• 根据上述使用声明,一次只能指定一个 "--update…" 选项。因此,要迁移所有数据表、流和值流数据,此脚本必须运行三次 (每个数据集一次)。由于这些数据集彼此独立,因此,一个数据集的迁移可以与另一个数据集的迁移并行完成。例如,如果打开三个单独的命令窗口,则可以在第一个窗口中运行数据表迁移、在第二个窗口中运行流迁移、在第三个窗口中运行值流迁移,三者同时进行。但是,请勿尝试使用多个进程来同时迁移某个数据集。例如,请勿尝试使用两个并发进程来迁移值流数据。此操作方式未经定义,将导致数据损坏。 • 对于典型环境,建议将 chunk_size 设为 10000。 • 由于可以在完成所有数据迁移之前重新启动平台,因此数据迁移会按照从最新数据到最旧数据的顺序进行。这是预期行为,允许该数据的任何查询首先接收最相关的数据。 • 数据集大小对迁移所有数据所需的时间影响非常大。例如,如果要迁移的行数多达数十亿,则该数据的迁移可能需要几天时间才能完成。 |
在不使用任何参数的情况下运行此脚本会输出其使用语句: Usage: cleanup_bigint_timezone_data_update_postgres.ps1 -h <host> -p <port> -d <database> -s <schema> -u <user> [--managed_instance <name>] [-y] Supported Options: -h host The host name of the machine on which the database is running. -p port The port on which the database server is listening for connections. -d database The name of the database to connect to. -s schema The name of the database schema to update. -u user Connect to the database as this user. --managed_instance name To be specified only when the database is deployed within a Managed Instance (e.g. Azure, etc). -y Suppress all non-required prompts, such as "Are you sure?" |
尽管此脚本会对升级过程中创建的临时数据库对象执行一些清理操作,但此脚本并不会删除在上述步骤中创建的任何备份表,也不会修改这些备份表中的任何数据。此行为是有意而为之的,可确保数据不会遭到意外删除。如果要删除这些备份表,则必须手动将其删除。 |
在不使用任何参数的情况下运行此脚本会输出其使用语句: Usage: cleanup_update_postgres.ps1 -h <host> -p <port> -d <database> -s <schema> -u <user> [--managed_instance <name>] [-y] Supported Options: -h host The host name of the machine on which the database is running. -p port The port on which the database server is listening for connections. -d database The name of the database to connect to. -s schema The name of the database schema to update. -u user Connect to the database as this user. --managed_instance name To be specified only when the database is deployed within a Managed Instance (e.g. Azure, etc). -y Suppress all non-required prompts, such as "Are you sure?" |
以下所参考的全部脚本均位于 ThingWorx 软件下载的 update 文件夹中。 |
以下所参考的全部脚本都需要数据库访问权限。如果定义了 SQLCMDPASSWORD 环境变量,则脚本将使用其值作为数据库密码。否则,脚本将提示您输入数据库密码。有关详细信息,请参阅 MSSQL 官方文档。 |
在不使用任何参数的情况下运行此脚本会输出其使用语句: Usage: update_mssql.ps1 -h <host> -p <port> -d <database> -u <user> [--managed_instance <name>] ( --update_all | [--update_data] [--update_grants] [--update_model] [--update_property] ) [-y] Supported Options: -h host The host name of the machine on which the database is running. -p port The port on which the database server is listening for connections. -d database The name of the database to connect to. -u user Connect to the database as this user. --managed_instance name To be specified only when the database is deployed within a Managed Instance (e.g. Azure, etc). --system_version_override version Forces the upgrade to assume the database schema is currently of this version (i.e. "n.n.n"), rather than of the actual, persisted version. --update_all Update all information (i.e. Data, Model, Property, etc). Same as specifying all other "--update_..." flags. --update_data Update only Data information. Can be specified with any other "--update_..." flags, except "--update_all". --update_grants Update only Grants information. Can be specified with any other "--update_..." flags, except "--update_all". --update_model Update only Model information. Can be specified with any other "--update_..." flags, except "--update_all". --update_property Update only Property information. Can be specified with any other "--update_..." flags, except "--update_all". -y Suppress all non-required prompts, such as "Are you sure?" |
仅当从 ThingWorx 8.5 或 ThingWorx 9.0.0、9.0.1 或 9.0.2 升级到新的 ThingWorx 版本时,才需要运行 ThingWorx 时区脚本。ThingWorx 9.4.0 及更高版本不支持从 ThingWorx 8.5 或 ThingWorx 9.0.0、9.0.1 或 9.0.2 直接升级。相反,客户必须升级到中间 ThingWorx 版本,如 ThingWorx 9.3。从 ThingWorx 8.5 或 ThingWorx 9.0.0、9.0.1 或 9.0.2 升级到 ThingWorx 9.3.x 时,请运行以下脚本。ThingWorx 建议使用最新 ThingWorx 9.3.x 版本作为中间版本。 |
保留此列表以供日后参考。 |
"自" 和 "至" 时区名称可以相同。 |
在不使用任何参数的情况下运行此脚本会输出其使用语句: Usage: update_bigint_timezone_schema_mssql.ps1 -h <host> -p <port> -d <database> -u <user> [--managed_instance <name>] --from_timezone <timezone> --to_timezone <timezone> [-y] Supported Options: -h host The host name of the machine on which the database is running. -p port The port on which the database server is listening for connections. -d database The name of the database to connect to. -u user Connect to the database as this user. --managed_instance name To be specified only when the database is deployed within a Managed Instance (e.g. Azure, etc). --system_version_override version Forces the upgrade to assume the database schema is currently of this version (i.e. "n.n.n"), rather than of the actual, persisted version. --from_timezone timezone The name of the timezone for all existing data. --to_timezone timezone The name of the timezone to which all existing data will be updated. -y Suppress all non-required prompts, such as "Are you sure?"
|
在不使用任何参数的情况下运行此脚本会输出其使用语句: Usage: update_bigint_timezone_data_mssql.ps1 -h <host> -p <port> -d <database> -u <user> [--managed_instance <name>] --from_timezone <timezone> --to_timezone <timezone> --chunk_size <chunk_size> ( --update_data_table | --update_stream | --update_value_stream ) [-y] Supported Options: -h host The host name of the machine on which the database is running. -p port The port on which the database server is listening for connections. -d database The name of the database to connect to. -u user Connect to the database as this user. --managed_instance name To be specified only when the database is deployed within a Managed Instance (e.g. Azure, etc). --system_version_override version Forces the upgrade to assume the database schema is currently of this version (i.e. "n.n.n"), rather than of the actual, persisted version. --from_timezone timezone The name of the timezone for all existing data. --to_timezone timezone The name of the timezone to which all existing data will be updated. --chunk_size chunk_size The number of records to update per transaction. Must be greater than 0. --update_data_table Update "data_table" information. Cannot be specified with any other "--update_..." flag. --update_stream Update "stream" information. Cannot be specified with any other "--update_..." flag. --update_value_stream Update "data_table" information. Cannot be specified with any other "--update_..." flag. -y Suppress all non-required prompts, such as "Are you sure?" |
• 根据上述使用声明,一次只能指定一个 "--update…" 选项。因此,要迁移所有数据表、流和值流数据,此脚本必须运行三次 (每个数据集一次)。由于这些数据集彼此独立,因此,一个数据集的迁移可以与另一个数据集的迁移并行完成。例如,如果打开三个单独的命令窗口,则可以在第一个窗口中运行数据表迁移、在第二个窗口中运行流迁移、在第三个窗口中运行值流迁移,三者同时进行。但是,请勿尝试使用多个进程来同时迁移某个数据集。例如,请勿尝试使用两个并发进程来迁移值流数据。此操作方式未经定义,将导致数据损坏。 • 对于典型环境,建议将 chunk_size 设为 10000。 • 由于可以在完成所有数据迁移之前重新启动平台,因此数据迁移会按照从最新数据到最旧数据的顺序进行。这是预期行为,允许该数据的任何查询首先接收最相关的数据。 • 数据集大小对迁移所有数据所需的时间影响非常大。例如,如果要迁移的行数多达数十亿,则该数据的迁移可能需要几天时间才能完成。 |
在不使用任何参数的情况下运行此脚本会输出其使用语句: Usage: cleanup_bigint_timezone_data_update_mssql.ps1 -h <host> -p <port> -d <database> -u <user> [--managed_instance <name>] [-y] Supported Options: -h host The host name of the machine on which the database is running. -p port The port on which the database server is listening for connections. -d database The name of the database to connect to. -u user Connect to the database as this user. --managed_instance name To be specified only when the database is deployed within a Managed Instance (e.g. Azure, etc). -y Suppress all non-required prompts, such as "Are you sure?" |
尽管此脚本会对升级过程中创建的临时数据库对象执行一些清理操作,但此脚本并不会删除在上述步骤中创建的任何备份表,也不会修改这些备份表中的任何数据。此行为是有意而为之的,可确保数据不会遭到意外删除。如果要删除这些备份表,则必须手动将其删除。 |
在不使用任何参数的情况下运行此脚本会输出其使用语句: Usage: cleanup_update_mssql.ps1 -h <host> -p <port> -d <database> -s <schema> -u <user> [--managed_instance <name>] [-y] Supported Options: -h host The host name of the machine on which the database is running. -p port The port on which the database server is listening for connections. -d database The name of the database to connect to. -s schema The name of the database schema to connect to. -u user Connect to the database as this user. --managed_instance name To be specified only when the database is deployed within a Managed Instance (e.g. Azure, etc). -y Suppress all non-required prompts, such as "Are you sure?" |
以下所参考的全部脚本均位于 ThingWorx 软件下载的 update 文件夹中。 |
以下所参考的全部脚本都需要数据库访问权限。如果定义了 SQLCMDPASSWORD 环境变量,则脚本将使用其值作为数据库密码。否则,脚本将提示您输入数据库密码。有关详细信息,请参阅 MSSQL 官方文档。 |
在不使用任何参数的情况下运行此脚本会输出其使用语句: Usage: update_mssql.ps1 -h <host> -p <port> -d <database> -u <user> [--managed_instance <name>] ( --update_all | [--update_data] [--update_grants] [--update_model] [--update_property] ) [-y] Supported Options: -h host The host name of the machine on which the database is running. -p port The port on which the database server is listening for connections. -d database The name of the database to connect to. -u user Connect to the database as this user. --managed_instance name To be specified only when the database is deployed within a Managed Instance (e.g. Azure, etc). --system_version_override version Forces the upgrade to assume the database schema is currently of this version (i.e. "n.n.n"), rather than of the actual, persisted version. --update_all Update all information (i.e. Data, Model, Property, etc). Same as specifying all other "--update_..." flags. --update_data Update only Data information. Can be specified with any other "--update_..." flags, except "--update_all". --update_grants Update only Grants information. Can be specified with any other "--update_..." flags, except "--update_all". --update_model Update only Model information. Can be specified with any other "--update_..." flags, except "--update_all". --update_property Update only Property information. Can be specified with any other "--update_..." flags, except "--update_all". -y Suppress all non-required prompts, such as "Are you sure?" |
仅当从 ThingWorx 8.5 或 ThingWorx 9.0.0、9.0.1 或 9.0.2 升级到新的 ThingWorx 版本时,才需要运行 ThingWorx 时区脚本。ThingWorx 9.4.0 及更高版本不支持从 ThingWorx 8.5 或 ThingWorx 9.0.0、9.0.1 或 9.0.2 直接升级。相反,客户必须升级到中间 ThingWorx 版本,如 ThingWorx 9.3。从 ThingWorx 8.5 或 ThingWorx 9.0.0、9.0.1 或 9.0.2 升级到 ThingWorx 9.3.x 时,请运行以下脚本。ThingWorx 建议使用最新 ThingWorx 9.3.x 版本作为中间版本。 |
保留此列表以供日后参考。 |
"自" 和 "至" 时区名称可以相同。 |
在不使用任何参数的情况下运行此脚本会输出其使用语句: Usage: update_bigint_timezone_schema_mssql.ps1 -h <host> -p <port> -d <database> -u <user> [--managed_instance <name>] --from_timezone <timezone> --to_timezone <timezone> [-y] Supported Options: -h host The host name of the machine on which the database is running. -p port The port on which the database server is listening for connections. -d database The name of the database to connect to. -u user Connect to the database as this user. --managed_instance name To be specified only when the database is deployed within a Managed Instance (e.g. Azure, etc). --system_version_override version Forces the upgrade to assume the database schema is currently of this version (i.e. "n.n.n"), rather than of the actual, persisted version. --from_timezone timezone The name of the timezone for all existing data. --to_timezone timezone The name of the timezone to which all existing data will be updated. -y Suppress all non-required prompts, such as "Are you sure?"
|
在不使用任何参数的情况下运行此脚本会输出其使用语句: Usage: update_bigint_timezone_data_mssql.ps1 -h <host> -p <port> -d <database> -u <user> [--managed_instance <name>] --from_timezone <timezone> --to_timezone <timezone> --chunk_size <chunk_size> ( --update_data_table | --update_stream | --update_value_stream ) [-y] Supported Options: -h host The host name of the machine on which the database is running. -p port The port on which the database server is listening for connections. -d database The name of the database to connect to. -u user Connect to the database as this user. --managed_instance name To be specified only when the database is deployed within a Managed Instance (e.g. Azure, etc). --system_version_override version Forces the upgrade to assume the database schema is currently of this version (i.e. "n.n.n"), rather than of the actual, persisted version. --from_timezone timezone The name of the timezone for all existing data. --to_timezone timezone The name of the timezone to which all existing data will be updated. --chunk_size chunk_size The number of records to update per transaction. Must be greater than 0. --update_data_table Update "data_table" information. Cannot be specified with any other "--update_..." flag. --update_stream Update "stream" information. Cannot be specified with any other "--update_..." flag. --update_value_stream Update "data_table" information. Cannot be specified with any other "--update_..." flag. -y Suppress all non-required prompts, such as "Are you sure?" |
• 根据上述使用声明,一次只能指定一个 "--update…" 选项。因此,要迁移所有数据表、流和值流数据,此脚本必须运行三次 (每个数据集一次)。由于这些数据集彼此独立,因此,一个数据集的迁移可以与另一个数据集的迁移并行完成。例如,如果打开三个单独的命令窗口,则可以在第一个窗口中运行数据表迁移、在第二个窗口中运行流迁移、在第三个窗口中运行值流迁移,三者同时进行。但是,请勿尝试使用多个进程来同时迁移某个数据集。例如,请勿尝试使用两个并发进程来迁移值流数据。此操作方式未经定义,将导致数据损坏。 • 对于典型环境,建议将 chunk_size 设为 10000。 • 由于可以在完成所有数据迁移之前重新启动平台,因此数据迁移会按照从最新数据到最旧数据的顺序进行。这是预期行为,允许该数据的任何查询首先接收最相关的数据。 • 数据集大小对迁移所有数据所需的时间影响非常大。例如,如果要迁移的行数多达数十亿,则该数据的迁移可能需要几天时间才能完成。 |
在不使用任何参数的情况下运行此脚本会输出其使用语句: Usage: cleanup_bigint_timezone_data_update_mssql.ps1 -h <host> -p <port> -d <database> -u <user> [--managed_instance <name>] [-y] Supported Options: -h host The host name of the machine on which the database is running. -p port The port on which the database server is listening for connections. -d database The name of the database to connect to. -u user Connect to the database as this user. --managed_instance name To be specified only when the database is deployed within a Managed Instance (e.g. Azure, etc). -y Suppress all non-required prompts, such as "Are you sure?" |
尽管此脚本会对升级过程中创建的临时数据库对象执行一些清理操作,但此脚本并不会删除在上述步骤中创建的任何备份表,也不会修改这些备份表中的任何数据。此行为是有意而为之的,可确保数据不会遭到意外删除。如果要删除这些备份表,则必须手动将其删除。 |
在不使用任何参数的情况下运行此脚本会输出其使用语句: Usage: cleanup_update_mssql.ps1 -h <host> -p <port> -d <database> -s <schema> -u <user> [--managed_instance <name>] [-y] Supported Options: -h host The host name of the machine on which the database is running. -p port The port on which the database server is listening for connections. -d database The name of the database to connect to. -s schema The name of the database schema to connect to. -u user Connect to the database as this user. --managed_instance name To be specified only when the database is deployed within a Managed Instance (e.g. Azure, etc). -y Suppress all non-required prompts, such as "Are you sure?" |
Java 11 对于 ThingWorx 9.2.0 及更高版本而言必不可少。有关详细信息,请参阅系统要求。 |
如果正在执行的升级需要导出存储在 InfluxDB 中的数据,然后再导入到新版本 ThingWorx,请执行本部分所述步骤。有关确定是否需要执行导出-导入升级的信息,请参阅 B 部分。 |
应用程序日志错误 | 解决方案 |
---|---|
Error in copying permissions: Problems migrating database | 除 MSSQL 升级时会显示此迁移错误外,当存在任何已配置运行时权限且名称包含超过 256 个字符的已迁移服务、属性或事件名称时,也会显示此错误。要修复此错误,请将所有服务、属性和事件名称限制为 256 个字符以下。 |
[L: ERROR] [O: c.t.p.m.BaseReportingMigrator] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] Thing: <Name of Thing>, has a property which conflicts with one of the following system properties: isReporting,reportingLastChange,reportingLastEvaluation. Please refer to the ThingWorx Platform 8.4 documentation on how to resolve this problem. | 作为添加到 ThingWorx Platform 8.4 中的“事物状态”功能的一部分,以下属性之前已添加到可报告事物形态中,且用于对实现此形态的事物进行状态评估: • isReporting • reportingLastChange • reportingLastEvaluation 如果事物、事物模板或事物形态中已存在上述属性名称之一,则在启动此平台时,应用程序日志中将出现以下错误。要解决此问题,必须移除每个受影响实体中发生冲突的属性,并更新任何关联的实体 (例如“混搭”或“服务”) 以适应此更改。如果没有此更新,则关联的事物无法正确显示其报告状态,也无法进行更新/保存。正确更新这些实体后,系统会显示平台特定的报告属性,并将其用于评估设备是否已连接并实现通信。 |
[L: ERROR] [O: c.t.p.m.BaseReportingMigrator] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] ThingTempate: <Name of ThingTemplate>, has a property which conflicts with one of the following system properties: isReporting,reportingLastChange,reportingLastEvaluation. Please refer to the ThingWorx Platform 8.4 documentation on how to resolve this problem. | |
[L: ERROR] [O: c.t.p.m.BaseReportingMigrator] [I: ] [U: SuperUser] [S: ] [T: localhost-startStop-1] ThingShape: <Name of ThingShape>, has a property which conflicts with one of the following system properties: isReporting,reportingLastChange,reportingLastEvaluation. Please refer to the ThingWorx Platform 8.4 documentation on how to resolve this problem. |