NextCloud client on linux - safety/awareness of fscrypt

Iā€™m considering doing partial home directory encryption with fscrypt. One area of concern is how this will interact with NextCloud client. Since fscrypt results in filenames being hashed during encrypted state - my concern is whether or not the NC client will be in any way aware of that, or if it will interpret it as ā€œthousands of files got renamedā€.

Besides: ā€œMake sure that nextcloud client isnā€™t running when you lock the directory.ā€ and possibly ā€œAlso encrypt nextcloud client configuration dir at same time so that the service cannot start.ā€ ā€“ is there anything to make this SAFE or is there anything already built in to have nextcloud aware specifically of the error status/returns of files in encrypted state?

I havenā€™t actually tried this yet, was wanting to get a definitive documented answer as opposed to just ā€˜looks like it worked, but behavior not defined.ā€™

Iā€™m not sure if such things are tested, let alone being specifically documented. Perhaps if some of the developers worked natively on Linuxā€¦ (which I donā€™t know). Or perhaps here someone is using it and sharing their experience.

Regarding the renaming, there was a ransomware protection app (https://apps.nextcloud.com/apps/ransomware_protection), but unfortunately, it is not available on current, supported NC versions. If not, it could have helped you a bit to protect from that risk.

Except for that, you already mentioned the points to pay attention to.