Found flag file C:\Program Files\ArcGIS\Server\framework\etc\upgrade.txt. Starting in upgrade mode.
Thank you Loren, I just hit this today & same as you uninstall/reinstall did not work. Renamed the upgrade.txt file restarted ArcGIS Server service and back in business!
Holy cow... I've been pulling my hair out all day. Repairing, uninstalling, reinstalling... ahhh
I'm on 10.4.1 and the text file was called ArcGISServerUG.txt
I renamed that and restarted the service and now it works.. THANK YOU!!!