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 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:


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…


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

Refer to but instead of the last two lines use following commands:

yum -y install
yum -y install


Hi Markus,

just test the 2 new packages 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.


1 Like