 He later served as superior (provost) of the canonries of Barcelona and then Sant Adrià de Besós (1095–1108), and later as abbot of the Augustinian monastery of Saint-Ruf (Saint Rufus) in Avignon (1113–1118).As abbot of Saint-Ruf, Olegarius had mediated the Mediterranean alliance between the Republic of Pisa, Kingdom of Cagliari, County of Provence, and Barcelona against the Almoravid pirates based on the Balearic Islands, resulting in the expedition of 1113–15.In the "Gesta triumphalla per Pisanos, facta de captione Hierusalem et civitatis Mayoricarum" of the Pisan deacon Enric (not, as sometimes alleged, Lorenzo Verones), Olegarius names is misspelled Nogelarius or Nigelarius.