Prb fetch 启动报错

docker-compose up -d fetch 启动不起来了,报错如下:
@phala/[email protected] start_module /opt/app
fetch_1 | > node --trace-warnings --experimental-json-modules --es-module-specifier-resolution=node --harmony-top-level-await src/index
fetch_1 |
fetch_1 | {“name”:“prb”,“hostname”:“fetch”,“pid”:19,“level”:30,“loggerLevel”:20,“msg”:“Logging Enabled.”,“time”:“2022-03-05T01:48:56.564Z”,“v”:0}
fetch_1 | {“name”:“prb”,“hostname”:“fetch”,“pid”:19,“level”:20,“nodeEnv”:“testing”,“NODE_ENV”:“testing”,“loggerLevel”:“debug”,“PHALA_LOGGER_LEVEL”:“debug”,“moduleName”:“fetch”,“PHALA_MODULE”:“fetch”,“parentChainEndpoint”:“ws://node:9945”,“PHALA_PARENT_CHAIN_ENDPOINT”:“ws://node:9945”,“chainEndpoint”:“ws://node:9944”,“PHALA_CHAIN_ENDPOINT”:“ws://node:9944”,“redisEndpoint”:“redis://redis:6379/”,“PHALA_REDIS_ENDPOINT”:“redis://redis:6379/”,“dbHost”:“io”,“PHALA_DB_HOST”:“io”,“dbPortBase”:“9000”,“PHALA_DB_PORT_BASE”:“9000”,“msg”:"",“time”:“2022-03-05T01:48:56.565Z”,“v”:0}
fetch_1 | {“name”:“prb”,“hostname”:“fetch”,“pid”:19,“level”:30,“msg”:“Now listening to the redis channel for RPC.”,“time”:“2022-03-05T01:48:56.738Z”,“v”:0}
fetch_1 | {“name”:“sync_block”,“hostname”:“fetch”,“pid”:19,“level”:30,“moduleName”:“fetch/sync_block”,“msg”:“Subprocess online.”,“time”:“2022-03-05T01:48:56.755Z”,“v”:0}
fetch_1 | {“name”:“prb”,“hostname”:“fetch”,“pid”:30,“level”:30,“loggerLevel”:20,“msg”:“Logging Enabled.”,“time”:“2022-03-05T01:48:56.838Z”,“v”:0}
fetch_1 | {“name”:“prb”,“hostname”:“fetch”,“pid”:30,“level”:20,“nodeEnv”:“testing”,“NODE_ENV”:“testing”,“loggerLevel”:“debug”,“PHALA_LOGGER_LEVEL”:“debug”,“moduleName”:“fetch/sync_block”,“PHALA_MODULE”:“fetch/sync_block”,“parentChainEndpoint”:“ws://node:9945”,“PHALA_PARENT_CHAIN_ENDPOINT”:“ws://node:9945”,“chainEndpoint”:“ws://node:9944”,“PHALA_CHAIN_ENDPOINT”:“ws://node:9944”,“redisEndpoint”:“redis://redis:6379/”,“PHALA_REDIS_ENDPOINT”:“redis://redis:6379/”,“dbHost”:“io”,“PHALA_DB_HOST”:“io”,“dbPortBase”:“9000”,“PHALA_DB_PORT_BASE”:“9000”,“msg”:"",“time”:“2022-03-05T01:48:56.839Z”,“v”:0}
fetch_1 | @polkadot/util has multiple versions, ensure that there is only one installed.
fetch_1 | Either remove and explicitly install matching versions or dedupe using your package manager.
fetch_1 | The following conflicting packages were found:
fetch_1 | 7.6.1
fetch_1 | 7.6.2-6
fetch_1 | @polkadot/keyring has multiple versions, ensure that there is only one installed.
fetch_1 | Either remove and explicitly install matching versions or dedupe using your package manager.
fetch_1 | The following conflicting packages were found:
fetch_1 | 7.6.1
fetch_1 | 7.6.2-6
fetch_1 | @polkadot/util-crypto has multiple versions, ensure that there is only one installed.
fetch_1 | Either remove and explicitly install matching versions or dedupe using your package manager.
fetch_1 | The following conflicting packages were found:
fetch_1 | 7.6.1
fetch_1 | 7.6.2-6
fetch_1 | @polkadot/wasm-crypto has multiple versions, ensure that there is only one installed.
fetch_1 | Either remove and explicitly install matching versions or dedupe using your package manager.
fetch_1 | The following conflicting packages were found:
fetch_1 | 4.2.1
fetch_1 | 4.2.1
fetch_1 | {“name”:“prb”,“hostname”:“fetch”,“pid”:30,“level”:30,“msg”:“Connected to db 0”,“time”:“2022-03-05T01:48:58.807Z”,“v”:0}
fetch_1 | 2022-03-05 01:49:03 REGISTRY: Unknown signed extensions CheckMqSequence found, treating them as no-effect
fetch_1 | 2022-03-05 01:49:03 API/INIT: RPC methods not decorated: pha_getStorageChanges
fetch_1 | 2022-03-05 01:49:03 METADATA: Unknown types found, no types for Lookup47
fetch_1 | {“name”:“prb”,“hostname”:“fetch”,“pid”:30,“level”:30,“chain”:“Kusama”,“msg”:“Connected to chain Kusama using Khala Node v0.1.9-4470b3d-x86_64-linux-gnu”,“time”:“2022-03-05T01:49:08.578Z”,“v”:0}
fetch_1 | {“name”:“prb”,“hostname”:“fetch”,“pid”:30,“level”:30,“chain”:“Khala”,“msg”:“Connected to chain Khala using Khala Node v0.1.9-4470b3d-x86_64-linux-gnu”,“time”:“2022-03-05T01:49:08.579Z”,“v”:0}
fetch_1 | {“name”:“prb”,“hostname”:“fetch”,“pid”:30,“level”:30,“msg”:“Fetching genesis…”,“time”:“2022-03-05T01:49:08.584Z”,“v”:0}
fetch_1 | 2022-03-05 01:49:11 RPC-CORE: getBlock(hash?: BlockHash): SignedBlock:: Unable to retrieve header and parent from supplied hash
fetch_1 | {“name”:“prb”,“hostname”:“fetch”,“pid”:30,“level”:50,“err”:{“message”:“Unable to retrieve header and parent from supplied hash”,“name”:“Error”,“stack”:“Error: Unable to retrieve header and parent from supplied hash\n at assert (file:///opt/app/node_modules/.pnpm/@[email protected]/node_modules/@polkadot/util/assert.js:24:11)\n at ApiPromise._getBlockRegistry (file:///opt/app/node_modules/.pnpm/@[email protected]/node_modules/@polkadot/api/base/Init.js:205:5)\n at processTicksAndRejections (internal/process/task_queues.js:95:5)”},“msg”:“Unable to retrieve header and parent from supplied hash”,“time”:“2022-03-05T01:49:11.421Z”,“v”:0}
fetch_1 | {“name”:“sync_block”,“hostname”:“fetch”,“pid”:19,“level”:30,“moduleName”:“fetch/sync_block”,“code”:255,“msg”:“Subprocess exited.”,“time”:“2022-03-05T01:49:11.448Z”,“v”:0}
fetch_1 | ELIFECYCLE Command failed with exit code 255.

其他容器正常启动吗?docker环境版本对么?

  • Ubuntu LTS 20.04
  • Docker ≥ 20.10或更新
  • Docker ≥ Compose 1.29 或更新

host doesn't provide such function: env:ext_trie_blake2_256_ordered_root_version_2

这个问题是因为节点版本不是最新,需要更新一下

改配置文档 还是 直接 pull ,好像没有可更新得了

node镜像版本不对,可能你修改过docker为阿里云仓库源,因为缓存导致无法pull到最新tag的镜像