> For the complete documentation index, see [llms.txt](https://cimtops.gitbook.io/familysetupguide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cimtops.gitbook.io/familysetupguide/appudto/famirappudto.md).

# ファミリー製品アップデート手順

## 手順の概要

{% hint style="danger" %}
よって、想定のものと異なるファミリー製品の画面が例示されている場合がございます。現在導入中の対象製品に読み替えてご確認ください。
{% endhint %}

アップデートは大きく分けて以下の4つのステップで進行します。

### 1. 手順の概要

1. **Webサービスの停止**
   * IISマネージャーを使用して、対象のWebサービスを停止します。（IIS停止が難しい場合は下部参照）
2. **アップデーターの起動**
   * `i-RepoLinkUpdater.exe` を実行します。
3. **アップデーターの実行**
   * 必要なパラメータを入力し、更新処理を行います。
4. **Webサービスの開始**
   * IISマネージャーを使用して、停止したWebサービスを再開します。

{% hint style="success" %}
**IIS サービスを停止できない場合**

以下の手順にて 対象製品 の Web アプリケーションのみを停止してください。\
&#x20;

1. 状況により対象製品のフォルダ（例 \[C:\i-RepoWorkFlow]フォルダ）やPostgreSQL のバックアップを行ってください。
2. 任意の場所でテキストファイルを新規作成ください。
3. そのテキストファイルをApp\_Offline.htmと名称変更ください。（拡張子も変更）
4. &#x20;対象製品のWeb アプリケーションの物理パスのフォルダー（例 \[../i-RepoWorkFlow/api]および\[../i-RepoWorkFlow/client]）へ3で作成したhtmファイルを配置します。
5. App\_Offline.htmの配置により、WEBアプリケーションが停止します。（ダイアログなどは出ませんが、ログイン画面からログインしようとすると停止しているため失敗します）
   {% endhint %}

***

### 2. 詳細な設定項目 (アップデーター入力値)

ツール実行時に入力が必要なパラメータとそのデフォルト値（または推奨値）は以下の通りです。

| 項目                 | 内容・例                    | 備考                     |
| ------------------ | ----------------------- | ---------------------- |
| **install folder** | i-Repo Linkのインストールフォルダ  | 例: `C:\i-RepoLink`     |
| **host**           | PostgreSQLデータベースのIPアドレス | 同一サーバーの場合は `localhost` |
| **database**       | データベース名                 | 指定値: `irlkdb`          |
| **password**       | PostgreSQLのパスワード        | 初期値: `cimtops`         |
| **port**           | 接続ポート                   | 初期値: `5432`            |

***

### 3. 操作対象とファイル

#### 使用するファイル

* `i-RepoLinkUpdaterX.X.XXXXX.zip` (解凍して使用)
* `i-RepoLinkUpdater.exe`

#### 使用する管理ツール

* **インターネットインフォメーションサービス（IIS）マネージャー**

***

### 4. 完了確認

更新処理の最後に以下のポップアップが表示されれば完了です。

> **「正常にアップデートされました。」**


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://cimtops.gitbook.io/familysetupguide/appudto/famirappudto.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
