I was at my place in Idaho last month to do some general maintenance on things and this was one of the things I had to take care of:
In the center is a solar panel. The batteries, in the box on the right, were still holding up but were low. I brushed off the snow and charged up the batteries with an alternate power source. They probably will hold out until I visit again. But this is an issue with solar power. You might think of solar panels as near zero maintenance, but they are not. They get dirty as well has get covered in snow and ice. The batteries also need to be replaced every few years.
For some applications they are the best choice available. For general purpose electricity, not so much.