[BUG] Whitelabeling does not allow any actions
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 冷清
- 技术栈
- next.js, typescript
- 领域
- full-stack
调研方向
Reproduce the issue in the whitelabeling settings UI and inspect the requests made when editing the name or saving changes. The report shows failures from /api/workspaces/{id}/files and /api/workspaces/{id}/files/folders; use those routes and the server logs to identify the blocking error. Done means whitelabel settings actions work and the reported errors no longer occur.
由索引模型根据 Issue 内容生成。
描述
Whitelabeling does not allow any actions: the name cannot be edited or any changes can be made.
- Local: http://localhost:7860
- Network: http://0.0.0.0:7860
✓ Ready in 0ms
2026-05-16T18:06:56.543Z INFO [Better Auth]: No active organization found, returning null
{"timestamp":"2026-05-16T18:06:58.019Z","level":"ERROR","module":"WorkspaceFileStorage","message":"Failed to list workspace files for f8358999-7aee-4b9c-9909-62b6b2f39fc0:","requestId":"fa6581a6","method":"GET","path":"/api/workspaces/f8358999-7aee-4b9c-9909-62b6b2f39fc0/files","error":"Failed query: select \"id\", \"key\", \"user_id\", \"workspace_id\", \"folder_id\", \"context\", \"chat_id\", \"original_name\", \"display_name\", \"content_type\", \"size\", \"deleted_at\", \"uploaded_at\", \"updated_at\" from \"workspace_files\" where (\"workspace_files\".\"workspace_id\" = $1 and \"workspace_files\".\"context\" = $2 and \"workspace_files\".\"deleted_at\" is null) order by \"workspace_files\".\"uploaded_at\"\nparams: f8358999-7aee-4b9c-9909-62b6b2f39fc0,workspace","stack":"Error: Failed query: select \"id\", \"key\", \"user_id\", \"workspace_id\", \"folder_id\", \"context\", \"chat_id\", \"original_name\", \"display_name\", \"content_type\", \"size\", \"deleted_at\", \"uploaded_at\", \"updated_at\" from \"workspace_files\" where (\"workspace_files\".\"workspace_id\" = $1 and \"workspace_files\".\"context\" = $2 and \"workspace_files\".\"deleted_at\" is null) order by \"workspace_files\".\"uploaded_at\"\nparams: f8358999-7aee-4b9c-9909-62b6b2f39fc0,workspace\n at tI.queryWithCache (/app/apps/sim/.next/server/chunks/packages_db_0o7tnvl._.js:27:38907)\n at process.processTicksAndRejections (node:internal/process/task_queues:103:5)\n at async /app/apps/sim/.next/server/chunks/packages_db_0o7tnvl._.js:27:41585\n at async B (/app/apps/sim/.next/server/chunks/apps_sim_lib_0x28gt1._.js:1:49705)\n at async /app/apps/sim/.next/server/chunks/[root-of-the-server]__10y7n~i._.js:1:6759\n at async /app/apps/sim/.next/server/chunks/[root-of-the-server]__0qx9y8e._.js:1:1108\n at async rW.do (/app/node_modules/next/dist/compiled/next-server/app-route-turbo.runtime.prod.js:5:20926)\n at async rW.handle (/app/node_modules/next/dist/compiled/next-server/app-route-turbo.runtime.prod.js:5:25781)\n at async l (/app/apps/sim/.next/server/chunks/[root-of-the-server]__10y7n~i._.js:1:12396)\n at async rW.handleResponse (/app/node_modules/next/dist/compiled/next-server/app-route-turbo.runtime.prod.js:1:119701)"}
{"timestamp":"2026-05-16T18:06:58.959Z","level":"ERROR","module":"RouteHandler","message":"Unhandled route error","requestId":"a1a62ab6","method":"GET","path":"/api/workspaces/f8358999-7aee-4b9c-9909-62b6b2f39fc0/files/folders","duration":522,"error":"Failed query: select \"id\", \"name\", \"user_id\", \"workspace_id\", \"parent_id\", \"sort_order\", \"deleted_at\", \"created_at\", \"updated_at\" from \"workspace_file_folders\" where (\"workspace_file_folders\".\"workspace_id\" = $1 and \"workspace_file_folders\".\"deleted_at\" is null) order by \"workspace_file_folders\".\"sort_order\" asc, \"workspace_file_folders\".\"created_at\" asc\nparams: f8358999-7aee-4b9c-9909-62b6b2f39fc0"}
.........
....
- 主要语言
- TypeScript
- 星标
- 29.8k
- 派生
- 3.9k
- 平均合并
- 1 小时 44 分钟
- 30 天内合并 PR
- 841
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
simstudioai/sim 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
simstudioai/sim#9831 ·
维护者通常 1 天内回复
-
v2 API rate limits self-hosted installs by IP even with billing disabled可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 1/5 1 小时以内 新手友好度 75/100
simstudioai/sim#8452 ·
维护者通常 1 天内回复
-
Railway template generates invalid ENCRYPTION_KEY (should be 64-char hex string)可能重新可做 @sahooarnav2007-gif 于 15 天前认领,目前没有进行中的 PR。 未关闭bug
难度 2/5 1-3 小时 新手友好度 72/100
simstudioai/sim#6246 · 3 条评论 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 68/100
simstudioai/sim#1204 · 8 条评论 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 45/100
simstudioai/sim#9734 ·
维护者通常 1 天内回复
相似的 Issue
-
Bug: Cloudflare Pages static _redirects identity rule causes RSC Flight to reload as HTML可能已有人在做 @Donvero 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
Mantitup-Org/vista#210 ·
-
status: waiting for maintainer
难度 2/5 1-3 小时 新手友好度 88/100
mui/material-ui#49751 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
diplodoc-platform/transform#1184 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
JonasKruckenberg/imagetools#973 ·
维护者通常 1 天内回复