|
從 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 伺服器時區部份,如所述。
|
ThingWorx 9.1 僅在 RHEL 8.2 上受支援。 |
在目前使用者擁有寫入權限的資料夾中下載並解壓縮 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 (ThingWorx 8.5.x 或 9.0.x) 升級至 InfluxDB 1.8.x (ThingWorx 9.1.x 或 9.2.x),請遵循下列步驟。 |
欲保留現有安裝中的 SSO 組態,請在完成升級後將 SSOSecurityContextFilter 參數新增至重新建立的 web.xml 檔案。 |
validation.properties 檔案會在啟動 ThingWorx 時建立。如果您要保留所做的任何變更,請將檔案儲存在 ThingworxStorage 目錄外,然後繼續移除 esapi 目錄。在啟動時,ThingWorx 會重新建立該檔案,而且您可以將自訂 regex 新增回自動產生的 validation.properties 檔案中。 如需其他資訊,請參考此主題。 |
以下所參考的所有指令集位於 ThingWorx 軟體下載的 update 資料夾內。 |
以下參考的所有指令集都需要資料庫存取權。如果定義了 PGPASSWORD 環境變數,則指令集將使用其值作為資料庫密碼。否則,指令集將會提示您輸入資料庫密碼。如需詳細資訊,請參閱 Postgres 官方文件集。 |
執行此指令集而不使用引數會列印其使用陳述式: update_postgres.sh -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.sh -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.sh -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.sh -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.sh -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.sh -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.sh -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.sh -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.sh -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.sh -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.sh -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.sh -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.sh -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.sh -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.sh -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 9.2.0 及更新版本需要 Java 11。如需詳細資訊,請參閱 系統需求。 |
如果要執行升級并匯出儲存在 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 平台 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. |