Joystream / Joystream/orion

QN processor fails at block 500985... no COMMENT_TIP_TIERS

Open Beginner friendly
#369 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
9
Forks
18
PR merge metrics
No merged PRs in 30d

Description

Orion is fully synced

docker logs orion_archive_ingest
{"level":2,"time":1759550645589,"ns":"sqd:substrate-ingest","msg":"last block: 14769348, progress: 0 blocks/sec, write: 193 blocks/sec"}

fails processing blocks: Error: Cannot determine value of config variable COMMENT_TIP_TIERS

$ docker logs orion-processor
...
{"level":2,"time":1759550286054,"ns":"sqd:processor:mapping","msg":"Processing Members.MemberRemarked event in block 500985..."}
{"level":5,"time":1759550286061,"ns":"sqd:processor","err":{"stack":"Error: Cannot determine value of config variable COMMENT_TIP_TIERS\n    at Config.get (/squid/lib/utils/config.js:79:19)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async commentTipTierParams (/squid/lib/mappings/content/commentsAndReactions.js:239:22)\n    at async processCreateCommentMessage (/squid/lib/mappings/content/commentsAndReactions.js:302:27)\n    at async processMemberRemarkedEvent (/squid/lib/mappings/membership/index.js:55:11)\n    at async processEvent (/squid/lib/processor.js:233:5)\n    at async /squid/lib/processor.js:282:17\n    at async TypeormDatabase.runTransaction (/squid/node_modules/@subsquid/typeorm-store/lib/database.js:110:13)\n    at async TypeormDatabase.transact (/squid/node_modules/@subsquid/typeorm-store/lib/database.js:64:24)\n    at async Runner.process (/squid/node_modules/@subsquid/substrate-processor/lib/processor/runner.js:117:17)"}}

It's in .env but missing from docs/operator-guide/examples/.env.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Compare the root .env entry around line 42 with docs/operator-guide/examples/.env. Add the missing COMMENT_TIP_TIERS setting to the operator example, then verify the example includes the configuration required by comment processing and no longer reproduces the reported startup failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, typescript
Domain
devops, documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
82/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.