Onlyoffice team reacted really fast and released a new package!
And it works in first tests!
To update:
yum install https://github.com/ONLYOFFICE/DocumentServer/releases/download/ONLYOFFICE-DocumentServer-5.1.4/onlyoffice-documentserver.x86_64.rpm
signal-event nethserver-onlyoffice-update