Making sure your roof is in top shape is vitally important before installing solar panels — as one homeowner found out.