[GH-ISSUE #325] Error starting PostgreSQL 12 database server #165

Closed
opened 2026-02-26 10:30:28 +03:00 by kerem · 2 comments
Owner

Originally created by @kernie on GitHub (Jan 12, 2021).
Original GitHub issue: https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/325

Do you want to request a feature or report a bug?
bug
What is the current behavior?
When I fix temporalily issue #324 with a new symlink, then the script /app/ds/run-document-server.sh produces another error:

* Starting PostgreSQL 12 database server                                        * Error: Could not open logfile /var/log/postgresql/postgresql-12-main.log
Error: /usr/lib/postgresql/12/bin/pg_ctl /usr/lib/postgresql/12/bin/pg_ctl start -D /var/lib/postgresql/12/main -l /var/log/postgresql/postgresql-12-main.log -s -o  -c config_file="/etc/postgresql/12/main/postgresql.conf"  exited with status 1: 
                                                                         [fail]
 * Starting RabbitMQ Messaging Server rabbitmq-server                            * FAILED - check /var/log/rabbitmq/startup_\{log, _err\}
                                                                         [fail]

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
Fix #324 and start docker container.
What is the expected behavior?
No error encountered
Did this work in previous versions of DocumentServer?
Yes.
DocumentServer Docker tag:
6.2.0
Host Operating System:
Ubuntu 20.04

Originally created by @kernie on GitHub (Jan 12, 2021). Original GitHub issue: https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/325 **Do you want to request a *feature* or report a *bug*?** bug **What is the current behavior?** When I fix temporalily issue #324 with a new symlink, then the script `/app/ds/run-document-server.sh` produces another error: ``` * Starting PostgreSQL 12 database server * Error: Could not open logfile /var/log/postgresql/postgresql-12-main.log Error: /usr/lib/postgresql/12/bin/pg_ctl /usr/lib/postgresql/12/bin/pg_ctl start -D /var/lib/postgresql/12/main -l /var/log/postgresql/postgresql-12-main.log -s -o -c config_file="/etc/postgresql/12/main/postgresql.conf" exited with status 1: [fail] * Starting RabbitMQ Messaging Server rabbitmq-server * FAILED - check /var/log/rabbitmq/startup_\{log, _err\} [fail] ``` **If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.** Fix #324 and start docker container. **What is the expected behavior?** No error encountered **Did this work in previous versions of DocumentServer?** Yes. **DocumentServer Docker tag:** 6.2.0 **Host Operating System:** Ubuntu 20.04
kerem closed this issue 2026-02-26 10:30:29 +03:00
Author
Owner

@ShockwaveNN commented on GitHub (Jan 12, 2021):

I take a look at this issue as soon as we found out reason of #324

<!-- gh-comment-id:758747851 --> @ShockwaveNN commented on GitHub (Jan 12, 2021): I take a look at this issue as soon as we found out reason of #324
Author
Owner

@kernie commented on GitHub (Jan 12, 2021):

Closing because reason was discussed in #324 .

<!-- gh-comment-id:758826937 --> @kernie commented on GitHub (Jan 12, 2021): Closing because reason was discussed in #324 .
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Docker-DocumentServer-ONLYOFFICE#165
No description provided.