A volcano erupted near Indonesia’s third-biggest city of Bandung on Friday, sending ash several hundred meters into the air and triggering warnings for people to stay away.