Make sure that your phone is connected to the Internet and keep the screen on when trying to upgrade again.