I’m curious what set of conditions would make it such that CHT does not show what version is installed when on the upgrades page or through the monitoring API. This is from what I would believe is a fresh installation of 4.1 (with no upgrades done).
That explains it. It’s a bad idea to modify the medic ddoc, because the CHT relies on that internally in ways that are not documented so it’s very easy to break things without realising. Furthermore it gets overwritten on upgrade so you will lose any customisations you’ve made.
A better approach usually is to create a new ddoc for your own uses.