Improvements for Nethserver-Collabora

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

A valid cert is not mandatory anymore.

1 Like

TK for feed back!

Did multiple test on this and here did not need to restart dnsmask, will revisit. :+1:

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

Improvements on the text are welcome. :grinning:

1 Like
[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

with non LE cert

hmmm,

nextcloud runs on the same server?

yes

new error, not confident with this software but there is something wrong

Maybe you need to allow your Nextcloud:

config setprop loolwsd AllowWopiHost nextclouddomain.tld
signal-event nethserver-collabora-update

I installed nethserver-nextcloud
I installed http://packages.nethserver.org/nethserver/7.9.2009/nethforge-autobuild/x86_64/Packages/nethserver-collabora-0.1.2-1.10.pr8.ga2fb9a4.ns7.noarch.rpm

then I restarted dnsmasq

I set collabora.nethservertest.org in my /etc/hosts to the VM
I created a vhost for nextcloud

this is what I did

not in the doc

2 Likes

After installing collabora?

yes, I installed first collabora and I created the vhost of nextcloud after

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

I recently installed collabora on the same server and I did not need it

Was there a vhost for nextcloud too? Maybe the vhost makes the issue?

yes of couse

nextcloud.domain.org
collabora.domain.com

nethserver-collabora gets updated on a nethserver-nextcloud-update event.;
need to check if this runs if a user sets a virtualhost for nextcloud. :thinking:

1 Like

reproducible

I created the vhost of nextcloud
I installed collabora
I restarted dnsmasq
this is the error I have

1 Like

Could you explain how I could make it work ?

the certs is allowed fun