Can't install redis-server and onlyoffice document server without docker on a debian server

sudo apt-get install redis-server -y
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
redis-server is already the newest version (5:6.0.16-1+deb11u2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up onlyoffice-documentserver (7.3.3-49~stretch) …
ERROR: can’t connect to postgressql database
dpkg: error processing package onlyoffice-documentserver (–configure):
installed onlyoffice-documentserver package post-installation script subprocess returned error exit status 1
Processing triggers for libc-bin (2.31-13+deb11u6) …
Errors were encountered while processing:
onlyoffice-documentserver
E: Sub-process /usr/bin/dpkg returned an error code (1)

Hi @tania

Are you trying to install a document server or update a document server?
In addition, could you please provide a guide that you’ve used to install/update Document Server?