automation-suite
2024.10
true
重要 :
このコンテンツの一部は機械翻訳によって処理されており、完全な翻訳を保証するものではありません。 新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。
UiPath logo, featuring letters U and I in white

Linux の Automation Suite のインストール ガイド

最終更新日時 2025年5月22日

手順 2: 復元した製品データベースのスキーマを更新する

このセクションでは、Docker または Podman を使用して Identity および Orchestrator データベースを復元および更新するプロセスについて説明します。スキーマの更新の実行に使用するイメージを特定するには、「 移行の相互運用性マトリクス」をご覧ください。
  1. 復元した Identity データベースの接続文字列を取得し、 ファイルに保存します (例: cs.txt)。コンテナーで使用されるファイル (chmod 666 cs.txt) に対する十分な権限を付与します。
  2. Identity データベース移行ツールを実行して、復元した Identity データベースのスキーマを更新します。これを行うには、Docker または Podman を使用します。
    <podman/docker> run -v <absolute-path-to-cs.txt>:/uipath/secrets/cs.txt <docker-registry>/identity-service-datamigrator:<datamigrator-image-version> /app/UiPath.DataMigrator.Cli.dll install --connectionStringFile /uipath/secrets/cs.txt<podman/docker> run -v <absolute-path-to-cs.txt>:/uipath/secrets/cs.txt <docker-registry>/identity-service-datamigrator:<datamigrator-image-version> /app/UiPath.DataMigrator.Cli.dll install --connectionStringFile /uipath/secrets/cs.txt
    コマンドが [ERR] File '/uipath/secrets/cs.txt' doesn't exist.で失敗する場合は、SELinux のセキュリティ機能が原因である可能性があります。これは、この機能が有効になっている Linux ディストリビューションを使用している場合に発生する可能性があります。この場合、次のコマンドを使用する必要があります。
    <podman/docker> run -v <absolute-path-to-cs.txt>:/uipath/secrets/cs.txt:z  <docker-registry>/identity-service-datamigrator:<datamigrator-image-version>  /app/UiPath.DataMigrator.Cli.dll install --connectionStringFile /uipath/secrets/cs.txt<podman/docker> run -v <absolute-path-to-cs.txt>:/uipath/secrets/cs.txt:z  <docker-registry>/identity-service-datamigrator:<datamigrator-image-version>  /app/UiPath.DataMigrator.Cli.dll install --connectionStringFile /uipath/secrets/cs.txt
    例:
    root@migration-test:~/migration# podman run -v /root/migration/cs.txt:/uipath/secrets/cs.txt  sfbrdevhelmweacr.azurecr.io/identity-service-datamigrator:25.1.22-alpha-k8.19 /app/UiPath.DataMigrator.Cli.dll install --connectionStringFile /uipath/secrets/cs.txt
    [07:29:27 INF] Initializing database connection string from file /uipath/secrets/cs.txt
    [07:29:39 INF] Skip adding data masking for non-cloud deploymentroot@migration-test:~/migration# podman run -v /root/migration/cs.txt:/uipath/secrets/cs.txt  sfbrdevhelmweacr.azurecr.io/identity-service-datamigrator:25.1.22-alpha-k8.19 /app/UiPath.DataMigrator.Cli.dll install --connectionStringFile /uipath/secrets/cs.txt
    [07:29:27 INF] Initializing database connection string from file /uipath/secrets/cs.txt
    [07:29:39 INF] Skip adding data masking for non-cloud deployment
  3. 復元した Orchestrator データベースの接続文字列を取得し、 .json 形式で保存します。たとえば、 app-secrets.jsonin 形式です。
    { "AppSettings": {}, "ConnectionStrings": {"Default":"<connection-string>"} }{ "AppSettings": {}, "ConnectionStrings": {"Default":"<connection-string>"} }
  4. Orchestrator データベース移行ツールを実行して、復元した Orchestrator データベースのスキーマを更新します。これを行うには、Docker または Podman を使用します。
    <podman/docker> run -v <absolute-path-to-app-secrets.json>:/config/app-secrets/values.json <docker-registry>/orchestrator/orchestrator-tools-sf:<orchestrator-migrator-version> ./UiPath.Orchestrator.Cli.dll database upgrade-database --database-type Default --configuration-path ./UiPath.Orchestrator.dll.config --configPaths /config/app-secrets/values.json --verbose<podman/docker> run -v <absolute-path-to-app-secrets.json>:/config/app-secrets/values.json <docker-registry>/orchestrator/orchestrator-tools-sf:<orchestrator-migrator-version> ./UiPath.Orchestrator.Cli.dll database upgrade-database --database-type Default --configuration-path ./UiPath.Orchestrator.dll.config --configPaths /config/app-secrets/values.json --verbose
    例:
    root@migration-test:~/migration# podman run -v /root/migration/app-secrets.json:/config/app-secrets/values.json sfbrdevhelmweacr.azurecr.io/orchestrator/orchestrator-tools-sf:24.10.2 ./UiPath.Orchestrator.Cli.dll database upgrade-database --database-type Default --configuration-path ./UiPath.Orchestrator.dll.config --configPaths /config/app-secrets/values.json --verboseroot@migration-test:~/migration# podman run -v /root/migration/app-secrets.json:/config/app-secrets/values.json sfbrdevhelmweacr.azurecr.io/orchestrator/orchestrator-tools-sf:24.10.2 ./UiPath.Orchestrator.Cli.dll database upgrade-database --database-type Default --configuration-path ./UiPath.Orchestrator.dll.config --configPaths /config/app-secrets/values.json --verbose

このページは役に立ちましたか?

サポートを受ける
RPA について学ぶ - オートメーション コース
UiPath コミュニティ フォーラム
Uipath Logo White
信頼とセキュリティ
© 2005-2025 UiPath. All rights reserved.