Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't open the doc by onlyoffice #41

Open
crystalning1021 opened this issue Aug 14, 2023 · 4 comments
Open

can't open the doc by onlyoffice #41

crystalning1021 opened this issue Aug 14, 2023 · 4 comments
Assignees
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@crystalning1021
Copy link

crystalning1021 commented Aug 14, 2023

Hi,

After clicking Open file in ONLYOFFICE , only a loading page appeared with only a close button on it.
The document cannot be opened by onlyoffice.

close

console log:
ObjectMultiplex - orphaned data for stream "publicConfig"

server log:
{"timestamp":"2023-08-14 22:39:32.789 +08:00","level":"info","msg":"[ONLYOFFICE CMD]: The server responded without errors","caller":"app/plugin_api.go:973","plugin_id":"com.onlyoffice.mattermost"} {"timestamp":"2023-08-14 22:39:32.797 +08:00","level":"info","msg":"Loaded system translations","caller":"i18n/i18n.go:132","for locale":"zh-CN","from locale":"/opt/mattermost/i18n/zh-CN.json"} {"timestamp":"2023-08-14 22:39:43.996 +08:00","level":"info","msg":"recovering from runtime error: invalid memory address or nil pointer dereference with url: /api/editor?file=t96t8zdiqjb4xk1aj8w84f1fxy&lang=zh-CN","caller":"io/io.go:429","plugin_id":"com.onlyoffice.mattermost","source":"plugin_stdout"}

CentOS: 7.6
MatterMost: 8.0.1
Plugin: 1.1.1
OnlyOffice: 7.4.0

@igwyd
Copy link
Member

igwyd commented Aug 17, 2023

Hello @crystalning1021 describe please in more detail your installation. Do you use a proxy and with what config? How ONLYOFFICE and MatterMost are installed, docker rpm etc.? Is it one server or separate servers?

@crystalning1021
Copy link
Author

Hello @crystalning1021 describe please in more detail your installation. Do you use a proxy and with what config? How ONLYOFFICE and MatterMost are installed, docker rpm etc.? Is it one server or separate servers?

It looks like OO does not have permission to get the MM‘s files, maybe this is the key to the solution.

OO is deployed through docker, proxying to the local port 8090 for access.
MM is deployed according to the deployment method of the official website.
Both are deployed on the same cloud server.

@igwyd
Copy link
Member

igwyd commented Aug 21, 2023

@crystalning1021 I checked the your installation on my test stand and I don't get any errors. What plugins in the mm are you using? Check the docker version. Something specific settings?

@crystalning1021
Copy link
Author

@crystalning1021 I checked the your installation on my test stand and I don't get any errors. What plugins in the mm are you using? Check the docker version. Something specific settings?

I found the reason for this problem.

In my console, ENVIROMENT -> Web Server -> Site URL was empty.
I found that the plugin reads the configuration here, so when it is empty, ONLYOFFICE cannot open the file. Now after I fill in the site URL, the plugin and ONLYOFFICE can work normally.
WechatIMG897

It is suggested that the plugin page can give a hint, or report an error to the administrator when site URL is empty.

@Nsenz Nsenz reopened this Aug 21, 2023
@Nsenz Nsenz added documentation Improvements or additions to documentation enhancement New feature or request labels Aug 21, 2023
@Nsenz Nsenz self-assigned this Aug 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants