I switched to self hosted Piwigo after Flickr started threatening to delete my photos a while back.
It had an extension that let me import all my photos from Flickr. Not sure if that still works after they changed hands.
It's very easy to maintain; just click the update button in the Web UI. And it comes with a bunch of extensions.