Collabora intergration

(Nitram Oneito) #1

Will you guys be adding any support, in the software center for installing collabora, it will be very helpful, and am sure many people will love that

(Rob Bosch) #2

We already have onlyoffice. Maybe that suites your needs: Howto install Onlyoffice document server as Nextcloud app

(Nitram Oneito) #3

there is the link you have given me with instructions, and also

the link below

which method should I use, am not more confused.

(Rob Bosch) #4

I think @mrmarkuz can give some hints here

(Nitram Oneito) #5

yes he is helping here Howto install Onlyoffice document server as Nextcloud app

(Dan) #6

It would be helpful to have Collabora as well, as there’s quite a bit of functionality that’s only in one app or the other. OnlyOffice, for example, is pretty limited in file format support, not working with the legacy formats or OpenOffice.

(Rob Bosch) #7

Agreed that multiple options would be nice to have. We should be able to choose the solution that best suits our needs.

(Markus Neuberger) #8

They have a new version with packages for centos but the repo is not working so I filed a bug

I tried it with docker/portainer too, CODE admin logon was possible after disabling firewall but no document editing :cry:

If someone wants to try, here is what I did:

You need a domain for nextcloud, one for collabora and a letsencrypt cert with both domains.

yum -y install
yum -y update
yum -y install nethserver-nextcloud
config setprop nextcloud TrustedDomains yournextclouddomain.tld
signal-event nethserver-nextcloud-save
docker pull collabora/code
docker run -t -d -p -e "domain=yournextclouddomain\\.tld" -e "username=admin" -e "password=admin" --restart always --cap-add MKNOD collabora/code
shorewall clear

Create /etc/httpd/conf.d/collabora.conf

<VirtualHost *:443>
ServerName yourcollaboradomainname.tld:443

# Encoded slashes need to be allowed
AllowEncodedSlashes NoDecode

# Container uses a unique non-signed certificate
SSLProxyEngine On
SSLProxyVerify None
SSLProxyCheckPeerCN Off
SSLProxyCheckPeerName Off

# keep the host
ProxyPreserveHost On

# static html, js, images, etc. served from loolwsd
# loleaflet is the client part of LibreOffice Online
ProxyPass           /loleaflet retry=0
ProxyPassReverse    /loleaflet

# WOPI discovery URL
ProxyPass           /hosting/discovery retry=0
ProxyPassReverse    /hosting/discovery

# Main websocket
ProxyPassMatch "/lool/(.*)/ws$" wss://$1/ws nocanon

# Admin Console websocket
ProxyPass   /lool/adminws wss://

# Download as, Fullscreen presentation and Image upload operations
ProxyPass           /lool
ProxyPassReverse    /lool

Restart httpd:

systemctl restart httpd