通过管理台启动长安链执行docker-compose up命令报错
【问题分类】
- 长安链管理台
【问题描述】(请对问题进行描述,方便定位问题)
按照v2.3.0版文档通过管理台启动长安链部分,执行第3.1.3.2步docker-compose up命令报错Error 1062: Duplicate entry 'admin' for key 'user_name_index' ,浏览器访问localhost无响应
【相关日志文件】(如果有报错日志请贴图,或者上传附件)
management-backend-cm_mgmt_server-1 | [2022-11-11 16:21:12] Error 1062: Duplicate entry 'admin' for key 'user_name_index'
management-backend-cm_mgmt_server-1 |
management-backend-cm_mgmt_server-1 | (/cm-mgmt/src/db/connection/connection.go:106)
management-backend-cm_mgmt_server-1 | [2022-11-11 16:21:12] [0.39ms] INSERT INTO cmb_user
(create_at
,update_at
,user_name
,name
,salt
,passwd
,parent_id
,status
) VALUES ('2022-11-11 16:21:12','2022-11-11 16:21:12','admin','admin','B7w56hJ9lgIIKqGVfFEsq9ktXd8OC8xx','448396db119895a03cc9d612cd5593bc35c3215cefec5300794f9ad79085bc1f',0,0)
management-backend-cm_mgmt_server-1 | [0 rows affected or returned ]
management-backend-cm_mgmt_server-1 | Error 1062: Duplicate entry 'admin' for key 'user_name_index'
management-backend-cm_mgmt_server-1 |
management-backend-cm_mgmt_server-1 | (/cm-mgmt/src/db/chain/chain.go:72)
management-backend-cm_mgmt_server-1 | [2022-11-11 16:21:12] [0.40ms] SELECT * FROM cmb_chain
WHERE (status=0) ORDER BY id DESC
management-backend-cm_mgmt_server-1 | [0 rows affected or returned ]
management-backend-cm_mgmt_server-1 | 2022-11-11 16:21:12.343 [INFO] [WEB] router/router.go:33 start cross domain processing...
【系统信息】(请填写系统信息,方便定位问题)
- chainmaker-go version * : [v2.3.0]
- **OS & version * :CentOS 8
- **docker镜像 version:20.10.21 docker-compose version:2.12.2
- 管理台 version: v2.3.0