Make libreoffice Online work with nextcloud

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I have Build libreoffice online for CentOS7, and test work fine with : 
[blods@localhost online]$ ./loolwsd
--o:sys_template_path=/opt/online/systemplate/
--o:child_root_path=/opt/online/jails/ --o:storage.filesystem[@allow]=true
--disable-ssl

I can correctly open :
192.168.232.145:9980/loleaflet/2ce1a7f/loleaflet.html?file_path=file:///opt/online/test/data/hello-world.odt

If i use http://192.168.232.145:9980, I get an OK response page in my
browser.

But with Nextcloud it seems I miss something.

First I work with two Virtual Machine :
My nextcloud virtual machine : 192.168.232.144
My Libreoffice virtual machine : 192.168.232.145

Then in Nextcloud I install app Collabora Online and I configure the WOPI
adress client with my libreoffice virtual machine IP : 192.168.232.145:9980

In loolwsd.xml :

I add my nextcloud virtual machine IP 
 <storage desc="Backend storage">
        <filesystem allow="false" />
        <wopi desc="Allow/deny wopi storage. Mutually exclusive with
webdav." allow="true">
            <host desc="Regex pattern of hostname to allow or deny."
allow="true">localhost</host>
            <host desc="Regex pattern of hostname to allow or deny."
allow="true">192\.168\.232\.144</host>

I disable SSL for my test :
 <ssl desc="SSL settings">
        <enable type="bool" desc="Controls whether SSL encryption between
browser and loolwsd is enabled (do not disable for production deployment).
If default is false, must first be compiled with SSL support to enable."
default="true">false</enable>

But when I try to open an .odt file in nextcloud it seems to hang in a loop
and don't show me anything.
I see this in loolwsd.log : 
wsd-01792-01799 2019-12-11 10:40:33.155124 [ accept_poll ] TRC  Poll
completed with 1 live polls max (5000ms)| ./net/Socket.hpp:521
wsd-01792-01799 2019-12-11 10:40:33.155180 [ accept_poll ] DBG  Accepted
socket #21, creating socket object.| net/Socket.cpp:504
wsd-01792-01799 2019-12-11 10:40:33.155190 [ accept_poll ] DBG  #21 Thread
affinity set to 0x7f3da903f700.| ./net/Socket.hpp:322
wsd-01792-01799 2019-12-11 10:40:33.155200 [ accept_poll ] DBG  StreamSocket
ctor #21| ./net/Socket.hpp:825
wsd-01792-01799 2019-12-11 10:40:33.155207 [ accept_poll ] TRC  #21
Connected to ClientRequestDispatcher.| wsd/LOOLWSD.cpp:2095
wsd-01792-01799 2019-12-11 10:40:33.155214 [ accept_poll ] DBG  Accepted
socket has family 10 address ::ffff:192.168.232.144| net/Socket.cpp:531
wsd-01792-01799 2019-12-11 10:40:33.155218 [ accept_poll ] DBG  Accepted
client #21| net/ServerSocket.hpp:89
wsd-01792-01799 2019-12-11 10:40:33.155222 [ accept_poll ] DBG  Inserting
socket #21 into websrv_poll| ./net/Socket.hpp:663
wsd-01792-01799 2019-12-11 10:40:33.155226 [ accept_poll ] DBG  #21 Thread
affinity set to 0 (was 0x7f3da903f700).| ./net/Socket.hpp:282
wsd-01792-01799 2019-12-11 10:40:33.155245 [ accept_poll ] TRC  Poll start|
./net/Socket.hpp:511

What did I miss?

Where to look at to have more log to debug?

cordialy




--
Sent from: http://document-foundation-mail-archive.969070.n3.nabble.com/Dev-f1639786.html
_______________________________________________
LibreOffice mailing list
LibreOffice@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/libreoffice



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux