One of the expensive single parts of a solar energy system is inverter which is also the most likely component to incur damage and fail. In order to save some money, some people select an inverter which is not able to handle the calculated capacity which increases the chance of failure. But it is suggested to avoid such kind of mistake. Lower quality inverter has limited warranty so it is essential to make a good decision before purchasing solar system.
Batteries have 5-10 years warranty with 15 years extended lifespan. There are no moving parts and have no manufacturing errors, that means it requires little repair.
Solar panels consist of number of photovolatic cells that are made of silicon. These are highly fragile but encased and protected by tempered glass and aluminum frame. These panels require less repair and replacement.
PV technology normally does not breakdown for years. However, you need to consider protective measures in case of hail, hurricanes and other harsh weather conditions.