[GH-ISSUE #757] WOPI_ENABLED reset to false after restarting container #340

Closed
opened 2026-02-26 10:31:58 +03:00 by kerem · 3 comments
Owner

Originally created by @tbswork1 on GitHub (Aug 10, 2024).
Original GitHub issue: https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/757

Host Operating System:
Ubuntu 20.04

After restarting the container, WOPI_ENABLED reverted to false.

Originally created by @tbswork1 on GitHub (Aug 10, 2024). Original GitHub issue: https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/757 **Host Operating System:** Ubuntu 20.04 After restarting the container, WOPI_ENABLED reverted to false.
kerem 2026-02-26 10:31:58 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@igwyd commented on GitHub (Aug 12, 2024):

Hello @tbswork1, I checked it on our latest version 8.1.1, the isssue does not recur. Please provide steps to reproduce.
I checked it like this:

sudo docker run -i -t -d -p 80:80 -e WOPI_ENABLED=true onlyoffice/documentserver

I run wopi test example http://<documentserver>/example/wopi and create a document. Then i restart the docker container:

docker restart <container_id>

And again created a document in wopi test example.
Result: documents are created, wopi is enabled.

<!-- gh-comment-id:2283137799 --> @igwyd commented on GitHub (Aug 12, 2024): Hello @tbswork1, I checked it on our latest version 8.1.1, the isssue does not recur. Please provide steps to reproduce. I checked it like this: ``` sudo docker run -i -t -d -p 80:80 -e WOPI_ENABLED=true onlyoffice/documentserver ``` I run wopi test example `http://<documentserver>/example/wopi` and create a document. Then i restart the docker container: ``` docker restart <container_id> ``` And again created a document in wopi test example. Result: documents are created, wopi is enabled.
Author
Owner

@tbswork1 commented on GitHub (Aug 12, 2024):

I enabled it in the config. It seems it works after a while if I don't restart the container.

<!-- gh-comment-id:2283411878 --> @tbswork1 commented on GitHub (Aug 12, 2024): I enabled it in the config. It seems it works after a while if I don't restart the container.
Author
Owner

@igwyd commented on GitHub (Aug 12, 2024):

I enabled it in the config. It seems it works after a while if I don't restart the container.

Config reset after restart, if you want to save it then use docker variable like WOPI_ENABLED=true, all variable are in available-configuration-parameters.

<!-- gh-comment-id:2283567161 --> @igwyd commented on GitHub (Aug 12, 2024): > I enabled it in the config. It seems it works after a while if I don't restart the container. Config reset after restart, if you want to save it then use docker variable like ```WOPI_ENABLED=true```, all variable are in [available-configuration-parameters](https://github.com/ONLYOFFICE/Docker-DocumentServer?tab=readme-ov-file#available-configuration-parameters).
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#340
No description provided.