Howto install Onlyoffice document server as Nextcloud app

Yes man, that is what I was looking for!!!

The HowTo works as expected.
Thank you very much @danb35 for your work, also @fausp and @stephdl .
I wasn’t successful with collabora, but this is much more than just good enough for me!!

One little thing to mention: I use a second NS-instance as fw/gateway/proxy with own certs. To install the onlyoffice-app in nextcloud, I had to add the nextcloud-instance to the “hosts without proxy section” on my gateway. Otherwise I got a failure, that nextcloud couldn’t communicate with the download-server.

2 Likes

clap, clap @mrmarkuz now a module should be made

2 Likes

How does it work, Is there a howto to make a module ?

You’ll find some information in the wiki and in the docs, @stephdl has a template with some example code to start with:

https://wiki.nethserver.org/doku.php?id=developer

https://wiki.nethserver.org/doku.php?id=developer:developer_howto

http://docs.nethserver.org/projects/nethserver-devel/en/latest/

1 Like

Thanks for testing!

I added it to the howto!

Don’t know if it would be better to split nginx and onlyoffice like

  • nethserver-nginx: to have nginx setup in NethServer next to apache without port conflicts. I’ve seen some threads about nginx being used for different apps or advanced reverse proxy functions and there’s a feature request too:
  • nethserver-onlyoffice: just to get onlyoffice documentserver integrated - requirement: nethserver-nginx
1 Like

OK, thank you markus…

Yes it is better to split nethserver-nginx and nethserver-onlyoffice

3 Likes

Woooooah! Great work! :clap:

Indeed! Markuz great job AGAIN! You’re a :steam_locomotive: :clap: @fausp @danb35 and @stephdl

Kudos! :clap::clap::clap:

Why not yum install nodejs ?

1 Like

You may be right but I didn’t test it. It was a result of copy/paste lazyness :smiley:

1 Like

You are right. Thanks, nodejs from epel does the job. I changed the first post.

2 Likes

Working.

This what I wait for years. Finally something Users cannot say “no I prefer google” !

:clap::clap::clap::clap::clap::clap:

2 Likes

Because, according to the instruction page at onlyoffice.com, the package from epel doesn’t install a suitably-recent version. OTOH, it also says that with respect to nginx, and the epel version of nginx is just fine.

1 Like

OnlyOffice instruction page :

System requirements
Node.js: version 6.9.1 or later

On my system :

Installed Packages
Name        : nodejs
Arch        : x86_64
Epoch       : 1
Version     : 6.12.2
Release     : 1.el7
Size        : 16 M
Repo        : installed
From repo   : epel

Looks like the doc is outdated.

1 Like

So it appears. In that case, even the yum install nodejs isn’t necessary, as it would be pulled in as a dependency of onlyoffice-documentserver.

Yes, you are right here so I didn’t add it to the yum install line.

So now that we have it working, is it possible to make it work without opening another port to the outside? I think Apache has some proxy functionality; couldn’t that be used to proxy https://neth_fqdn/documentserver to https://neth_fqdn:8082? I doubt it’d do anything for security, but it’d be helpful when dealing with firewalls that block non-standard ports.

1 Like