Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Sign in
issue
issue
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 23
    • Issues 23
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar

新注册的用户请输入邮箱并保存,随后登录邮箱激活账号。后续可直接使用邮箱登录!

  • chainmaker
  • issueissue
  • Issues
  • #1094

Closed
Open
Opened Jun 05, 2024 by liu sir@yu_chainmaker

管理台生成区块链配置文件格式问题

版本:manage-web:3.0.0 mangae-backend: 3.0.0

  1. window上执行拉取管理台代码命令:git clone -b v3.0.0 --depth=1 https://git.chainmaker.org.cn/chainmaker/management-backend.git
  2. 然后将代码上传至linux服务器
  3. 不使用docker,执行编译启动命令: (1) 编译:go build -o management-backend (2)运行:./management-backend -config ../configs/
  4. 进入管理台的区块链管理,新建区块链,输入信息后获取到部署的包
  5. 将包上传至linux服务器,然后执行./start.sh,会出现如下错误,这个错误原因如下:

image

image

对比参照:

  1. 在linux上拉取管理台代码,和window保持一致:git clone -b v3.0.0 --depth=1 https://git.chainmaker.org.cn/chainmaker/management-backend.git
  2. 然后执行编译启动命令: (1) 编译:go build -o management-backend (2)运行:./management-backend -config ../configs/
  3. 进入管理台的区块链管理,新建区块链,输入信息后获取到部署的包
  4. 将包上传至linux服务器,然后执行./start.sh,成功启动。

提问:window拉取代码可以做一些自定义操作,然后上传至linux。但和直接从linux上拉取的代码,却存在差异,理论来说window和linunx上应该保持一致的,这是不是一个bug?

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: chainmaker/issue#1094

Copyright © 2021 ChainMaker Org. All Rights Reserved. 长安链 版权所有。