

Well, yes, but…
nextcloud forked owncloud back when there was only the php codebase.
opencloud forked owncloud ocis, which is a rewrite in go.
So while both forked “owncloud”, or “something named owncloud”, i doubt they’ll have any code in common.
I’m using https://github.com/dracut-crypt-ssh/dracut-crypt-ssh on some of my servers. The initrd opens an ssh port where you can login and enter the passphrase. Setting it up is non-trivial, but it works well. Haven’t tried it on Debian but there should be something similar.