The advantage of solar on roofs is that solar doesn't need to be serviced often, and the solar panels actually protect the roof under it and will lower electricity use in the summer by keeping sun off the roof.
And you need to replace the roof? Now what?
Rooftop solar has numerous problems, starting with structural considerations, scale, shading, imperfect angles, local grid congestion and so on. Why have everyone waste money on this when we could just install solar farms?
They don't need much service. And it's not like you need a helicopter to get there
> And you need to replace the roof? Now what?
That's one in 50 years event
Like yeah, if you have good amount of space that is otherwise unused go ahead, but realistically someone will want that space for a house or business, not a bunch of glassy squares, those can go on roof.