Unable to install onlyoffice with docker-compose

Hi there
“For bug reports, provide steps to reproduce and if possible a minimal demo of the problem”: I don’t know if it’s a bug or a bad use of doocker-compose (problems with variables?)
Document server version 7.2
Installation type: docker
Operating system: Debian GNU/Linux 11 (bullseye) / amd64

This is my first installation of OnlyOffice, self-hosted.
I’m looking to install it via docker compose. I got the sources via git, but I’m facing several problems:
1/ I had problems downloading onlyoffice.deb, but now that the download works, I have this error that I can’t get past:

adduser: Warning: The home directory `/var/www/onlyoffice/documentserver’ does not belong to the user you are currently creating.
Adding user www-data to group ds
ERROR: can’t connect to postgressql database

2/ but it’s less serious, I have local problems:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = “en_US:en”,
LC_ALL = “en_US.UTF-8”,
LANG = “en_US.UTF-8”

The most serious, onlyoffice.deb installer fails to connect to postgresql, while the latter works (tested by hand).

Has anyone else had this problem (and a solution)?

Thanks.
Remi.

Hello @rsuinux
Please point us to the guide which you used for installation. Also please go to the host and run docker version, please show us the result.
One more thing, please let us know if you use clean separate server for Document server installation (no other apps are installed).

Hello @Alexandre
thank you for the answer
Here are the requested answers:
Documentation used: Installing ONLYOFFICE Docs for Docker on a local server - ONLYOFFICE
Installed docker version:
docker-ce/buster,now 5:20.10.18~3-0~debian-buster amd6
docker-ce-cli/buster,now 5:20.10.18~3-0~debian-buster amd64
docker-ce-rootless-extras/buster,now 5:20.10.18~3-0~debian-buster amd64

Client: Docker Engine - Community
Version: 20.10.18
API version: 1.41
Go version: go1.18.6
Git commit: b40c2f6
Built: Thu Sep 8 23:12:20 2022
OS/Arch: linux/amd64
Context: default
Experimental: true

Server: Docker Engine - Community
Engine:
Version: 20.10.18
API version: 1.41 (minimum version 1.12)
Go version: go1.18.6
Git commit: e42327a
Built: Thu Sep 8 23:10:02 2022
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.6.8
GitCommit: 9cd3357b7fd7218e4aec3eae239db1f68a5a6ec6
runc:
Version: 1.1.4
GitCommit: v1.1.4-0-g5fd4c4d
docker-init:
Version: 0.19.0
GitCommit: de40ad0

docker-scan-plugin/buster,now 0.17.0~debian-buster amd64
The server is also used for Nextcloud (php7.4 in container as well as nginx)

Best regard

Do I understand it right that you used this guide? Running ONLYOFFICE Docs using Docker Compose - ONLYOFFICE
We are checking the situation.

Update: this is known situation (internal number - 59310). This is major issue for us, we are already working on it.

@alexandre,
Thanks for your reply.
.
Remi.