How to update macOS when the system thinks the update is already installed
Spent a fruitless hour on the phone with Apple support—nothing I tried had any effect. Finally solved it by downloading the High Sierra installer on another, newer Mac, and using its Terminal's createinstallmedia command to make a bootable USB thumb drive installer. Transferred this to the target iMac via sneakernet, and was able to run it and install High Sierra.