Skip to content

Commit 203be5d

Browse files
authored
📝 Document Updated: Installation Process Optimized
📝 Document Updated: Installation Process Optimized
2 parents 3f52f8e + f21f966 commit 203be5d

File tree

2 files changed

+47
-3
lines changed

2 files changed

+47
-3
lines changed

doc/docs/en/quick-start/installation.md

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,35 @@ After executing this command, the system will provide two different versions for
4444
- **Terminal Tool**: Enables openssh-server for AI agent shell command execution
4545
- **Regional optimization**: Mainland China users can use optimized image sources
4646

47-
>⚠️ **Important Note**: When deploying v1.8.0 or later for the first time, please pay special attention to the `suadmin` super administrator account information output in the Docker logs. This account has the highest system privileges, and the password is only displayed upon first generation. It cannot be viewed again later, so please be sure to save it securely.
47+
### ⚠️ Important Notes
48+
1️⃣ **When deploying v1.8.0 or later for the first time**, please pay special attention to the `suadmin` super administrator account information output in the Docker logs. This account has the highest system privileges, and the password is only displayed upon first generation. It cannot be viewed again later, so please be sure to save it securely.
49+
50+
2️⃣ Forgot to note the `suadmin` account password? Follow these steps:
51+
```bash
52+
# Step1: Delete su account record in supabase container
53+
docker exec -it supabase-db-mini bash
54+
psql -U postgres
55+
select id, email from auth.users;
56+
# Get the user_id of [email protected] account
57+
delete from auth.users where id = 'your_user_id';
58+
delete from auth.identities where user_id = 'your_user_id';
59+
60+
# Step2: Delete su account record in nexent database
61+
docker exec -it nexent-postgresql bash
62+
psql -U root -d nexent
63+
delete from nexent.user_tenant_t where user_id = 'your_user_id';
64+
65+
# Step3: Redeploy and record the su account password
66+
```
4867
4968
### 3. Access Your Installation
5069
5170
When deployment completes successfully:
5271
1. Open **http://localhost:3000** in your browser
53-
2. Refer to the [User Guide](../user-guide/home-page) to develop agents
72+
2. Log in with the super administrator account
73+
3. Access tenant resources → Create tenant and tenant administrator
74+
4. Log in with the tenant administrator account
75+
5. Refer to the [User Guide](../user-guide/home-page) to develop agents
5476
5577
5678
## 🏗️ Service Architecture

doc/docs/zh/quick-start/installation.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,34 @@ bash deploy.sh
4545
- **区域优化**: 中国大陆用户可使用优化的镜像源
4646

4747

48-
>⚠️ **重要提示**:首次部署 v1.8.0 及以上版本时,需特别留意 Docker 日志中输出的 `suadmin` 超级管理员账号信息。该账号为系统最高权限账户,密码仅在首次生成时显示,后续无法再次查看,请务必妥善保存。
48+
### ⚠️ 重要提示
49+
1️⃣ **首次部署 v1.8.0 及以上版本时**,需特别留意 Docker 日志中输出的 `suadmin` 超级管理员账号信息。该账号为系统最高权限账户,密码仅在首次生成时显示,后续无法再次查看,请务必妥善保存。
50+
> 该账号仅用于权限管理,无权开发智能体或创建知识库。请登录该账号,依次完成:访问租户资源→创建租户→创建租户管理员,然后使用租户管理员账号登录,即可使用全部功能。角色权限详情参见 [用户管理](../user-guide/user-management)
4951
52+
2️⃣ 忘记留意 `suadmin` 账号密码?请按照以下步骤操作:
53+
```bash
54+
# Step1: 在supabase容器中删除su账号记录
55+
docker exec -it supabase-db-mini bash
56+
psql -U postgres
57+
select id, email from auth.users;
58+
#获取到[email protected]账号的user_id
59+
delete from auth.users where id = '你的user_id';
60+
delete from auth.identities where user_id = '你的user_id';
61+
62+
#Step2:在nexent的数据库中删除su账号记录
63+
docker exec -it nexent-postgresql bash
64+
psql -U root -d nexent
65+
delete from nexent.user_tenant_t where user_id = '你的user_id';
66+
67+
#Step3:重新部署并记录su账号密码
68+
```
5069
### 3. 访问您的安装
5170
5271
部署成功完成后:
5372
1. 在浏览器中打开 **http://localhost:3000**
73+
2. 登录超级管理员账号
74+
3. 访问租户资源 → 创建租户及租户管理员
75+
4. 登录租户管理员账号
5476
2. 参考 [用户指南](../user-guide/home-page) 进行智能体的开发
5577
5678

0 commit comments

Comments
 (0)