[PR #802] [CLOSED] fix: entrypoint doesn't deal with custom configurations properly #776

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

📋 Pull Request Information

Original PR: https://github.com/ONLYOFFICE/Docker-DocumentServer/pull/802
Author: @TheDevMinerTV
Created: 3/26/2025
Status: Closed

Base: masterHead: master


📝 Commits (1)

  • abbbd12 fix: entrypoint doesn't deal with custom configurations properly

📊 Changes

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

View changed files

📝 run-document-server.sh (+80 -61)

📄 Description

Providing a /etc/onlyoffice/documentserver/local.json causes the OnlyOffice server start-up to fail in various ways.

This PR solves the following problems:

  1. It can't write into the local.json because it receives the Resource busy error
  2. It can't find the Postgres URI if not set in the local.json
  3. There's various key errors in the services.CoAuthoring.token section, that can't configure that part of the services.

🔄 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/802 **Author:** [@TheDevMinerTV](https://github.com/TheDevMinerTV) **Created:** 3/26/2025 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`abbbd12`](https://github.com/ONLYOFFICE/Docker-DocumentServer/commit/abbbd125081a184dfa987e1a688d7cae8748f857) fix: entrypoint doesn't deal with custom configurations properly ### 📊 Changes **1 file changed** (+80 additions, -61 deletions) <details> <summary>View changed files</summary> 📝 `run-document-server.sh` (+80 -61) </details> ### 📄 Description Providing a `/etc/onlyoffice/documentserver/local.json` causes the OnlyOffice server start-up to fail in various ways. This PR solves the following problems: 1. It can't write into the `local.json` because it receives the `Resource busy` error 1. It can't find the Postgres URI if not set in the `local.json` 1. There's various key errors in the `services.CoAuthoring.token` section, that can't configure that part of the services. --- <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:51 +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#776
No description provided.