[GH-ISSUE #378] Error When Provides Custom File Storage Path On Editor Page #191

Closed
opened 2026-02-26 10:30:48 +03:00 by kerem · 9 comments
Owner

Originally created by @abhi5003 on GitHub (Sep 10, 2021).
Original GitHub issue: https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/378

When providing a custom storage path for document edit I got an error.
Files always goes in app_data folder of the workspace directory.
I want to provide custom path for file storage.
Capture

Originally created by @abhi5003 on GitHub (Sep 10, 2021). Original GitHub issue: https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/378 When providing a custom storage path for document edit I got an error. Files always goes in app_data folder of the workspace directory. I want to provide custom path for file storage. ![Capture](https://user-images.githubusercontent.com/55706631/132865687-ef888e7d-e9b8-4300-a7c6-8adcdab3aafb.PNG)
kerem closed this issue 2026-02-26 10:30:48 +03:00
Author
Owner

@ShockwaveNN commented on GitHub (Sep 10, 2021):

Hi, this error usually means that DocumentServer cannot download a file you've trying to edit
Usually, it's a firewall/network related problem

You can see for more details in log in /var/log/onlyoffice/

<!-- gh-comment-id:916931714 --> @ShockwaveNN commented on GitHub (Sep 10, 2021): Hi, this error usually means that DocumentServer cannot download a file you've trying to edit Usually, it's a firewall/network related problem You can see for more details in log in `/var/log/onlyoffice/`
Author
Owner

@abhi5003 commented on GitHub (Sep 10, 2021):

When we try to open other then app_data storage folder i got error
Capture

<!-- gh-comment-id:916938003 --> @abhi5003 commented on GitHub (Sep 10, 2021): When we try to open other then app_data storage folder i got error ![Capture](https://user-images.githubusercontent.com/55706631/132867492-ce0567a1-f44d-4379-bea8-91e667cf21ee.PNG)
Author
Owner

@ShockwaveNN commented on GitHub (Sep 10, 2021):

When we try to open other then app_data storage folder i got error

I do not understand how it's related to my statement about logs

Please read my answer carefully and I do not understand how your screenshot related to your problem without any logs

Please note, that Github is not a support forum, it's the site you post issues with our product, and issue report should be strict and reproducible on our side

<!-- gh-comment-id:916941242 --> @ShockwaveNN commented on GitHub (Sep 10, 2021): > When we try to open other then app_data storage folder i got error I do not understand how it's related to my statement about logs Please read my answer carefully and I do not understand how your screenshot related to your problem without any logs Please note, that Github is not a support forum, it's the site you post issues with our product, and issue report should be strict and reproducible on our side
Author
Owner

@abhi5003 commented on GitHub (Sep 10, 2021):

by default to download file in editor take this path from computer
http://192.168.1.100:8081/OnlineEditorsExampleJava/app_data/192.168.1.100/WR_08252021.docx

I want to give another custom path

<!-- gh-comment-id:916941692 --> @abhi5003 commented on GitHub (Sep 10, 2021): by default to download file in editor take this path from computer http://192.168.1.100:8081/OnlineEditorsExampleJava/app_data/192.168.1.100/WR_08252021.docx I want to give another custom path
Author
Owner

@ShockwaveNN commented on GitHub (Sep 10, 2021):

This path provided by integration, more info here

<!-- gh-comment-id:916942929 --> @ShockwaveNN commented on GitHub (Sep 10, 2021): This path provided by integration, more info [here](https://api.onlyoffice.com/editors/config/document#url)
Author
Owner

@abhi5003 commented on GitHub (Sep 10, 2021):

i got this error in log

[2021-09-08T09:25:07.540] [ERROR] nodeJS - postData error: docId = -2028686615;url = http://192.168.1.100:8081/OnlineEditorsExampleJava/IndexServlet?type=track&fileName=WR_08272021.docx&userAddress=192.168.1.100;data = {"key":"-2028686615","status":4,"actions":[{"type":0,"userid":"uid-1"}]}
Error: connect ECONNREFUSED 192.168.1.100:8081

<!-- gh-comment-id:916945075 --> @abhi5003 commented on GitHub (Sep 10, 2021): i got this error in log [2021-09-08T09:25:07.540] [ERROR] nodeJS - postData error: docId = -2028686615;url = http://192.168.1.100:8081/OnlineEditorsExampleJava/IndexServlet?type=track&fileName=WR_08272021.docx&userAddress=192.168.1.100;data = {"key":"-2028686615","status":4,"actions":[{"type":0,"userid":"uid-1"}]} Error: connect ECONNREFUSED 192.168.1.100:8081
Author
Owner

@ShockwaveNN commented on GitHub (Sep 10, 2021):

Error: connect ECONNREFUSED 192.168.1.100:8081

This literally means that DocumentServer trying to download the file by host/port 192.168.1.100:8081 and for some reason cannot connect to this host with this port

<!-- gh-comment-id:916946976 --> @ShockwaveNN commented on GitHub (Sep 10, 2021): > Error: connect ECONNREFUSED 192.168.1.100:8081 This literally means that DocumentServer trying to download the file by host/port `192.168.1.100:8081` and for some reason cannot connect to this host with this port
Author
Owner

@ShockwaveNN commented on GitHub (Sep 10, 2021):

I think this is a configuration problem on your integration\DMS, not an issue with DocumentServer

<!-- gh-comment-id:916947398 --> @ShockwaveNN commented on GitHub (Sep 10, 2021): I think this is a configuration problem on your integration\DMS, not an issue with DocumentServer
Author
Owner

@ShockwaveNN commented on GitHub (Dec 5, 2021):

This issue was closed due to no response.

<!-- gh-comment-id:986256698 --> @ShockwaveNN commented on GitHub (Dec 5, 2021): This issue was closed due to no response.
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#191
No description provided.