アーティクル - CS373502

ThingWorx アップグレードの PowerShell からデータベース更新スクリプトを実行すると、MSSQL の場合は「update_mssql.ps1 はデジタル署名されていません」、PostgreSQL の場合は「update_postgresql.ps1 はデジタル署名されていません」という例外が発生します。

修正日: 31-Jul-2025   


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

適用対象

  • ThingWorx Platform 9.0 to 9.7

説明

  • Windows PowerShell でデータベース更新スクリプトを実行中に例外が発生する
update_mssql.ps1 is not digitally signed. You cannot run this script on the current system because running scripts is disabled on this system. For more information, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170
+ ./update_mssql.ps1 -h xxx -p xxxxx -d TW -u tw-xxx - ...
+ ~~~~~~~~~~~~~~~~~~
+ CategoryInfo : SecurityError: (:) [], PSSecurityException
+ FullyQualifiedErrorId : UnauthorizedAccess
  • Windows サーバーでの ThingWorx アップグレード中にデジタル署名のないスクリプトを実行できない
  • upgrade_postgresスクリプトを使用して ThingWorx から手動でアップグレードしようとすると、次のエラーが発生します。
D:\Software\MED-61111-CD-093_SP9_ThingWorx-Platform-Postgres-9-3-9\update\update_postgres.ps1 cannot be loaded. The file D:\Software\MED-61111-CD-093_SP9_Thingworx-Platform-Postgres-9-3-9\update\update_postgres.ps1 is not digitally signed. You cannot run this script on the current system. For more information about running scripts and setting execution policy, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170.
  • 実行ポリシーをバイパスに変更しても問題は解決しない
最新バージョンはこちらを参照ください CS373502