1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
| [2023-05-30 18:00:10] [error] [main.main:46] listen tcp :8001: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted.
| [2023-05-30 18:03:20] [error] [main.main:46] 1111listen tcp :8001: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted.
| [2023-05-30 18:15:02] [error] [aps_admin/model.(*UserSearch).First:196] trace {"error": "record not found", "elapsed": 0.0005063, "rows": 0, "sql": "SELECT * FROM `user` WHERE username = '用户名' ORDER BY `user`.`id` LIMIT 1"}
| [2023-05-30 18:31:12] [error] [aps_admin/model.(*DeviceSearch).First:50] trace {"error": "record not found", "elapsed": 0.0005965, "rows": 0, "sql": "SELECT * FROM `device` ORDER BY `device`.`id` LIMIT 1"}
| [2023-05-30 18:31:12] [error] [aps_admin/model.(*DeviceSearch).Create:84] trace {"error": "Error 1364 (HY000): Field 'id' doesn't have a default value", "elapsed": 0.0010052, "rows": 0, "sql": "INSERT INTO `device` (`name`,`ip`,`account`,`password`) VALUES ('设备名称','设备IP','root账号','$2a$10$MszYytZoKVX6tP1.Rbq6TeY2zTXsIhOEu/U/Cf6CC4XMegsGbmqlS')"}
| [2023-05-30 18:33:16] [error] [aps_admin/model.(*DeviceSearch).First:50] trace {"error": "record not found", "elapsed": 0.0020821, "rows": 0, "sql": "SELECT * FROM `device` ORDER BY `device`.`id` LIMIT 1"}
| [2023-05-31 14:22:53] [error] [aps_admin/api/v1.(*DeviceApi).Add:36] device! err:&{0 189test 192.168.20.189 basic 123}
| [2023-05-31 14:22:53] [error] [aps_admin/service.(*DeviceService).AddDevice:16] device! err:&{0 189test 192.168.20.189 basic 123}
| [2023-05-31 14:27:39] [error] [aps_admin/api/v1.(*DeviceApi).Add:36] device! err:&{0 设备名称 设备IP root账号 root密码}
| [2023-05-31 14:27:39] [error] [aps_admin/service.(*DeviceService).AddDevice:16] device! err:&{0 设备名称 设备IP root账号 root密码}
| [2023-05-31 14:33:34] [error] [aps_admin/api/v1.(*DeviceApi).Add:36] device! err:&{0 189test 192.168.20.189 basic 123}
| [2023-05-31 14:33:34] [error] [aps_admin/model.(*DeviceSearch).First:54] trace {"error": "record not found", "elapsed": 0.0005033, "rows": 0, "sql": "SELECT * FROM `device` WHERE ip = '189test' ORDER BY `device`.`id` LIMIT 1"}
| [2023-05-31 14:33:34] [error] [aps_admin/service.(*DeviceService).AddDevice:16] device! err:&{0 189test 192.168.20.189 basic 123}
| [2023-05-31 17:22:08] [error] [aps_admin/model.(*DeviceSearch).First:54] trace {"error": "record not found", "elapsed": 0.0052562, "rows": 0, "sql": "SELECT * FROM `device` WHERE ip = '设备名称' ORDER BY `device`.`id` LIMIT 1"}
| [2023-05-31 17:22:08] [error] [aps_admin/service.(*DeviceService).AddDevice:16] device! err:&{0 设备名称 设备IP root账号 root密码}
| [2023-05-31 17:22:14] [error] [aps_admin/model.(*DeviceSearch).First:54] trace {"error": "record not found", "elapsed": 0.0010507, "rows": 0, "sql": "SELECT * FROM `device` WHERE ip = '设备名称' ORDER BY `device`.`id` LIMIT 1"}
| [2023-05-31 17:22:14] [error] [aps_admin/service.(*DeviceService).AddDevice:16] device! err:&{0 设备名称 设备IP root账号 root密码}
| [2023-05-31 17:23:29] [error] [aps_admin/model.(*DeviceSearch).First:54] trace {"error": "record not found", "elapsed": 0.0005704, "rows": 0, "sql": "SELECT * FROM `device` WHERE ip = '设备名称' ORDER BY `device`.`id` LIMIT 1"}
| [2023-05-31 17:23:29] [error] [aps_admin/service.(*DeviceService).AddDevice:16] device! err:&{0 设备名称 设备IP root账号 root密码}
| [2023-05-31 17:23:39] [error] [aps_admin/model.(*DeviceSearch).First:54] trace {"error": "record not found", "elapsed": 0.000556, "rows": 0, "sql": "SELECT * FROM `device` WHERE ip = '设备名称' ORDER BY `device`.`id` LIMIT 1"}
| [2023-05-31 17:23:39] [error] [aps_admin/service.(*DeviceService).AddDevice:16] device! err:&{0 设备名称 设备IP root账号 root密码}
| [2023-05-31 17:23:50] [error] [aps_admin/model.(*DeviceSearch).First:54] trace {"error": "record not found", "elapsed": 0.0005385, "rows": 0, "sql": "SELECT * FROM `device` WHERE ip = '设备名称' ORDER BY `device`.`id` LIMIT 1"}
| [2023-05-31 17:23:50] [error] [aps_admin/service.(*DeviceService).AddDevice:16] device! err:&{0 设备名称 设备IP root账号 root11}
| [2023-05-31 17:24:00] [error] [aps_admin/model.(*DeviceSearch).First:54] trace {"error": "record not found", "elapsed": 0.0010769, "rows": 0, "sql": "SELECT * FROM `device` WHERE ip = '111' ORDER BY `device`.`id` LIMIT 1"}
| [2023-05-31 17:24:00] [error] [aps_admin/service.(*DeviceService).AddDevice:16] device! err:&{0 111 设备IP root账号 root11}
| [2023-05-31 17:26:19] [error] [aps_admin/model.(*DeviceSearch).First:54] trace {"error": "record not found", "elapsed": 0.0041733, "rows": 0, "sql": "SELECT * FROM `device` WHERE ip = '111' ORDER BY `device`.`id` LIMIT 1"}
| [2023-05-31 17:26:19] [error] [aps_admin/service.(*DeviceService).AddDevice:16] device! err:&{0 111 设备IP root账号 root11}
| [2023-05-31 20:01:57] [error] [aps_admin/api/v1.(*ClusterApi).GetClusters:59] 获取失败! err:failed to get cluster list request: parse "192.168.20.189:8443/v3/clusters": first path segment in URL cannot contain colon
| [2023-05-31 20:03:45] [error] [aps_admin/service.(*ClusterService).GetClusterList:37] 11111111 [ c-lbrzv local]
| [2023-06-01 15:01:28] [error] [aps_admin/api/v1.(*ClusterApi).GetClusters:59] 获取失败! err:failed to get cluster list: unexpected status code 405
| [2023-06-01 15:03:40] [error] [aps_admin/api/v1.(*ClusterApi).GetClusters:59] 获取失败! err:failed to get cluster list: unexpected status code 404
| [2023-06-01 15:58:29] [error] [aps_admin/api/v1.(*ClusterApi).GetClusters:59] 获取失败! err:failed to get cluster list: unexpected status code 405
| [2023-06-01 17:11:34] [error] [aps_admin/api/v1.(*ClusterApi).Examine:81] port: 31835
| [2023-06-01 18:11:53] [error] [aps_admin/api/v1.(*ClusterApi).Examine:81] port: 30397
| [2023-06-01 18:12:25] [error] [aps_admin/api/v1.(*ClusterApi).GetClusters:59] 获取失败! err:failed to get cluster list: unexpected status code 404
| [2023-06-01 18:14:02] [error] [aps_admin/api/v1.(*ClusterApi).Examine:81] port: 31681
| [2023-06-01 18:26:21] [error] [aps_admin/api/v1.(*ClusterApi).Examine:81] port: 0
| [2023-06-01 18:30:40] [error] [aps_admin/api/v1.(*ClusterApi).Examine:81] port: 30246
| [2023-06-01 18:47:03] [error] [aps_admin/api/v1.(*BaseApi).Examine:359] port: 0
| [2023-06-01 19:51:41] [error] [aps_admin/api/v1.(*BaseApi).Examine:359] port: 30272
| [2023-06-01 19:53:22] [error] [aps_admin/api/v1.(*BaseApi).Examine:359] port: 0
| [2023-06-02 10:07:46] [error] [aps_admin/model.(*DeviceSearch).First:54] trace {"error": "record not found", "elapsed": 0.0050154, "rows": 0, "sql": "SELECT * FROM `device` WHERE ip = '设备名称' ORDER BY `device`.`id` LIMIT 1"}
| [2023-06-02 10:07:46] [error] [aps_admin/service.(*DeviceService).AddDevice:16] device! err:&{0 设备名称 设备IP root账号 root密码}
| [2023-06-02 11:02:58] [error] [aps_admin/model.(*DeviceSearch).First:54] trace {"error": "record not found", "elapsed": 0.0054478, "rows": 0, "sql": "SELECT * FROM `device` WHERE ip = '设备名称' ORDER BY `device`.`id` LIMIT 1"}
| [2023-06-02 11:02:58] [error] [aps_admin/service.(*DeviceService).AddDevice:17] device! err:&{0 设备名称 设备IP root账号 root密码}
| [2023-06-04 19:00:47] [error] [aps_admin/api/v1.(*BaseApi).Examine:359] port: 0
| [2023-06-04 19:00:47] [error] [aps_admin/api/v1.(*BaseApi).Examine:362] 审核失败! err:no ETCD pods found
| [2023-06-04 19:44:29] [error] [aps_admin/api/v1.(*BaseApi).Examine:359] port: 32287
| [2023-06-05 10:21:35] [error] [aps_admin/model.(*DeviceSearch).First:54] trace {"error": "record not found", "elapsed": 0.0071569, "rows": 0, "sql": "SELECT * FROM `device` WHERE ip = '设备名称' ORDER BY `device`.`id` LIMIT 1"}
| [2023-06-05 10:21:35] [error] [aps_admin/service.(*DeviceService).AddDevice:17] device! err:&{0 设备名称 设备IP root账号 root密码}
| [2023-06-05 11:53:23] [error] [aps_admin/api/v1.(*BaseApi).Examine:361] port: 32622
| [2023-06-05 12:04:02] [error] [aps_admin/api/v1.(*BaseApi).Examine:361] port: 31192
| [2023-06-05 13:39:12] [error] [aps_admin/api/v1.(*BaseApi).Examine:361] port: 0
| [2023-06-05 13:39:12] [error] [aps_admin/api/v1.(*BaseApi).Examine:364] 审核失败! err:failed to create Deployment: deployments.apps "wpf" is forbidden: unable to create new content in namespace wpf because it is being terminated
| [2023-06-05 13:39:47] [error] [aps_admin/api/v1.(*BaseApi).Examine:361] port: 30745
| [2023-06-05 14:27:03] [error] [aps_admin/api/v1.(*BaseApi).Examine:361] port: 31372
| [2023-06-05 14:30:53] [error] [aps_admin/model.(*DeviceSearch).First:54] trace {"error": "record not found", "elapsed": 0.0010616, "rows": 0, "sql": "SELECT * FROM `device` WHERE ip = '2' ORDER BY `device`.`id` LIMIT 1"}
| [2023-06-05 14:30:53] [error] [aps_admin/service.(*DeviceService).AddDevice:17] device! err:&{0 2 2 2 2}
| [2023-06-05 14:49:56] [error] [aps_admin/api/v1.(*BaseApi).Examine:361] port: 31867
| [2023-06-05 15:22:27] [error] [aps_admin/model.(*DeviceSearch).First:54] trace {"error": "record not found", "elapsed": 0.0005096, "rows": 0, "sql": "SELECT * FROM `device` WHERE ip = '设备名称' ORDER BY `device`.`id` LIMIT 1"}
| [2023-06-05 15:22:27] [error] [aps_admin/service.(*DeviceService).AddDevice:17] device! err:&{0 设备名称 192.168.20.119 root账号 $2a$10$SeKKQpa6BfBL49Q3GmFGIe1MWBPZGCFayUTiT2GAibKxCs4/Lxbr.}
| [2023-06-05 16:32:07] [error] [aps_admin/api/v1.(*BaseApi).Examine:361] port: 31587
| [2023-06-05 16:46:24] [error] [aps_admin/api/v1.(*BaseApi).Examine:361] port: 32571
| [2023-06-05 17:25:46] [error] [aps_admin/api/v1.(*BaseApi).Examine:361] port: 0
| [2023-06-05 17:25:46] [error] [aps_admin/api/v1.(*BaseApi).Examine:364] 审核失败! err:no ports defined for Service wangpengfei
| [2023-06-05 17:26:37] [error] [aps_admin/api/v1.(*BaseApi).Examine:361] port: 0
| [2023-06-05 17:26:37] [error] [aps_admin/api/v1.(*BaseApi).Examine:364] 审核失败! err:no ports defined for Service wangpengfei
| [2023-06-05 17:32:36] [error] [aps_admin/api/v1.(*BaseApi).Examine:361] port: 0
| [2023-06-05 17:32:36] [error] [aps_admin/api/v1.(*BaseApi).Examine:364] 审核失败! err:no ports defined for Service wangpengfei
| [2023-06-05 17:36:49] [error] [aps_admin/api/v1.(*BaseApi).Examine:361] port: 0
| [2023-06-05 17:36:49] [error] [aps_admin/api/v1.(*BaseApi).Examine:364] 审核失败! err:no ports defined for Service wangpengfei
| [2023-06-05 17:41:42] [error] [aps_admin/api/v1.(*BaseApi).Examine:361] port: 0
| [2023-06-05 17:41:42] [error] [aps_admin/api/v1.(*BaseApi).Examine:364] 审核失败! err:no ports defined for Service wangpengfei
| [2023-06-05 17:50:41] [error] [aps_admin/api/v1.(*BaseApi).Examine:361] port: 0
| [2023-06-05 17:50:41] [error] [aps_admin/api/v1.(*BaseApi).Examine:364] 审核失败! err:no ports defined for Service wangpengfei
| [2023-06-05 18:05:57] [error] [aps_admin/api/v1.(*BaseApi).Examine:361] port: 32187
| [2023-06-05 18:14:13] [error] [aps_admin/api/v1.(*BaseApi).Examine:361] port: 31374
| [2023-06-05 18:27:36] [error] [aps_admin/api/v1.(*BaseApi).Examine:361] port: 0
| [2023-06-05 18:29:05] [error] [aps_admin/api/v1.(*BaseApi).Examine:361] port: 30343
| [2023-06-05 18:46:10] [error] [aps_admin/api/v1.(*BaseApi).Examine:361] port: 31900
| [2023-06-05 19:23:39] [error] [aps_admin/api/v1.(*BaseApi).Examine:361] port: 30128
| [2023-06-05 20:30:49] [error] [aps_admin/api/v1.(*BaseApi).Examine:361] port: 30404
| [2023-06-05 20:38:00] [error] [aps_admin/api/v1.(*BaseApi).Examine:361] port: 32274
| [2023-06-05 20:49:32] [error] [aps_admin/api/v1.(*BaseApi).Examine:361] port: 31106
| [2023-06-05 20:59:19] [error] [aps_admin/api/v1.(*BaseApi).Examine:361] port: 31546
| [2023-06-05 21:10:01] [error] [aps_admin/api/v1.(*BaseApi).Examine:361] port: 32594
| [2023-06-07 11:22:53] [error] [aps_admin/service.pass:119] etcd.NewServiceRegister err:context deadline exceeded
| [2023-06-07 11:22:53] [error] [aps_admin/api/v1.(*BaseApi).Examine:382] port: 0
| [2023-06-07 11:22:53] [error] [aps_admin/api/v1.(*BaseApi).Examine:385] 审核失败! err:context deadline exceeded
| [2023-06-07 15:51:42] [error] [aps_admin/api/v1.(*BaseApi).Examine:382] port: 0
| [2023-06-07 15:51:42] [error] [aps_admin/api/v1.(*BaseApi).Examine:385] 审核失败! err:failed to create Deployment: Deployment.apps "wpf1" is invalid: spec.template.spec.containers[0].image: Required value
| [2023-06-07 15:57:18] [error] [aps_admin/api/v1.(*BaseApi).Examine:382] port: 30577
| [2023-06-07 18:25:41] [error] [aps_admin/api/v1.(*BaseApi).Examine:383] 123123123123123123123123: 192.168.20.118
| [2023-06-08 11:33:25] [error] [aps_admin/api/v1.(*ClusterApi).GetClusters:67] 获取失败! err:failed to get cluster list request: parse "192.168.20.119:8443/v3/clusters": first path segment in URL cannot contain colon
| [2023-06-08 11:33:27] [error] [aps_admin/api/v1.(*ClusterApi).GetClusters:67] 获取失败! err:failed to get cluster list request: parse "192.168.20.119:8443/v3/clusters": first path segment in URL cannot contain colon
| [2023-06-08 11:35:12] [error] [aps_admin/api/v1.(*ClusterApi).GetClusters:67] 获取失败! err:failed to get cluster list request: parse "192.168.20.119:8443/v3/clusters": first path segment in URL cannot contain colon
| [2023-06-08 11:41:27] [error] [aps_admin/api/v1.(*ClusterApi).GetClusters:67] 获取失败! err:failed to get cluster list request: parse "192.168.20.119:8443/v3/clusters": first path segment in URL cannot contain colon
| [2023-06-08 14:38:44] [error] [aps_admin/api/v1.(*BaseApi).Examine:384] port: 30587
| [2023-06-08 14:53:32] [error] [aps_admin/api/v1.(*BaseApi).Examine:384] port: 0
| [2023-06-08 14:54:08] [error] [aps_admin/api/v1.(*BaseApi).Examine:384] port: 0
| [2023-06-08 16:03:57] [warn] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:58] trace {"elapsed": 0.2194591, "rows": 14, "sql": "ALTER TABLE `device` MODIFY COLUMN `port` varchar(255) COMMENT '端口号'"}
| [2023-06-08 16:04:59] [error] [aps_admin/model.(*DeviceSearch).First:55] trace {"error": "record not found", "elapsed": 0.0015733, "rows": 0, "sql": "SELECT * FROM `device` WHERE ip = 'aly91' ORDER BY `device`.`id` LIMIT 1"}
| [2023-06-08 16:04:59] [error] [aps_admin/service.(*DeviceService).AddDevice:16] device! err:&{0 aly91 116.62.20.91 root Feiai123~ }
| [2023-06-08 16:07:26] [error] [aps_admin/model.(*DeviceSearch).First:55] trace {"error": "record not found", "elapsed": 0.0006222, "rows": 0, "sql": "SELECT * FROM `device` WHERE ip = 'aly21' ORDER BY `device`.`id` LIMIT 1"}
| [2023-06-08 16:07:26] [error] [aps_admin/service.(*DeviceService).AddDevice:16] device! err:&{0 aly21 121.196.212.21 root Feiai123~ }
| [2023-06-08 16:09:43] [error] [aps_admin/model.(*DeviceSearch).First:55] trace {"error": "record not found", "elapsed": 0.0005294, "rows": 0, "sql": "SELECT * FROM `device` WHERE ip = 'aly94' ORDER BY `device`.`id` LIMIT 1"}
| [2023-06-08 16:09:43] [error] [aps_admin/service.(*DeviceService).AddDevice:16] device! err:&{0 aly94 116.62.232.94 root Feiai123~ 22}
| [2023-06-08 16:48:11] [error] [aps_admin/service.(*ClusterService).CreateCluster:72] create cluster err:Failed to create cluster, status code: 422
| [2023-06-08 16:49:29] [error] [aps_admin/service.(*ClusterService).CreateCluster:72] create cluster err:Failed to create cluster, status code: 422
| [2023-06-08 16:52:37] [error] [aps_admin/service.(*ClusterService).CreateCluster:72] create cluster err:Failed to create cluster, status code: 422
| [2023-06-08 16:53:31] [error] [aps_admin/service.(*ClusterService).CreateCluster:72] create cluster err:Failed to create cluster, status code: 422
| [2023-06-08 16:55:51] [error] [aps_admin/service.(*ClusterService).CreateCluster:72] create cluster err:Failed to create cluster, status code: 422
| [2023-06-08 16:56:23] [error] [aps_admin/service.(*ClusterService).CreateCluster:72] create cluster err:Failed to create cluster, status code: 422
| [2023-06-08 16:57:42] [error] [aps_admin/service.(*ClusterService).CreateCluster:72] create cluster err:Failed to create cluster, status code: 422
| [2023-06-08 16:58:38] [error] [aps_admin/service.(*ClusterService).CreateCluster:72] create cluster err:Failed to create cluster, status code: 422
| [2023-06-08 17:07:54] [error] [aps_admin/service.(*ClusterService).CreateCluster:72] create cluster err:Failed to create cluster, status code: 422
| [2023-06-08 17:22:00] [error] [aps_admin/service.(*ClusterService).CreateCluster:72] create cluster err:Failed to create cluster, status code: 422
| [2023-06-08 17:24:59] [error] [aps_admin/service.(*ClusterService).CreateCluster:72] create cluster err:Failed to create cluster, status code: 422
| [2023-06-08 17:26:31] [error] [aps_admin/service.(*ClusterService).CreateCluster:72] create cluster err:Failed to create cluster, status code: 422
| [2023-06-08 17:27:36] [error] [aps_admin/service.(*ClusterService).CreateCluster:72] create cluster err:Failed to create cluster, status code: 422
| [2023-06-08 18:05:59] [error] [aps_admin/service.(*ClusterService).CreateCluster:72] create cluster err:Failed to create cluster, status code: 422
| [2023-06-08 18:30:55] [error] [aps_admin/service.(*ClusterService).CreateCluster:72] create cluster err:Failed to create cluster, status code: 422
| [2023-06-08 18:32:11] [error] [aps_admin/service.(*ClusterService).CreateCluster:72] create cluster err:Failed to create cluster, status code: 422
| [2023-06-08 18:33:42] [error] [aps_admin/service.(*ClusterService).CreateCluster:72] create cluster err:Failed to create cluster, status code: 422
| [2023-06-08 18:37:37] [error] [aps_admin/service.(*ClusterService).CreateCluster:72] create cluster err:Failed to create cluster, status code: 422
| [2023-06-08 19:39:43] [error] [aps_admin/service.(*ClusterService).CreateCluster:72] create cluster err:Failed to create cluster, status code: 422
| [2023-06-08 19:41:11] [error] [aps_admin/service.(*ClusterService).CreateCluster:79] get node command err:failed to get node command: unexpected status code 404
| [2023-06-08 20:31:38] [warn] [gorm.io/driver/mysql.Migrator.ColumnTypes.func1:204] trace {"elapsed": 0.1552878, "rows": -1, "sql": "SELECT * FROM `user` LIMIT 1"}
| [2023-06-08 20:38:35] [error] [aps_admin/service.(*ClusterService).CreateCluster:108] deploy kubernetes roles err:failed to deploy Kubernetes roles on the remote server: command execution failed: sudo docker run -d --privileged --restart=unless-stopped --net=host -v /etc/kubernetes:/etc/kubernetes -v /var/run:/var/run registry.cn-hangzhou.aliyuncs.com/rancher/rancher-agent:v2.5.17 --server https://192.168.20.119:8443 --token f44d79ctncdl6h6c7mbdckl85rvnq9cmxlrxkmkdx62bt2rv64x8pf --ca-checksum 3044e5cd6846cbc8bc2c8221122d84b0e82770766875f288dc81ce2c72f2378e --worker err:Process exited with status 125
| [2023-06-08 20:39:54] [error] [aps_admin/service.(*ClusterService).CreateCluster:108] deploy kubernetes roles err:failed to deploy Kubernetes roles on the remote server: command execution failed: sudo docker run -d --privileged --restart=unless-stopped --net=host -v /etc/kubernetes:/etc/kubernetes -v /var/run:/var/run registry.cn-hangzhou.aliyuncs.com/rancher/rancher-agent:v2.5.17 --server https://192.168.20.119:8443 --token ljzdrm8vhvnbd564qxzpsdhkm494kbljz4kx49x2h4zwz8qs8m2nkd --ca-checksum 3044e5cd6846cbc8bc2c8221122d84b0e82770766875f288dc81ce2c72f2378e --worker err:Process exited with status 125
| [2023-06-08 20:59:54] [error] [aps_admin/service.(*ClusterService).CreateCluster:92] install docker err:failed to install Docker on the remote server:116.62.232.94 failed to connect to node 116.62.232.94: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none password], no supported methods remain
| [2023-06-09 09:48:47] [error] [aps_admin/service.(*ClusterService).CreateCluster:108] deploy kubernetes roles err:failed to deploy Kubernetes roles on the remote server: command execution failed: sudo docker run -d --privileged --restart=unless-stopped --net=host -v /etc/kubernetes:/etc/kubernetes -v /var/run:/var/run registry.cn-hangzhou.aliyuncs.com/rancher/rancher-agent:v2.5.17 --server https://192.168.20.119:8443 --token lrr5ffjz84bn6vpcww2l6q8xprv5p5pktvbchfnz52x6gc5hvsksrv --ca-checksum 3044e5cd6846cbc8bc2c8221122d84b0e82770766875f288dc81ce2c72f2378e --worker err:Process exited with status 125
| [2023-06-09 09:49:14] [error] [aps_admin/service.(*ClusterService).CreateCluster:72] create cluster err:Failed to create cluster, status code: 422
| [2023-06-09 09:50:35] [error] [aps_admin/service.(*ClusterService).CreateCluster:72] create cluster err:Failed to create cluster, status code: 422
| [2023-06-09 09:51:34] [error] [aps_admin/service.(*ClusterService).CreateCluster:108] deploy kubernetes roles err:failed to deploy Kubernetes roles on the remote server: command execution failed: sudo docker run -d --privileged --restart=unless-stopped --net=host -v /etc/kubernetes:/etc/kubernetes -v /var/run:/var/run registry.cn-hangzhou.aliyuncs.com/rancher/rancher-agent:v2.5.17 --server https://192.168.20.119:8443 --token rwbbfgjgm2vbdmpjl66g7kwjn25hzkxskndv5nwk4n4dkm9jc4v82b --ca-checksum 3044e5cd6846cbc8bc2c8221122d84b0e82770766875f288dc81ce2c72f2378e --worker err:Process exited with status 125
| [2023-06-09 10:42:07] [error] [aps_admin/model.(*DeviceSearch).First:55] trace {"error": "record not found", "elapsed": 0.0041885, "rows": 0, "sql": "SELECT * FROM `device` WHERE ip = '内网116' ORDER BY `device`.`id` LIMIT 1"}
| [2023-06-09 10:42:07] [error] [aps_admin/service.(*DeviceService).AddDevice:16] device! err:&{0 内网116 192.168.20.116 basic 123 100}
| [2023-06-09 10:42:35] [error] [aps_admin/model.(*DeviceSearch).First:55] trace {"error": "record not found", "elapsed": 0, "rows": 0, "sql": "SELECT * FROM `device` WHERE ip = '内网117' ORDER BY `device`.`id` LIMIT 1"}
| [2023-06-09 10:42:35] [error] [aps_admin/service.(*DeviceService).AddDevice:16] device! err:&{0 内网117 192.168.20.117 basic 123 22}
| [2023-06-09 10:43:10] [error] [aps_admin/model.(*DeviceSearch).First:55] trace {"error": "record not found", "elapsed": 0.0005351, "rows": 0, "sql": "SELECT * FROM `device` WHERE ip = '内网119' ORDER BY `device`.`id` LIMIT 1"}
| [2023-06-09 10:43:10] [error] [aps_admin/service.(*DeviceService).AddDevice:16] device! err:&{0 内网119 192.168.20.119 basic 123 22}
| [2023-06-13 10:02:25] [error] [aps_admin/model.Init:10] failed to initialize database, got error dial tcp 172.20.11.128:3306: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
| [2023-06-13 10:02:25] [error] [main.main:29] model Init err:dial tcp 172.20.11.128:3306: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
| [2023-06-13 10:20:07] [error] [aps_admin/model.(*MenuSearch).First:200] trace {"error": "record not found", "elapsed": 0.000506, "rows": 0, "sql": "SELECT * FROM `menu` WHERE id = 22 ORDER BY `menu`.`id` LIMIT 1"}
| [2023-06-13 10:20:07] [error] [aps_admin/model.(*MenuSearch).CreateBatch:143] trace {"error": "Error 1062 (23000): Duplicate entry '1' for key 'menu.PRIMARY'", "elapsed": 0.0099959, "rows": 0, "sql": "INSERT INTO `menu` (`parent_id`,`path`,`name`,`title`,`sort`,`icon`,`hidden`,`type`,`create_time`,`update_time`,`id`) VALUES (0,'','','车间管理',1,'home',false,0,1686622807,1686622807,1),(1,'/facilty','','设备管理',2,'object-ungroup',false,1,1686622807,1686622807,2),(1,'/faciltyResource','','设备资源',3,'object-group',false,1,1686622807,1686622807,3),(1,'/oricedureDiagram','','设备工序图',4,'object-group',false,1,1686622807,1686622807,4),(0,'','','生产计划',5,'paper-plane',false,0,1686622807,1686622807,5),(5,'/orderManagement','','订单管理',6,'files-o',false,1,1686622807,1686622807,6),(5,'/plannedProduction','','计划生产',7,'',false,1,1686622807,1686622807,7),(5,'/Scheduling','','生产排程',8,'delicious',false,1,1686622807,1686622807,8),(5,'/productionProcess','','生产工序表',9,'',false,1,1686622807,1686622807,9),(0,'','','基础数据',10,'database',false,0,1686622807,1686622807,10),(10,'/inventory','','BOM管理',11,'film',false,1,1686622807,1686622807,11),(10,'/bomCraft','','产品/工序',12,'sliders',false,1,1686622807,1686622807,12),(10,'/humanResource','','数据配置',13,'',false,1,1686622807,1686622807,13),(10,'/calendar','','生产日历',14,'user',false,1,1686622807,1686622807,14),(10,'/abilityModel','','模板管理',15,'connectdevelop',false,1,1686622807,1686622807,15),(10,'/mouldManagement','','模具管理',16,'',false,1,1686622807,1686622807,16),(10,'/gauge','','检具管理',17,'',false,1,1686622807,1686622807,17),(10,'/transportation','','规范管理',18,'',false,1,1686622807,1686622807,18),(10,'/proccessModel','','工艺模型',19,'',false,1,1686622807,1686622807,19),(10,'/dictionary','','数据配置',20,'',false,1,1686622807,1686622807,20),(0,'','','系统设置',21,'database',false,0,1686622807,1686622807,21),(21,'/system/userManage','','管理员管理',22,'film',false,1,1686622807,1686622807,22)"}
| [2023-06-13 10:20:07] [error] [aps_admin/service.(*InitDBService).InitDB:72] InitDB InitData err:menu表数据初始化失败!: create batch err: Error 1062 (23000): Duplicate entry '1' for key 'menu.PRIMARY', records: [0xc0009bc630 0xc0009bc6e0 0xc0009bc790 0xc0009bc840 0xc0009bc8f0 0xc0009bc9a0 0xc0009bca50 0xc0009bcb00 0xc0009bcbb0 0xc0009bcc60 0xc0009bcd10 0xc0009bcdc0 0xc0009bce70 0xc0009bcf20 0xc0009bcfd0 0xc0009bd080 0xc0009bd130 0xc0009bd1e0 0xc0009bd290 0xc0009bd340 0xc0009bd3f0 0xc0009bd4a0]
| [2023-06-13 10:20:07] [error] [aps_admin/initialize.Init:38] initDB err:menu表数据初始化失败!: create batch err: Error 1062 (23000): Duplicate entry '1' for key 'menu.PRIMARY', records: [0xc0009bc630 0xc0009bc6e0 0xc0009bc790 0xc0009bc840 0xc0009bc8f0 0xc0009bc9a0 0xc0009bca50 0xc0009bcb00 0xc0009bcbb0 0xc0009bcc60 0xc0009bcd10 0xc0009bcdc0 0xc0009bce70 0xc0009bcf20 0xc0009bcfd0 0xc0009bd080 0xc0009bd130 0xc0009bd1e0 0xc0009bd290 0xc0009bd340 0xc0009bd3f0 0xc0009bd4a0]
| [2023-06-13 10:20:07] [error] [main.main:34] initialize Init err:menu表数据初始化失败!: create batch err: Error 1062 (23000): Duplicate entry '1' for key 'menu.PRIMARY', records: [0xc0009bc630 0xc0009bc6e0 0xc0009bc790 0xc0009bc840 0xc0009bc8f0 0xc0009bc9a0 0xc0009bca50 0xc0009bcb00 0xc0009bcbb0 0xc0009bcc60 0xc0009bcd10 0xc0009bcdc0 0xc0009bce70 0xc0009bcf20 0xc0009bcfd0 0xc0009bd080 0xc0009bd130 0xc0009bd1e0 0xc0009bd290 0xc0009bd340 0xc0009bd3f0 0xc0009bd4a0]
| [2023-06-13 10:35:43] [error] [aps_admin/service.getClusters:150] get cluster err:failed to get cluster list request: parse "192.168.20.119:8443/v3/clusters": first path segment in URL cannot contain colon
| [2023-06-13 10:40:59] [error] [aps_admin/model.(*DeviceSearch).First:55] trace {"error": "record not found", "elapsed": 0.0045216, "rows": 0, "sql": "SELECT * FROM `device` WHERE ip = '119' ORDER BY `device`.`id` LIMIT 1"}
| [2023-06-13 10:40:59] [error] [aps_admin/service.(*DeviceService).AddDevice:16] device! err:&{0 119 192.168.20.119 basic 123 22}
| [2023-06-13 10:43:28] [error] [aps_admin/model.(*DeviceSearch).First:55] trace {"error": "record not found", "elapsed": 0.0030381, "rows": 0, "sql": "SELECT * FROM `device` WHERE ip = '116' ORDER BY `device`.`id` LIMIT 1"}
| [2023-06-13 10:43:28] [error] [aps_admin/service.(*DeviceService).AddDevice:16] device! err:&{0 116 192.168.20.116 basic 123 22}
| [2023-06-13 10:43:38] [error] [aps_admin/model.(*DeviceSearch).First:55] trace {"error": "record not found", "elapsed": 0.0005551, "rows": 0, "sql": "SELECT * FROM `device` WHERE ip = '117' ORDER BY `device`.`id` LIMIT 1"}
| [2023-06-13 10:43:38] [error] [aps_admin/service.(*DeviceService).AddDevice:16] device! err:&{0 117 192.168.20.117 basic 123 22}
| [2023-06-13 10:44:56] [error] [aps_admin/service.(*ClusterService).CreateCluster:72] create cluster err:Failed to create HTTP request: parse "192.168.20.119:8443/v3/clusters": first path segment in URL cannot contain colon
| [2023-06-13 10:56:34] [error] [aps_admin/service.(*ClusterService).CreateCluster:72] create cluster err:Failed to create HTTP request: parse "192.168.20.119:8443/v3/clusters": first path segment in URL cannot contain colon
| [2023-06-13 11:03:39] [error] [aps_admin/utils.GetClaims:14] 从Gin的Context中获取从jwt解析信息失败, 请检查请求头是否存在x-token且claims是否为规定结构
| [2023-06-13 11:03:39] [error] [aps_admin/model.(*UserSearch).First:210] trace {"error": "record not found", "elapsed": 0.004199, "rows": 0, "sql": "SELECT * FROM `user` WHERE username = 'fly-test' ORDER BY `user`.`id` LIMIT 1"}
| [2023-06-13 11:03:39] [error] [aps_admin/model.(*Mysql).CreateUser.func1:24] trace {"error": "Error 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-test@'%' identified by 'fly-test@Basic2023'' at line 1", "elapsed": 0, "rows": 0, "sql": "create user if not exists fly-test@'%' identified by 'fly-test@Basic2023'"}
| [2023-06-13 11:03:39] [error] [aps_admin/model.(*Mysql).CreateUser.func1:26] create mysql-user err:Error 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-test@'%' identified by 'fly-test@Basic2023'' at line 1
| [2023-06-13 11:25:56] [error] [aps_admin/service.pass:226] etcd.NewServiceRegister err:context deadline exceeded
| [2023-06-13 11:25:56] [error] [aps_admin/api/v1.(*BaseApi).Examine:384] port: 0
| [2023-06-13 11:25:56] [error] [aps_admin/api/v1.(*BaseApi).Examine:387] 审核失败! err:context deadline exceeded
| [2023-06-13 11:28:41] [error] [aps_admin/api/v1.(*BaseApi).Examine:384] port: 32032
| [2023-06-13 11:31:02] [error] [aps_admin/api/v1.(*BaseApi).Examine:384] port: 30220
| [2023-06-13 11:36:10] [error] [aps_admin/api/v1.(*BaseApi).Examine:384] port: 31263
| [2023-06-13 11:37:41] [error] [aps_admin/api/v1.(*BaseApi).Examine:384] port: 31789
| [2023-06-13 11:54:00] [error] [aps_admin/utils.GetClaims:14] 从Gin的Context中获取从jwt解析信息失败, 请检查请求头是否存在x-token且claims是否为规定结构
| [2023-06-13 11:54:00] [error] [aps_admin/model.(*UserSearch).First:212] trace {"error": "record not found", "elapsed": 0.0007172, "rows": 0, "sql": "SELECT * FROM `user` WHERE id = 'wenze3' ORDER BY `user`.`id` LIMIT 1"}
| [2023-06-13 11:54:46] [error] [aps_admin/utils.GetClaims:14] 从Gin的Context中获取从jwt解析信息失败, 请检查请求头是否存在x-token且claims是否为规定结构
| [2023-06-13 11:54:46] [error] [aps_admin/api/v1.(*BaseApi).DeleteUser:254] 删除失败! err:该用户已经登录,无法删除
| [2023-06-13 13:33:50] [error] [aps_admin/api/v1.(*BaseApi).Examine:384] port: 0
| [2023-06-14 15:24:39] [error] [aps_admin/service.pass:226] etcd.NewServiceRegister err:context deadline exceeded
| [2023-06-14 15:24:39] [error] [aps_admin/api/v1.(*BaseApi).Examine:384] port: 0
| [2023-06-14 15:24:39] [error] [aps_admin/api/v1.(*BaseApi).Examine:387] 审核失败! err:context deadline exceeded
| [2023-06-14 15:33:00] [error] [aps_admin/service.pass:226] etcd.NewServiceRegister err:context deadline exceeded
| [2023-06-14 15:33:00] [error] [aps_admin/api/v1.(*BaseApi).Examine:384] port: 0
| [2023-06-14 15:33:00] [error] [aps_admin/api/v1.(*BaseApi).Examine:387] 审核失败! err:context deadline exceeded
| [2023-06-14 15:33:55] [error] [aps_admin/service.pass:226] etcd.NewServiceRegister err:context deadline exceeded
| [2023-06-14 15:33:55] [error] [aps_admin/api/v1.(*BaseApi).Examine:384] port: 0
| [2023-06-14 15:33:55] [error] [aps_admin/api/v1.(*BaseApi).Examine:387] 审核失败! err:context deadline exceeded
| [2023-06-14 15:41:16] [error] [aps_admin/service.pass:226] etcd.NewServiceRegister err:context deadline exceeded
| [2023-06-14 15:41:16] [error] [aps_admin/api/v1.(*BaseApi).Examine:384] port: 0
| [2023-06-14 15:41:16] [error] [aps_admin/api/v1.(*BaseApi).Examine:387] 审核失败! err:context deadline exceeded
| [2023-06-14 15:47:35] [error] [aps_admin/service.pass:226] etcd.NewServiceRegister err:context deadline exceeded
| [2023-06-14 15:47:35] [error] [aps_admin/api/v1.(*BaseApi).Examine:384] port: 0
| [2023-06-14 15:47:35] [error] [aps_admin/api/v1.(*BaseApi).Examine:387] 审核失败! err:context deadline exceeded
| [2023-06-14 15:53:03] [error] [aps_admin/service.pass:226] etcd.NewServiceRegister err:context deadline exceeded
| [2023-06-14 15:53:03] [error] [aps_admin/api/v1.(*BaseApi).Examine:384] port: 0
| [2023-06-14 15:53:03] [error] [aps_admin/api/v1.(*BaseApi).Examine:387] 审核失败! err:context deadline exceeded
| [2023-06-14 16:03:17] [error] [aps_admin/service.pass:226] etcd.NewServiceRegister err:context deadline exceeded
| [2023-06-14 16:03:17] [error] [aps_admin/api/v1.(*BaseApi).Examine:384] port: 0
| [2023-06-14 16:03:17] [error] [aps_admin/api/v1.(*BaseApi).Examine:387] 审核失败! err:context deadline exceeded
| [2023-06-15 16:01:18] [error] [aps_admin/service.pass:226] etcd.NewServiceRegister err:context deadline exceeded
| [2023-06-15 16:01:18] [error] [aps_admin/api/v1.(*BaseApi).Examine:384] port: 0
| [2023-06-15 16:01:18] [error] [aps_admin/api/v1.(*BaseApi).Examine:387] 审核失败! err:context deadline exceeded
| [2023-06-15 16:04:44] [error] [aps_admin/api/v1.(*BaseApi).Examine:384] port: 31298
| [2023-06-15 16:29:32] [error] [aps_admin/api/v1.(*BaseApi).Examine:384] port: 0
| [2023-06-15 16:29:32] [error] [aps_admin/api/v1.(*BaseApi).Examine:387] 审核失败! err:failed to create Service: Service "wenze3" is invalid: [spec.ports[2].name: Invalid value: "nsqTcp": a lowercase RFC 1123 label must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character (e.g. 'my-name', or '123-abc', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?'), spec.ports[2].nodePort: Duplicate value: 31300]
| [2023-06-15 16:31:28] [error] [aps_admin/api/v1.(*BaseApi).Examine:384] port: 0
| [2023-06-15 16:31:28] [error] [aps_admin/api/v1.(*BaseApi).Examine:387] 审核失败! err:failed to create Service: Service "wenze3" is invalid: [spec.ports[2].name: Invalid value: "nsqTcp": a lowercase RFC 1123 label must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character (e.g. 'my-name', or '123-abc', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?'), spec.ports[2].nodePort: Duplicate value: 30306]
| [2023-06-15 16:34:17] [error] [aps_admin/api/v1.(*BaseApi).Examine:384] port: 0
| [2023-06-15 16:34:17] [error] [aps_admin/api/v1.(*BaseApi).Examine:387] 审核失败! err:failed to create Service: Service "wenze3" is invalid: spec.ports[2].nodePort: Duplicate value: 31989
| [2023-06-15 16:35:30] [error] [aps_admin/api/v1.(*BaseApi).Examine:384] port: 0
| [2023-06-15 16:35:30] [error] [aps_admin/api/v1.(*BaseApi).Examine:387] 审核失败! err:failed to create Service: Service "wenze3" is invalid: spec.ports[2].nodePort: Duplicate value: 31920
| [2023-06-15 16:37:48] [error] [aps_admin/api/v1.(*BaseApi).Examine:384] port: 31273
| [2023-06-15 16:53:39] [error] [aps_admin/api/v1.(*BaseApi).Examine:384] port: 31822
| [2023-06-19 19:34:53] [error] [aps_admin/service.getClusters:150] get cluster err:failed to get cluster list: Get "https://121.31.232.83:8443:8443/v3/clusters": dial tcp: lookup 121.31.232.83:8443: no such host
| [2023-06-19 20:31:06] [error] [aps_admin/api/v1.(*BaseApi).Examine:405] port: 0
| [2023-06-19 20:31:06] [error] [aps_admin/api/v1.(*BaseApi).Examine:408] 审核失败! err:Operation cannot be fulfilled on pods "wenze3-5589fd8fb6-nwvts": the object has been modified; please apply your changes to the latest version and try again
| [2023-06-19 20:39:16] [error] [aps_admin/service.pass:226] etcd.NewServiceRegister err:context deadline exceeded
| [2023-06-19 20:39:16] [error] [aps_admin/api/v1.(*BaseApi).Examine:405] port: 0
| [2023-06-19 20:39:16] [error] [aps_admin/api/v1.(*BaseApi).Examine:408] 审核失败! err:context deadline exceeded
| [2023-06-19 20:42:14] [error] [aps_admin/api/v1.(*BaseApi).Examine:405] port: 32710
| [2023-06-21 15:06:16] [error] [aps_crm/model.(*MenuSearch).First:200] trace {"error": "record not found", "elapsed": 0.0007204, "rows": 0, "sql": "SELECT * FROM `menu` WHERE id = 22 ORDER BY `menu`.`id` LIMIT 1"}
| [2023-06-21 15:06:16] [error] [aps_crm/model.(*UserSearch).First:220] trace {"error": "record not found", "elapsed": 0.0008966, "rows": 0, "sql": "SELECT * FROM `user` WHERE username = 'admin' ORDER BY `user`.`id` LIMIT 1"}
| [2023-06-21 15:36:44] [error] [aps_crm/model.(*CountrySearch).Create:51] trace {"error": "Error 1062 (23000): Duplicate entry '中国' for key 'name'", "elapsed": 0.0017341, "rows": 0, "sql": "INSERT INTO `country` (`name`) VALUES ('中国')"}
| [2023-06-21 15:38:49] [error] [aps_crm/model.(*CountrySearch).Create:51] trace {"error": "Error 1062 (23000): Duplicate entry '中国' for key 'name'", "elapsed": 0.0020244, "rows": 0, "sql": "INSERT INTO `country` (`name`) VALUES ('中国')"}
| [2023-06-21 15:38:56] [error] [aps_crm/model.(*CountrySearch).Create:51] trace {"error": "Error 1062 (23000): Duplicate entry '中国' for key 'name'", "elapsed": 0.002863, "rows": 0, "sql": "INSERT INTO `country` (`name`) VALUES ('中国')"}
| [2023-06-21 15:38:56] [error] [aps_crm/model.(*CountrySearch).Create:51] trace {"error": "Error 1062 (23000): Duplicate entry '中国' for key 'name'", "elapsed": 0.0024232, "rows": 0, "sql": "INSERT INTO `country` (`name`) VALUES ('中国')"}
| [2023-06-21 15:38:57] [error] [aps_crm/model.(*CountrySearch).Create:51] trace {"error": "Error 1062 (23000): Duplicate entry '中国' for key 'name'", "elapsed": 0.0029844, "rows": 0, "sql": "INSERT INTO `country` (`name`) VALUES ('中国')"}
| [2023-06-21 15:38:57] [error] [aps_crm/model.(*CountrySearch).Create:51] trace {"error": "Error 1062 (23000): Duplicate entry '中国' for key 'name'", "elapsed": 0.0022299, "rows": 0, "sql": "INSERT INTO `country` (`name`) VALUES ('中国')"}
| [2023-06-21 15:38:57] [error] [aps_crm/model.(*CountrySearch).Create:51] trace {"error": "Error 1062 (23000): Duplicate entry '中国' for key 'name'", "elapsed": 0.0030413, "rows": 0, "sql": "INSERT INTO `country` (`name`) VALUES ('中国')"}
| [2023-06-21 15:38:57] [error] [aps_crm/model.(*CountrySearch).Create:51] trace {"error": "Error 1062 (23000): Duplicate entry '中国' for key 'name'", "elapsed": 0.0024366, "rows": 0, "sql": "INSERT INTO `country` (`name`) VALUES ('中国')"}
| [2023-06-21 15:53:35] [error] [aps_crm/model.(*CountrySearch).First:122] trace {"error": "record not found", "elapsed": 0.0012382, "rows": 0, "sql": "SELECT * FROM `country` WHERE id = 1 ORDER BY `country`.`id` LIMIT 1"}
| [2023-06-21 15:53:46] [error] [aps_crm/model.(*CountrySearch).First:122] trace {"error": "record not found", "elapsed": 0.0010364, "rows": 0, "sql": "SELECT * FROM `country` WHERE id = 1 ORDER BY `country`.`id` LIMIT 1"}
| [2023-06-21 15:54:58] [error] [aps_crm/model.(*CountrySearch).First:122] trace {"error": "record not found", "elapsed": 0.0009974, "rows": 0, "sql": "SELECT * FROM `country` WHERE id = 1 ORDER BY `country`.`id` LIMIT 1"}
| [2023-06-21 15:56:58] [error] [aps_crm/model.(*CountrySearch).First:122] trace {"error": "record not found", "elapsed": 0.0026063, "rows": 0, "sql": "SELECT * FROM `country` WHERE id = 1 ORDER BY `country`.`id` LIMIT 1"}
| [2023-06-21 15:57:13] [error] [aps_crm/model.(*CountrySearch).First:122] trace {"error": "record not found", "elapsed": 0.0005088, "rows": 0, "sql": "SELECT * FROM `country` WHERE id = 1 ORDER BY `country`.`id` LIMIT 1"}
| [2023-06-25 10:31:02] [error] [aps_crm/model.(*ProvinceSearch).UpdateList:89] trace {"error": "WHERE conditions required", "elapsed": 0.0005567, "rows": 0, "sql": "UPDATE `province` SET `country_id`=3"}
| [2023-06-25 10:52:26] [error] [aps_crm/model.(*CountrySearch).FindAll:74] trace {"error": "province: unsupported relations for schema Country", "elapsed": 0.0008028, "rows": 2, "sql": "SELECT * FROM `country`"}
| [2023-06-25 11:29:09] [error] [aps_crm/model.(*CitySearch).Create:46] trace {"error": "Error 1054 (42S22): Unknown column 'province_id' in 'field list'", "elapsed": 0.0015733, "rows": 0, "sql": "INSERT INTO `city` (`name`,`province_id`) VALUES ('北京',0)"}
| [2023-06-25 11:30:56] [error] [aps_crm/model.(*CitySearch).Create:46] trace {"error": "Error 1054 (42S22): Unknown column 'province_id' in 'field list'", "elapsed": 0.0015465, "rows": 0, "sql": "INSERT INTO `city` (`name`,`province_id`) VALUES ('北京',0)"}
| [2023-06-25 11:43:30] [error] [aps_crm/model.(*ProvinceSearch).First:95] trace {"error": "record not found", "elapsed": 0.0010742, "rows": 0, "sql": "SELECT * FROM `province` WHERE id = 100 ORDER BY `province`.`id` LIMIT 1"}
| [2023-06-25 11:45:04] [error] [aps_crm/model.(*CountrySearch).FindAll:75] trace {"error": "City: unsupported relations for schema Country", "elapsed": 0.0025641, "rows": 2, "sql": "SELECT * FROM `country`"}
| [2023-06-25 17:33:14] [error] [aps_crm/model.(*ContactSearch).Create:58] trace {"error": "Error 1146 (42S02): Table 'aps_crm.contact' doesn't exist", "elapsed": 0.0012363, "rows": 0, "sql": "INSERT INTO `contact` (`name`,`number`,`company_id`,`position`,`phone`,`member_id`,`is_first`,`wechat`,`birthday`,`email`,`desc`,`country_id`,`province_id`,`city_id`,`region_id`) VALUES ('string','',0,'string','string',0,true,'string','string','string','string',3,1,1,20)"}
| [2023-06-25 17:34:24] [error] [aps_crm/model.(*ContactSearch).Create:58] trace {"error": "Error 1146 (42S02): Table 'aps_crm.contact' doesn't exist", "elapsed": 0.00114, "rows": 0, "sql": "INSERT INTO `contact` (`name`,`number`,`company_id`,`position`,`phone`,`member_id`,`is_first`,`wechat`,`birthday`,`email`,`desc`,`country_id`,`province_id`,`city_id`,`region_id`) VALUES ('test','',0,'string','string',1,true,'string','string','string','string',3,1,1,20)"}
| [2023-06-25 17:36:30] [error] [aps_crm/model.(*ContactSearch).Create:58] trace {"error": "Error 1146 (42S02): Table 'aps_crm.contact' doesn't exist", "elapsed": 0.0016653, "rows": 0, "sql": "INSERT INTO `contact` (`name`,`number`,`company_id`,`position`,`phone`,`member_id`,`is_first`,`wechat`,`birthday`,`email`,`desc`,`country_id`,`province_id`,`city_id`,`region_id`) VALUES ('test','',0,'string','string',1,true,'string','string','string','string',3,1,1,20)"}
| [2023-06-25 17:37:41] [error] [aps_crm/model.(*ContactSearch).Create:58] trace {"error": "Error 1054 (42S22): Unknown column 'is_first' in 'field list'", "elapsed": 0.0017984, "rows": 0, "sql": "INSERT INTO `contact` (`name`,`number`,`company_id`,`position`,`phone`,`member_id`,`is_first`,`wechat`,`birthday`,`email`,`desc`,`country_id`,`province_id`,`city_id`,`region_id`) VALUES ('test','',0,'string','string',1,true,'string','string','string','string',3,1,1,20)"}
| [2023-06-25 17:38:08] [error] [aps_crm/model.(*ContactSearch).Create:58] trace {"error": "Error 1054 (42S22): Unknown column 'is_first' in 'field list'", "elapsed": 0.0016086, "rows": 0, "sql": "INSERT INTO `contact` (`name`,`number`,`company_id`,`position`,`phone`,`member_id`,`is_first`,`wechat`,`birthday`,`email`,`desc`,`country_id`,`province_id`,`city_id`,`region_id`) VALUES ('test','',0,'string','string',1,true,'string','string','string','string',3,1,1,20)"}
| [2023-06-25 17:39:00] [error] [aps_crm/model.(*ContactSearch).Create:58] trace {"error": "Error 1054 (42S22): Unknown column 'is_first' in 'field list'", "elapsed": 0.0016683, "rows": 0, "sql": "INSERT INTO `contact` (`name`,`number`,`company_id`,`position`,`phone`,`member_id`,`is_first`,`wechat`,`birthday`,`email`,`desc`,`country_id`,`province_id`,`city_id`,`region_id`) VALUES ('test','',0,'string','string',1,true,'string','string','string','string',3,1,1,20)"}
| [2023-06-25 17:41:33] [error] [aps_crm/model.(*ContactSearch).Create:58] trace {"error": "Error 1292 (22007): Incorrect datetime value: 'string' for column 'birthday' at row 1", "elapsed": 0.0026264, "rows": 0, "sql": "INSERT INTO `contact` (`name`,`number`,`company_id`,`position`,`phone`,`member_id`,`is_first`,`wechat`,`birthday`,`email`,`desc`,`country_id`,`province_id`,`city_id`,`region_id`) VALUES ('test','',0,'string','string',1,true,'string','string','string','string',3,1,1,20)"}
| [2023-06-25 17:42:36] [error] [aps_crm/model.(*ContactSearch).Create:58] trace {"error": "Error 1292 (22007): Incorrect datetime value: '' for column 'birthday' at row 1", "elapsed": 0.0026709, "rows": 0, "sql": "INSERT INTO `contact` (`name`,`number`,`company_id`,`position`,`phone`,`member_id`,`is_first`,`wechat`,`birthday`,`email`,`desc`,`country_id`,`province_id`,`city_id`,`region_id`) VALUES ('test','',0,'string','string',1,true,'string','','string','string',3,1,1,20)"}
| [2023-06-26 15:31:23] [error] [aps_crm/model.(*CitySearch).Updates:81] trace {"error": "WHERE conditions required", "elapsed": 0.0005428, "rows": 0, "sql": "UPDATE `city` SET `color`='123',`turn`=11"}
| [2023-06-26 15:33:18] [error] [aps_crm/model.(*CitySearch).Updates:81] trace {"error": "WHERE conditions required", "elapsed": 0.0010696, "rows": 0, "sql": "UPDATE `city` SET `color`='123',`turn`=11"}
| [2023-06-26 15:35:23] [error] [aps_crm/model.(*CitySearch).Updates:82] trace {"error": "WHERE conditions required", "elapsed": 0.0005346, "rows": 0, "sql": "UPDATE `city` SET `color`='123',`turn`=11"}
| [2023-06-26 15:36:00] [error] [aps_crm/model.(*CitySearch).Updates:82] trace {"error": "WHERE conditions required", "elapsed": 0.0005087, "rows": 0, "sql": "UPDATE `city` SET `color`='123',`turn`=11"}
| [2023-06-27 11:06:58] [error] [aps_crm/model.(*CitySearch).Delete:54] trace {"error": "WHERE conditions required", "elapsed": 0.000531, "rows": 0, "sql": "DELETE FROM `city`"}
| [2023-06-27 11:10:26] [error] [aps_crm/model.(*CitySearch).Delete:54] trace {"error": "WHERE conditions required", "elapsed": 0.0005344, "rows": 0, "sql": "DELETE FROM `city`"}
| [2023-06-27 11:22:43] [error] [aps_crm/model.(*CitySearch).Delete:54] trace {"error": "WHERE conditions required", "elapsed": 0, "rows": 0, "sql": "DELETE FROM `city`"}
| [2023-06-27 11:24:39] [error] [aps_crm/model.(*CitySearch).Delete:54] trace {"error": "WHERE conditions required", "elapsed": 0.0005072, "rows": 0, "sql": "DELETE FROM `city`"}
| [2023-06-27 11:27:27] [error] [aps_crm/model.(*CitySearch).Delete:54] trace {"error": "WHERE conditions required", "elapsed": 0.0005447, "rows": 0, "sql": "DELETE FROM `city`"}
| [2023-06-27 11:28:04] [error] [aps_crm/model.(*CitySearch).Delete:54] trace {"error": "WHERE conditions required", "elapsed": 0.000532, "rows": 0, "sql": "DELETE FROM `city`"}
| [2023-06-27 11:29:47] [error] [aps_crm/model.(*CitySearch).Delete:54] trace {"error": "WHERE conditions required", "elapsed": 0.0005419, "rows": 0, "sql": "DELETE FROM `city`"}
| [2023-06-27 11:30:26] [error] [aps_crm/model.(*CitySearch).Delete:54] trace {"error": "WHERE conditions required", "elapsed": 0.0005273, "rows": 0, "sql": "DELETE FROM `city`"}
| [2023-06-27 11:34:08] [error] [aps_crm/model.(*CitySearch).Delete:54] trace {"error": "WHERE conditions required", "elapsed": 0.0021733, "rows": 0, "sql": "DELETE FROM `city`"}
| [2023-06-27 15:00:52] [error] [aps_crm/model.(*ContactSearch).First:100] trace {"error": "record not found", "elapsed": 0.0015938, "rows": 0, "sql": "SELECT * FROM `contact` WHERE id = 12 AND `contact`.`deleted_at` IS NULL ORDER BY `contact`.`id` LIMIT 1"}
| [2023-06-27 15:01:01] [error] [aps_crm/model.(*ContactSearch).Delete:70] trace {"error": "WHERE conditions required", "elapsed": 0.0005284, "rows": 0, "sql": "UPDATE `contact` SET `deleted_at`='2023-06-27 15:01:01.78' WHERE `contact`.`deleted_at` IS NULL"}
| [2023-06-27 15:10:12] [error] [aps_crm/model.(*ContactSearch).First:100] trace {"error": "record not found", "elapsed": 0.001272, "rows": 0, "sql": "SELECT * FROM `contact` WHERE id = 1 AND `contact`.`deleted_at` IS NULL ORDER BY `contact`.`id` LIMIT 1"}
| [2023-06-27 16:35:34] [error] [aps_crm/model.(*ContactSearch).First:100] trace {"error": "record not found", "elapsed": 0.0009159, "rows": 0, "sql": "SELECT * FROM `contact` WHERE id = 1 AND `contact`.`deleted_at` IS NULL ORDER BY `contact`.`id` LIMIT 1"}
| [2023-06-28 10:42:18] [error] [aps_crm/model.(*ClientSearch).Create:60] trace {"error": "Error 1146 (42S02): Table 'aps_crm.client' doesn't exist", "elapsed": 0.0025819, "rows": 0, "sql": "INSERT INTO `client` (`name`,`number`,`client_status_id`,`client_type_id`,`client_origin_id`,`client_level_id`,`member_id`,`service_member_id`,`detail_address`,`remark`,`next_visit_time`,`latest_service_time`,`country_id`,`province_id`,`city_id`,`region_id`,`representative`,`registration_time`,`registered_capital_id`,`industry_id`,`enterprise_nature_id`,`enterprise_scale_id`,`business_scope`,`created_at`,`updated_at`,`deleted_at`) VALUES ('string','string',1,0,0,1,12,0,'string','string','1970-01-01 08:00:00','1970-01-01 08:00:00',0,0,0,0,'','0000-00-00 00:00:00',0,0,0,0,'','2023-06-28 10:42:18.885','2023-06-28 10:42:18.885',NULL)"}
| [2023-06-28 10:43:37] [error] [aps_crm/model.(*ClientSearch).Create:60] trace {"error": "Error 1146 (42S02): Table 'aps_crm.client' doesn't exist", "elapsed": 0.0027251, "rows": 0, "sql": "INSERT INTO `client` (`name`,`number`,`client_status_id`,`client_type_id`,`client_origin_id`,`client_level_id`,`member_id`,`service_member_id`,`detail_address`,`remark`,`next_visit_time`,`latest_service_time`,`country_id`,`province_id`,`city_id`,`region_id`,`representative`,`registration_time`,`registered_capital_id`,`industry_id`,`enterprise_nature_id`,`enterprise_scale_id`,`business_scope`,`created_at`,`updated_at`,`deleted_at`) VALUES ('string','string',1,0,0,1,12,0,'string','string','1970-01-01 08:00:00','1970-01-01 08:00:00',0,0,0,0,'','0000-00-00 00:00:00',0,0,0,0,'','2023-06-28 10:43:37.11','2023-06-28 10:43:37.11',NULL)"}
| [2023-06-28 10:44:12] [error] [aps_crm/model.(*ClientSearch).Create:60] trace {"error": "Error 1292 (22007): Incorrect datetime value: '0000-00-00' for column 'registration_time' at row 1", "elapsed": 0.003669, "rows": 0, "sql": "INSERT INTO `clients` (`name`,`number`,`client_status_id`,`client_type_id`,`client_origin_id`,`client_level_id`,`member_id`,`service_member_id`,`detail_address`,`remark`,`next_visit_time`,`latest_service_time`,`country_id`,`province_id`,`city_id`,`region_id`,`representative`,`registration_time`,`registered_capital_id`,`industry_id`,`enterprise_nature_id`,`enterprise_scale_id`,`business_scope`,`created_at`,`updated_at`,`deleted_at`) VALUES ('string','string',1,0,0,1,12,0,'string','string','1970-01-01 08:00:00','1970-01-01 08:00:00',0,0,0,0,'','0000-00-00 00:00:00',0,0,0,0,'','2023-06-28 10:44:12.577','2023-06-28 10:44:12.577',NULL)"}
| [2023-06-28 14:16:00] [error] [aps_crm/model.(*ClientSearch).Create:60] trace {"error": "Error 1062 (23000): Duplicate entry '这仅仅是一个测试' for key 'name'", "elapsed": 0.0040316, "rows": 0, "sql": "INSERT INTO `clients` (`name`,`number`,`client_status_id`,`client_type_id`,`client_origin_id`,`client_level_id`,`member_id`,`service_member_id`,`detail_address`,`remark`,`next_visit_time`,`latest_service_time`,`country_id`,`province_id`,`city_id`,`region_id`,`representative`,`registration_time`,`registered_capital_id`,`industry_id`,`enterprise_nature_id`,`enterprise_scale_id`,`business_scope`,`created_at`,`updated_at`,`deleted_at`) VALUES ('这仅仅是一个测试','string',1,0,0,0,12,0,'string','string','1970-01-01 08:00:00','1970-01-01 08:00:00',0,0,0,0,'','1970-01-01 08:00:00',0,0,0,0,'','2023-06-28 14:16:00.318','2023-06-28 14:16:00.318',NULL)"}
| [2023-06-28 14:25:31] [error] [aps_crm/model.(*ClientSearch).First:91] trace {"error": "record not found", "elapsed": 0.0016111, "rows": 0, "sql": "SELECT * FROM `clients` WHERE id = 12 AND `clients`.`deleted_at` IS NULL ORDER BY `clients`.`id` LIMIT 1"}
| [2023-06-28 14:36:34] [error] [aps_crm/model.(*ClientSearch).Create:60] trace {"error": "Error 1062 (23000): Duplicate entry '这仅仅是一个测试' for key 'name'", "elapsed": 0.0049793, "rows": 0, "sql": "INSERT INTO `clients` (`name`,`number`,`client_status_id`,`client_type_id`,`client_origin_id`,`client_level_id`,`member_id`,`service_member_id`,`detail_address`,`remark`,`next_visit_time`,`latest_service_time`,`country_id`,`province_id`,`city_id`,`region_id`,`representative`,`registration_time`,`registered_capital_id`,`industry_id`,`enterprise_nature_id`,`enterprise_scale_id`,`business_scope`,`created_at`,`updated_at`,`deleted_at`) VALUES ('这仅仅是一个测试','string',1,0,0,0,12,0,'string','string','1970-01-01 08:00:00','1970-01-01 08:00:00',0,0,0,0,'','1970-01-01 08:00:00',0,0,0,0,'','2023-06-28 14:36:34.816','2023-06-28 14:36:34.816',NULL)"}
| [2023-06-28 14:37:21] [error] [aps_crm/model.(*ClientSearch).Find:98] trace {"error": "contact: unsupported relations for schema Client", "elapsed": 0.0018183, "rows": 3, "sql": "SELECT * FROM `clients` WHERE `clients`.`deleted_at` IS NULL"}
| [2023-06-28 14:38:31] [error] [aps_crm/model.(*ClientSearch).Find:98] trace {"error": "contacts: unsupported relations for schema Client", "elapsed": 0.0028328, "rows": 3, "sql": "SELECT * FROM `clients` WHERE `clients`.`deleted_at` IS NULL"}
| [2023-06-28 14:39:23] [error] [aps_crm/model.(*ClientSearch).Find:98] trace {"error": "contacts: unsupported relations for schema Client", "elapsed": 0.0036906, "rows": 3, "sql": "SELECT * FROM `clients` WHERE `clients`.`deleted_at` IS NULL"}
| [2023-06-28 14:44:06] [error] [aps_crm/model.(*ClientSearch).Find:98] trace {"error": "contacts: unsupported relations for schema Client", "elapsed": 0.00205, "rows": 3, "sql": "SELECT * FROM `clients` WHERE `clients`.`deleted_at` IS NULL"}
| [2023-06-28 14:44:41] [error] [aps_crm/model.(*ClientSearch).Find:98] trace {"error": "contact: unsupported relations for schema Client", "elapsed": 0.0025056, "rows": 3, "sql": "SELECT * FROM `clients` WHERE `clients`.`deleted_at` IS NULL"}
| [2023-06-28 14:46:21] [error] [aps_crm/model.(*ClientSearch).Find:98] trace {"error": "contact: unsupported relations for schema Client", "elapsed": 0.0026419, "rows": 3, "sql": "SELECT * FROM `clients` WHERE `clients`.`deleted_at` IS NULL"}
| [2023-06-28 14:46:42] [error] [aps_crm/model.(*ClientSearch).Find:98] trace {"error": "contacts: unsupported relations for schema Client", "elapsed": 0.0026226, "rows": 3, "sql": "SELECT * FROM `clients` WHERE `clients`.`deleted_at` IS NULL"}
| [2023-06-28 15:43:57] [error] [aps_crm/model.(*ContactSearch).FindAll:80] trace {"error": "Country: unsupported relations for schema Contact", "elapsed": 0.0027306, "rows": 14, "sql": "SELECT * FROM `contacts` WHERE `contacts`.`deleted_at` IS NULL"}
| [2023-06-28 15:44:15] [error] [aps_crm/model.(*ContactSearch).FindAll:80] trace {"error": "Country: unsupported relations for schema Contact", "elapsed": 0.0018499, "rows": 14, "sql": "SELECT * FROM `contacts` WHERE `contacts`.`deleted_at` IS NULL"}
| [2023-06-28 15:48:57] [error] [aps_crm/model.(*ContactSearch).FindAll:80] trace {"error": "CountryId: unsupported relations for schema Contact", "elapsed": 0.0018594, "rows": 14, "sql": "SELECT * FROM `contacts` WHERE `contacts`.`deleted_at` IS NULL"}
| [2023-06-28 17:09:18] [error] [aps_crm/model.(*ContactSearch).Create:58] trace {"error": "Error 1452 (23000): Cannot add or update a child row: a foreign key constraint fails (`aps_crm`.`contacts`, CONSTRAINT `fk_clients_contacts` FOREIGN KEY (`client_id`) REFERENCES `clients` (`id`))", "elapsed": 0.0024561, "rows": 0, "sql": "INSERT INTO `contacts` (`name`,`number`,`client_id`,`position`,`phone`,`member_id`,`is_first`,`wechat`,`birthday`,`email`,`desc`,`country_id`,`province_id`,`city_id`,`region_id`,`created_at`,`updated_at`,`deleted_at`) VALUES ('这还是一个测试','string',0,'string','string',12,true,'string','1970-01-01 16:00:00','string','string',0,0,0,0,'2023-06-28 17:09:18.959','2023-06-28 17:09:18.959',NULL)"}
| [2023-06-28 17:10:04] [error] [aps_crm/model.(*ContactSearch).Create:58] trace {"error": "Error 1452 (23000): Cannot add or update a child row: a foreign key constraint fails (`aps_crm`.`contacts`, CONSTRAINT `fk_clients_contacts` FOREIGN KEY (`client_id`) REFERENCES `clients` (`id`))", "elapsed": 0.0032324, "rows": 0, "sql": "INSERT INTO `contacts` (`name`,`number`,`client_id`,`position`,`phone`,`member_id`,`is_first`,`wechat`,`birthday`,`email`,`desc`,`country_id`,`province_id`,`city_id`,`region_id`,`created_at`,`updated_at`,`deleted_at`) VALUES ('这还是一个测试','string',0,'string','string',12,true,'string','1970-01-01 16:00:00','string','string',0,0,0,0,'2023-06-28 17:10:04.461','2023-06-28 17:10:04.461',NULL)"}
| [2023-06-28 17:11:43] [error] [aps_crm/model.(*ContactSearch).UpdateByMap:109] trace {"error": "WHERE conditions required", "elapsed": 0.0005544, "rows": 0, "sql": "UPDATE `contacts` SET `isFirst`=false,`updated_at`='2023-06-28 17:11:43.889' WHERE `contacts`.`deleted_at` IS NULL"}
| [2023-06-28 17:11:59] [error] [aps_crm/model.(*ContactSearch).UpdateByMap:109] trace {"error": "WHERE conditions required", "elapsed": 0.0010541, "rows": 0, "sql": "UPDATE `contacts` SET `isFirst`=false,`updated_at`='2023-06-28 17:11:59.912' WHERE `contacts`.`deleted_at` IS NULL"}
| [2023-06-28 17:13:00] [error] [aps_crm/model.(*ContactSearch).UpdateByMap:109] trace {"error": "WHERE conditions required", "elapsed": 0.001093, "rows": 0, "sql": "UPDATE `contacts` SET `isFirst`=false,`updated_at`='2023-06-28 17:13:00.291' WHERE `contacts`.`deleted_at` IS NULL"}
| [2023-06-28 17:14:09] [error] [aps_crm/model.(*ContactSearch).UpdateByMap:109] trace {"error": "WHERE conditions required", "elapsed": 0, "rows": 0, "sql": "UPDATE `contacts` SET `isFirst`=false,`updated_at`='2023-06-28 17:14:09.657' WHERE `contacts`.`deleted_at` IS NULL"}
| [2023-06-28 17:14:56] [error] [aps_crm/model.(*ContactSearch).UpdateByMap:113] trace {"error": "Error 1054 (42S22): Unknown column 'isFirst' in 'field list'", "elapsed": 0.0012111, "rows": 0, "sql": "UPDATE `contacts` SET `isFirst`=false,`updated_at`='2023-06-28 17:14:56.118' WHERE client_id = 5 AND `contacts`.`deleted_at` IS NULL"}
| [2023-06-28 17:23:27] [error] [aps_crm/model.(*ContactSearch).Create:62] trace {"error": "Error 1452 (23000): Cannot add or update a child row: a foreign key constraint fails (`aps_crm`.`contacts`, CONSTRAINT `fk_clients_contacts` FOREIGN KEY (`client_id`) REFERENCES `clients` (`id`))", "elapsed": 0.0027926, "rows": 0, "sql": "INSERT INTO `contacts` (`name`,`number`,`client_id`,`position`,`phone`,`member_id`,`is_first`,`wechat`,`birthday`,`email`,`desc`,`country_id`,`province_id`,`city_id`,`region_id`,`created_at`,`updated_at`,`deleted_at`) VALUES ('这还是一个测试','string',0,'string','string',12,true,'string','1970-01-01 16:00:00','string','string',0,0,0,0,'2023-06-28 17:23:27.45','2023-06-28 17:23:27.45',NULL)"}
| [2023-06-28 17:24:00] [error] [aps_crm/model.(*ContactSearch).Create:62] trace {"error": "Error 1452 (23000): Cannot add or update a child row: a foreign key constraint fails (`aps_crm`.`contacts`, CONSTRAINT `fk_clients_contacts` FOREIGN KEY (`client_id`) REFERENCES `clients` (`id`))", "elapsed": 0.0061602, "rows": 0, "sql": "INSERT INTO `contacts` (`name`,`number`,`client_id`,`position`,`phone`,`member_id`,`is_first`,`wechat`,`birthday`,`email`,`desc`,`country_id`,`province_id`,`city_id`,`region_id`,`created_at`,`updated_at`,`deleted_at`) VALUES ('这还是一个测试','string',0,'string','string',12,true,'string','1970-01-01 16:00:00','string','string',0,0,0,0,'2023-06-28 17:24:00.185','2023-06-28 17:24:00.185',NULL)"}
| [2023-06-28 17:37:42] [error] [aps_crm/model.(*ContactSearch).Update:67] trace {"error": "WHERE conditions required", "elapsed": 0.0005442, "rows": 0, "sql": "UPDATE `contacts` SET `name`='这还是一个测试',`number`='string',`client_id`=5,`position`='string',`phone`='string',`member_id`=12,`is_first`=true,`wechat`='string',`birthday`='1970-01-01 16:00:00',`email`='string',`desc`='string',`updated_at`='2023-06-28 17:37:42.529' WHERE `contacts`.`deleted_at` IS NULL"}
| [2023-06-28 17:38:43] [error] [aps_crm/model.(*ContactSearch).Update:67] trace {"error": "WHERE conditions required", "elapsed": 0.0010533, "rows": 0, "sql": "UPDATE `contacts` SET `name`='这还是一个测试',`number`='string',`client_id`=5,`position`='string',`phone`='string',`member_id`=12,`is_first`=true,`wechat`='string',`birthday`='1970-01-01 16:00:00',`email`='string',`desc`='string',`updated_at`='2023-06-28 17:38:43.585' WHERE `contacts`.`deleted_at` IS NULL"}
| [2023-06-28 17:39:57] [error] [aps_crm/model.(*ContactSearch).Update:67] trace {"error": "WHERE conditions required", "elapsed": 0.0009104, "rows": 0, "sql": "UPDATE `contacts` SET `name`='这还是一个测试',`number`='string',`client_id`=5,`position`='string',`phone`='string',`member_id`=12,`is_first`=true,`wechat`='string',`birthday`='1970-01-01 16:00:00',`email`='string',`desc`='string',`updated_at`='2023-06-28 17:39:57.729' WHERE `contacts`.`deleted_at` IS NULL"}
| [2023-06-28 17:40:37] [error] [aps_crm/model.(*ContactSearch).Update:67] trace {"error": "WHERE conditions required", "elapsed": 0.0009064, "rows": 0, "sql": "UPDATE `contacts` SET `name`='这还是一个测试',`number`='string',`client_id`=5,`position`='string',`phone`='string',`member_id`=12,`is_first`=true,`wechat`='string',`birthday`='1970-01-01 16:00:00',`email`='string',`desc`='string',`updated_at`='2023-06-28 17:40:37.561' WHERE `contacts`.`deleted_at` IS NULL"}
| [2023-06-28 17:44:13] [error] [aps_crm/model.(*ContactSearch).Update:67] trace {"error": "WHERE conditions required", "elapsed": 0.000541, "rows": 0, "sql": "UPDATE `contacts` SET `name`='这还是一个测试',`number`='string',`client_id`=5,`position`='string',`phone`='string',`member_id`=12,`is_first`=true,`wechat`='string',`birthday`='1970-01-01 16:00:00',`email`='string',`desc`='string',`updated_at`='2023-06-28 17:44:13.628' WHERE `contacts`.`deleted_at` IS NULL"}
| [2023-06-28 17:47:39] [error] [aps_crm/model.(*ClientSearch).Create:60] trace {"error": "Error 1062 (23000): Duplicate entry 'string' for key 'name'", "elapsed": 0.0048814, "rows": 0, "sql": "INSERT INTO `clients` (`name`,`number`,`client_status_id`,`client_type_id`,`client_origin_id`,`client_level_id`,`member_id`,`service_member_id`,`detail_address`,`remark`,`next_visit_time`,`latest_service_time`,`country_id`,`province_id`,`city_id`,`region_id`,`representative`,`registration_time`,`registered_capital_id`,`industry_id`,`enterprise_nature_id`,`enterprise_scale_id`,`business_scope`,`created_at`,`updated_at`,`deleted_at`) VALUES ('string','string',12,0,0,0,12,0,'string','string','1970-01-01 08:00:00','1970-01-01 08:00:00',0,0,0,0,'','1970-01-01 08:00:00',0,0,0,0,'','2023-06-28 17:47:39.901','2023-06-28 17:47:39.901',NULL)"}
| [2023-06-29 11:40:31] [error] [aps_crm/model.(*ClientStatusSearch).Create:46] trace {"error": "Error 1062 (23000): Duplicate entry '什么客户' for key 'name'", "elapsed": 0.0034817, "rows": 0, "sql": "INSERT INTO `client_status` (`name`) VALUES ('什么客户')"}
| [2023-06-29 11:40:32] [error] [aps_crm/model.(*ClientStatusSearch).Create:46] trace {"error": "Error 1062 (23000): Duplicate entry '什么客户' for key 'name'", "elapsed": 0.0031771, "rows": 0, "sql": "INSERT INTO `client_status` (`name`) VALUES ('什么客户')"}
| [2023-06-29 11:40:32] [error] [aps_crm/model.(*ClientStatusSearch).Create:46] trace {"error": "Error 1062 (23000): Duplicate entry '什么客户' for key 'name'", "elapsed": 0.0030861, "rows": 0, "sql": "INSERT INTO `client_status` (`name`) VALUES ('什么客户')"}
| [2023-06-29 11:40:33] [error] [aps_crm/model.(*ClientStatusSearch).Create:46] trace {"error": "Error 1062 (23000): Duplicate entry '什么客户' for key 'name'", "elapsed": 0.0034967, "rows": 0, "sql": "INSERT INTO `client_status` (`name`) VALUES ('什么客户')"}
| [2023-06-29 11:40:33] [error] [aps_crm/model.(*ClientStatusSearch).Create:46] trace {"error": "Error 1062 (23000): Duplicate entry '什么客户' for key 'name'", "elapsed": 0.0025038, "rows": 0, "sql": "INSERT INTO `client_status` (`name`) VALUES ('什么客户')"}
| [2023-06-29 11:40:33] [error] [aps_crm/model.(*ClientStatusSearch).Create:46] trace {"error": "Error 1062 (23000): Duplicate entry '什么客户' for key 'name'", "elapsed": 0.0024172, "rows": 0, "sql": "INSERT INTO `client_status` (`name`) VALUES ('什么客户')"}
| [2023-06-29 15:19:13] [error] [aps_crm/model.(*ClientStatusSearch).First:86] trace {"error": "record not found", "elapsed": 0.0005073, "rows": 0, "sql": "SELECT * FROM `client_status` WHERE id = 14 ORDER BY `client_status`.`id` LIMIT 1"}
| [2023-06-29 15:24:23] [error] [aps_crm/model.(*ClientTypeSearch).First:86] trace {"error": "record not found", "elapsed": 0.0005318, "rows": 0, "sql": "SELECT * FROM `client_type` WHERE id = 110 ORDER BY `client_type`.`id` LIMIT 1"}
| [2023-06-29 16:17:34] [error] [aps_crm/model.(*ClientOriginSearch).Create:44] trace {"error": "Error 1062 (23000): Duplicate entry '蟹老板' for key 'name'", "elapsed": 0.0029311, "rows": 0, "sql": "INSERT INTO `client_origin` (`name`) VALUES ('蟹老板')"}
| [2023-06-29 16:17:34] [error] [aps_crm/model.(*ClientOriginSearch).Create:44] trace {"error": "Error 1062 (23000): Duplicate entry '蟹老板' for key 'name'", "elapsed": 0.0032711, "rows": 0, "sql": "INSERT INTO `client_origin` (`name`) VALUES ('蟹老板')"}
| [2023-06-29 20:09:48] [error] [aps_crm/model.(*ClientTypeSearch).First:86] trace {"error": "record not found", "elapsed": 0.0011122, "rows": 0, "sql": "SELECT * FROM `client_type` WHERE id = 5 ORDER BY `client_type`.`id` LIMIT 1"}
| [2023-06-30 11:44:26] [error] [aps_crm/model.(*IndustrySearch).Create:46] trace {"error": "Error 1062 (23000): Duplicate entry '测试' for key 'name'", "elapsed": 0.002451, "rows": 0, "sql": "INSERT INTO `industry` (`name`) VALUES ('测试')"}
| [2023-06-30 14:55:56] [error] [aps_crm/model.(*EnterpriseNatureSearch).Create:46] trace {"error": "Error 1062 (23000): Duplicate entry '测试企业' for key 'name'", "elapsed": 0.0028795, "rows": 0, "sql": "INSERT INTO `enterprise_nature` (`name`) VALUES ('测试企业')"}
| [2023-06-30 16:50:42] [error] [aps_crm/model.(*RegisteredCapitalSearch).Updates:73] trace {"error": "Error 1062 (23000): Duplicate entry 'string2' for key 'name'", "elapsed": 0.0017808, "rows": 0, "sql": "UPDATE `registered_capital` SET `name`='string2' WHERE id = 7"}
| [2023-07-03 11:09:17] [error] [aps_crm/model.(*EnterpriseScaleSearch).Find:63] trace {"error": "record not found", "elapsed": 0.0011696, "rows": 0, "sql": "SELECT * FROM `enterprise_scale` WHERE id = 10 ORDER BY `enterprise_scale`.`id` LIMIT 1"}
| [2023-07-03 11:09:19] [error] [aps_crm/model.(*EnterpriseScaleSearch).Find:63] trace {"error": "record not found", "elapsed": 0.0005372, "rows": 0, "sql": "SELECT * FROM `enterprise_scale` WHERE id = 11 ORDER BY `enterprise_scale`.`id` LIMIT 1"}
| [2023-07-03 11:09:22] [error] [aps_crm/model.(*EnterpriseScaleSearch).Find:63] trace {"error": "record not found", "elapsed": 0.0005098, "rows": 0, "sql": "SELECT * FROM `enterprise_scale` WHERE id = 12 ORDER BY `enterprise_scale`.`id` LIMIT 1"}
| [2023-07-03 11:19:14] [error] [aps_crm/model.(*EnterpriseScaleSearch).Create:46] trace {"error": "Error 1062 (23000): Duplicate entry '傻逼' for key 'name'", "elapsed": 0.0020095, "rows": 0, "sql": "INSERT INTO `enterprise_scale` (`name`) VALUES ('傻逼')"}
| [2023-07-03 11:20:04] [error] [aps_crm/model.(*EnterpriseScaleSearch).Find:63] trace {"error": "record not found", "elapsed": 0.0005126, "rows": 0, "sql": "SELECT * FROM `enterprise_scale` WHERE id = 4 ORDER BY `enterprise_scale`.`id` LIMIT 1"}
| [2023-07-04 10:59:56] [error] [aps_crm/model.(*SalesLeadsSearch).Create:79] trace {"error": "Error 1146 (42S02): Table 'aps_crm.sales_leads' doesn't exist", "elapsed": 0.0034692, "rows": 0, "sql": "INSERT INTO `sales_leads` (`name`,`number`,`contact_name`,`contact_phone`,`contact_position`,`sales_sources_id`,`member_id`,`sales_status`,`desc`,`country_id`,`province_id`,`city_id`,`region_id`,`created_at`,`updated_at`,`deleted_at`) VALUES ('这是一个客户','LEA50','string','string','string',110,112,'1','string',0,0,0,0,'2023-07-04 10:59:56.539','2023-07-04 10:59:56.539',NULL)"}
| [2023-07-04 11:04:41] [error] [aps_crm/model.(*SalesLeadsSearch).Update:84] trace {"error": "WHERE conditions required", "elapsed": 0.0022112, "rows": 0, "sql": "UPDATE `sales_leads` SET `name`='这是一个客户',`number`='LEA50',`contact_name`='string',`contact_phone`='string',`contact_position`='string',`sales_sources_id`=110,`member_id`=120,`sales_status`='1',`desc`='123123123',`updated_at`='2023-07-04 11:04:41.981' WHERE `sales_leads`.`deleted_at` IS NULL"}
| [2023-07-04 11:05:21] [error] [aps_crm/model.(*SalesLeadsSearch).Update:84] trace {"error": "WHERE conditions required", "elapsed": 0.0007035, "rows": 0, "sql": "UPDATE `sales_leads` SET `name`='这是一个客户',`number`='LEA50',`contact_name`='string',`contact_phone`='string',`contact_position`='string',`sales_sources_id`=110,`member_id`=120,`sales_status`='1',`desc`='123123123',`updated_at`='2023-07-04 11:05:21.227' WHERE `sales_leads`.`deleted_at` IS NULL"}
| [2023-07-04 11:06:05] [error] [aps_crm/model.(*SalesLeadsSearch).Update:84] trace {"error": "WHERE conditions required", "elapsed": 0.0009636, "rows": 0, "sql": "UPDATE `sales_leads` SET `name`='这是一个客户',`number`='LEA50',`contact_name`='string',`contact_phone`='string',`contact_position`='string',`sales_sources_id`=110,`member_id`=120,`sales_status`='1',`desc`='123123123',`updated_at`='2023-07-04 11:06:05.259' WHERE `sales_leads`.`deleted_at` IS NULL"}
| [2023-07-04 11:12:32] [error] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"error": "Error 1062 (23000): Duplicate entry '这是一个客户' for key 'name'", "elapsed": 0.0045154, "rows": 0, "sql": "ALTER TABLE `sales_leads` MODIFY COLUMN `name` varchar(255) UNIQUE COMMENT '公司名称'"}
| [2023-07-04 11:12:32] [error] [main.main:29] model Init err:Error 1062 (23000): Duplicate entry '这是一个客户' for key 'name'
| [2023-07-04 11:13:13] [error] [aps_crm/model.(*SalesLeadsSearch).Create:79] trace {"error": "Error 1062 (23000): Duplicate entry '这是一个客户' for key 'name'", "elapsed": 0.003706, "rows": 0, "sql": "INSERT INTO `sales_leads` (`name`,`number`,`contact_name`,`contact_phone`,`contact_position`,`sales_sources_id`,`member_id`,`sales_status`,`desc`,`country_id`,`province_id`,`city_id`,`region_id`,`created_at`,`updated_at`,`deleted_at`) VALUES ('这是一个客户','LEA50','string','string','string',110,112,'1','string',0,0,0,0,'2023-07-04 11:13:13.402','2023-07-04 11:13:13.402',NULL)"}
| [2023-07-04 13:46:36] [error] [aps_crm/model.(*SalesSourcesSearch).Create:46] trace {"error": "Error 1146 (42S02): Table 'aps_crm.sales_sources' doesn't exist", "elapsed": 0.0014411, "rows": 0, "sql": "INSERT INTO `sales_sources` (`name`) VALUES ('电话来访')"}
| [2023-07-04 16:19:59] [error] [aps_crm/model.(*ClientSearch).First:91] trace {"error": "record not found", "elapsed": 0.0036884, "rows": 0, "sql": "SELECT * FROM `clients` WHERE id = 110 AND `clients`.`deleted_at` IS NULL ORDER BY `clients`.`id` LIMIT 1"}
| [2023-07-04 16:20:29] [error] [aps_crm/model.(*ClientSearch).First:91] trace {"error": "record not found", "elapsed": 0.0012979, "rows": 0, "sql": "SELECT * FROM `clients` WHERE id = 110 AND `clients`.`deleted_at` IS NULL ORDER BY `clients`.`id` LIMIT 1"}
| [2023-07-04 16:50:20] [error] [aps_crm/model.(*ClientSearch).First:91] trace {"error": "record not found", "elapsed": 0.0011865, "rows": 0, "sql": "SELECT * FROM `clients` WHERE id = 8 AND `clients`.`deleted_at` IS NULL ORDER BY `clients`.`id` LIMIT 1"}
| [2023-07-04 16:57:58] [error] [aps_crm/model.(*ClientSearch).First:91] trace {"error": "record not found", "elapsed": 0.0031332, "rows": 0, "sql": "SELECT * FROM `clients` WHERE id = 8 AND `clients`.`deleted_at` IS NULL ORDER BY `clients`.`id` LIMIT 1"}
| [2023-07-04 16:58:50] [error] [aps_crm/model.(*FollowRecordSearch).Update:132] trace {"error": "WHERE conditions required", "elapsed": 0.0009061, "rows": 0, "sql": "UPDATE `follow_records` SET `client_id`=3,`member_id`=110,`number`='LXJL371',`contact_id`=32,`topic`='string',`sales_leads_id`=3,`follow_time`='1970-01-01 08:00:00',`next_follow_time`='1970-01-01 08:00:00',`purpose`='string',`content`='string',`updated_at`='2023-07-04 16:58:50.977' WHERE `follow_records`.`deleted_at` IS NULL"}
| [2023-07-04 17:00:53] [error] [aps_crm/model.(*FollowRecordSearch).Update:132] trace {"error": "WHERE conditions required", "elapsed": 0.0009347, "rows": 0, "sql": "UPDATE `follow_records` SET `client_id`=3,`member_id`=110,`number`='LXJL371',`contact_id`=32,`topic`='string',`sales_leads_id`=3,`follow_time`='1970-01-01 08:00:00',`next_follow_time`='1970-01-01 08:00:00',`purpose`='string',`content`='string',`updated_at`='2023-07-04 17:00:53.907' WHERE `follow_records`.`deleted_at` IS NULL"}
| [2023-07-04 17:01:37] [error] [aps_crm/model.(*FollowRecordSearch).Update:132] trace {"error": "WHERE conditions required", "elapsed": 0.0005444, "rows": 0, "sql": "UPDATE `follow_records` SET `client_id`=3,`member_id`=110,`number`='LXJL371',`contact_id`=32,`topic`='string',`sales_leads_id`=3,`follow_time`='1970-01-01 08:00:00',`next_follow_time`='1970-01-01 08:00:00',`purpose`='string',`content`='string',`updated_at`='2023-07-04 17:01:37.026' WHERE `follow_records`.`deleted_at` IS NULL"}
| [2023-07-04 17:04:51] [error] [aps_crm/model.(*FollowRecordSearch).Update:132] trace {"error": "WHERE conditions required", "elapsed": 0.0005238, "rows": 0, "sql": "UPDATE `follow_records` SET `client_id`=3,`member_id`=110,`number`='LXJL371',`contact_id`=32,`topic`='string',`sales_leads_id`=3,`follow_time`='1970-01-01 08:00:00',`next_follow_time`='1970-01-01 08:00:00',`purpose`='string',`content`='string',`updated_at`='2023-07-04 17:04:51.636' WHERE `follow_records`.`deleted_at` IS NULL"}
| [2023-07-06 13:52:06] [error] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"error": "Error 1170 (42000): BLOB/TEXT column 'name' used in key specification without a key length", "elapsed": 0.0005897, "rows": 0, "sql": "ALTER TABLE `client_origin` MODIFY COLUMN `name` longtext"}
| [2023-07-06 13:52:06] [error] [main.main:29] model Init err:Error 1170 (42000): BLOB/TEXT column 'name' used in key specification without a key length
| [2023-07-06 13:52:52] [error] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"error": "Error 1170 (42000): BLOB/TEXT column 'name' used in key specification without a key length", "elapsed": 0.0007521, "rows": 0, "sql": "ALTER TABLE `client_origin` MODIFY COLUMN `name` longtext"}
| [2023-07-06 13:52:52] [error] [main.main:29] model Init err:Error 1170 (42000): BLOB/TEXT column 'name' used in key specification without a key length
| [2023-07-06 13:55:26] [error] [gorm.io/driver/mysql.Migrator.AlterColumn.func1:59] trace {"error": "Error 1170 (42000): BLOB/TEXT column 'name' used in key specification without a key length", "elapsed": 0.0007354, "rows": 0, "sql": "ALTER TABLE `client_level` MODIFY COLUMN `name` longtext"}
| [2023-07-06 13:55:26] [error] [main.main:29] model Init err:Error 1170 (42000): BLOB/TEXT column 'name' used in key specification without a key length
|
|