【问题标题】:How to keep data while restart hyperledger composer rest server or composer-playground如何在重启超级账本作曲家休息服务器或作曲家游乐场时保留数据
【发布时间】:2018-07-13 07:47:32
【问题描述】:

我一直在学习一些教程,例如

  1. Saving data on Hyperledger-Composer network
  2. How to restart the fabric composer without losing the existing data?

基于composer network start error,我必须添加一行代码export MSYS_NO_PATHCONV=1,但是出现错误,网络无法正常启动

✖ Starting business network definition.
This may take a minute...
Error: Error trying to start business network.
Error: Unable to initalize channel. Attempted to contact 1 Peers. Last error was
Error: Error: 2 UNKNOWN: access denied: channel [composerchannel] creator org [Org1MSP]

请告诉我应该怎么做才能解决我的问题

感谢您的宝贵时间。

【问题讨论】:

    标签: couchdb hyperledger-fabric blockchain hyperledger hyperledger-composer


    【解决方案1】:

    对不起,我写错误信息时错了...

    ✖ Starting business network definition. This may take a minute...
    Error: Error trying to start business network. Error: Unable to initalize channel.
    Attempted to contact 1 Peers. Last error was Error: Error: 2 UNKNOWN: access denied:
    channel [composerchannel] creator org [Org1MSP]
    

    谢谢。

    【讨论】:

      【解决方案2】:

      对于这个问题,尝试以下步骤可能会有所帮助:

      1. 停止所有 ENV
      2. 删除使用命令创建的卡片(作曲者卡片删除)
      3. 再次启动 ENV

      【讨论】:

      • 你能否尝试停止 ENV 并删除 crypto-config 文件夹以及 composer-genesis.block 和 composer-channel.tx 等文件,然后重新开始
      • 是的,我试过了.. 1. 我试过重新安装我的业务网络。失败 2. 并尝试重新安装我的 vm-ware,仍然失败 3. 我尝试按照互联网上的一些教程进行操作,仍然失败
      • 您确定 Env 正确启动了吗?在安装 BNA 并开始业务网络之前
      • 我们如何知道 Env 已正确启动?在我停止或启动结构网络后,我使用超级账本创建的所有应用程序都无法存储数据。我已经检查过,每次我们重新启动我们的网络,couchdb 都会被删除,所以我按照那个教程来修复它,但仍然无法修复我的错误..
      猜你喜欢
      • 2022-11-10
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-17
      • 1970-01-01
      • 2018-12-12
      相关资源
      最近更新 更多