NethServer Version: 7.9 Module: Only Office
I installed Only Office using the Wiki by mrmarkuz however in cockpit under system services these services are not running.
Please, review the following settings:
ds-docservice : The service is either not running or not enabled* ds-converter : The service is either not running or not enabled
When i go to Onlyoffice setup in Nextcloud and enter the secret key from
cat /var/lib/nethserver/secrets/onlyoffice I get the following
" Error when trying to connect (Server error: GET https://xxx.xxxx.com:8082/healthcheck resulted in a 502 Bad Gateway response:502 Bad Gateway"
I have removed Onlyoffice and reinstalled by entering “yum autoremove onlyoffice-documentserver nginx msttcore-fonts-installer-2.6-1 onlyoffice-repo” and “signal-event nethserver-onlyoffice-update” Still get the same results.
if I go to https://server.xxx.com:8082 I get the following: “ONLYOFFICE Docs Community Edition installed”
Any help with this issue would be greatly appreciated.
Thanks mmarkuz for the quick reply below are the results from rpm -qa nethserver-onlyoffice onlyoffice-documentserver.
Blockquote rpm -qa nethserver-onlyoffice onlyoffice-documentserver
onlyoffice-documentserver-7.3.3-49.el7.x86_64
nethserver-onlyoffice-0.0.3-1.ns7.noarch
Blockquote
I have tried “signal-event nethserver-onlyoffice-update” with no change
mrmarkuz once again thanks for the quick response I tried the reinstall with no luck in cockpit it still shows ds-docservice and ds-converter are not running and if I try to configure only office in Nextcloud by clicking save I get the Bad gateway 502 error. If i enter the domain:8082 in a browser it goes the the only office welcome page.
Blockquote
[root@dag-server ~]# config show fw_onlyoffice
fw_onlyoffice=service
NCPort=8082
TCPPort=8082
TCPPorts=8082
access=red,green
status=enabled
[root@dag-server ~]# occ config:app:get onlyoffice DocumentServerUrl https://dag-server.zanedaniel.com:8082/
[root@dag-server ~]# occ onlyoffice:documentserver --check
Error connection: Server error: GET https://dag-server.zanedaniel.com:8082/healthcheck resulted in a 502 Bad Gateway response:
502 Bad Gateway
502 Bad Gateway
ngin (truncated...)
> Blockquote
once again thanks for all your help with this issue
Blockquote
/var/log/onlyoffice/documentserver/docservice/err.log
prelude/bootstrap.js:1697
throw error;
^
Error: Config file /etc/onlyoffice/documentserver/local.json cannot be read
at Config. (/snapshot/server/build/server/DocService/node_modules/config/lib/config.js:752:11)
at /snapshot/server/build/server/DocService/node_modules/config/lib/config.js:595:28
at Array.forEach ()
at /snapshot/server/build/server/DocService/node_modules/config/lib/config.js:591:14
at Array.forEach ()
at Config. (/snapshot/server/build/server/DocService/node_modules/config/lib/config.js:590:13)
at new Config (/snapshot/server/build/server/DocService/node_modules/config/lib/config.js:136:27)
at Object. (/snapshot/server/build/server/DocService/node_modules/config/lib/config.js:1638:31)
at Module._compile (pkg/prelude/bootstrap.js:1751:22)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:1101:10)
pkg/prelude/bootstrap.js:1697
throw error;
^
Error: Config file /etc/onlyoffice/documentserver/local.json cannot be read
at Config. (/snapshot/server/build/server/DocService/node_modules/config/lib/config.js:752:11)
at /snapshot/server/build/server/DocService/node_modules/config/lib/config.js:595:28
at Array.forEach ()
at /snapshot/server/build/server/DocService/node_modules/config/lib/config.js:591:14
at Array.forEach ()
at Config. (/snapshot/server/build/server/DocService/node_modules/config/lib/config.js:590:13)
at new Config (/snapshot/server/build/server/DocService/node_modules/config/lib/config.js:136:27)
at Object. (/snapshot/server/build/server/DocService/node_modules/config/lib/config.js:1638:31)
at Module._compile (pkg/prelude/bootstrap.js:1751:22)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:1101:10)
pkg/prelude/bootstrap.js:1697
throw error;
^
Error: Config file /etc/onlyoffice/documentserver/local.json cannot be read
at Config. (/snapshot/server/build/server/DocService/node_modules/config/lib/config.js:752:11)
at /snapshot/server/build/server/DocService/node_modules/config/lib/config.js:595:28
at Array.forEach ()
Fixed it I went in renamed /etc/onlyoffice/documentserver/local.json to local1.json ran signal-event nethserver-onlyoffice-update and its working for now.