I’m trying to install the community version of onlyoffice with the community server on my Ubuntu 24 server. I downloaded the install script at this link - wget https://download.onlyoffice.com/install/workspace-install.sh
It originally gave me an error about ports 80 and 443 being in use (I use this server for other services). I stopped nginx and ran the installation with 80 and 443 available, but the browser console just shows the startup screen and 502 errors to http://localhost:8084/api/2.0/capabilities.json
running docker logs onlyoffice-document-server shows a long list of
Waiting for connection to the localhost host on port 5432
Waiting for connection to the localhost host on port 5432
Waiting for connection to the localhost host on port 5432
Waiting for connection to the localhost host on port 5432
Waiting for connection to the localhost host on port 5432
Waiting for connection to the localhost host on port 5432
Waiting for connection to the localhost host on port 5432
Waiting for connection to the localhost host on port 5432
Waiting for connection to the localhost host on port 5432
Waiting for connection to the localhost host on port 5432
which comes after
Waiting for connection to the localhost host on port 5432
Waiting for connection to the localhost host on port 5432
Preparing for shutdown, it can take a lot of time, please wait…Done
find: ‘/var/www/onlyoffice/Data/certs’: No such file or directory
- Starting PostgreSQL 16 database server * Error: /usr/lib/postgresql/16/bin/pg_ctl /usr/lib/postgresql/16/bin/pg_ctl start -D /var/lib/postgresql/16/main -l /var/log/postgresql/postgresql-16-main.log -s -o -c config_file=“/etc/postgresql/16/main/postgresql.conf” exited with status 1:
2025-10-29 17:58:11.921 UTC [440] LOG: starting PostgreSQL 16.10 (Ubuntu 16.10-0ubuntu0.24.04.1) on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0, 64-bit
2025-10-29 17:58:11.930 UTC [440] LOG: could not translate host name “localhost”, service “5432” to address: Temporary failure in name resolution
2025-10-29 17:58:11.930 UTC [440] WARNING: could not create listen socket for “localhost”
2025-10-29 17:58:11.939 UTC [440] FATAL: could not create any TCP/IP sockets
2025-10-29 17:58:11.945 UTC [440] LOG: database system is shut down
pg_ctl: could not start server
Examine the log output.
[fail] - Starting RabbitMQ Messaging Server rabbitmq-server [ OK ]
I’ve tried translating the script to a docker-compose file, starting from scratch, and have currently manually downloaded the install.sh and changed the ports from 80 to 8084 and 443 to 8443. Same results.
How can I fix this? This is Ubuntu server 24 running on a 2014 mac mini with 8gb of ram. If it makes a difference, due to space issues, the docker directory was moved to my external drive and symlinked back to its original location