OnlyOffice duplicate docservice

Having difficulty installing/starting OnlyOffice. Nginx is failing to start with the error:

nginx: [emerg] duplicate upstream “docservice” in /etc/nginx/includes/onlyoffice-http.conf:9
nginx: configuration file /etc/nginx/nginx.conf test failed

I’ve followed the instructions from @mrmarkuz here https://wiki.nethserver.org/doku.php?id=onlyoffice and tried the troubleshooting processes as well as removing and starting again a few times.

One thing I noted after removing it was I was getting a response on port 8082 as per:

neth-nginx

Not sure if that should have been there?? or it is left over from the initial failed install. I did also have nethserver virtual-hosts installed prior to starting the onlyoffice install (with no sites configured) and removed that in case it was getting in the way (even though I assumed it was only apache adjustments).

Thanks. Klaus.

NethServer Version: 7.6.1810 (final)

1 Like

I was able to reproduce the issue. It seems to be a problem with new onlyoffice/nginx config files. I didn’t find a workaround yet.
I am going to repair the module the next days…

EDIT:

@KdB Please test the updated module, fresh onlyoffice 5.4.0 is used now.

Refer to https://wiki.nethserver.org/doku.php?id=onlyoffice#quick_install but instead of the last two lines use following commands:

yum -y install https://github.com/ONLYOFFICE/DocumentServer/releases/download/ONLYOFFICE-DocumentServer-5.4.0-2/onlyoffice-documentserver.x86_64.rpm
yum -y install https://mrmarkuz.goip.de/mirror/devtest/nethserver-onlyoffice-0.0.1-7.ns7.noarch.rpm

4 Likes

Hi Markus,

just test the 2 new packages and:
grafik

and:

Seems that your solution works, so I think it’s time to update the wiki.
I did a rollback twice before I googled and found this thread.

Perfect work. Thanks a lot! :+1::+1::+1::+1::+1:

1 Like

Thanks for testing! Released. Wiki updated.

Servus @mrmarkuz

Can confirm it works perfectly. Thanks for all your work - it is much appreciated.

Klaus

1 Like