Only Office not working

If you don’t mind trying a standalone OnlyOffice installation - have a look here

It does not have the “amnesia” problem with saving edited files.

I have one such instance serve 3 NC servers without issues…