Install OnlyOffice Document Service offline on Windows Server 2019. After installing the offline dependency packages, an error occurs during service installation with a connection failure, as shown in the figure below:

When installing the offline dependency packages, I was not prompted to enter the PostgreSQL password. Could you please tell me what the default password is? How can I resolve the above issue? Thanks.

Supplemental note: The installation package is the latest version downloaded from the official website.

After installing dependencies using the official offline prerequisite package onlyoffice-documentserver-prerequisites,
does the package automatically complete the PostgreSQL database and table creation?

Hi @balence,

The default PostgreSQL credentials set by the prerequisites installer are postgres / postgres.

As for your second question — yes, the Document Server installer automatically creates the database and all required tables during installation, so no manual setup is needed on your end.

Regarding the “Connection to localhost failed” error — this typically happens when the prerequisites installer didn’t complete successfully before running the DS installer. Please make sure the prerequisites setup finishes without errors first, then launch the DS installer and uncheck “Download prerequisites” since they’re already installed.

Let us know if the issue persists!

Thanks for the reply. I still have a few questions:
Is there a detailed installation guide available? I’ve encountered various issues during repeated installation attempts.
Can Document and DocSpace be installed on the same server?
I successfully set up the Document service by manually installing the dependencies step-by-step, but the automatic installation still fails. I’m not sure if my configuration is completely correct. After uninstalling and trying the automatic install again, it still didn’t work. Could this be caused by an incomplete cleanup from the previous installation?
The DocSpace installation keeps showing an error indicating that ASP.NET is not installed correctly.