Hi,
I just picked up one of these NVRs and had the same issue. Mine still had the original 2017 firmware. This thread was the top result so I just want to add a fix for anyone in the same position.
My device model is DHI-NVR4104HS-P-4KS2. I was able to flash the firmware V4.001.0000005.1 by...