The only log in /var/log/onlyoffice/documentserver/ is nginx.error.log. And it is empty. It only contains entries from January 15th when the services were not running and the documentserver was not reachable.
I just tried to integrate OO in NC again, received the error message in the NC web GUI and still, there is no new entry in the log.
@Schmu, we will try to reproduce the describe issue on our side. I will notify you about the result.
It is very odd behavior when there are no logs in this folder. Please check the status of Document Server services with a command supervisorctl status all
Did you delete just the docker image or a container with Document Server from your previous setup too?
Yes, I stopped the docker image and even deleted it completely. The services are all running:
/root/ # systemctl status onlyoffice-spellchecker
● onlyoffice-spellchecker.service - Onlyoffice documentserver
Loaded: loaded (/usr/lib/systemd/system/onlyoffice-spellchecker.service; enabled; vendor preset: disabled)
Active: active (running) since Wed 2019-01-16 00:17:19 CET; 5 days ago
Main PID: 706 (node)
Tasks: 16 (limit: 4915)
Memory: 77.2M
CGroup: /system.slice/onlyoffice-spellchecker.service
├─706 /usr/bin/node /usr/share/webapps/onlyoffice/documentserver/server/SpellChecker/sources/server.js
└─965 /usr/bin/node /usr/share/webapps/onlyoffice/documentserver/server/SpellChecker/sources/server.js
Jan 16 00:17:19 nextcloud systemd[1]: Started Onlyoffice documentserver.
Jan 16 00:17:19 nextcloud node[706]: [2019-01-16T00:17:19.609] [WARN] nodeJS - start cluster with 1 workers
Jan 16 00:17:19 nextcloud node[706]: [2019-01-16T00:17:19.618] [WARN] nodeJS - worker 965 started.
Jan 16 00:17:20 nextcloud node[706]: [2019-01-16T00:17:20.493] [WARN] nodeJS - Express server starting...
Jan 16 00:17:20 nextcloud node[706]: [2019-01-16T00:17:20.631] [WARN] nodeJS - Express server listening on port 8080 in production-linux mode
/root/ # systemctl status onlyoffice-docservice
● onlyoffice-docservice.service - Onlyoffice documentserver
Loaded: loaded (/usr/lib/systemd/system/onlyoffice-docservice.service; enabled; vendor preset: disabled)
Active: active (running) since Wed 2019-01-16 00:17:19 CET; 5 days ago
Main PID: 711 (node)
Tasks: 20 (limit: 4915)
Memory: 103.9M
CGroup: /system.slice/onlyoffice-docservice.service
├─ 711 /usr/bin/node /usr/share/webapps/onlyoffice/documentserver/server/DocService/sources/server.js
└─1015 /usr/bin/node /usr/share/webapps/onlyoffice/documentserver/server/DocService/sources/server.js
Jan 16 00:17:21 nextcloud node[711]: [2019-01-16T00:17:21.140] [ERROR] nodeJS - [AMQP] Error: connect ECONNREFUSED 127.0.0.1:5672
Jan 16 00:17:21 nextcloud node[711]: at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1191:14)
Jan 16 00:17:22 nextcloud node[711]: [2019-01-16T00:17:22.142] [ERROR] nodeJS - [AMQP] Error: connect ECONNREFUSED 127.0.0.1:5672
Jan 16 00:17:22 nextcloud node[711]: at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1191:14)
Jan 16 00:17:23 nextcloud node[711]: [2019-01-16T00:17:23.266] [WARN] nodeJS - Express server listening on port 8000 in production-linux mode
Jan 17 00:17:20 nextcloud node[711]: [2019-01-17T00:17:20.083] [WARN] nodeJS - update cluster with 1 workers
Jan 18 00:17:20 nextcloud node[711]: [2019-01-18T00:17:20.085] [WARN] nodeJS - update cluster with 1 workers
Jan 19 00:17:20 nextcloud node[711]: [2019-01-19T00:17:20.090] [WARN] nodeJS - update cluster with 1 workers
Jan 20 00:17:20 nextcloud node[711]: [2019-01-20T00:17:20.094] [WARN] nodeJS - update cluster with 1 workers
Jan 21 00:17:20 nextcloud node[711]: [2019-01-21T00:17:20.098] [WARN] nodeJS - update cluster with 1 workers
/root/ # systemctl status onlyoffice-spellchecker
● onlyoffice-spellchecker.service - Onlyoffice documentserver
Loaded: loaded (/usr/lib/systemd/system/onlyoffice-spellchecker.service; enabled; vendor preset: disabled)
Active: active (running) since Wed 2019-01-16 00:17:19 CET; 5 days ago
Main PID: 706 (node)
Tasks: 16 (limit: 4915)
Memory: 77.2M
CGroup: /system.slice/onlyoffice-spellchecker.service
├─706 /usr/bin/node /usr/share/webapps/onlyoffice/documentserver/server/SpellChecker/sources/server.js
└─965 /usr/bin/node /usr/share/webapps/onlyoffice/documentserver/server/SpellChecker/sources/server.js
Jan 16 00:17:19 nextcloud systemd[1]: Started Onlyoffice documentserver.
Jan 16 00:17:19 nextcloud node[706]: [2019-01-16T00:17:19.609] [WARN] nodeJS - start cluster with 1 workers
Jan 16 00:17:19 nextcloud node[706]: [2019-01-16T00:17:19.618] [WARN] nodeJS - worker 965 started.
Jan 16 00:17:20 nextcloud node[706]: [2019-01-16T00:17:20.493] [WARN] nodeJS - Express server starting...
Jan 16 00:17:20 nextcloud node[706]: [2019-01-16T00:17:20.631] [WARN] nodeJS - Express server listening on port 8080 in production-linux mode
/root/ #
Should I really have a folder /etc/onlyoffice/? There is none actually. I searched for local* in the webapps folder instead, just in case on my system that is maybe the folder you mean, but I only found these results:
And there is the folder: /usr/share/webapps/onlyoffice/documentserver/web-apps/apps/documenteditor/main/locale/
which contains json files for languages; for example de.json and en.json. These seem to be the translations only.
I just created the folder /etc/onlyoffice manually, gave it the user and group ownership onlyoffice:onlyoffice and triggered a re-installation/ rebuild of the package. I’ll check if that folder is filled with files and folders afterwards.
Just to make sure I made everything right:
After I installed the package I created the web server config files like posted in my second post and copied the web server conf files from /home/username/.cache/yay/onlyoffice-documentserver/src/etc/nginx/includes/ to /etc/nginx/includes/:
@Schmu, could you please contact us at support@onlyoffice.com. The problem looks much more difficult and it seems that there is something wrong with the installation of Document Server. There are no logs, despite the services are active, and no configs, which have to be in this version. We would like to gather more information, as this is not a standard situation.
Thank you again for your reply. I just sent the email. While describing some additional information in the mail and checking again on the server, I just found out that the package doesn’t install the config files to /etc/onlyoffice/
but to /etc/webapps/onlyoffice/
So in this folder I have the default.json, but still I can’t find the local.json somewhere.
I downloaded the docker image again (didn’t start it), extracted the local.json from this docker image and copied it to /etc/webapps/onlyoffice/documentserver/
After restarting the onlyoffice services I tried again to activate the integration, but still it failed with the error message, that converting is not possible.
I checked my nextcloud log again and noticed these error message, that come up as soon as I open the Onlyoffice configuration page within the admin’s settings section “Onlyoffice”:
[PHP] Error: implode(): Invalid arguments passed at /var/www/nextcloud/apps/onlyoffice/templates/settings.php#66
GET /settings/admin/onlyoffice
[PHP] Error: count(): Parameter must be an array or an object that implements Countable at /var/www/nextcloud/apps/onlyoffice/templates/settings.php#64
GET /settings/admin/onlyoffice
Might this be the root cause? There was an PHP upgrade to version 7.3 on my server recently. Not sure if the app works fine with PHP 7.3.
[PHP] Error: implode(): Invalid arguments passed at /var/www/nextcloud/apps/onlyoffice/templates/settings.php#66
GET /settings/admin/onlyoffice
[PHP] Error: count(): Parameter must be an array or an object that implements Countable at /var/www/nextcloud/apps/onlyoffice/templates/settings.php#64
GET /settings/admin/onlyoffice
We had an exchange of messages, but the last one is from 11 days ago, unfortunately. So far we didn’t make any progress. I don’t know how to debug this issue any further, nor do I have a solution yet.
I had the same problem as you. I’ve updated my OnlyOffice container some days ago and I’ve been facing the same error message.
For me the problem came from the token feature. I’ve set up a token to prevent other people to use my OnlyOffice but since the local.json file was not located in a docker volume, the update of the docker erased the all content.
Thanks for that hint. I will check that. Need to setup the docker env then again. I tried a native Onlyoffice server (no docker) meanwhile, which had the same issue.
Dear All… I am having the same issues… I can get my site running but nothing else… Can edit documents or create them… Any suggestions…
I do have it under trust sites…
I did also add "‘onlyoffice’ => array (
‘verify_peer_off’ => true
)
But I am still getting this error when going under nextcloud -> [onlyoffice] Error: GetConvertedUri on check error: Error occurred in the document service: Error while downloading the document file to be converted.
Don’t forget to overwrite the cli < tested it works. on Nextcloud version 16.x.x
The following is an example:
'trusted_domains' =>
array (
0 => '192.168.0.8:80', #for local access
1 => 'myddns.domain.org', #access externally
2 => 'myddns.second.domain.org', #access externally second domain if you have one.
),
If nextcloud are behind reverse proxy webserver,
'overwrite.cli.url' => 'https://myddns.domain.org:port', #it forcefully nc to use this as base link
'overwritehost' => 'myddns.domain.org:port', #it forcefully nc to use this as base link
'overwriteprotocol' => 'https', # force to use SSL because of reverse proxy by let's encrypt
Using Docker Images Nextcloud, OnlyOffice and Caddy Webserver.
Hello, I have the same problem, and I found out that my document server (docker) doesn’t have access to Nextcloud: if I launch wget myoffice.mysite.com from docker (docker exec -it ID_CONTAINER /bin/bash), I don’t get anything (the connexion is impossible). But in fact, I can’t access any site. If I do wget 77.95.65.121 (a google IP), I can’t access it either.
For information, the document server is accessible from Nextcloud and all healtcheck are OK.
I’m using a proxy on Apache and a certificate from Let’s encrypt.
Look into the interaction betwenn onlyoffice componnents. I had the same issue and solved it by noticing that the docservice could not connect to rabbitmq. So I set the password for rabbitmq one again and it was working. Look closely in your /var/log/rabbitmq files
Hope it helps
Fellows, Onlyoffice DocumentServer 5.5.1 seems to be broken. I have downgraded to Onlyoffice Document Server 5.5.0 using GitHub deb file and my Nextcloud instance is connecting back to the Document Server without issues.
Here is the link I used to download deb file. I followed all pre-requisites installation instructions including postgresql from the Onlyoffice forum.
I had the same issue, since my Nextcloud and my OnlyOffice share the same server and they are behind reverse proxies, I just add ‘trusted_proxies’ into my config.php file