-
Notifications
You must be signed in to change notification settings - Fork 77
Open
Description
网页创建workspace的时候报错
500 Internal Server Error {"error":"Failed to create workspace","message":"Failed query: insert into \"groups\" (\"id\", \"workspace_id\", \"name\", \"context_tokens\", \"created_at\") values ($1, $2, $3, default, $4)\nparams: 59ff5874-e460-4c52-b2f0-ea65f881a65a,61a7cfb9-1776-41b0-a339-3eb47511ee3d,,2026-01-29T12:33:32.377Z","hint":"Check DATABASE_URL, start Postgres, then POST /api/admin/init-db"}
已经确认执行了 docker compose up -d,设置好了.env文件,并执行了curl -X POST http://localhost:3017/api/admin/init-db请求(请求返回200成功)
env文件
# Backend
DATABASE_URL=postgres://postgres:postgres@localhost:5432/agent_wechat
REDIS_URL=redis://localhost:6379
GLM_API_KEY=
日志
POST /api/admin/init-db 200 in 49ms (compile: 24ms, render: 25ms)
POST /api/workspaces 500 in 53ms (compile: 38ms, render: 15ms)
POST /api/workspaces 500 in 7ms (compile: 951µs, render: 6ms)
当前所处提交0123a9092f495bf929e01a7217e58b45af163283
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels