ERROR: The recovery server could not be contacted
It appears that this has to do with the time on the machine not being synchronized, so when the MacBook tries to reach out to the recovery server the certificates do not validate and we get this useless error message.
- Run in Terminal (possibly with sudo)
ntpdate -u time.apple.com
- Try several times
- Create New Admin User.
- Login as New Admin User and try to install the macOS High Sierra
- Launch the “Terminal” window on recovery page
- Type “date” command in the menu bar at the top
- Type
date 0303021517
(March 3rd 02:15 2017) - Try to install the OS