coze-dev / coze-dev/coze-studio

启动失败

Open
#2,433 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
21.6k
Forks
3.1k
PR merge metrics
No merged PRs in 30d

Description

mysql启动成功但日志:
workflow_version table not found, retrying in 2 seconds...
sever报错:
2025/11/04 00:03:39 /app/domain/plugin/internal/dal/plugin_draft.go:202 Error 1146 (42S02): Table 'opencoze.plugin_draft' doesn't exist

[0.382ms] [rows:0] SELECT * FROM `plugin_draft` WHERE `plugin_draft`.`id` IN (2,3,4,5,12,10,11,15,18,19,20,6,9,16,14,17,21) AND `plugin_draft`.`deleted_at` IS NULL

panic: InitializeInfra failed, err=Init - initPrimaryServices failed, err: Error 1146 (42S02): Table 'opencoze.plugin_draft' doesn't exist

Contributor guide

Open the contributing guide

Research direction

Start with the startup error and the query at app/domain/plugin/internal/dal/plugin_draft.go:202, then inspect how the workflow_version and plugin_draft tables are created before initialization. Reproduce the startup sequence with MySQL and identify why those tables are unavailable; done means initialization completes without the missing-table errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, mysql
Domain
backend, databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.