Je tente également de lancer mon indexeur. Je suis parti du dépôt git pour le .env et le docker-compose.yml. J’ai utilisé ces images :
- duniter/squid-graphile-gtest:0.5.11
- duniter/squid-postgres-gtest:0.5.11
- duniter/squid-app-gtest:0.5.11
Au départ la synchro a l’air de partir, puis ça s’arrête brusquement avec ce message d’erreur dans les logs de processor :
{"level":2,"time":1772746353345,"ns":"sqd:processor","msg":"48769 / 2093421, rate: 94 blocks/sec, mapping: 167 blocks/sec, 519 items/sec, eta: 6h 3m"}
{"level":3,"time":1772746353348,"ns":"sqd:processor:mapping","msg":"Validator g1PH3gQ4n53EqpcLVLtG77jRRo71tLUjvDYcm87MENkAa1NPz not found for block 48778, skipping forge count"}
{"level":2,"time":1772746353385,"ns":"sqd:processor:mapping","msg":"48783 SmithMembers.SmithCertAdded"}
{"level":5,"time":1772746353410,"ns":"sqd:processor","err":{"stack":"EntityNotFoundError: Could not find any entity of type \"Smith\" matching: {\n \"index\": 12483\n}\n at /squid/node_modules/.pnpm/typeorm@0.3.26_ioredis@5.7.0_pg@8.16.3_reflect-metadata@0.2.2/node_modules/typeorm/entity-manager/EntityManager.js:682:39\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async StoreWithCache.findOneByOrFail (/squid/node_modules/.pnpm/@belopash+typeorm-store@1.5.0_@subsquid+typeorm-config@4.1.1_typeorm@0.3.26_ioredis@5.7_0562d5ed8c2d447272b97a9e909772f4/node_modules/@belopash/typeorm-store/lib/store.js:153:21)\n at async DataHandler.processNewData (/squid/lib/data_handler.js:412:32)\n at async /squid/lib/main.js:91:9\n at async TypeormDatabaseWithCache.performUpdates (/squid/node_modules/.pnpm/@belopash+typeorm-store@1.5.0_@subsquid+typeorm-config@4.1.1_typeorm@0.3.26_ioredis@5.7_0562d5ed8c2d447272b97a9e909772f4/node_modules/@belopash/typeorm-store/lib/database.js:45:13)\n at async /squid/node_modules/.pnpm/@subsquid+typeorm-store@1.5.1_@subsquid+big-decimal@1.0.0_typeorm@0.3.26_ioredis@5.7.0_pg@8.16.3_reflect-metadata@0.2.2_/node_modules/@subsquid/typeorm-store/lib/database.js:84:13\n at async EntityManager.transaction (/squid/node_modules/.pnpm/typeorm@0.3.26_ioredis@5.7.0_pg@8.16.3_reflect-metadata@0.2.2/node_modules/typeorm/entity-manager/EntityManager.js:75:28)\n at async TypeormDatabaseWithCache.submit (/squid/node_modules/.pnpm/@subsquid+typeorm-store@1.5.1_@subsquid+big-decimal@1.0.0_typeorm@0.3.26_ioredis@5.7.0_pg@8.16.3_reflect-metadata@0.2.2_/node_modules/@subsquid/typeorm-store/lib/database.js:164:24)\n at async Runner.withProgressMetrics (/squid/node_modules/.pnpm/@subsquid+util-internal-processor-tools@4.2.1/node_modules/@subsquid/util-internal-processor-tools/lib/runner.js:217:22)","criteria":{"index":12483},"message":"Could not find any entity of type \"Smith\" matching: {\n \"index\": 12483\n}"}}
Et ensuite ça ne veut plus redémarrer car ce message revient sans arrêt.
Qu’est-ce que j’ai loupé ?