The 7.7 magnitude earthquake struck off the Indonesian coast around 5.58am local time, around midnight in the UK.