coze-dev / coze-dev/coze-studio
NAS部署出现这个是什么问题?
- Dominant language
- TypeScript
- Stars
- 21.6k
- Forks
- 3.1k
- PR merge metrics
- No merged PRs in 30d
Description
2025/08/02 14:12:42 /app/domain/plugin/internal/dal/plugin_draft.go:202 Error 1146 (42S02): Table 'opencoze.plugin_draft' doesn't exist
[4.780ms] [rows:0] SELECT * FROM `plugin_draft` WHERE `plugin_draft`.`id` IN (15,18,20,22,3,6,10,14,2,4,9,12,16,5,11,19,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
goroutine 1 [running]:
main.main()
/app/main.go:60 +0x99
Main application exited.
Bootstrapping Coze Studio... 07-30
Setting up Elasticsearch...
ES_ADDR: http://elasticsearch:9200
INDEX_DIR: /app/es_index_schemas
Checking Elasticsearch availability... (attempt 1)
1754143970 14:12:50 docker-cluster green 1 1 2 2 0 0 0 0 0 - 100.0%
Elasticsearch is up and running!
🔍 Checking smartcn plugin status...
🔍 Initializing Elasticsearch index templates...
ℹ️ Index template coze_resource already exists
ℹ️ Index coze_resource already exists
ℹ️ Index template project_draft already exists
ℹ️ Index project_draft already exists
Elasticsearch setup completed.
Starting main application...
2025/08/02 14:12:51.082506 main.go:117: [Info] load env file: .env
2025/08/02 14:12:51.083733 main.go:138: [Info] log level: debug
2025/08/02 14:12:51.319195 load_plugin.go:165: [Error] load file '/app/resources/conf/plugin/pluginproduct/lark_sheet.yaml', err=error converting YAML to JSON: yaml: line 435: mapping values are not allowed in this context
2025/08/02 14:12:51 /app/domain/plugin/internal/dal/plugin_draft.go:202 Error 1146 (42S02): Table 'opencoze.plugin_draft' doesn't exist
[4.882ms] [rows:0] SELECT * FROM `plugin_draft` WHERE `plugin_draft`.`id` IN (16,18,19,5,21,22,6,20,2,4,14,15,3,9,10,11,12) 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
goroutine 1 [running]:
main.main()
/app/main.go:60 +0x99
Main application exited.
Bootstrapping Coze Studio... 07-30
Setting up Elasticsearch...
ES_ADDR: http://elasticsearch:9200
INDEX_DIR: /app/es_index_schemas
Checking Elasticsearch availability... (attempt 1)
1754143985 14:13:05 docker-cluster green 1 1 2 2 0 0 0 0 0 - 100.0%
Elasticsearch is up and running!
🔍 Checking smartcn plugin status...
🔍 Initializing Elasticsearch index templates...
ℹ️ Index template coze_resource already exists
ℹ️ Index coze_resource already exists
ℹ️ Index template project_draft already exists
ℹ️ Index project_draft already exists
Elasticsearch setup completed.
Starting main application...
2025/08/02 14:13:06.251807 main.go:117: [Info] load env file: .env
2025/08/02 14:13:06.253010 main.go:138: [Info] log level: debug
2025/08/02 14:13:06.525926 load_plugin.go:165: [Error] load file '/app/resources/conf/plugin/pluginproduct/lark_sheet.yaml', err=error converting YAML to JSON: yaml: line 435: mapping values are not allowed in this context
2025/08/02 14:13:06 /app/domain/plugin/internal/dal/plugin_draft.go:202 Error 1146 (42S02): Table 'opencoze.plugin_draft' doesn't exist
[3.991ms] [rows:0] SELECT * FROM `plugin_draft` WHERE `plugin_draft`.`id` IN (9,12,14,19,20,4,5,21,22,3,11,15,16,2,6,10,18) 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
goroutine 1 [running]:
main.main()
/app/main.go:60 +0x99
Main application exited.
Bootstrapping Coze Studio... 07-30
Setting up Elasticsearch...
ES_ADDR: http://elasticsearch:9200
INDEX_DIR: /app/es_index_schemas
Checking Elasticsearch availability... (attempt 1)
1754144014 14:13:34 docker-cluster green 1 1 2 2 0 0 0 0 0 - 100.0%
Elasticsearch is up and running!
🔍 Checking smartcn plugin status...
🔍 Initializing Elasticsearch index templates...
ℹ️ Index template coze_resource already exists
ℹ️ Index coze_resource already exists
ℹ️ Index template project_draft already exists
ℹ️ Index project_draft already exists
Elasticsearch setup completed.
Starting main application...
2025/08/02 14:13:34.371909 main.go:117: [Info] load env file: .env
2025/08/02 14:13:34.373064 main.go:138: [Info] log level: debug
2025/08/02 14:13:34.569255 load_plugin.go:165: [Error] load file '/app/resources/conf/plugin/pluginproduct/lark_sheet.yaml', err=error converting YAML to JSON: yaml: line 435: mapping values are not allowed in this context
2025/08/02 14:13:34 /app/domain/plugin/internal/dal/plugin_draft.go:202 Error 1146 (42S02): Table 'opencoze.plugin_draft' doesn't exist
[1.171ms] [rows:0] SELECT * FROM `plugin_draft` WHERE `plugin_draft`.`id` IN (2,5,3,6,9,19,22,4,10,11,14,15,16,20,21,12,18) 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
goroutine 1 [running]:
main.main()
/app/main.go:60 +0x99
Main application exited.
Bootstrapping Coze Studio... 07-30
Setting up Elasticsearch...
ES_ADDR: http://elasticsearch:9200
INDEX_DIR: /app/es_index_schemas
Checking Elasticsearch availability... (attempt 1)
1754144067 14:14:27 docker-cluster green 1 1 2 2 0 0 0 0 0 - 100.0%
Elasticsearch is up and running!
🔍 Checking smartcn plugin status...
🔍 Initializing Elasticsearch index templates...
ℹ️ Index template coze_resource already exists
ℹ️ Index coze_resource already exists
ℹ️ Index template project_draft already exists
ℹ️ Index project_draft already exists
Elasticsearch setup completed.
Starting main application...
2025/08/02 14:14:27.829866 main.go:117: [Info] load env file: .env
2025/08/02 14:14:27.831367 main.go:138: [Info] log level: debug
2025/08/02 14:14:28.056999 load_plugin.go:165: [Error] load file '/app/resources/conf/plugin/pluginproduct/lark_sheet.yaml', err=error converting YAML to JSON: yaml: line 435: mapping values are not allowed in this context
2025/08/02 14:14:28 /app/domain/plugin/internal/dal/plugin_draft.go:202 Error 1146 (42S02): Table 'opencoze.plugin_draft' doesn't exist
[1.254ms] [rows:0] SELECT * FROM `plugin_draft` WHERE `plugin_draft`.`id` IN (5,6,18,20,22,2,10,12,16,19,9,11,14,15,21,3,4) 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
goroutine 1 [running]:
main.main()
/app/main.go:60 +0x99
Main application exited.
Bootstrapping Coze Studio... 07-30
Setting up Elasticsearch...
ES_ADDR: http://elasticsearch:9200
INDEX_DIR: /app/es_index_schemas
Checking Elasticsearch availability... (attempt 1)
1754144129 14:15:29 docker-cluster green 1 1 2 2 0 0 0 0 0 - 100.0%
Elasticsearch is up and running!
🔍 Checking smartcn plugin status...
🔍 Initializing Elasticsearch index templates...
ℹ️ Index template coze_resource already exists
ℹ️ Index coze_resource already exists
ℹ️ Index template project_draft already exists
ℹ️ Index project_draft already exists
Elasticsearch setup completed.
Starting main application...
2025/08/02 14:15:29.982868 main.go:117: [Info] load env file: .env
2025/08/02 14:15:29.983858 main.go:138: [Info] log level: debug
2025/08/02 14:15:30.189338 load_plugin.go:165: [Error] load file '/app/resources/conf/plugin/pluginproduct/lark_sheet.yaml', err=error converting YAML to JSON: yaml: line 435: mapping values are not allowed in this context
2025/08/02 14:15:30 /app/domain/plugin/internal/dal/plugin_draft.go:202 Error 1146 (42S02): Table 'opencoze.plugin_draft' doesn't exist
[1.380ms] [rows:0] SELECT * FROM `plugin_draft` WHERE `plugin_draft`.`id` IN (2,11,12,15,21,3,4,9,10,22,5,6,16,19,14,18,20) 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
goroutine 1 [running]:
main.main()
/app/main.go:60 +0x99
Main application exited.
Bootstrapping Coze Studio... 07-30
Setting up Elasticsearch...
ES_ADDR: http://elasticsearch:9200
INDEX_DIR: /app/es_index_schemas
Checking Elasticsearch availability... (attempt 1)
1754144155 14:15:55 docker-cluster green 1 1 2 2 0 0 0 0 0 - 100.0%
Elasticsearch is up and running!
🔍 Checking smartcn plugin status...
🔍 Initializing Elasticsearch index templates...
ℹ️ Index template coze_resource already exists
ℹ️ Index coze_resource already exists
ℹ️ Index template project_draft already exists
ℹ️ Index project_draft already exists
Elasticsearch setup completed.
Starting main application...
2025/08/02 14:15:56.060436 main.go:117: [Info] load env file: .env
2025/08/02 14:15:56.062641 main.go:138: [Info] log level: debug
2025/08/02 14:15:56.257358 load_plugin.go:165: [Error] load file '/app/resources/conf/plugin/pluginproduct/lark_sheet.yaml', err=error converting YAML to JSON: yaml: line 435: mapping values are not allowed in this context
2025/08/02 14:15:56 /app/domain/plugin/internal/dal/plugin_draft.go:202 Error 1146 (42S02): Table 'opencoze.plugin_draft' doesn't exist
[1.867ms] [rows:0] SELECT * FROM `plugin_draft` WHERE `plugin_draft`.`id` IN (2,4,9,21,12,14,15,18,19,3,5,6,10,16,20,22,11) 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
goroutine 1 [running]:
main.main()
/app/main.go:60 +0x99
Main application exited.
Bootstrapping Coze Studio... 07-30
Setting up Elasticsearch...
ES_ADDR: http://elasticsearch:9200
INDEX_DIR: /app/es_index_schemas
Checking Elasticsearch availability... (attempt 1)
1754144159 14:15:59 docker-cluster green 1 1 2 2 0 0 0 0 0 - 100.0%
Elasticsearch is up and running!
🔍 Checking smartcn plugin status...
🔍 Initializing Elasticsearch index templates...
ℹ️ Index template coze_resource already exists
ℹ️ Index coze_resource already exists
ℹ️ Index template project_draft already exists
ℹ️ Index project_draft already exists
Elasticsearch setup completed.
Starting main application...
2025/08/02 14:15:59.542530 main.go:117: [Info] load env file: .env
2025/08/02 14:15:59.543586 main.go:138: [Info] log level: debug
2025/08/02 14:15:59.739787 load_plugin.go:165: [Error] load file '/app/resources/conf/plugin/pluginproduct/lark_sheet.yaml', err=error converting YAML to JSON: yaml: line 435: mapping values are not allowed in this context
2025/08/02 14:15:59 /app/domain/plugin/internal/dal/plugin_draft.go:202 Error 1146 (42S02): Table 'opencoze.plugin_draft' doesn't exist
[1.405ms] [rows:0] SELECT * FROM `plugin_draft` WHERE `plugin_draft`.`id` IN (2,10,16,5,9,12,3,4,6,11,19,20,14,15,18,21,22) 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
goroutine 1 [running]:
main.main()
/app/main.go:60 +0x99
Main application exited.
Bootstrapping Coze Studio... 07-30
Setting up Elasticsearch...
ES_ADDR: http://elasticsearch:9200
INDEX_DIR: /app/es_index_schemas
Checking Elasticsearch availability... (attempt 1)
1754144162 14:16:02 docker-cluster green 1 1 2 2 0 0 0 0 0 - 100.0%
Elasticsearch is up and running!
🔍 Checking smartcn plugin status...
🔍 Initializing Elasticsearch index templates...
ℹ️ Index template coze_resource already exists
ℹ️ Index coze_resource already exists
ℹ️ Index template project_draft already exists
ℹ️ Index project_draft already exists
Elasticsearch setup completed.
Starting main application...
2025/08/02 14:16:02.879802 main.go:117: [Info] load env file: .env
2025/08/02 14:16:02.880787 main.go:138: [Info] log level: debug
2025/08/02 14:16:03.115052 load_plugin.go:165: [Error] load file '/app/resources/conf/plugin/pluginproduct/lark_sheet.yaml', err=error converting YAML to JSON: yaml: line 435: mapping values are not allowed in this context
2025/08/02 14:16:03 /app/domain/plugin/internal/dal/plugin_draft.go:202 Error 1146 (42S02): Table 'opencoze.plugin_draft' doesn't exist
[1.336ms] [rows:0] SELECT * FROM `plugin_draft` WHERE `plugin_draft`.`id` IN (12,15,18,20,2,4,6,10,22,3,5,11,14,16,19,21,9) 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
goroutine 1 [running]:
main.main()
/app/main.go:60 +0x99
Main application exited.
Bootstrapping Coze Studio... 07-30
Setting up Elasticsearch...
ES_ADDR: http://elasticsearch:9200
INDEX_DIR: /app/es_index_schemas
Checking Elasticsearch availability... (attempt 1)
1754144166 14:16:06 docker-cluster green 1 1 2 2 0 0 0 0 0 - 100.0%
Elasticsearch is up and running!
🔍 Checking smartcn plugin status...
🔍 Initializing Elasticsearch index templates...
ℹ️ Index template coze_resource already exists
ℹ️ Index coze_resource already exists
ℹ️ Index template project_draft already exists
ℹ️ Index project_draft already exists
Elasticsearch setup completed.
Starting main application...
2025/08/02 14:16:06.464146 main.go:117: [Info] load env file: .env
2025/08/02 14:16:06.465156 main.go:138: [Info] log level: debug
2025/08/02 14:16:06.682948 load_plugin.go:165: [Error] load file '/app/resources/conf/plugin/pluginproduct/lark_sheet.yaml', err=error converting YAML to JSON: yaml: line 435: mapping values are not allowed in this context
2025/08/02 14:16:06 /app/domain/plugin/internal/dal/plugin_draft.go:202 Error 1146 (42S02): Table 'opencoze.plugin_draft' doesn't exist
[1.790ms] [rows:0] SELECT * FROM `plugin_draft` WHERE `plugin_draft`.`id` IN (3,5,18,12,14,22,6,15,20,21,4,9,10,11,16,19,2) 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
goroutine 1 [running]:
main.main()
/app/main.go:60 +0x99
Main application exited.
Bootstrapping Coze Studio... 07-30
Setting up Elasticsearch...
ES_ADDR: http://elasticsearch:9200
INDEX_DIR: /app/es_index_schemas
Checking Elasticsearch availability... (attempt 1)
1754144169 14:16:09 docker-cluster green 1 1 2 2 0 0 0 0 0 - 100.0%
Elasticsearch is up and running!
🔍 Checking smartcn plugin status...
🔍 Initializing Elasticsearch index templates...
ℹ️ Index template coze_resource already exists
ℹ️ Index coze_resource already exists
ℹ️ Index template project_draft already exists
ℹ️ Index project_draft already exists
Elasticsearch setup completed.
Starting main application...
2025/08/02 14:16:10.036275 main.go:117: [Info] load env file: .env
2025/08/02 14:16:10.037624 main.go:138: [Info] log level: debug
2025/08/02 14:16:10.259442 load_plugin.go:165: [Error] load file '/app/resources/conf/plugin/pluginproduct/lark_sheet.yaml', err=error converting YAML to JSON: yaml: line 435: mapping values are not allowed in this context
2025/08/02 14:16:10 /app/domain/plugin/internal/dal/plugin_draft.go:202 Error 1146 (42S02): Table 'opencoze.plugin_draft' doesn't exist
[1.432ms] [rows:0] SELECT * FROM `plugin_draft` WHERE `plugin_draft`.`id` IN (10,11,2,4,14,15,21,22,6,9,19,20,3,12,16,18,5) 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
goroutine 1 [running]:
main.main()
/app/main.go:60 +0x99
Main application exited.
Bootstrapping Coze Studio... 07-30
Setting up Elasticsearch...
ES_ADDR: http://elasticsearch:9200
INDEX_DIR: /app/es_index_schemas
Checking Elasticsearch availability... (attempt 1)
1754144173 14:16:13 docker-cluster green 1 1 2 2 0 0 0 0 0 - 100.0%
Elasticsearch is up and running!
🔍 Checking smartcn plugin status...
🔍 Initializing Elasticsearch index templates...
ℹ️ Index template coze_resource already exists
ℹ️ Index coze_resource already exists
ℹ️ Index template project_draft already exists
ℹ️ Index project_draft already exists
Elasticsearch setup completed.
Starting main application...
2025/08/02 14:16:14.111184 main.go:117: [Info] load env file: .env
2025/08/02 14:16:14.112589 main.go:138: [Info] log level: debug
2025/08/02 14:16:14.308371 load_plugin.go:165: [Error] load file '/app/resources/conf/plugin/pluginproduct/lark_sheet.yaml', err=error converting YAML to JSON: yaml: line 435: mapping values are not allowed in this context
2025/08/02 14:16:14 /app/domain/plugin/internal/dal/plugin_draft.go:202 Error 1146 (42S02): Table 'opencoze.plugin_draft' doesn't exist
[6.068ms] [rows:0] SELECT * FROM `plugin_draft` WHERE `plugin_draft`.`id` IN (5,9,15,20,2,10,12,19,21,3,4,6,11,22,14,16,18) 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
goroutine 1 [running]:
main.main()
/app/main.go:60 +0x99
Main application exited.
Bootstrapping Coze Studio... 07-30
Setting up Elasticsearch...
ES_ADDR: http://elasticsearch:9200
INDEX_DIR: /app/es_index_schemas
Checking Elasticsearch availability... (attempt 1)
1754144179 14:16:19 docker-cluster green 1 1 2 2 0 0 0 0 0 - 100.0%
Elasticsearch is up and running!
🔍 Checking smartcn plugin status...
🔍 Initializing Elasticsearch index templates...
ℹ️ Index template coze_resource already exists
ℹ️ Index coze_resource already exists
ℹ️ Index template project_draft already exists
ℹ️ Index project_draft already exists
Elasticsearch setup completed.
Starting main application...
2025/08/02 14:16:19.761094 main.go:117: [Info] load env file: .env
2025/08/02 14:16:19.762257 main.go:138: [Info] log level: debug
2025/08/02 14:16:19.963005 load_plugin.go:165: [Error] load file '/app/resources/conf/plugin/pluginproduct/lark_sheet.yaml', err=error converting YAML to JSON: yaml: line 435: mapping values are not allowed in this context
2025/08/02 14:16:20 /app/domain/plugin/internal/dal/plugin_draft.go:202 Error 1146 (42S02): Table 'opencoze.plugin_draft' doesn't exist
[1.532ms] [rows:0] SELECT * FROM `plugin_draft` WHERE `plugin_draft`.`id` IN (4,5,3,9,10,11,14,6,16,21,2,12,15,18,19,20,22) 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
goroutine 1 [running]:
main.main()
/app/main.go:60 +0x99
Main application exited.
Bootstrapping Coze Studio... 07-30
Setting up Elasticsearch...
ES_ADDR: http://elasticsearch:9200
INDEX_DIR: /app/es_index_schemas
Checking Elasticsearch availability... (attempt 1)
1754144187 14:16:27 docker-cluster green 1 1 2 2 0 0 0 0 0 - 100.0%
Elasticsearch is up and running!
🔍 Checking smartcn plugin status...
🔍 Initializing Elasticsearch index templates...
ℹ️ Index template coze_resource already exists
ℹ️ Index coze_resource already exists
ℹ️ Index template project_draft already exists
ℹ️ Index project_draft already exists
Elasticsearch setup completed.
Starting main application...
2025/08/02 14:16:28.200566 main.go:117: [Info] load env file: .env
2025/08/02 14:16:28.201631 main.go:138: [Info] log level: debug
2025/08/02 14:16:28.451747 load_plugin.go:165: [Error] load file '/app/resources/conf/plugin/pluginproduct/lark_sheet.yaml', err=error converting YAML to JSON: yaml: line 435: mapping values are not allowed in this context
panic: InitializeInfra failed, err=Init - initPrimaryServices failed, err: Error 1146 (42S02): Table 'opencoze.plugin_draft' doesn't exist
goroutine 1 [running]:
main.main()
/app/main.go:60 +0x99
2025/08/02 14:16:28 /app/domain/plugin/internal/dal/plugin_draft.go:202 Error 1146 (42S02): Table 'opencoze.plugin_draft' doesn't exist
[4.289ms] [rows:0] SELECT * FROM `plugin_draft` WHERE `plugin_draft`.`id` IN (5,12,22,6,9,11,14,16,21,2,3,18,20,4,10,15,19) AND `plugin_draft`.`deleted_at` IS NULL
Main application exited.
Bootstrapping Coze Studio... 07-30
Setting up Elasticsearch...
ES_ADDR: http://elasticsearch:9200
INDEX_DIR: /app/es_index_schemas
Checking Elasticsearch availability... (attempt 1)
1754144203 14:16:43 docker-cluster green 1 1 2 2 0 0 0 0 0 - 100.0%
Elasticsearch is up and running!
🔍 Checking smartcn plugin status...
🔍 Initializing Elasticsearch index templates...
ℹ️ Index template coze_resource already exists
ℹ️ Index coze_resource already exists
ℹ️ Index template project_draft already exists
ℹ️ Index project_draft already exists
Elasticsearch setup completed.
Starting main application...
2025/08/02 14:16:43.783394 main.go:117: [Info] load env file: .env
2025/08/02 14:16:43.784317 main.go:138: [Info] log level: debug
2025/08/02 14:16:43.998649 load_plugin.go:165: [Error] load file '/app/resources/conf/plugin/pluginproduct/lark_sheet.yaml', err=error converting YAML to JSON: yaml: line 435: mapping values are not allowed in this context
2025/08/02 14:16:44 /app/domain/plugin/internal/dal/plugin_draft.go:202 Error 1146 (42S02): Table 'opencoze.plugin_draft' doesn't exist
[1.341ms] [rows:0] SELECT * FROM `plugin_draft` WHERE `plugin_draft`.`id` IN (10,11,12,16,21,2,6,15,18,20,22,3,5,14,19,4,9) 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
goroutine 1 [running]:
main.main()
/app/main.go:60 +0x99
Main application exited.
Bootstrapping Coze Studio... 07-30
Setting up Elasticsearch...
ES_ADDR: http://elasticsearch:9200
INDEX_DIR: /app/es_index_schemas
Checking Elasticsearch availability... (attempt 1)
1754144231 14:17:11 docker-cluster green 1 1 2 2 0 0 0 0 0 - 100.0%
Elasticsearch is up and running!
🔍 Checking smartcn plugin status...
🔍 Initializing Elasticsearch index templates...
ℹ️ Index template coze_resource already exists
ℹ️ Index coze_resource already exists
ℹ️ Index template project_draft already exists
ℹ️ Index project_draft already exists
Elasticsearch setup completed.
Starting main application...
2025/08/02 14:17:11.568589 main.go:117: [Info] load env file: .env
2025/08/02 14:17:11.569680 main.go:138: [Info] log level: debug
2025/08/02 14:17:11.767788 load_plugin.go:165: [Error] load file '/app/resources/conf/plugin/pluginproduct/lark_sheet.yaml', err=error converting YAML to JSON: yaml: line 435: mapping values are not allowed in this context
2025/08/02 14:17:11 /app/domain/plugin/internal/dal/plugin_draft.go:202 Error 1146 (42S02): Table 'opencoze.plugin_draft' doesn't exist
[4.759ms] [rows:0] SELECT * FROM `plugin_draft` WHERE `plugin_draft`.`id` IN (9,20,21,6,10,16,22,4,5,14,15,18,19,2,3,11,12) 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
goroutine 1 [running]:
main.main()
/app/main.go:60 +0x99
Main application exited.
Bootstrapping Coze Studio... 07-30
Setting up Elasticsearch...
ES_ADDR: http://elasticsearch:9200
INDEX_DIR: /app/es_index_schemas
Checking Elasticsearch availability... (attempt 1)
1754144284 14:18:04 docker-cluster green 1 1 2 2 0 0 0 0 0 - 100.0%
Elasticsearch is up and running!
🔍 Checking smartcn plugin status...
🔍 Initializing Elasticsearch index templates...
ℹ️ Index template coze_resource already exists
ℹ️ Index coze_resource already exists
ℹ️ Index template project_draft already exists
ℹ️ Index project_draft already exists
Elasticsearch setup completed.
Starting main application...
2025/08/02 14:18:04.904994 main.go:117: [Info] load env file: .env
2025/08/02 14:18:04.906122 main.go:138: [Info] log level: debug
2025/08/02 14:18:05.114899 load_plugin.go:165: [Error] load file '/app/resources/conf/plugin/pluginproduct/lark_sheet.yaml', err=error converting YAML to JSON: yaml: line 435: mapping values are not allowed in this context
2025/08/02 14:18:05 /app/domain/plugin/internal/dal/plugin_draft.go:202 Error 1146 (42S02): Table 'opencoze.plugin_draft' doesn't exist
[1.313ms] [rows:0] SELECT * FROM `plugin_draft` WHERE `plugin_draft`.`id` IN (6,12,15,18,2,3,20,21,22,5,10,11,14,16,4,9,19) 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
goroutine 1 [running]:
main.main()
/app/main.go:60 +0x99
Main application exited.
Bootstrapping Coze Studio... 07-30
Setting up Elasticsearch...
ES_ADDR: http://elasticsearch:9200
INDEX_DIR: /app/es_index_schemas
Checking Elasticsearch availability... (attempt 1)
1754144346 14:19:06 docker-cluster green 1 1 2 2 0 0 0 0 0 - 100.0%
Elasticsearch is up and running!
🔍 Checking smartcn plugin status...
🔍 Initializing Elasticsearch index templates...
ℹ️ Index template coze_resource already exists
ℹ️ Index coze_resource already exists
ℹ️ Index template project_draft already exists
ℹ️ Index project_draft already exists
Elasticsearch setup completed.
Starting main application...
2025/08/02 14:19:07.124979 main.go:117: [Info] load env file: .env
2025/08/02 14:19:07.126352 main.go:138: [Info] log level: debug
2025/08/02 14:19:07.329739 load_plugin.go:165: [Error] load file '/app/resources/conf/plugin/pluginproduct/lark_sheet.yaml', err=error converting YAML to JSON: yaml: line 435: mapping values are not allowed in this context
2025/08/02 14:19:07 /app/domain/plugin/internal/dal/plugin_draft.go:202 Error 1146 (42S02): Table 'opencoze.plugin_draft' doesn't exist
[2.811ms] [rows:0] SELECT * FROM `plugin_draft` WHERE `plugin_draft`.`id` IN (4,9,14,18,19,22,3,5,11,12,16,2,6,10,15,20,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
goroutine 1 [running]:
main.main()
/app/main.go:60 +0x99
Main application exited.2025/08/02 14:12:42 /app/domain/plugin/internal/dal/plugin_draft.go:202 Error 1146 (42S02): Table 'opencoze.plugin_draft' doesn't exist
[4.780ms] [rows:0] SELECT * FROM `plugin_draft` WHERE `plugin_draft`.`id` IN (15,18,20,22,3,6,10,14,2,4,9,12,16,5,11,19,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
goroutine 1 [running]:
main.main()
/app/main.go:60 +0x99
Main application exited.
Bootstrapping Coze Studio... 07-30
Setting up Elasticsearch...
ES_ADDR: http://elasticsearch:9200
INDEX_DIR: /app/es_index_schemas
Checking Elasticsearch availability... (attempt 1)
1754143970 14:12:50 docker-cluster green 1 1 2 2 0 0 0 0 0 - 100.0%
Elasticsearch is up and running!
🔍 Checking smartcn plugin status...
🔍 Initializing Elasticsearch index templates...
ℹ️ Index template coze_resource already exists
ℹ️ Index coze_resource already exists
ℹ️ Index template project_draft already exists
ℹ️ Index project_draft already exists
Elasticsearch setup completed.
Starting main application...
2025/08/02 14:12:51.082506 main.go:117: [Info] load env file: .env
2025/08/02 14:12:51.083733 main.go:138: [Info] log level: debug
2025/08/02 14:12:51.319195 load_plugin.go:165: [Error] load file '/app/resources/conf/plugin/pluginproduct/lark_sheet.yaml', err=error converting YAML to JSON: yaml: line 435: mapping values are not allowed in this context
2025/08/02 14:12:51 /app/domain/plugin/internal/dal/plugin_draft.go:202 Error 1146 (42S02): Table 'opencoze.plugin_draft' doesn't exist
[4.882ms] [rows:0] SELECT * FROM `plugin_draft` WHERE `plugin_draft`.`id` IN (16,18,19,5,21,22,6,20,2,4,14,15,3,9,10,11,12) 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
goroutine 1 [running]:
main.main()
/app/main.go:60 +0x99
Main application exited.
Bootstrapping Coze Studio... 07-30
Setting up Elasticsearch...
ES_ADDR: http://elasticsearch:9200
INDEX_DIR: /app/es_index_schemas
Checking Elasticsearch availability... (attempt 1)
1754143985 14:13:05 docker-cluster green 1 1 2 2 0 0 0 0 0 - 100.0%
Elasticsearch is up and running!
🔍 Checking smartcn plugin status...
🔍 Initializing Elasticsearch index templates...
ℹ️ Index template coze_resource already exists
ℹ️ Index coze_resource already exists
ℹ️ Index template project_draft already exists
ℹ️ Index project_draft already exists
Elasticsearch setup completed.
Starting main application...
2025/08/02 14:13:06.251807 main.go:117: [Info] load env file: .env
2025/08/02 14:13:06.253010 main.go:138: [Info] log level: debug
2025/08/02 14:13:06.525926 load_plugin.go:165: [Error] load file '/app/resources/conf/plugin/pluginproduct/lark_sheet.yaml', err=error converting YAML to JSON: yaml: line 435: mapping values are not allowed in this context
2025/08/02 14:13:06 /app/domain/plugin/internal/dal/plugin_draft.go:202 Error 1146 (42S02): Table 'opencoze.plugin_draft' doesn't exist
[3.991ms] [rows:0] SELECT * FROM `plugin_draft` WHERE `plugin_draft`.`id` IN (9,12,14,19,20,4,5,21,22,3,11,15,16,2,6,10,18) 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
goroutine 1 [running]:
main.main()
/app/main.go:60 +0x99
Main application exited.
Bootstrapping Coze Studio... 07-30
Setting up Elasticsearch...
ES_ADDR: http://elasticsearch:9200
INDEX_DIR: /app/es_index_schemas
Checking Elasticsearch availability... (attempt 1)
1754144014 14:13:34 docker-cluster green 1 1 2 2 0 0 0 0 0 - 100.0%
Elasticsearch is up and running!
🔍 Checking smartcn plugin status...
🔍 Initializing Elasticsearch index templates...
ℹ️ Index template coze_resource already exists
ℹ️ Index coze_resource already exists
ℹ️ Index template project_draft already exists
ℹ️ Index project_draft already exists
Elasticsearch setup completed.
Starting main application...
2025/08/02 14:13:34.371909 main.go:117: [Info] load env file: .env
2025/08/02 14:13:34.373064 main.go:138: [Info] log level: debug
2025/08/02 14:13:34.569255 load_plugin.go:165: [Error] load file '/app/resources/conf/plugin/pluginproduct/lark_sheet.yaml', err=error converting YAML to JSON: yaml: line 435: mapping values are not allowed in this context
2025/08/02 14:13:34 /app/domain/plugin/internal/dal/plugin_draft.go:202 Error 1146 (42S02): Table 'opencoze.plugin_draft' doesn't exist
[1.171ms] [rows:0] SELECT * FROM `plugin_draft` WHERE `plugin_draft`.`id` IN (2,5,3,6,9,19,22,4,10,11,14,15,16,20,21,12,18) 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
goroutine 1 [running]:
main.main()
/app/main.go:60 +0x99
Main application exited.
Bootstrapping Coze Studio... 07-30
Setting up Elasticsearch...
ES_ADDR: http://elasticsearch:9200
INDEX_DIR: /app/es_index_schemas
Checking Elasticsearch availability... (attempt 1)
1754144067 14:14:27 docker-cluster green 1 1 2 2 0 0 0 0 0 - 100.0%
Elasticsearch is up and running!
🔍 Checking smartcn plugin status...
🔍 Initializing Elasticsearch index templates...
ℹ️ Index template coze_resource already exists
ℹ️ Index coze_resource already exists
ℹ️ Index template project_draft already exists
ℹ️ Index project_draft already exists
Elasticsearch setup completed.
Starting main application...
2025/08/02 14:14:27.829866 main.go:117: [Info] load env file: .env
2025/08/02 14:14:27.831367 main.go:138: [Info] log level: debug
2025/08/02 14:14:28.056999 load_plugin.go:165: [Error] load file '/app/resources/conf/plugin/pluginproduct/lark_sheet.yaml', err=error converting YAML to JSON: yaml: line 435: mapping values are not allowed in this context
2025/08/02 14:14:28 /app/domain/plugin/internal/dal/plugin_draft.go:202 Error 1146 (42S02): Table 'opencoze.plugin_draft' doesn't exist
[1.254ms] [rows:0] SELECT * FROM `plugin_draft` WHERE `plugin_draft`.`id` IN (5,6,18,20,22,2,10,12,16,19,9,11,14,15,21,3,4) 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
goroutine 1 [running]:
main.main()
/app/main.go:60 +0x99
Main application exited.
Bootstrapping Coze Studio... 07-30
Setting up Elasticsearch...
ES_ADDR: http://elasticsearch:9200
INDEX_DIR: /app/es_index_schemas
Checking Elasticsearch availability... (attempt 1)
1754144129 14:15:29 docker-cluster green 1 1 2 2 0 0 0 0 0 - 100.0%
Elasticsearch is up and running!
🔍 Checking smartcn plugin status...
🔍 Initializing Elasticsearch index templates...
ℹ️ Index template coze_resource already exists
ℹ️ Index coze_resource already exists
ℹ️ Index template project_draft already exists
ℹ️ Index project_draft already exists
Elasticsearch setup completed.
Starting main application...
2025/08/02 14:15:29.982868 main.go:117: [Info] load env file: .env
2025/08/02 14:15:29.983858 main.go:138: [Info] log level: debug
2025/08/02 14:15:30.189338 load_plugin.go:165: [Error] load file '/app/resources/conf/plugin/pluginproduct/lark_sheet.yaml', err=error converting YAML to JSON: yaml: line 435: mapping values are not allowed in this context
2025/08/02 14:15:30 /app/domain/plugin/internal/dal/plugin_draft.go:202 Error 1146 (42S02): Table 'opencoze.plugin_draft' doesn't exist
[1.380ms] [rows:0] SELECT * FROM `plugin_draft` WHERE `plugin_draft`.`id` IN (2,11,12,15,21,3,4,9,10,22,5,6,16,19,14,18,20) 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
goroutine 1 [running]:
main.main()
/app/main.go:60 +0x99
Main application exited.
Bootstrapping Coze Studio... 07-30
Setting up Elasticsearch...
ES_ADDR: http://elasticsearch:9200
INDEX_DIR: /app/es_index_schemas
Checking Elasticsearch availability... (attempt 1)
1754144155 14:15:55 docker-cluster green 1 1 2 2 0 0 0 0 0 - 100.0%
Elasticsearch is up and running!
🔍 Checking smartcn plugin status...
🔍 Initializing Elasticsearch index templates...
ℹ️ Index template coze_resource already exists
ℹ️ Index coze_resource already exists
ℹ️ Index template project_draft already exists
ℹ️ Index project_draft already exists
Elasticsearch setup completed.
Starting main application...
2025/08/02 14:15:56.060436 main.go:117: [Info] load env file: .env
2025/08/02 14:15:56.062641 main.go:138: [Info] log level: debug
2025/08/02 14:15:56.257358 load_plugin.go:165: [Error] load file '/app/resources/conf/plugin/pluginproduct/lark_sheet.yaml', err=error converting YAML to JSON: yaml: line 435: mapping values are not allowed in this context
2025/08/02 14:15:56 /app/domain/plugin/internal/dal/plugin_draft.go:202 Error 1146 (42S02): Table 'opencoze.plugin_draft' doesn't exist
[1.867ms] [rows:0] SELECT * FROM `plugin_draft` WHERE `plugin_draft`.`id` IN (2,4,9,21,12,14,15,18,19,3,5,6,10,16,20,22,11) 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
goroutine 1 [running]:
main.main()
/app/main.go:60 +0x99
Main application exited.
Bootstrapping Coze Studio... 07-30
Setting up Elasticsearch...
ES_ADDR: http://elasticsearch:9200
INDEX_DIR: /app/es_index_schemas
Checking Elasticsearch availability... (attempt 1)
1754144159 14:15:59 docker-cluster green 1 1 2 2 0 0 0 0 0 - 100.0%
Elasticsearch is up and running!
🔍 Checking smartcn plugin status...
🔍 Initializing Elasticsearch index templates...
ℹ️ Index template coze_resource already exists
ℹ️ Index coze_resource already exists
ℹ️ Index template project_draft already exists
ℹ️ Index project_draft already exists
Elasticsearch setup completed.
Starting main application...
2025/08/02 14:15:59.542530 main.go:117: [Info] load env file: .env
2025/08/02 14:15:59.543586 main.go:138: [Info] log level: debug
2025/08/02 14:15:59.739787 load_plugin.go:165: [Error] load file '/app/resources/conf/plugin/pluginproduct/lark_sheet.yaml', err=error converting YAML to JSON: yaml: line 435: mapping values are not allowed in this context
2025/08/02 14:15:59 /app/domain/plugin/internal/dal/plugin_draft.go:202 Error 1146 (42S02): Table 'opencoze.plugin_draft' doesn't exist
[1.405ms] [rows:0] SELECT * FROM `plugin_draft` WHERE `plugin_draft`.`id` IN (2,10,16,5,9,12,3,4,6,11,19,20,14,15,18,21,22) 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
goroutine 1 [running]:
main.main()
/app/main.go:60 +0x99
Main application exited.
Bootstrapping Coze Studio... 07-30
Setting up Elasticsearch...
ES_ADDR: http://elasticsearch:9200
INDEX_DIR: /app/es_index_schemas
Checking Elasticsearch availability... (attempt 1)
1754144162 14:16:02 docker-cluster green 1 1 2 2 0 0 0 0 0 - 100.0%
Elasticsearch is up and running!
🔍 Checking smartcn plugin status...
🔍 Initializing Elasticsearch index templates...
ℹ️ Index template coze_resource already exists
ℹ️ Index coze_resource already exists
ℹ️ Index template project_draft already exists
ℹ️ Index project_draft already exists
Elasticsearch setup completed.
Starting main application...
2025/08/02 14:16:02.879802 main.go:117: [Info] load env file: .env
2025/08/02 14:16:02.880787 main.go:138: [Info] log level: debug
2025/08/02 14:16:03.115052 load_plugin.go:165: [Error] load file '/app/resources/conf/plugin/pluginproduct/lark_sheet.yaml', err=error converting YAML to JSON: yaml: line 435: mapping values are not allowed in this context
2025/08/02 14:16:03 /app/domain/plugin/internal/dal/plugin_draft.go:202 Error 1146 (42S02): Table 'opencoze.plugin_draft' doesn't exist
[1.336ms] [rows:0] SELECT * FROM `plugin_draft` WHERE `plugin_draft`.`id` IN (12,15,18,20,2,4,6,10,22,3,5,11,14,16,19,21,9) 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
goroutine 1 [running]:
main.main()
/app/main.go:60 +0x99
Main application exited.
Bootstrapping Coze Studio... 07-30
Setting up Elasticsearch...
ES_ADDR: http://elasticsearch:9200
INDEX_DIR: /app/es_index_schemas
Checking Elasticsearch availability... (attempt 1)
1754144166 14:16:06 docker-cluster green 1 1 2 2 0 0 0 0 0 - 100.0%
Elasticsearch is up and running!
🔍 Checking smartcn plugin status...
🔍 Initializing Elasticsearch index templates...
ℹ️ Index template coze_resource already exists
ℹ️ Index coze_resource already exists
ℹ️ Index template project_draft already exists
ℹ️ Index project_draft already exists
Elasticsearch setup completed.
Starting main application...
2025/08/02 14:16:06.464146 main.go:117: [Info] load env file: .env
2025/08/02 14:16:06.465156 main.go:138: [Info] log level: debug
2025/08/02 14:16:06.682948 load_plugin.go:165: [Error] load file '/app/resources/conf/plugin/pluginproduct/lark_sheet.yaml', err=error converting YAML to JSON: yaml: line 435: mapping values are not allowed in this context
2025/08/02 14:16:06 /app/domain/plugin/internal/dal/plugin_draft.go:202 Error 1146 (42S02): Table 'opencoze.plugin_draft' doesn't exist
[1.790ms] [rows:0] SELECT * FROM `plugin_draft` WHERE `plugin_draft`.`id` IN (3,5,18,12,14,22,6,15,20,21,4,9,10,11,16,19,2) 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
goroutine 1 [running]:
main.main()
/app/main.go:60 +0x99
Main application exited.
Bootstrapping Coze Studio... 07-30
Setting up Elasticsearch...
ES_ADDR: http://elasticsearch:9200
INDEX_DIR: /app/es_index_schemas
Checking Elasticsearch availability... (attempt 1)
1754144169 14:16:09 docker-cluster green 1 1 2 2 0 0 0 0 0 - 100.0%
Elasticsearch is up and running!
🔍 Checking smartcn plugin status...
🔍 Initializing Elasticsearch index templates...
ℹ️ Index template coze_resource already exists
ℹ️ Index coze_resource already exists
ℹ️ Index template project_draft already exists
ℹ️ Index project_draft already exists
Elasticsearch setup completed.
Starting main application...
2025/08/02 14:16:10.036275 main.go:117: [Info] load env file: .env
2025/08/02 14:16:10.037624 main.go:138: [Info] log level: debug
2025/08/02 14:16:10.259442 load_plugin.go:165: [Error] load file '/app/resources/conf/plugin/pluginproduct/lark_sheet.yaml', err=error converting YAML to JSON: yaml: line 435: mapping values are not allowed in this context
2025/08/02 14:16:10 /app/domain/plugin/internal/dal/plugin_draft.go:202 Error 1146 (42S02): Table 'opencoze.plugin_draft' doesn't exist
[1.432ms] [rows:0] SELECT * FROM `plugin_draft` WHERE `plugin_draft`.`id` IN (10,11,2,4,14,15,21,22,6,9,19,20,3,12,16,18,5) 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
goroutine 1 [running]:
main.main()
/app/main.go:60 +0x99
Main application exited.
Bootstrapping Coze Studio... 07-30
Setting up Elasticsearch...
ES_ADDR: http://elasticsearch:9200
INDEX_DIR: /app/es_index_schemas
Checking Elasticsearch availability... (attempt 1)
1754144173 14:16:13 docker-cluster green 1 1 2 2 0 0 0 0 0 - 100.0%
Elasticsearch is up and running!
🔍 Checking smartcn plugin status...
🔍 Initializing Elasticsearch index templates...
ℹ️ Index template coze_resource already exists
ℹ️ Index coze_resource already exists
ℹ️ Index template project_draft already exists
ℹ️ Index project_draft already exists
Elasticsearch setup completed.
Starting main application...
2025/08/02 14:16:14.111184 main.go:117: [Info] load env file: .env
2025/08/02 14:16:14.112589 main.go:138: [Info] log level: debug
2025/08/02 14:16:14.308371 load_plugin.go:165: [Error] load file '/app/resources/conf/plugin/pluginproduct/lark_sheet.yaml', err=error converting YAML to JSON: yaml: line 435: mapping values are not allowed in this context
2025/08/02 14:16:14 /app/domain/plugin/internal/dal/plugin_draft.go:202 Error 1146 (42S02): Table 'opencoze.plugin_draft' doesn't exist
[6.068ms] [rows:0] SELECT * FROM `plugin_draft` WHERE `plugin_draft`.`id` IN (5,9,15,20,2,10,12,19,21,3,4,6,11,22,14,16,18) 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
goroutine 1 [running]:
main.main()
/app/main.go:60 +0x99
Main application exited.
Bootstrapping Coze Studio... 07-30
Setting up Elasticsearch...
ES_ADDR: http://elasticsearch:9200
INDEX_DIR: /app/es_index_schemas
Checking Elasticsearch availability... (attempt 1)
1754144179 14:16:19 docker-cluster green 1 1 2 2 0 0 0 0 0 - 100.0%
Elasticsearch is up and running!
🔍 Checking smartcn plugin status...
🔍 Initializing Elasticsearch index templates...
ℹ️ Index template coze_resource already exists
ℹ️ Index coze_resource already exists
ℹ️ Index template project_draft already exists
ℹ️ Index project_draft already exists
Elasticsearch setup completed.
Starting main application...
2025/08/02 14:16:19.761094 main.go:117: [Info] load env file: .env
2025/08/02 14:16:19.762257 main.go:138: [Info] log level: debug
2025/08/02 14:16:19.963005 load_plugin.go:165: [Error] load file '/app/resources/conf/plugin/pluginproduct/lark_sheet.yaml', err=error converting YAML to JSON: yaml: line 435: mapping values are not allowed in this context
2025/08/02 14:16:20 /app/domain/plugin/internal/dal/plugin_draft.go:202 Error 1146 (42S02): Table 'opencoze.plugin_draft' doesn't exist
[1.532ms] [rows:0] SELECT * FROM `plugin_draft` WHERE `plugin_draft`.`id` IN (4,5,3,9,10,11,14,6,16,21,2,12,15,18,19,20,22) 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
goroutine 1 [running]:
main.main()
/app/main.go:60 +0x99
Main application exited.
Bootstrapping Coze Studio... 07-30
Setting up Elasticsearch...
ES_ADDR: http://elasticsearch:9200
INDEX_DIR: /app/es_index_schemas
Checking Elasticsearch availability... (attempt 1)
1754144187 14:16:27 docker-cluster green 1 1 2 2 0 0 0 0 0 - 100.0%
Elasticsearch is up and running!
🔍 Checking smartcn plugin status...
🔍 Initializing Elasticsearch index templates...
ℹ️ Index template coze_resource already exists
ℹ️ Index coze_resource already exists
ℹ️ Index template project_draft already exists
ℹ️ Index project_draft already exists
Elasticsearch setup completed.
Starting main application...
2025/08/02 14:16:28.200566 main.go:117: [Info] load env file: .env
2025/08/02 14:16:28.201631 main.go:138: [Info] log level: debug
2025/08/02 14:16:28.451747 load_plugin.go:165: [Error] load file '/app/resources/conf/plugin/pluginproduct/lark_sheet.yaml', err=error converting YAML to JSON: yaml: line 435: mapping values are not allowed in this context
panic: InitializeInfra failed, err=Init - initPrimaryServices failed, err: Error 1146 (42S02): Table 'opencoze.plugin_draft' doesn't exist
goroutine 1 [running]:
main.main()
/app/main.go:60 +0x99
2025/08/02 14:16:28 /app/domain/plugin/internal/dal/plugin_draft.go:202 Error 1146 (42S02): Table 'opencoze.plugin_draft' doesn't exist
[4.289ms] [rows:0] SELECT * FROM `plugin_draft` WHERE `plugin_draft`.`id` IN (5,12,22,6,9,11,14,16,21,2,3,18,20,4,10,15,19) AND `plugin_draft`.`deleted_at` IS NULL
Main application exited.
Bootstrapping Coze Studio... 07-30
Setting up Elasticsearch...
ES_ADDR: http://elasticsearch:9200
INDEX_DIR: /app/es_index_schemas
Checking Elasticsearch availability... (attempt 1)
1754144203 14:16:43 docker-cluster green 1 1 2 2 0 0 0 0 0 - 100.0%
Elasticsearch is up and running!
🔍 Checking smartcn plugin status...
🔍 Initializing Elasticsearch index templates...
ℹ️ Index template coze_resource already exists
ℹ️ Index coze_resource already exists
ℹ️ Index template project_draft already exists
ℹ️ Index project_draft already exists
Elasticsearch setup completed.
Starting main application...
2025/08/02 14:16:43.783394 main.go:117: [Info] load env file: .env
2025/08/02 14:16:43.784317 main.go:138: [Info] log level: debug
2025/08/02 14:16:43.998649 load_plugin.go:165: [Error] load file '/app/resources/conf/plugin/pluginproduct/lark_sheet.yaml', err=error converting YAML to JSON: yaml: line 435: mapping values are not allowed in this context
2025/08/02 14:16:44 /app/domain/plugin/internal/dal/plugin_draft.go:202 Error 1146 (42S02): Table 'opencoze.plugin_draft' doesn't exist
[1.341ms] [rows:0] SELECT * FROM `plugin_draft` WHERE `plugin_draft`.`id` IN (10,11,12,16,21,2,6,15,18,20,22,3,5,14,19,4,9) 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
goroutine 1 [running]:
main.main()
/app/main.go:60 +0x99
Main application exited.
Bootstrapping Coze Studio... 07-30
Setting up Elasticsearch...
ES_ADDR: http://elasticsearch:9200
INDEX_DIR: /app/es_index_schemas
Checking Elasticsearch availability... (attempt 1)
1754144231 14:17:11 docker-cluster green 1 1 2 2 0 0 0 0 0 - 100.0%
Elasticsearch is up and running!
🔍 Checking smartcn plugin status...
🔍 Initializing Elasticsearch index templates...
ℹ️ Index template coze_resource already exists
ℹ️ Index coze_resource already exists
ℹ️ Index template project_draft already exists
ℹ️ Index project_draft already exists
Elasticsearch setup completed.
Starting main application...
2025/08/02 14:17:11.568589 main.go:117: [Info] load env file: .env
2025/08/02 14:17:11.569680 main.go:138: [Info] log level: debug
2025/08/02 14:17:11.767788 load_plugin.go:165: [Error] load file '/app/resources/conf/plugin/pluginproduct/lark_sheet.yaml', err=error converting YAML to JSON: yaml: line 435: mapping values are not allowed in this context
2025/08/02 14:17:11 /app/domain/plugin/internal/dal/plugin_draft.go:202 Error 1146 (42S02): Table 'opencoze.plugin_draft' doesn't exist
[4.759ms] [rows:0] SELECT * FROM `plugin_draft` WHERE `plugin_draft`.`id` IN (9,20,21,6,10,16,22,4,5,14,15,18,19,2,3,11,12) 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
goroutine 1 [running]:
main.main()
/app/main.go:60 +0x99
Main application exited.
Bootstrapping Coze Studio... 07-30
Setting up Elasticsearch...
ES_ADDR: http://elasticsearch:9200
INDEX_DIR: /app/es_index_schemas
Checking Elasticsearch availability... (attempt 1)
1754144284 14:18:04 docker-cluster green 1 1 2 2 0 0 0 0 0 - 100.0%
Elasticsearch is up and running!
🔍 Checking smartcn plugin status...
🔍 Initializing Elasticsearch index templates...
ℹ️ Index template coze_resource already exists
ℹ️ Index coze_resource already exists
ℹ️ Index template project_draft already exists
ℹ️ Index project_draft already exists
Elasticsearch setup completed.
Starting main application...
2025/08/02 14:18:04.904994 main.go:117: [Info] load env file: .env
2025/08/02 14:18:04.906122 main.go:138: [Info] log level: debug
2025/08/02 14:18:05.114899 load_plugin.go:165: [Error] load file '/app/resources/conf/plugin/pluginproduct/lark_sheet.yaml', err=error converting YAML to JSON: yaml: line 435: mapping values are not allowed in this context
2025/08/02 14:18:05 /app/domain/plugin/internal/dal/plugin_draft.go:202 Error 1146 (42S02): Table 'opencoze.plugin_draft' doesn't exist
[1.313ms] [rows:0] SELECT * FROM `plugin_draft` WHERE `plugin_draft`.`id` IN (6,12,15,18,2,3,20,21,22,5,10,11,14,16,4,9,19) 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
goroutine 1 [running]:
main.main()
/app/main.go:60 +0x99
Main application exited.
Bootstrapping Coze Studio... 07-30
Setting up Elasticsearch...
ES_ADDR: http://elasticsearch:9200
INDEX_DIR: /app/es_index_schemas
Checking Elasticsearch availability... (attempt 1)
1754144346 14:19:06 docker-cluster green 1 1 2 2 0 0 0 0 0 - 100.0%
Elasticsearch is up and running!
🔍 Checking smartcn plugin status...
🔍 Initializing Elasticsearch index templates...
ℹ️ Index template coze_resource already exists
ℹ️ Index coze_resource already exists
ℹ️ Index template project_draft already exists
ℹ️ Index project_draft already exists
Elasticsearch setup completed.
Starting main application...
2025/08/02 14:19:07.124979 main.go:117: [Info] load env file: .env
2025/08/02 14:19:07.126352 main.go:138: [Info] log level: debug
2025/08/02 14:19:07.329739 load_plugin.go:165: [Error] load file '/app/resources/conf/plugin/pluginproduct/lark_sheet.yaml', err=error converting YAML to JSON: yaml: line 435: mapping values are not allowed in this context
2025/08/02 14:19:07 /app/domain/plugin/internal/dal/plugin_draft.go:202 Error 1146 (42S02): Table 'opencoze.plugin_draft' doesn't exist
[2.811ms] [rows:0] SELECT * FROM `plugin_draft` WHERE `plugin_draft`.`id` IN (4,9,14,18,19,22,3,5,11,12,16,2,6,10,15,20,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
goroutine 1 [running]:
main.main()
/app/main.go:60 +0x99
Main application exited.
Contributor guide
Research direction
Start with /app/domain/plugin/internal/dal/plugin_draft.go:202 and /app/main.go:60, then inspect /app/resources/conf/plugin/pluginproduct/lark_sheet.yaml around line 435. Reproduce the NAS startup and determine why the plugin_draft table is unavailable and why the YAML file fails to parse; done means initialization completes without either reported error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, elasticsearch, go, mysql, yaml
- Domain
- backend, databases, devops, infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100