Docker-DocumentServer icon indicating copy to clipboard operation
Docker-DocumentServer copied to clipboard

ONLYOFFICE can't download file

Open marcellopato opened this issue 2 years ago • 3 comments

Do you want to request a feature or report a bug? Can't download a file at any circumstances.

What is the current behavior? The docker container runs ok, can upload a file, but can't edit. The error Download failed dialog always shows up.

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. I don't think it is a bug. It is a misconfiguration that I can't figure.

What is the expected behavior? I expect the file to open in the Editor.

Did this work in previous versions of DocumentServer? Never used DocumentServer before.

DocumentServer Docker tag: sudo docker run -i -t -d -p 8080:80 onlyoffice/documentserver and then, sudo docker exec 4c26555e4611 sudo supervisorctl start ds:example to start the Example server

Host Operating System: macOS High Sierra Docker version 20.10.8, build 3967b7d [email protected] Laravel Valet 3.1.11

Thanks in advance!

marcellopato avatar Sep 16 '22 18:09 marcellopato

I think the problem is that you've accessing DocumentServer via localhost or 127.0.0.1 - this wouldn't work

You should use local IP, like 192.168.1.111 or external ip

ShockwaveNN avatar Sep 16 '22 18:09 ShockwaveNN

Perfect. Works like a breeze. Now I need to solve the same issue when running through API. Now I am sure that this is the problem after all. Thanks, @ShockwaveNN !

marcellopato avatar Sep 16 '22 19:09 marcellopato

Better leave it open for a while...

marcellopato avatar Sep 16 '22 19:09 marcellopato

Closing this issue since no feedback for more than a month

ShockwaveNN avatar Oct 21 '22 19:10 ShockwaveNN