Skip to content

Problem deploying for FISCO-BCOS 3.5 #242

@tnkhanh

Description

@tnkhanh

I'm following https://weidentity.readthedocs.io/zh-cn/latest/docs/weidentity-build-with-deploy.html to deploy (with Google Translate).
Versions used:

  • fisco-bcos v3.5
  • weid-build-tools-3.1.1-rc.1.jar

Problem

  • ./deploy.sh reports missing resources/conf:
    ./deploy.sh: line 109: cd: [..]/weid-build-tools/resources/conf: No such file or directory

  • After I create resources/conf:
    ERROR : fisco bcos version is 3.0. encrypt type is ECDSA, ca.crt, sdk.crt and sdk.key are needed.

  • After I copy missing files from fisco/nodes/127.0.0.1/sdk into resources/conf :

    Not found available log config(./clog.ini or ./conf/clog.ini), use the default configuration items
    Exception in thread "main" com.webank.weid.blockchain.exception.WeIdBaseException. Error code = 160007, Error message : the    ConfigOption build fail.
            at com.webank.weid.blockchain.service.fisco.server.v3.WeServerV3.initBcosSdk(WeServerV3.java:343)
            [...]
            at com.webank.weid.command.DeployContract.main(DeployContract.java:57)
    
  • After I copy run.config to clog.ini:

    Exception in thread "main" com.webank.weid.blockchain.exception.WeIdBaseException. Error code = 160007, Error message : the ConfigOption build fail.                                                        
            at com.webank.weid.blockchain.service.fisco.server.v3.WeServerV3.initBcosSdk(WeServerV3.java:343)
            [...]
            at com.webank.weid.command.DeployContract.main(DeployContract.java:57)
    

    Here I'm stuck. What should I do to deploy? Is there updated docs?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions