Collabora intergration

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

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

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

the link below
https://wiki.nethserver.org/doku.php?id=onlyoffice

which method should I use, am not more confused.

I think @mrmarkuz can give some hints here

yes he is helping here Howto install Onlyoffice document server as Nextcloud app - #104 by oneitonitram

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.

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

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 http://mirror.de-labrusse.fr/NethDev/docker/docker-ce-17.12.1.ce-1.el7.centos.x86_64.rpm http://mirror.de-labrusse.fr/NethDev/docker/nethserver-docker-0.1.4-1.ns7.noarch.rpm http://mirror.de-labrusse.fr/NethDev/docker/nethserver-portainer-0.1.4-1.ns7.noarch.rpm
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 127.0.0.1:9980:9980 -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 https://127.0.0.1:9980/loleaflet retry=0
ProxyPassReverse    /loleaflet https://127.0.0.1:9980/loleaflet

# WOPI discovery URL
ProxyPass           /hosting/discovery https://127.0.0.1:9980/hosting/discovery retry=0
ProxyPassReverse    /hosting/discovery https://127.0.0.1:9980/hosting/discovery

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

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

# Download as, Fullscreen presentation and Image upload operations
ProxyPass           /lool https://127.0.0.1:9980/lool
ProxyPassReverse    /lool https://127.0.0.1:9980/lool
</VirtualHost>

Restart httpd:

systemctl restart httpd

1 Like