Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clone 当前版本clone后执行go run 界面显示404 日志内报错数据表不存在 #1125

Open
ucanme opened this issue Jan 10, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@ucanme
Copy link

ucanme commented Jan 10, 2024

操作:
1.修改了配置文件内的mysql
2.进行前端的编译 make build.ui build.dist
3. go run main.go server
进入界面显示404
日志显示
{"lv":"error","ts":1704796905,"msg":"sync","step":"nodes","error":"conds: map[status:0 typ:0]: Error 1146: Table 'clickvisual.cv_bd_crontab' doesn't exist"}
{"lv":"error","ts":1704796908,"msg":"sync","step":"nodes","error":"conds: map[status:0 typ:0]: Error 1146: Table 'clickvisual.cv_bd_crontab' doesn't exist"}
{"lv":"error","ts":1704796909,"msg":"innerError","comp":"srvStorage","type":"tickerTraceWorker","error":"conds map[create_type:3]:: Error 1146: Table 'clickvisual.cv_base_table' doesn't exist","errorVerbose":"Error 1146: Table 'clickvisual.cv_base_table' doesn't exist\nconds map[create_type:3]:\ngithub.com/clickvisual/clickvisual/api/internal/pkg/model/db.TableList\n\t/Users/ji.wu/work/project/clickvisual/api/internal/pkg/model/db/basetable.go:132\ngithub.com/clickvisual/clickvisual/api/internal/service.(*srvStorage).syncTraceWorker\n\t/Users/ji.wu/work/project/clickvisual/api/internal/service/storage.go:46\ngithub.com/clickvisual/clickvisual/api/internal/service.(*srvStorage).tickerTraceWorker\n\t/Users/ji.wu/work/project/clickvisual/api/internal/service/storage.go:38\ngithub.com/clickvisual/clickvisual/api/internal/service.Init.func5\n\t/Users/ji.wu/work/project/clickvisual/api/internal/service/init.go:

切换到12rc版本,可以正常进入界面

@ucanme ucanme changed the title clone 当前版本使用报错数据表不存在 clone 当前版本clone后执行go run 界面显示404 日志内报错数据表不存在 Jan 10, 2024
@kl7sn kl7sn self-assigned this Jan 15, 2024
@kl7sn kl7sn added the bug Something isn't working label Jan 15, 2024
@kl7sn
Copy link
Collaborator

kl7sn commented Jan 15, 2024

因为是第一次进入系统数据表没创建,所以会有这些报错,理论上这些报错不影响使用,进入之后会看到这个界面,完成初始化之后就可以正常使用了

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants