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

OnlyOffice Cannot be reached. Please Contact Admin & Error while testing x2t binary & error while loading shared libraries: libkernel_network.so #297

Closed
PfeifferJosef-96 opened this issue Apr 30, 2023 · 2 comments
Labels

Comments

@PfeifferJosef-96
Copy link

PfeifferJosef-96 commented Apr 30, 2023

Problem

After installation of this package via the NextCloud GUI, I was not able to display any document. The healtcheck returned "true".
I hunted down some log messages, which were only partly helpful. My Nextcloud instance is located at a commercial webhoster, so unfortunately I can not provide any OS information beside Linux x86_64. Nextcloud has version 23.0.12 and documentserver is installed as version 0.1.13.

Debugging

I saw that the GUI showed the error message "OnlyOffice cannot be reached. Please Contact Admin" after I was opening any file. The messages received in the debugging console of the firefox-browser, showed an internal server error after calling the api script of the documentserver.

The first log messages:

_/index.php/apps/documentserver_community/web-apps/apps/api/documents/api.js","message":"trim() expects parameter 1 to be string, bool given in file

/index.php/apps/documentserver_community/web-apps/apps/api/documents/api.js","message":"Error while testing x2t binary

/index.php/apps/documentserver_community/web-apps/apps/api/documents/api.js","message":"Temporary directory /www/htdocs/<my.domain>/tmp/ is not present or writable

After I actually created the tmp folder, I was led to the actual root cause of the problem, which is described in the next log message:

./x2t: error while loading shared libraries: libkernel_network.so: cannot open shared object file: No such file or directory\n

Possible Solution

I was able to solve this issue with the help of the following issue: #195 and the included comments. So in my case, all of the libraries where located beside the x2t script, but the path was not known (see #195 (comment)). The file to edit is "apps/documentserver_community/lib/Document/ConverterBinary.php"

I opened another issue, as the "helpful" error message was only shown after creating the tmp folder. This issue is also different, as not the libgraphics.so was missing but libkernel_network.so. This might help someone as future reference!

Edit:

  • Added file which needs edit
Copy link

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 60 days. Thank you for your contribution!

Retaking repo management include inheritance of old, not treated, and probablty obsolete issues, this is why it was decided to mark issues as stale.

@github-actions github-actions bot added the stale label Feb 19, 2024
Copy link

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant