Upgrade of Onlyoffice-documenserver not working

Hello
I have a VM with Ubuntu 22.04, Openresty (instead of nginx), nextcloud and onlyoffice-document server.

Everything works fine, but I would like to pass to Ubuntu 24.04.
To do it I need to upgrade all package and onlyoffice-documentserver is one of them.

With an apt updte / apt upgrade, I get en error in onlyoffice-documentserver upgrade with the error in the --configure part.

I try to put latest version of onlyoffice-documentserver with the script “docs-install.sh”. (so it seem’s with .deb update.
It did not works neither

Same error :

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

What do you suggest ?

  • remove onlyoffice and upgrade to 24.04 and install it again?
  • try to upgrade it in 22.04

Any idea where the error could be with this errro message?
Is it link with the fact that onlyoffice works with nginx ?
Do I need to stop openresty, launch nginx during the install?