At first I tried some self hosted solutions but I didn't like anything, eventually I landed on ente.io/ which I really like.
It has a lot of ways to import your photos, really nice mobile and pc (windows, Linux, and Mac) apps that can automatically upload your pictures in the background, the devs are really responsive (there was a bug with one of the importers so I opened a ticket and I got a lot of help in order to debug the issue and solve it).
The only thing that I don't love is that while the clients are all open source, the back end isn't because they claim they are too small of a team to keep it both open source and secure.
Ah my bad mate, I didn't notice you were the same person and the way you wrote your reply made me think you misunderstood the advantages of each and we're recommending to use ublock only