Officers were attacked with petrol bombs, masonry and bottles during town's second night of unrest.