stephdl
(Stéphane de Labrusse)
March 1, 2021, 6:39pm
41
first sight you expand the template /etc/hosts with collabora.$Domain but you have forgotten to restart dnsmasq, after the installation do in the terminal
host collabora.$Domain
the domain is not resolvable, restart dnsmasq, the domain is known after.
I cannot use collabora on my VM, however I do not have LE on it, since the domain does not exist.
2 Likes
mrmarkuz
(Markus Neuberger)
March 1, 2021, 6:47pm
42
A valid cert is not mandatory anymore.
1 Like
mark_nl
(Mark Verlinde)
March 1, 2021, 6:49pm
43
TK for feed back!
Did multiple test on this and here did not need to restart dnsmask, will revisit.
try open collabora.server-domain in your web-browser to accept the exception first.
Then try to use collabora in nextcloud… ie:
If no valid certificate is present open the virtual host in your web-browser to add an exception for the certificate.
tried to explain / document this in readme (and doc) :
====================
nethserver-collabora
====================
This package provide Nethserver integration of `Collabora Online Development Edition`_.
.. _Collabora Online Development Edition: https://www.collaboraoffice.com/code/
First configuration
===================
Collabora Online requires a dedicated virtual host and it's only accessible from HTTPS.
On installation the (default) virtual host ``collabora.server_domain`` is created, an other virtual host can be set by executing:
::
config setprop loolwsd VirtualHost loolwsd.yourdomain.com
signal-event nethserver-collabora-update
It is recommended to obtain a valid HTTPS certificate for the virtual host;
This file has been truncated. show original
Improvements on the text are welcome.
1 Like
stephdl
(Stéphane de Labrusse)
March 1, 2021, 7:15pm
44
[root@ns7loc4 ~]# host collabora.nethservertest.org
Host collabora.nethservertest.org not found: 3(NXDOMAIN)
[root@ns7loc4 ~]# systemctl restart dnsmasq
[root@ns7loc4 ~]# host collabora.nethservertest.org
collabora.nethservertest.org has address 192.168.56.5
1 Like
mark_nl
(Mark Verlinde)
March 1, 2021, 7:22pm
46
hmmm,
nextcloud runs on the same server?
stephdl
(Stéphane de Labrusse)
March 1, 2021, 7:23pm
47
yes
new error, not confident with this software but there is something wrong
mrmarkuz
(Markus Neuberger)
March 1, 2021, 7:24pm
48
Maybe you need to allow your Nextcloud:
config setprop loolwsd AllowWopiHost nextclouddomain.tld
signal-event nethserver-collabora-update
stephdl
(Stéphane de Labrusse)
March 1, 2021, 7:25pm
49
mark_nl
(Mark Verlinde)
March 1, 2021, 7:27pm
51
After installing collabora?
stephdl
(Stéphane de Labrusse)
March 1, 2021, 7:29pm
52
yes, I installed first collabora and I created the vhost of nextcloud after
mrmarkuz
(Markus Neuberger)
March 1, 2021, 7:29pm
53
OK, it’s in the doc but for use with another server but I think you need to allow the nextcloud domain…so we need to add it to the docs.
https://docs.nethserver.org/en/v7/collabora.html#usage
stephdl
(Stéphane de Labrusse)
March 1, 2021, 7:29pm
54
I recently installed collabora on the same server and I did not need it
mrmarkuz
(Markus Neuberger)
March 1, 2021, 7:31pm
55
Was there a vhost for nextcloud too? Maybe the vhost makes the issue?
stephdl
(Stéphane de Labrusse)
March 1, 2021, 7:33pm
56
yes of couse
nextcloud.domain.org
collabora.domain.com
mark_nl
(Mark Verlinde)
March 1, 2021, 7:36pm
57
nethserver-collabora gets updated on a nethserver-nextcloud-update
event .;
need to check if this runs if a user sets a virtualhost for nextcloud.
1 Like
stephdl
(Stéphane de Labrusse)
March 1, 2021, 7:37pm
58
reproducible
I created the vhost of nextcloud
I installed collabora
I restarted dnsmasq
this is the error I have
1 Like
stephdl
(Stéphane de Labrusse)
March 1, 2021, 7:38pm
59
Could you explain how I could make it work ?