[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 天內回覆