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

There was an error opening the file

Open talesam opened this issue 3 years ago • 10 comments

Do you want to request a feature or report a bug? BUG

What is the current behavior? When I click on create a file and open, the error appears that the file cannot be opened. I have an installation similarly on another server and it works fine, now I don't know if it's some configuration that's missing., I just configured that server.

If the current behavior is a bug, please provide steps to reproduce and, if possible, a minimal demonstration of the problem.

https://user-images.githubusercontent.com/981368/194986151-48d948bf-4520-4eee-9a82-238111cc239d.mp4

What is the expected behavior? Open the file in Onlyoffice.

Did this work in previous versions of DocumentServer? I haven't tested it, it's a fresh install.

Docker DocumentServer tag:

Host Operating System: Ubuntu ARM64

LOG

https://pastebin.com/rKPcJrED

talesam avatar Oct 11 '22 02:10 talesam

Seems there is some problems with your dms

Are using nextcloud or owncloud or something else

Could you check that integrated example located at docserverurl/welcome is working fine?

ShockwaveNN avatar Oct 11 '22 07:10 ShockwaveNN

I have a server configured like this and it works, I went to configure another one.

Do you refer to this? https://oo-ruscher.j3d1.xyz The Onlyoffice container is running there.

talesam avatar Oct 11 '22 17:10 talesam

@talesam Yep, you should enabled example as mentioned on this page and check if there will be any errors via example

ShockwaveNN avatar Oct 12 '22 05:10 ShockwaveNN

I just tested with the test Onlyoffice and the same error happens.

talesam avatar Oct 12 '22 16:10 talesam

Took a look at your video once more

Did you specified JWT key in Nextcloud settings? Since v7.2.0 we got random JWT key by default, info at /welcome page

ShockwaveNN avatar Oct 13 '22 06:10 ShockwaveNN

I didn't get to mess with the key, the strange thing is that my other server works well, I don't remember if I got to configure a key, I saw the configuration of the other nextcloud and put it the same. Where do I have to configure this? Do you think that's what's not crashing?

talesam avatar Oct 13 '22 21:10 talesam

Where do I have to configure this?

They are random by default and as I said you can see info about JWT keys on /welcome page

ShockwaveNN avatar Oct 14 '22 06:10 ShockwaveNN

Let's do it by steps..

  1. I'm using version 7.1.1.23, at least when I click on save this is what appears;
  2. It didn't work, still with the same exact error. I did the configuration you said, activated it, but it's still giving error.

https://helpcenter.onlyoffice.com/installation/docs-configure-jwt.aspx

talesam avatar Oct 16 '22 23:10 talesam

Sorry, I'm out of ideas about what happen, it seems something is wrong on the network layer, maybe some firewall or proxy blocking file download

I do not know what to do next, so I'll leave this issue open, maybe someone else got ideas

ShockwaveNN avatar Oct 17 '22 07:10 ShockwaveNN

Network I believe it's no problem, nextcloud and onlyoffice are on the same network, but I'll keep searching, thanks anyway.

If I find the solution I'll post it here.

talesam avatar Oct 18 '22 00:10 talesam