[PR #439] [MERGED] Fix update_ds_settings() in entrypoint #596

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

📋 Pull Request Information

Original PR: https://github.com/ONLYOFFICE/Docker-DocumentServer/pull/439
Author: @s-rog
Created: 5/23/2022
Status: Merged
Merged: 5/24/2022
Merged by: @agolybev

Base: hotfix/v7.1.1Head: fix_jwt_json_settings


📝 Commits (1)

  • 7079ae5 Update run-document-server.sh

📊 Changes

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

View changed files

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

📄 Description

Bug:

Setting JWT_ENABLED and/or JWT_IN_BODY to true have no effect as evident by /etc/onlyoffice/documentserver/local.json still showing false for relevant fields. (setting JWT_IN_BODY to true causes an undefined error in logs)

Podman note:

I also commented out the following lines as podman uses True instead of true

# validate user's vars before usinig in json
if [ "${JWT_ENABLED}" == "true" ]; then
  JWT_ENABLED="true"
else
  JWT_ENABLED="false"
fi

Test/workaround:

Mount the modified file into /app/ds/run-document-server.sh


🔄 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/439 **Author:** [@s-rog](https://github.com/s-rog) **Created:** 5/23/2022 **Status:** ✅ Merged **Merged:** 5/24/2022 **Merged by:** [@agolybev](https://github.com/agolybev) **Base:** `hotfix/v7.1.1` ← **Head:** `fix_jwt_json_settings` --- ### 📝 Commits (1) - [`7079ae5`](https://github.com/ONLYOFFICE/Docker-DocumentServer/commit/7079ae5a6e604d033491140c848a3d679b8d8ead) Update run-document-server.sh ### 📊 Changes **1 file changed** (+6 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `run-document-server.sh` (+6 -6) </details> ### 📄 Description ## Bug: Setting `JWT_ENABLED` and/or `JWT_IN_BODY` to true have no effect as evident by `/etc/onlyoffice/documentserver/local.json` still showing false for relevant fields. (setting `JWT_IN_BODY` to true causes an undefined error in logs) ## Podman note: I also commented out the following lines as podman uses `True` instead of `true` ``` # validate user's vars before usinig in json if [ "${JWT_ENABLED}" == "true" ]; then JWT_ENABLED="true" else JWT_ENABLED="false" fi ``` ## Test/workaround: Mount the modified file into `/app/ds/run-document-server.sh` --- <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:12 +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#596
No description provided.