[GH-ISSUE #275] Incorrect "changesurl" inside docker container #150

Closed
opened 2026-02-26 09:37:01 +03:00 by kerem · 3 comments
Owner

Originally created by @green-ghost on GitHub (Aug 4, 2020).
Original GitHub issue: https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/275

Is there possible to change external url for onlyoffice document server?
I have seafile storage on host machine and onlyoffice document server (CE) inside docker container. Onlyoffice container has external url proxied by nginx (like https://ds.domain.com).
If I trying to save document, I have the following error in out.log:

Error: Error response: statusCode:500 ;body:
<...>
[ERROR] nodeJS - sendServerRequest error: <...>;url = https://store.domain.com/onlyoffice/editor-callback/;data = {"key":"19dfa3b04b95e06f2e58","status":2,"url":"**http://docservice**/cache/files/19dfa3b04b95e06f2e58_454/output.docx/output.docx?md5=fWRBqfaHLK1JoDCJi6L22A&expires=1596526666&disposition=attachment&filename=output.docx","changesurl":"http://docservice/cache/files/19dfa3b04b95e06f2e58_454/changes.zip/changes.zip?md5=YFbwsP84LHkO1c_2siA0Fg&expires=1596526666&disposition=attachment&filename=changes.zip"

Where "dockservice" is the name of the service inside docker-compose file.
May be exist some config property to change the url for document server?

OS: Linux Debian
Docker image onlyoffice/documentserver:latest

Originally created by @green-ghost on GitHub (Aug 4, 2020). Original GitHub issue: https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/275 Is there possible to change external url for onlyoffice document server? I have seafile storage on host machine and onlyoffice document server (CE) inside docker container. Onlyoffice container has external url proxied by nginx (like https://ds.domain.com). If I trying to save document, I have the following error in out.log: ``` Error: Error response: statusCode:500 ;body: <...> [ERROR] nodeJS - sendServerRequest error: <...>;url = https://store.domain.com/onlyoffice/editor-callback/;data = {"key":"19dfa3b04b95e06f2e58","status":2,"url":"**http://docservice**/cache/files/19dfa3b04b95e06f2e58_454/output.docx/output.docx?md5=fWRBqfaHLK1JoDCJi6L22A&expires=1596526666&disposition=attachment&filename=output.docx","changesurl":"http://docservice/cache/files/19dfa3b04b95e06f2e58_454/changes.zip/changes.zip?md5=YFbwsP84LHkO1c_2siA0Fg&expires=1596526666&disposition=attachment&filename=changes.zip" ``` Where "dockservice" is the name of the service inside docker-compose file. May be exist some config property to change the url for document server? OS: Linux Debian Docker image onlyoffice/documentserver:latest
kerem closed this issue 2026-02-26 09:37:02 +03:00
Author
Owner

@ShockwaveNN commented on GitHub (Aug 5, 2020):

Hi
No I don't think there is a setting to change that

You can try to change it it /etc/nginx/includes/ds-docservice.conf file inside container, but never tried it and can cause major troubles

<!-- gh-comment-id:669006078 --> @ShockwaveNN commented on GitHub (Aug 5, 2020): Hi No I don't think there is a setting to change that You can try to change it it `/etc/nginx/includes/ds-docservice.conf` file inside container, but never tried it and can cause major troubles
Author
Owner

@ShockwaveNN commented on GitHub (Apr 29, 2021):

This issue was closed due to no response.

<!-- gh-comment-id:829085407 --> @ShockwaveNN commented on GitHub (Apr 29, 2021): This issue was closed due to no response.
Author
Owner

@aoberest commented on GitHub (Feb 20, 2023):

@green-ghost Hello,
I have a similar error. Have you found a solution?

<!-- gh-comment-id:1436290526 --> @aoberest commented on GitHub (Feb 20, 2023): @green-ghost Hello, I have a similar error. Have you found a solution?
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#150
No description provided.