[GH-ISSUE #510] There was an error opening the file #247

Open
opened 2026-02-26 10:31:18 +03:00 by kerem · 10 comments
Owner

Originally created by @talesam on GitHub (Oct 11, 2022).
Original GitHub issue: https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/510

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

Originally created by @talesam on GitHub (Oct 11, 2022). Original GitHub issue: https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/510 **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
Author
Owner

@ShockwaveNN commented on GitHub (Oct 11, 2022):

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?

<!-- gh-comment-id:1274189833 --> @ShockwaveNN commented on GitHub (Oct 11, 2022): 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?
Author
Owner

@talesam commented on GitHub (Oct 11, 2022):

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.

<!-- gh-comment-id:1275019770 --> @talesam commented on GitHub (Oct 11, 2022): 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.
Author
Owner

@ShockwaveNN commented on GitHub (Oct 12, 2022):

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

<!-- gh-comment-id:1275606362 --> @ShockwaveNN commented on GitHub (Oct 12, 2022): @talesam Yep, you should enabled example as mentioned on this page and check if there will be any errors via example
Author
Owner

@talesam commented on GitHub (Oct 12, 2022):

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

<!-- gh-comment-id:1276410989 --> @talesam commented on GitHub (Oct 12, 2022): I just tested with the test Onlyoffice and the same error happens.
Author
Owner

@ShockwaveNN commented on GitHub (Oct 13, 2022):

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

<!-- gh-comment-id:1277109768 --> @ShockwaveNN commented on GitHub (Oct 13, 2022): 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
Author
Owner

@talesam commented on GitHub (Oct 13, 2022):

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?

<!-- gh-comment-id:1278186145 --> @talesam commented on GitHub (Oct 13, 2022): 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?
Author
Owner

@ShockwaveNN commented on GitHub (Oct 14, 2022):

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

<!-- gh-comment-id:1278554089 --> @ShockwaveNN commented on GitHub (Oct 14, 2022): > 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
Author
Owner

@talesam commented on GitHub (Oct 16, 2022):

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

<!-- gh-comment-id:1280092260 --> @talesam commented on GitHub (Oct 16, 2022): 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
Author
Owner

@ShockwaveNN commented on GitHub (Oct 17, 2022):

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

<!-- gh-comment-id:1280380709 --> @ShockwaveNN commented on GitHub (Oct 17, 2022): 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
Author
Owner

@talesam commented on GitHub (Oct 18, 2022):

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.

<!-- gh-comment-id:1281656553 --> @talesam commented on GitHub (Oct 18, 2022): 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.
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#247
No description provided.