Error installing document server 9.3.1-10 on ubuntu

I am trying to install onlyoffice document server 9.3.1-10 on ubuntu 22.04 with command

sudo apt-get install onlyoffice-documentserver=9.3.1-10

But at the end of each install installation error out with exit code 1 in postinstall script

dpkg: error processing package onlyoffice-documentserver (–configure):
installed onlyoffice-documentserver package post-installation script subprocess returned error exit status 1

Please suggest

Hello @pioneer
Please use installation script for Document server deployment: Installing ONLYOFFICE Docs using the provided script
It supports docker and packages installation, and it will install the latest version (v.9.4).
Please let us know the result.
If you prefer manual installation, please clarify it.