Indonesia confirmed 24 deaths following a factory fire, while rescue efforts continue for about 30 missing persons.