Take a look at
www.recoll.orgThe only thing it's lacking is a webUI. It has Python and very preliminary PHP bindings though.
I'm not familiar with Web development. But I'd like to help in any possible way.
This is, in my opinion, a very essential feature for a NAS solution.