2017-08-31 111 views
2

我只是Hyperledger Composer.So的一个新的初学者我试图通过这个指南尝试更新hyperledger作曲家版本,但仍与客户端版本不兼容

Deploying the REST server for a business network

以下部署使用泊坞窗REST服务器然后,当我运行泊坞窗,它显示在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 

这个错误所以我尝试在同一文档按照本指南的更新版本

Updating Hyperledger Composer

但是,在停止/重新启动fabric后,重新部署chaincode并运行docker,错误仍然存​​在。

任何人都可以请告诉我我失踪了吗?

注:我也尝试this solution,但仍然有同样的问题。

回答

2

好吧,我已经解决了这个问题。我删除所有码头图像,并开始新的面料再次下载图像,它的工作原理!

docker rmi $(docker images -q)