<div dir="ltr"><div>I've done what I could in setting up Kolab with Collabora, but am stuck somewhere and don't know what to do next. Would appreciate is someone who made this possible comes in to help.</div><div><br></div><div>So, I'm on Ceontos 7, have Kolab Winterfell and latest Collabora CODE in place. Both are on the same host, on different subdomains of the same '<a href="http://mydomain.com" target="_blank">mydomain.com</a>'. All the Kolab services use the same (sub)domain. I have Nginx in front and SSL is set for both services (in Kolab I have set all the services to be behind SSL except for the directory service - I've had a lot of troubles trying to make it work based on available guides, but nothing worked).<br></div><div><br></div><div>In roundcubemail/config.inc.php I have added the following lines:</div><div>...<br></div><div>$config['fileapi_wopi_office'] = '<a href="https://office.mydomain.com/hosting/discovery" target="_blank">https://office.mydomain.com/hosting/discovery</a>'; //office domain is for Collabora<br></div><div>$config['file_api_url'] = '<a href="https://mail.mydomain.com/chwala/api/" target="_blank">https://mail.mydomain.com/chwala/api/</a>'; //mail domain is for Kolab</div><div>...<br></div><div>I have also installed kolab-wopy but there is only one setting I could put there (/etc/kolab-wopi/sys.config), the Chwala api address (not sure if I should update also the cert lines?):</div><div><br></div><div>[{sasl,[{errlog_type,error}]},<br> {kolab_wopi,[{chwala_base_url,<<"<a href="https://mail.mydomain.com/chwala/api/" target="_blank">https://mail.mydomain.com/chwala/api/</a>">>},<br>              {http,[{port,4000}]},<br>              {https,[{port,4443},<br>                      {keyfile,<<"/etc/pki/kolab-wopi/kolab-wopi.pem">>},<br>                      {certfile,<<"/etc/pki/kolab-wopi/kolab-wopi.pem">>}]},<br>              {host_info,[{endpoint_desc,<<"Kolab Systems, Zurich">>},<br>                          {machine_name,<<"nonode@nohost">>},<br>                          {version,<<"kolab_wopi_v0.0.1">>}]}]}].</div><div><br></div><div>I have also updated the Collabora configuration (/etc/loolwsd/loolwsd.xml(, the obvious lines, plus, I've added the Kolab's URL in a frame directive:</div><div>...</div><div>        <server_name desc="Hostname:port of the server running loolwsd. If empty, it's derived from the request." type="string" default=""><a href="http://office.mydomain.com:9980" target="_blank">office.mydomain.com:9980</a></server_name></div><div>...</div><div>        <frame_ancestors desc="Specify who is allowed to embed the LO Online iframe (loolwsd and WOPI host are always allowed). Separate multiple hosts by space."><a href="http://mail.mydomain.com" target="_blank">mail.mydomain.com</a> <a href="http://files.mydomain.com" target="_blank">files.mydomain.com</a></frame_ancestors></div><div>...</div><div>        <enable type="bool" desc="Controls whether SSL encryption is enable (do not disable for production deployment). If default is false, must first be compiled with SSL support to enable." default="true">true</enable><br>        <termination desc="Connection via proxy where loolwsd acts as working via https, but actually uses http." type="bool" default="true">true</termination><br>        <cert_file_path desc="Path to the cert file" relative="false">/etc/letsencrypt/live/<a href="http://office.mydomain.com/cert.pem" target="_blank">office.mydomain.com/cert.pem</a></cert_file_path><br>        <key_file_path desc="Path to the key file" relative="false">/etc/letsencrypt/live/<a href="http://office.mydomain.com/privkey.pem" target="_blank">office.mydomain.com/privkey.pem</a></key_file_path><br>        <ca_file_path desc="Path to the ca file" relative="false">/etc/letsencrypt/live/<a href="http://office.mydomain.com/fullchain.pem" target="_blank">office.mydomain.com/fullchain.pem</a></ca_file_path></div><div>...</div><div><br></div><div>With these settings in place, well, nothing happens. The Files section in Roundcube doesn't even have the View and Edit buttions enabled at all when I select a document (.doc(x)) or a spreadsheet (.xls(x)).</div><div><br></div><div>What I find odd, is that I got new "folder" in files - Sessions. I also got the "Create" button which pops up a dialog to choose the new file's name and type. Only Open Document standard types are supported (.odt, etc..) and txt and html. Clicking "Create and Edit" Opens a new window where an editor should appear (I guess), but it doesn't. The frame with supposed editor remains empty. Debugging in the browser, I see that all the requests to <a href="https://mail.mydomain.com/" target="_blank">https://mail.mydomain.com/</a><span>chwala/api?method=file_get&file=Files%2FTestSpreadsheet.ods&token=els4llbo0p43klo5oxxxxp4e0 are getting a 301 response.<br></span></div><div><span>Funny thing is I can download this empty document, I also see these empty documents later in the Documenrts and I get the option to "View" them (Edit is still disabled), but the viewer has same issues as the Create procedure described above.... the editor (or viewer) does not come up.<br></span></div><div><span><br></span></div><div><span>Anyway, no sign of Collabora in Roundcube. No option to create or edit .doc(x), .xls(x), .ppt(x) documents.</span></div><div><span><br></span></div><div><span>I have even temporarily installed NextCloud on the same host, just to see if Collabora is gonna work elsewhere, and it works flawlessly.<br></span></div><div><span><br></span></div><div><span>Did I do something wrong above or did I missed something?</span></div><div><span><br></span></div><div><span>Thanks!<br></span></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Sep 13, 2019 at 6:44 PM Milan Petrovic <<a href="mailto:petrovic.milan@gmail.com" target="_blank">petrovic.milan@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>I cannot seem to find any resource online describing the process of Collabora connecting to Kolab (16+ version).</div><div><br></div><div>Any tips, any resource you know of that could help me?</div><div><br></div><div>Winterfell should have this integration built in, not sure how mature it is at the moment, though.</div><div><br></div><div>Also, Seafile can be integrated with Collabora, but then I don't know if stored documents will be opened in the LibreOffice online editor if I click through Roundcube? This could be an option B if it works that way...<br></div></div>
</blockquote></div>