@giacomo made a wrapper for /usr/share/nextcloud/occ a while ago
So the ghost that haunted netherserver-collabora every rh-php-point-release update for nextcloud is going to be something of the past.
A few (closing) remarks:
thought the virtual host collabora.yourdomain.you is created at installation… Had to set this prop config setprop loolwsd VirtualHost collabora.yourdomain.you as described in README.rst in order to install the nextcloud-apps and let it configure nextcloud.
loolwsd in nethforge is out-of-date, the wiki installation instruction which includes installing collabora-release works. (except for the above omission)
EDIT: Disable certificate verification works for testing,
I think this would work in the local network in any case if we add a DNS entry/server alias for collabora.server-domain. If one needs another (public) domain the prop is still there. If the prop is set, the DNS entry is not needed anymore.
Have to amid I’m testing on a NS-VM which is not the DNS server for the lan,
hence made the dns aliases (nextcloud.mydomain and collabora.mydomain) on the nethserver instance which is the (lan) DNS.
If the NS instance you install nethserver-collabora on has nethserver-nextcloud installed and is the DNS-server: it should work out-off the box on virtual/wopi host collabora.server-domainexcept for the certificate issue ( provide documentation to include vhost in Let's Encrypt and Disable certificate verification)
If a loolwsd VirtualHost prop is set it respects this.
Nice to have:
If the virtual/wopi host does not have a valid cert and nethserver-nextcloud is installed on the same instance try to Disable certificate verification
Enable certificate verification on certifate-save event if the cert is valid.
Welcome to comment on the above;
and upfront “nice to have” is low (lowwwww) prio.
It’s about definitions…
It needs a dedicated name (the prop is called virtualhost which may be confusing) but not a virtual host like the ones you can create in the UI with the virtualhosts module.
But it needs the /etc/httpd/conf.d/zz_collabora.conf so an “internal” vhost is needed because we need the reverse proxy.
EDIT:
Thinking about it again, it could work with the default virtual host too but I never tested.
No need to install collabora-release but you can do so to get the latest upstream Collabora CODE.
(in nethforge-testing lives a version matching loolwsd which never made it to nethforge)
If you do not have a valid certificate disable this in nextcloud-admin or run:
This is still expected behavior, have not take on the enhancements discussed in this post.
Sorry to confuse the reader: this test release fixes the rh-php7x issue.
Beside my own test @mrmarkuz confirmed the fix works.
As some may have noticed; discovered another issue related to the dependencies in nethforge vs nethforge-testing. Since b781efd requires loolwsd >= 4.2.0 CODE-brand >= 4.2.0. colaboraoffice6.x in nethforg testing is also newer.
I like to propose to publish this fix for rh-php7x together with the dependencies as-is in nethforge-testing.
(already did a quick test for the upgrade path to the latest upstream CODE-brand which seem to work but like to take this on in the next step with enhancements)