Lost all profile / group images after upgrading

Hi,

After upgrading Elgg to 1.7 every members profile image and every group image has been reset to the ugly default image. Does anyone know how to fix this?