尝试更新HyperLeDger-Composer版本,但仍然与客户端版本不兼容



我只是Hyperledger Composer的新初学者。因此,我尝试使用Docker部署REST服务器,然后遵循本指南

为业务网络部署REST服务器

然后,当我运行Docker时,它在docker logs

上显示此错误
docker logs rest
0|composer | WARNING: NODE_APP_INSTANCE value of '0' did not match any instance config file names.
0|composer | WARNING: See https://github.com/lorenwest/node-config/wiki/Strict-Mode
0|composer | Discovering types from business network definition ...
0|composer | D0831 07:04:36.180952003      24 env_linux.c:66]             Warning: insecure environment read function 'getenv' used
0|composer | D0831 07:04:37.574385287      24 env_linux.c:66]             Warning: insecure environment read function 'getenv' used
0|composer | Connection fails: Error: Error trying to ping. Error: Composer runtime (0.11.3) is not compatible with client (0.11.2)
0|composer | It will be retried for the next request.
0|composer | Exception: Error: Error trying to ping. Error: Composer runtime (0.11.3) is not compatible with client (0.11.2)
0|composer | Error: Error trying to ping. Error: Composer runtime (0.11.3) is not compatible with client (0.11.2)
0|composer |     at _checkRuntimeVersions.then.catch (/usr/local/lib/node_modules/composer-rest-server/node_modules/composer-connector-hlfv1/lib/hlfconnection.js:696:34)
PM2        | App [composer-rest-server] with id [0] and pid [24], exited with code [1] via signal [SIGINT]
PM2        | Starting execution sequence in -fork mode- for app name:composer-rest-server id:0
PM2        | App name:composer-rest-server id:0 online

因此,我尝试通过在同一DOC

上关注本指南来更新版本

更新Hyperledger Composer

但是,在我停止/重新启动结构后,再次重新启动链条并运行Docker,仍然存在错误。

任何人都可以告诉我我想念的东西吗?

注意:我也尝试了此解决方案,但仍然有同样的问题。

好吧,我解决了问题。我删除了所有Docker映像,然后启动新的面料以再次下载图像,并且可以使用!

docker rmi $(docker images  -q)

相关内容

  • 没有找到相关文章

最新更新