When a command is put in a repeating command block, the command block never does something, regardless of if it is powered or not, and even always active doesn't work. Commands only work in impulse and chain command blocks.
Linked issues
Comments

It happened for all the commands I tried.
Can you attach the zipped world file of your world here? If the file size is too large, you can upload it somewhere else and then link it here.
Thanks! Where is the command block with the issue?

All repeating command blocks are underground in the force loaded chunk in the village.
Changing all the command blocks first from "Always Active" to "Needs Redstone" and then back solves the issue. Duplicate of MC-86846.

Ok. Thanks.
Please provide the exact command that you put into the command block.