You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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.
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:
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:
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:
The text was updated successfully, but these errors were encountered: