I have been using Owncloud for some time now hosted on one of my servers, it was setup mainly to sync calender and contacts to move away from Google Contacts and Calendar. It has been working nicely and I have also used it for document sync, and image sync from my phone.