From 287198b83f411fdc7ce397d76a478371b2a06c83 Mon Sep 17 00:00:00 2001 From: Darren <27513732@qq.com> Date: Sat, 4 Jan 2025 11:11:30 +0800 Subject: [PATCH] add one tb --- docs/admin/troubleshoot/faq.md | 6 ++++++ .../current/admin/troubleshoot/faq.md | 3 +++ 2 files changed, 9 insertions(+) diff --git a/docs/admin/troubleshoot/faq.md b/docs/admin/troubleshoot/faq.md index 704e31a3..0c6e72b7 100755 --- a/docs/admin/troubleshoot/faq.md +++ b/docs/admin/troubleshoot/faq.md @@ -80,6 +80,12 @@ docker exec -it websoft9-apphub cat /websoft9/apphub/logs/apphub_error.log 如果错误日志是 Unit docker.socket entered failed state,表明系统缺少 docker 用户组,运行 `groupadd docker` 增加用户组 +#### 创建应用报错 `data.forward_port should be >= 1`? + +问题现象:重建应用时报错 `data.forward_port should be >= 1`,但应用重建时成功的 +问题原因:重建应用时可能删除 .env 文件中的 `W9_URL` 和 `W9_HTTP_PORT` 环境变量,导致重建应用时尝试更新 Websoft9 网关 +解决方案:如果应用不需要发布,可以删除应用在 Websoft9 网关中对应的记录 + ## 应用问题 #### 访问应用出现 502 错误?{#nginx502} diff --git a/i18n/en/docusaurus-plugin-content-docs/current/admin/troubleshoot/faq.md b/i18n/en/docusaurus-plugin-content-docs/current/admin/troubleshoot/faq.md index 8d6a533d..5ebeb060 100755 --- a/i18n/en/docusaurus-plugin-content-docs/current/admin/troubleshoot/faq.md +++ b/i18n/en/docusaurus-plugin-content-docs/current/admin/troubleshoot/faq.md @@ -89,6 +89,9 @@ Running `netstat -tunlp` to check which process is using port 9000, then free th Running `systemctl status docker` and `journalctl -xe` to check error logs +### Recreate App error: data.forward_port should be >= 1 + +The reason is that you have delete `W9_URL` and `W9_HTTP_PORT` that exist `.env`, if don't need to publish your App, you should delete Proxy related one record at **Websoft9 Gateway** ## Applications