I recently came across this project
Paperless NGX
It’s a document manager and seems to allow for shared access. It’s server based and I think it’s open source, does OCR, and allows for custom metadata
But
- It seems incredibly complicated to set up
- doesn’t offer any encryption as far as I can tell
- is it fully open source? Not sure
Those might be deal killers for some people.