Skip to content

Commit bccaf89

Browse files
canyugsclaude
andcommitted
Update template: add troubleshooting, setup tips, fix startup order
- Add troubleshooting section: check private hostname in Networking tab - Add troubleshooting tip: service may be suspended if pairing takes too long - Add setup step: copy Gateway Token from Instructions tab before deploying - Clarify Gateway Host with example in readme setup steps - Fix startup script: mkdir before creating openclaw wrapper - Fix YAML syntax error in id-ID description (unquoted colon) - Rename template file with Zeabur template ID Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 386b4e8 commit bccaf89

1 file changed

Lines changed: 58 additions & 28 deletions

File tree

zeabur-template-openclaw-devbox.yaml renamed to zeabur-template-openclaw-devbox-ZBVZNH.yaml

Lines changed: 58 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,11 @@ spec:
4242
- `cargo install` → `~/.cargo/`
4343
4444
## Setup
45-
1. Deploy this template to the **same Zeabur project** as your OpenClaw instance
46-
2. Enter the **Gateway Token** and **Gateway Host** (the Zeabur service name of your OpenClaw instance)
47-
3. The devbox node will connect to OpenClaw and send a pairing request
48-
4. Approve the pairing request in your OpenClaw service terminal:
45+
1. Copy the **Gateway Token** from your OpenClaw service's **Instructions** tab before deploying, so you can paste it easily during setup
46+
2. Deploy this template to the **same Zeabur project** as your OpenClaw instance
47+
3. Enter the **Gateway Token** and **Gateway Host** (the Zeabur service name of your OpenClaw instance, e.g. if the service is named `openclaw`, enter `openclaw`)
48+
4. The devbox node will connect to OpenClaw and send a pairing request
49+
5. Approve the pairing request in your OpenClaw service terminal:
4950
```
5051
openclaw devices list # find the pending request ID
5152
openclaw devices approve <requestId>
@@ -65,6 +66,10 @@ spec:
6566
- `exec.security` is set to `full` — no interactive approval needed for command execution
6667
- System runtimes are baked into the image; user packages live on the persistent volume
6768
69+
## Troubleshooting
70+
- If you have entered the **Gateway Host** but don't see a pending pairing request in `openclaw devices list`, the service name might be incorrect. Go to the **Networking** tab of your OpenClaw service in the Zeabur dashboard and check the private hostname. For example, if the private hostname is `openclaw.zeabur.internal`, then the Gateway Host should be `openclaw` (the part before `.zeabur.internal`).
71+
- If the devbox service has not successfully paired for a long time, Zeabur may automatically suspend it. Make sure the devbox service is **running** before attempting to pair.
72+
6873
services:
6974
- name: openclaw-devbox
7075
icon: https://raw.githubusercontent.com/openclaw/openclaw/main/docs/assets/pixel-lobster.svg
@@ -105,15 +110,15 @@ spec:
105110
chmod 600 "$CONFIG_FILE"
106111
fi
107112
113+
# Ensure user-level directories exist on persistent volume
114+
mkdir -p "$HOME/.local/bin"
115+
108116
# Create openclaw CLI wrapper
109117
cat > "$HOME/.local/bin/openclaw" << 'WRAPPER'
110118
#!/bin/sh
111119
exec node /app/dist/index.js "$@"
112120
WRAPPER
113121
chmod +x "$HOME/.local/bin/openclaw"
114-
115-
# Ensure user-level directories exist on persistent volume
116-
mkdir -p "$HOME/.local/bin"
117122
mkdir -p "$HOME/.npm-global"
118123
mkdir -p "$HOME/go/bin"
119124
mkdir -p "$HOME/.cargo/bin"
@@ -191,10 +196,11 @@ localization:
191196
- `cargo install` → `~/.cargo/`
192197
193198
## 設定步驟
194-
1. 將此模板部署到與您的 OpenClaw 實例**相同的 Zeabur 專案**
195-
2. 輸入 **Gateway Token** 和 **Gateway Host**(您的 OpenClaw 實例的 Zeabur 服務名稱)
196-
3. devbox 節點將連線至 OpenClaw 並發送配對請求
197-
4. 在您的 OpenClaw 服務終端中批准配對請求:
199+
1. 部署前,先從 OpenClaw 服務的**使用說明**分頁中複製 **Gateway Token**,方便後續輸入
200+
2. 將此模板部署到與您的 OpenClaw 實例**相同的 Zeabur 專案**
201+
3. 輸入 **Gateway Token** 和 **Gateway Host**(您的 OpenClaw 實例的 Zeabur 服務名稱,例如服務名稱為 `openclaw`,則填入 `openclaw`)
202+
4. devbox 節點將連線至 OpenClaw 並發送配對請求
203+
5. 在您的 OpenClaw 服務終端中批准配對請求:
198204
```
199205
openclaw devices list # 找到待處理的請求 ID
200206
openclaw devices approve <requestId>
@@ -214,6 +220,10 @@ localization:
214220
- `exec.security` 設為 `full` — 執行指令時無需互動式批准
215221
- 系統執行環境內建於映像檔中;使用者套件儲存在持久化磁碟上
216222
223+
## 疑難排解
224+
- 如果已輸入 **Gateway Host** 但在 `openclaw devices list` 中看不到等待配對的請求,可能是服務名稱填寫錯誤。請前往 Zeabur 控制台中 OpenClaw 服務的**網路**分頁,查看內網名稱。例如內網名稱為 `openclaw.zeabur.internal`,則 Gateway Host 應填入 `openclaw`(`.zeabur.internal` 前面的部分)。
225+
- 如果 devbox 服務長時間未成功配對,Zeabur 可能會自動暫停該服務。請在嘗試配對前確認 devbox 服務處於**執行中**狀態。
226+
217227
zh-CN:
218228
description: OpenClaw devbox 是 OpenClaw 的远程执行节点,预装多种编程语言与开发工具(Python、Go、Rust、gcc、git、jq)。用户安装的包通过持久化磁盘保留。
219229
variables:
@@ -244,10 +254,11 @@ localization:
244254
- `cargo install` → `~/.cargo/`
245255
246256
## 设置步骤
247-
1. 将此模板部署到与您的 OpenClaw 实例**相同的 Zeabur 项目**
248-
2. 输入 **Gateway Token** 和 **Gateway Host**(您的 OpenClaw 实例的 Zeabur 服务名称)
249-
3. devbox 节点将连接至 OpenClaw 并发送配对请求
250-
4. 在您的 OpenClaw 服务终端中批准配对请求:
257+
1. 部署前,先从 OpenClaw 服务的**操作说明**标签页中复制 **Gateway Token**,方便后续输入
258+
2. 将此模板部署到与您的 OpenClaw 实例**相同的 Zeabur 项目**
259+
3. 输入 **Gateway Token** 和 **Gateway Host**(您的 OpenClaw 实例的 Zeabur 服务名称,例如服务名称为 `openclaw`,则填入 `openclaw`)
260+
4. devbox 节点将连接至 OpenClaw 并发送配对请求
261+
5. 在您的 OpenClaw 服务终端中批准配对请求:
251262
```
252263
openclaw devices list # 找到待处理的请求 ID
253264
openclaw devices approve <requestId>
@@ -267,6 +278,10 @@ localization:
267278
- `exec.security` 设为 `full` — 执行命令时无需交互式批准
268279
- 系统运行环境内置于镜像中;用户包存储在持久化磁盘上
269280
281+
## 疑难排解
282+
- 如果已输入 **Gateway Host** 但在 `openclaw devices list` 中看不到等待配对的请求,可能是服务名称填写错误。请前往 Zeabur 控制台中 OpenClaw 服务的**网络**标签页,查看内网名称。例如内网名称为 `openclaw.zeabur.internal`,则 Gateway Host 应填入 `openclaw`(`.zeabur.internal` 前面的部分)。
283+
- 如果 devbox 服务长时间未成功配对,Zeabur 可能会自动暂停该服务。请在尝试配对前确认 devbox 服务处于**运行中**状态。
284+
270285
ja-JP:
271286
description: OpenClaw devbox は OpenClaw のリモート実行ノードで、プログラミング言語と開発ツール(Python、Go、Rust、gcc、git、jq)がプリインストールされています。ユーザーがインストールしたパッケージは永続ボリュームにより保持されます。
272287
variables:
@@ -297,10 +312,11 @@ localization:
297312
- `cargo install` → `~/.cargo/`
298313
299314
## セットアップ
300-
1. このテンプレートを OpenClaw インスタンスと**同じ Zeabur プロジェクト**にデプロイします
301-
2. **Gateway Token** と **Gateway Host**(OpenClaw インスタンスの Zeabur サービス名)を入力します
302-
3. devbox ノードが OpenClaw に接続し、ペアリングリクエストを送信します
303-
4. OpenClaw サービスターミナルでペアリングリクエストを承認します:
315+
1. デプロイ前に、OpenClaw サービスの**指示**タブから **Gateway Token** をコピーしておくと、入力がスムーズです
316+
2. このテンプレートを OpenClaw インスタンスと**同じ Zeabur プロジェクト**にデプロイします
317+
3. **Gateway Token** と **Gateway Host**(OpenClaw インスタンスの Zeabur サービス名、例えばサービス名が `openclaw` の場合は `openclaw` と入力)を入力します
318+
4. devbox ノードが OpenClaw に接続し、ペアリングリクエストを送信します
319+
5. OpenClaw サービスターミナルでペアリングリクエストを承認します:
304320
```
305321
openclaw devices list # 保留中のリクエスト ID を確認
306322
openclaw devices approve <requestId>
@@ -320,6 +336,10 @@ localization:
320336
- `exec.security` は `full` に設定 — コマンド実行時にインタラクティブな承認は不要
321337
- システムランタイムはイメージに組み込み済み;ユーザーパッケージは永続ボリュームに保存
322338
339+
## トラブルシューティング
340+
- **Gateway Host** を入力しても `openclaw devices list` にペアリングリクエストが表示されない場合、サービス名が正しくない可能性があります。Zeabur ダッシュボードで OpenClaw サービスの**ネットワーク**タブを開き、プライベートホスト名を確認してください。例えばプライベートホスト名が `openclaw.zeabur.internal` の場合、Gateway Host には `openclaw`(`.zeabur.internal` の前の部分)を入力してください。
341+
- devbox サービスが長時間ペアリングに成功しない場合、Zeabur が自動的にサービスを一時停止することがあります。ペアリングを試みる前に、devbox サービスが**実行中**であることを確認してください。
342+
323343
es-ES:
324344
description: OpenClaw devbox es un nodo de ejecución remota para OpenClaw con lenguajes de programación y herramientas de desarrollo preinstalados (Python, Go, Rust, gcc, git, jq). Los paquetes instalados por el usuario se conservan mediante un volumen persistente.
325345
variables:
@@ -350,10 +370,11 @@ localization:
350370
- `cargo install` → `~/.cargo/`
351371
352372
## Configuración
353-
1. Despliegue esta plantilla en el **mismo proyecto Zeabur** que su instancia de OpenClaw
354-
2. Ingrese el **Gateway Token** y el **Gateway Host** (el nombre del servicio Zeabur de su instancia de OpenClaw)
355-
3. El nodo devbox se conectará a OpenClaw y enviará una solicitud de emparejamiento
356-
4. Apruebe la solicitud de emparejamiento en la terminal de su servicio OpenClaw:
373+
1. Antes de desplegar, copie el **Gateway Token** de la pestaña **Instrucciones** de su servicio OpenClaw para facilitar la entrada
374+
2. Despliegue esta plantilla en el **mismo proyecto Zeabur** que su instancia de OpenClaw
375+
3. Ingrese el **Gateway Token** y el **Gateway Host** (el nombre del servicio Zeabur de su instancia de OpenClaw, por ejemplo, si el servicio se llama `openclaw`, ingrese `openclaw`)
376+
4. El nodo devbox se conectará a OpenClaw y enviará una solicitud de emparejamiento
377+
5. Apruebe la solicitud de emparejamiento en la terminal de su servicio OpenClaw:
357378
```
358379
openclaw devices list # encontrar el ID de solicitud pendiente
359380
openclaw devices approve <requestId>
@@ -373,6 +394,10 @@ localization:
373394
- `exec.security` está configurado como `full` — no se necesita aprobación interactiva para la ejecución de comandos
374395
- Los entornos de ejecución del sistema están integrados en la imagen; los paquetes del usuario residen en el volumen persistente
375396
397+
## Solución de problemas
398+
- Si ha ingresado el **Gateway Host** pero no ve una solicitud de emparejamiento pendiente en `openclaw devices list`, es posible que el nombre del servicio sea incorrecto. Vaya a la pestaña **Red** del servicio OpenClaw en el panel de Zeabur y verifique el hostname privado. Por ejemplo, si el hostname privado es `openclaw.zeabur.internal`, entonces el Gateway Host debe ser `openclaw` (la parte antes de `.zeabur.internal`).
399+
- Si el servicio devbox no ha logrado emparejarse durante mucho tiempo, Zeabur puede suspenderlo automáticamente. Asegúrese de que el servicio devbox esté **en ejecución** antes de intentar el emparejamiento.
400+
376401
id-ID:
377402
description: OpenClaw devbox adalah node eksekusi jarak jauh untuk OpenClaw dengan bahasa pemrograman dan alat pengembangan yang sudah terinstal (Python, Go, Rust, gcc, git, jq). Paket yang diinstal pengguna disimpan melalui volume persisten.
378403
variables:
@@ -381,7 +406,7 @@ localization:
381406
description: Token autentikasi Gateway dari instans OpenClaw Anda
382407
- key: GATEWAY_HOST
383408
name: Host Gateway
384-
description: Nama layanan Zeabur dari instans OpenClaw Anda (digunakan sebagai hostname internal, contoh: "openclaw")
409+
description: "Nama layanan Zeabur dari instans OpenClaw Anda (digunakan sebagai hostname internal, contoh: openclaw)"
385410
readme: |
386411
# OpenClaw devbox 🦞
387412
@@ -403,10 +428,11 @@ localization:
403428
- `cargo install` → `~/.cargo/`
404429
405430
## Pengaturan
406-
1. Deploy template ini ke **proyek Zeabur yang sama** dengan instans OpenClaw Anda
407-
2. Masukkan **Gateway Token** dan **Gateway Host** (nama layanan Zeabur dari instans OpenClaw Anda)
408-
3. Node devbox akan terhubung ke OpenClaw dan mengirim permintaan pairing
409-
4. Setujui permintaan pairing di terminal layanan OpenClaw Anda:
431+
1. Sebelum deploy, salin **Gateway Token** dari tab **Instruksi** layanan OpenClaw Anda agar mudah dimasukkan nanti
432+
2. Deploy template ini ke **proyek Zeabur yang sama** dengan instans OpenClaw Anda
433+
3. Masukkan **Gateway Token** dan **Gateway Host** (nama layanan Zeabur dari instans OpenClaw Anda, misalnya jika layanan bernama `openclaw`, masukkan `openclaw`)
434+
4. Node devbox akan terhubung ke OpenClaw dan mengirim permintaan pairing
435+
5. Setujui permintaan pairing di terminal layanan OpenClaw Anda:
410436
```
411437
openclaw devices list # temukan ID permintaan yang tertunda
412438
openclaw devices approve <requestId>
@@ -425,3 +451,7 @@ localization:
425451
- Tidak ada port yang terbuka — devbox memulai koneksi WebSocket keluar ke gateway OpenClaw
426452
- `exec.security` diatur ke `full` — tidak perlu persetujuan interaktif untuk eksekusi perintah
427453
- Runtime sistem sudah terpasang di dalam image; paket pengguna disimpan di volume persisten
454+
455+
## Pemecahan Masalah
456+
- Jika Anda sudah memasukkan **Gateway Host** tetapi tidak melihat permintaan pairing yang tertunda di `openclaw devices list`, kemungkinan nama layanan salah. Buka tab **Jaringan** pada layanan OpenClaw di dashboard Zeabur dan periksa hostname privat. Misalnya, jika hostname privat adalah `openclaw.zeabur.internal`, maka Gateway Host harus diisi `openclaw` (bagian sebelum `.zeabur.internal`).
457+
- Jika layanan devbox tidak berhasil pairing dalam waktu lama, Zeabur dapat menangguhkannya secara otomatis. Pastikan layanan devbox dalam status **berjalan** sebelum mencoba pairing.

0 commit comments

Comments
 (0)