Old news but related to the topic. There’s a built-in collabora CODE nextcloud app, but I guess the package from Markus shall perform at least the same or a bit better (unaware of the internal differences on the built-in app).
provides a built-in server with all of the document editing features of Collabora Online. Easy to install, for personal use or for small teams. It is a bit slower than a standalone server and without the advanced scalability features.
the built-in CODE server has some limitations in terms of performance
Please help with this issue:
I have installed nethserver-collabora package following your steps and of course, the documentation.
I can access the Admin console at https://collabora.gtbs.ro/loleaflet/dist/admin/admin.html
If I check in browser https://collabora.gtbs.ro I get (please see photo 1).
In Nextcloud: “Could not establish connection to the Collabora Online server.” (please see photo 2).
What did I do wrong?
From where I must start to check?
Sorry for late answer, I wasn’t in front of a PC to check my settings…
If your Neth hostname is not the same as your public domain name, you need to set AllowWopiHost to the domain name you use in your browser to connect to Nextcloud.
Even after I made the settings for WopiHost, it didn’t work.
Following your hint about the host name and the public domain name, I realized that I did not set an alias for collabora.gtbs.ro.
After I seted this alias, it’s working!
I know why I forgot the alias!
The virtual host was created automatically by the nethserver-collaborate package during installation, but not the alias.
When you create a virtual host from GUI, the process create also the alias.
The Collabora integrated server is definitely easier to install and maintain (it is a web application self-contained inside NC) but lacks a lot of features (the most important one being sandboxing each open document).
I will say for “personal” use the NC/Collabora integrated one is sufficient. If you are part of a team using Collabora/LibreOffice Online for production and/or collaboration, I would continue recommending the great job of Markus
Thank you for the explanation of the differences between the two versions.
As you can see, I already use Markus’s version, NS integration and Markus already helped me.
Indeed, great job of @mrmarkuz !
It seems you defined collabora.dargels.de in the virtualhosts and in the loolwsd entry in config db. It’s only needed in the loolwsd entry in the config db so please delete the vhost.
Thank you Markus, now it works.
I had already suspected it but was not sure.
Inside the Docu for Collabora Online (I know, that’s not the CODE-Version) I found:
Collabora Online requires a dedicated virtual host and it’s only accessible from HTTPS with a valid certificate.
Note: Collabora Online will not be enabled without a dedicated virtual host
I probably still had this in mind when I created the vhost.
Maybe you should put a note in the wiki to not create a dedicated vhost.