[PR #341] [MERGED] Fix automatic port detection for database #559

Closed
opened 2026-02-26 10:33:04 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ONLYOFFICE/Docker-DocumentServer/pull/341
Author: @jdoubleu
Created: 3/18/2021
Status: Merged
Merged: 3/19/2021
Merged by: @agolybev

Base: release/v6.3.0Head: patch-1


📝 Commits (1)

  • 0e034ef Fix automatic port detection for database

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 run-document-server.sh (+1 -1)

📄 Description

The automatic port detection, based on dbType, never worked in the startup script. Furthermore it would always try to lookup the services.CoAuthoring.sql.dbPort option in the settings file.

I was also using the config from https://github.com/ONLYOFFICE/onlyoffice-nextcloud/issues/153#issuecomment-544698930 which resulted in the following error message:

Waiting for connection to the localhost host on port
nc: port number invalid:
Waiting for connection to the localhost host on port
nc: port number invalid:
Waiting for connection to the localhost host on port
...

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ONLYOFFICE/Docker-DocumentServer/pull/341 **Author:** [@jdoubleu](https://github.com/jdoubleu) **Created:** 3/18/2021 **Status:** ✅ Merged **Merged:** 3/19/2021 **Merged by:** [@agolybev](https://github.com/agolybev) **Base:** `release/v6.3.0` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`0e034ef`](https://github.com/ONLYOFFICE/Docker-DocumentServer/commit/0e034ef3d03c9ef3cc87e03a5c8edc309a4fe460) Fix automatic port detection for database ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `run-document-server.sh` (+1 -1) </details> ### 📄 Description The automatic port detection, based on `dbType`, never worked in the startup script. Furthermore it would always try to lookup the `services.CoAuthoring.sql.dbPort` option in the settings file. I was also using the config from https://github.com/ONLYOFFICE/onlyoffice-nextcloud/issues/153#issuecomment-544698930 which resulted in the following error message: ``` Waiting for connection to the localhost host on port nc: port number invalid: Waiting for connection to the localhost host on port nc: port number invalid: Waiting for connection to the localhost host on port ... ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 10:33:04 +03:00
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#559
No description provided.