Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions installation/desktop/usage/instance-management.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,41 @@ The key difference between a **Tracked** (Add Existing Instance) installation an

> **Note:** Tracked installations use `launchMode: 'external'`. Comfy Desktop launches the existing ComfyUI process without managing it internally. Snapshots are currently supported for Standalone instances only.

## Launching, Stopping, and Restarting an Instance

[↩ Back to overview](#overview)

### Launching an Instance

Click an instance card in the Chooser to launch it. While ComfyUI starts, the window shows the startup progress, then the ComfyUI interface once the server is ready.

### Launching While Another Instance Is Running

When you launch a local instance while another local instance is running or starting, Comfy Desktop shows an **An instance is already running** dialog that lists the instances it would stop:

- **Close & Launch**: stops the listed instances, then launches the one you picked.
- **Run All**: launches the new instance alongside the running ones.

Dismiss the dialog to cancel the launch. Restarting an instance never shows this dialog. To stop seeing it, turn off **Warn before running multiple instances** in [Desktop Settings → Preferences](/installation/desktop/usage/settings#preferences).

### Stopping an Instance

Select **Stop** from the instance card's ⋮ menu. The ComfyUI server stops and the window stays open with a **ComfyUI is stopped** card. Select **Relaunch ComfyUI** to start the server again, or **Return to Dashboard** to go back to the Chooser.

### Restarting After a Crash

If ComfyUI fails to start or exits unexpectedly, the window stays open with a card describing what happened:

- **ComfyUI could not start**: the instance did not start.
- **ComfyUI exited unexpectedly**: the process stopped. When Comfy Desktop can read it, the card also shows the exit code, or the signal that ended the process.

On Windows, a crash can report a memory access violation and note that some Microsoft Visual C++ Redistributable files appear to be missing. Expand the card's logs for details, then select **Restart ComfyUI** to launch again, or **Back** to return to the dashboard.

If ComfyUI stops because it cannot open the asset database it keeps inside the installation, the error it stops with explains the reason instead of only reporting an exit code:

- **Another ComfyUI is using this installation's database**: close that ComfyUI (or the app that started it), or give one of them its own database location with the `--database-url` startup argument.
- **Any other database failure**, from one locked by another program to one written by a newer version of ComfyUI or impossible to create in that folder: the message names the file and the fix, and ends with the option to start the instance without the asset system, by adding `--disable-assets` to its startup arguments.

## Uninstalling an Instance

[↩ Back to overview](#overview)
Expand Down
38 changes: 37 additions & 1 deletion ja/installation/desktop/usage/instance-management.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ title: "インスタンス管理"
description: "Comfy Desktop で ComfyUI インスタンスの作成、編集、名前変更、削除を行う"
icon: "plus"
sidebarTitle: "インスタンス"
translationSourceHash: f55298e4
translationSourceHash: 7a1e6bee
translationFrom: installation/desktop/usage/instance-management.mdx
translationBlockHashes:
"_intro": 88d901c8
"Creating a New Instance": b161e6b2
"Tracking an Existing Installation": 488339c2
"Launching, Stopping, and Restarting an Instance": 95513898
"Uninstalling an Instance": 9196aa8c
"Copying an Installation": 6131deee
"Editing an Instance": cc4950f9
Expand Down Expand Up @@ -137,6 +138,41 @@ Comfy Desktop が残りの作業(Python のダウンロード、環境構築

> **注意:** 追跡インストールは `launchMode: 'external'` モードを使用します。Comfy Desktop は既存の ComfyUI プロセスを起動しますが、内部管理は行いません。現在スナップショットは Standalone インスタンスのみでサポートされています。

## インスタンスの起動・停止・再起動

[↩ 概要に戻る](#overview)

### インスタンスを起動する

Chooser でインスタンスのカードをクリックすると起動します。ComfyUI の起動中はウィンドウに起動の進行状況が表示され、サーバーの準備が整うと ComfyUI の画面に切り替わります。

### 別のインスタンスの実行中に起動する

ローカルインスタンスが実行中または起動中のときに別のローカルインスタンスを起動すると、Comfy Desktop は **An instance is already running** ダイアログを表示し、停止されるインスタンスを一覧で示します:

- **Close & Launch**:一覧のインスタンスを停止してから、選択したインスタンスを起動します。
- **Run All**:新しいインスタンスを、実行中のインスタンスと同時に起動します。

ダイアログを閉じると起動はキャンセルされます。インスタンスの再起動時にこのダイアログは表示されません。表示しないようにするには、[デスクトップ設定 → 環境設定](/ja/installation/desktop/usage/settings#環境設定)で **Warn before running multiple instances** をオフにします。

### インスタンスを停止する

インスタンスカードの三点メニューで **Stop** を選択します。ComfyUI サーバーが停止し、ウィンドウは開いたまま **ComfyUI is stopped** カードが表示されます。**Relaunch ComfyUI** でサーバーを再度起動するか、**Return to Dashboard** で Chooser に戻ります。

### クラッシュ後の再起動

ComfyUI が起動に失敗した場合や予期せず終了した場合、ウィンドウは開いたまま、状況を説明するカードが表示されます:

- **ComfyUI could not start**:インスタンスが起動しませんでした。
- **ComfyUI exited unexpectedly**:プロセスが終了しました。Comfy Desktop が読み取れる場合、カードには終了コードまたは終了シグナルも表示されます。

Windows では、クラッシュ時にメモリアクセス違反として報告され、Microsoft Visual C++ 再頒布可能パッケージの一部が不足している可能性が示されることがあります。カード内のログを展開して詳細を確認し、**Restart ComfyUI** で再度起動するか、**Back** でダッシュボードに戻ります。

ComfyUI がインストール内に保持しているアセットデータベースを開けずに停止した場合、停止時のエラーには終了コードだけでなく原因が示されます:

- **別の ComfyUI がこのインストールのデータベースを使用している場合**:その ComfyUI(またはそれを起動したアプリ)を終了するか、`--database-url` 起動引数でどちらか一方に専用のデータベース位置を指定します。
- **その他のデータベース障害**(別のプログラムによるロック、新しいバージョンの ComfyUI が書き込んだデータベース、そのフォルダーに作成できない場合):メッセージにデータベースのファイルと対処方法が示され、最後に起動引数へ `--disable-assets` を追加してアセットシステムなしで起動する選択肢が示されます。

## インスタンスのアンインストール

[↩ 概要に戻る](#overview)
Expand Down
38 changes: 37 additions & 1 deletion ko/installation/desktop/usage/instance-management.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ title: "인스턴스 관리"
description: "Comfy Desktop에서 ComfyUI 인스턴스를 생성, 편집, 이름 변경, 삭제합니다"
icon: "plus"
sidebarTitle: "인스턴스"
translationSourceHash: f55298e4
translationSourceHash: 7a1e6bee
translationFrom: installation/desktop/usage/instance-management.mdx
translationBlockHashes:
"_intro": 88d901c8
"Creating a New Instance": b161e6b2
"Tracking an Existing Installation": 488339c2
"Launching, Stopping, and Restarting an Instance": 95513898
"Uninstalling an Instance": 9196aa8c
"Copying an Installation": 6131deee
"Editing an Instance": cc4950f9
Expand Down Expand Up @@ -137,6 +138,41 @@ Comfy Desktop이 나머지 작업을 처리합니다: Python 다운로드, 환

> **참고:** 추적형 설치는 `launchMode: 'external'`을 사용합니다. Comfy Desktop이 기존 ComfyUI 프로세스를 내부 관리 없이 시작합니다. 현재 스냅샷은 독립형 인스턴스에서만 지원됩니다.

## 인스턴스 시작, 중지, 재시작하기

[↩ 개요로 돌아가기](#overview)

### 인스턴스 시작하기

Chooser에서 인스턴스 카드를 클릭하면 시작됩니다. ComfyUI가 시작되는 동안 창에 시작 진행 상황이 표시되고, 서버가 준비되면 ComfyUI 화면으로 전환됩니다.

### 다른 인스턴스가 실행 중일 때 시작하기

로컬 인스턴스가 실행 중이거나 시작 중일 때 다른 로컬 인스턴스를 시작하면, Comfy Desktop은 **An instance is already running** 대화상자를 표시하고 중지될 인스턴스를 나열합니다:

- **Close & Launch**: 나열된 인스턴스를 중지한 다음 선택한 인스턴스를 시작합니다.
- **Run All**: 새 인스턴스를 실행 중인 인스턴스와 함께 시작합니다.

대화상자를 닫으면 시작이 취소됩니다. 인스턴스를 재시작할 때는 이 대화상자가 표시되지 않습니다. 표시하지 않으려면 [데스크탑 설정 → 환경설정](/ko/installation/desktop/usage/settings#환경설정)에서 **Warn before running multiple instances**를 끄세요.

### 인스턴스 중지하기

인스턴스 카드의 세 점 메뉴에서 **Stop**을 선택합니다. ComfyUI 서버가 중지되고 창은 열린 상태로 **ComfyUI is stopped** 카드가 표시됩니다. **Relaunch ComfyUI**로 서버를 다시 시작하거나 **Return to Dashboard**로 Chooser로 돌아갑니다.

### 크래시 후 재시작

ComfyUI가 시작에 실패하거나 예기치 않게 종료되면, 창은 열린 상태로 상황을 설명하는 카드가 표시됩니다:

- **ComfyUI could not start**: 인스턴스가 시작되지 않았습니다.
- **ComfyUI exited unexpectedly**: 프로세스가 종료되었습니다. Comfy Desktop이 읽을 수 있으면 카드에 종료 코드 또는 종료 신호도 표시됩니다.

Windows에서는 크래시가 메모리 액세스 위반으로 보고되고 Microsoft Visual C++ 재배포 가능 패키지 일부가 누락된 것으로 표시될 수 있습니다. 카드의 로그를 펼쳐 자세히 확인한 다음 **Restart ComfyUI**로 다시 시작하거나 **Back**으로 대시보드로 돌아갑니다.

ComfyUI가 설치 폴더에 보관하는 에셋 데이터베이스를 열지 못해 중지되면, 중지 시점의 오류에 종료 코드만이 아니라 원인이 함께 표시됩니다:

- **다른 ComfyUI가 이 설치의 데이터베이스를 사용 중인 경우**: 그 ComfyUI(또는 이를 실행한 앱)를 종료하거나 `--database-url` 시작 인수로 둘 중 하나에 별도의 데이터베이스 위치를 지정합니다.
- **그 밖의 데이터베이스 오류**(다른 프로그램의 잠금, 더 새로운 버전의 ComfyUI가 기록한 데이터베이스, 해당 폴더에 만들 수 없는 경우): 메시지에 데이터베이스 파일과 해결 방법이 나오고, 마지막에 시작 인수에 `--disable-assets`를 추가해 에셋 시스템 없이 시작하는 선택지가 제시됩니다.

## 인스턴스 제거하기

[↩ 개요로 돌아가기](#overview)
Expand Down
38 changes: 37 additions & 1 deletion zh/installation/desktop/usage/instance-management.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ title: "实例管理"
description: "在 Comfy Desktop 中创建、编辑、重命名和删除 ComfyUI 实例"
icon: "plus"
sidebarTitle: "实例"
translationSourceHash: f55298e4
translationSourceHash: 7a1e6bee
translationFrom: installation/desktop/usage/instance-management.mdx
translationBlockHashes:
"_intro": 88d901c8
"Creating a New Instance": b161e6b2
"Tracking an Existing Installation": 488339c2
"Launching, Stopping, and Restarting an Instance": 95513898
"Uninstalling an Instance": 9196aa8c
"Copying an Installation": 6131deee
"Editing an Instance": cc4950f9
Expand Down Expand Up @@ -137,6 +138,41 @@ Comfy Desktop 将接管后续操作:下载 Python、搭建环境、安装 Comf

> **注意:** 追踪安装使用 `launchMode: 'external'`。Comfy Desktop 启动现有的 ComfyUI 进程,但不进行内部管理。目前仅 Standalone 实例支持快照功能。

## 启动、停止与重启实例

[↩ 返回总览](#overview)

### 启动实例

在 Chooser 中点击实例卡片即可启动。ComfyUI 启动期间,窗口会显示启动进度,服务器就绪后随即显示 ComfyUI 界面。

### 在其他实例运行时启动

当已有本地实例正在运行或启动时,再启动另一个本地实例,Comfy Desktop 会弹出 **已有实例正在运行** 对话框,并列出将被停止的实例:

- **关闭并启动**:先停止列出的实例,再启动你选择的实例。
- **全部运行**:让新实例与正在运行的实例同时运行。

关闭该对话框即取消启动。重启实例时不会出现此对话框。如果不想再看到它,请在[桌面版设置 → 偏好设置](/zh/installation/desktop/usage/settings#偏好设置)中关闭 **运行多个实例前发出警告**。

### 停止实例

在实例卡片的三点菜单(⋮)中选择 **停止**。ComfyUI 服务器停止后,窗口会保持打开并显示 **ComfyUI 已停止** 卡片。选择 **重新启动 ComfyUI** 可再次启动服务器,或选择 **返回仪表板** 回到 Chooser。

### 崩溃后重启

如果 ComfyUI 无法启动或意外退出,窗口会保持打开,并显示说明原因的卡片:

- **ComfyUI 无法启动**:实例未能启动。
- **ComfyUI 意外退出**:进程已停止。Comfy Desktop 能读取到信息时,卡片还会显示退出代码或终止进程的信号。

在 Windows 上,崩溃可能报告内存访问冲突,并提示部分 Microsoft Visual C++ Redistributable 文件似乎缺失。展开卡片中的日志查看详情,然后选择 **重启 ComfyUI** 再次启动,或选择 **返回** 回到仪表板。

如果 ComfyUI 因为无法打开安装目录内的资产数据库而停止,它停止时给出的错误会说明原因,而不只是报告退出代码:

- **另一个 ComfyUI 正在使用此安装的数据库**:关闭那个 ComfyUI(或启动它的应用),或用 `--database-url` 启动参数为其中之一指定单独的数据库位置。
- **其他数据库故障**,包括被其他程序锁定、由更新版本的 ComfyUI 写入、无法在该文件夹中创建:消息会给出数据库文件与处理办法,并在结尾提示可以选择不使用资产系统启动该实例:把 `--disable-assets` 加入它的启动参数。

## 卸载实例

[↩ 返回总览](#overview)
Expand Down
Loading