Dozens of people had to leave their homes due to the risk of further landslides and the advancing floods.