@scroom I’ve never manage to have 10 docs opened or 20 connections at the same time.
But i think docker don’t have a strick limitation, it’s just an advice that the docker version won’t be strong enought for more than 10docs/20 connections.
On the out of docker version the limitation will be your hardware configuration. Collabora is RAM-O-PHAGE, a lot of ram comsumption.
I will put a warning sign on the top of this topic : “For Home Purpose Only” and i’m not sure this Tutorial have a use now, because for Home Purpose only it doesn’t worth it , better stay on Docker, easy to stop, easy to start…
I have to see if a good How To exist for compile it from scratch or if i have to write it myself.
@Nemskiller There is a german guide (should be possible to follow it without speaking german). Sadly this howto does no longer work, due to changes in loolwsd:
Do you have to add something in my nextcloud config? in /var/www/nextcloud/config/config.php ???
Am going to start over yet again to see if I get anything.
Now trying to reset it up in a new flreshly install image and get this:
find: ‘lib/ld-*’: No such file or directory
find: ‘lib/libcap*’: No such file or directory
find: ‘lib64/libcap*’: No such file or directory
find: ‘lib/libattr*’: No such file or directory
find: ‘lib/libnss_*’: No such file or directory
find: ‘lib64/libnss_*’: No such file or directory
find: ‘var/cache/fontconfig’: No such file or directory
find: ‘usr/lib/locale/en_US.utf8’: No such file or directory
find: ‘usr/lib/locale/locale_archive’: No such file or directory
find: ‘usr/share/liblangtag’: No such file or directory
find: ‘usr/lib/libpng*’: No such file or directory
find: ‘usr/lib64/libpng*’: No such file or directory
find: ‘lib/ld-*’: No such file or directory
find: ‘lib/libnss_*’: No such file or directory
find: ‘lib64/libnss_*’: No such file or directory
find: ‘lib/libcap*’: No such file or directory
find: ‘lib64/libcap*’: No such file or directory
find: ‘lib/libattr*’: No such file or directory
find: ‘usr/lib/libpng*’: No such file or directory
find: ‘usr/lib64/libpng*’: No such file or directory
find: ‘/opt/poco/lib’: No such file or directory
find: ‘/opt/poco/lib’: No such file or directory
find: ‘/usr/lib64’: No such file or directory
@Nemskiller
Dear I have orange pi+2e installed with armbian xenial 16.04
and using nextcloud on this device
I would like to get collabora working on my device
i have tried docker but collbora/code is not available for arm devices.
Will this procedure work on my armdevice - orangepi+2e?
Please guide.
Thanks in adv.
Hello @earth
I’m sorry to tell you such a thing but it’s not really a good idea to compile LibreOffice Online on a low ram arm ship.
If you have - Apache2/ngnix - php (5 or 7) - mysql/mariadb and nextcloud you won’t have a lot of Ram left for making lool run smoothly.
I’m not saying that it’s impossible but it won’t be really stable on this plateform.
All the experimentations and productions i’ve made for collabora or libreoffice are on CPU 64 bits with a least 4Go of Ram.
@husisusi made a great script to compile lool on debian/ubuntu i used it severals time and we can break the limitation of usage.
i get this after running sudo /usr/bin/loolwsd-systemplate-setup /opt/lool/systemplate /opt/collaboraoffice5.1/
root@orangepiplus2e:~# sudo /usr/bin/loolwsd-systemplate-setup /opt/lool/systemplate /opt/collaboraoffice5.1/
find: ‘lib64/ld-’: No such file or directory
find: ‘lib/libcap’: No such file or directory
find: ‘lib64/libcap*’: No such file or directory
find: ‘lib/-linux-gnu/libcap’: No such file or directory
find: ‘lib/libattr*’: No such file or directory
find: ‘lib/-linux-gnu/libattr’: No such file or directory
find: ‘lib/libnss_’: No such file or directory
find: ‘lib64/libnss_’: No such file or directory
find: ‘lib/-linux-gnu/libnss’: No such file or directory
find: ‘usr/lib/locale/en_US.utf8’: No such file or directory
find: ‘usr/lib/locale/locale_archive’: No such file or directory
find: ‘usr/share/liblangtag’: No such file or directory
find: ‘usr/lib/libpng*’: No such file or directory
find: ‘usr/lib64/libpng*’: No such file or directory
find: ‘lib64/ld-’: No such file or directory
find: ‘lib/libnss_’: No such file or directory
find: ‘lib64/libnss_’: No such file or directory
find: ‘lib/-linux-gnu/libnss*’: No such file or directory
find: ‘lib/libcap*’: No such file or directory
find: ‘lib64/libcap*’: No such file or directory
find: ‘lib/-linux-gnu/libcap’: No such file or directory
find: ‘lib/libattr*’: No such file or directory
find: ‘lib/-linux-gnu/libattr’: No such file or directory
find: ‘usr/lib/libpng*’: No such file or directory
find: ‘usr/lib64/libpng*’: No such file or directory
find: ‘/opt/poco/lib’: No such file or directory
find: ‘/opt/poco/lib’: No such file or directory
find: ‘/usr/lib64’: No such file or directory
6259 blocks
status of loolwsd.service
loolwsd.service - loolwsd as a service
Loaded: loaded (/etc/systemd/system/loolwsd.service; enabled; vendor preset: enabled)
Active: inactive (dead) (Result: exit-code) since Sun 2017-03-19 09:15:39 UTC; 8min ago
Process: 11000 ExecStart=/usr/bin/loolwsd --o:sys_template_path=/opt/lool/systemplate --o:lo_template_path=/opt/collaboraoffice5
Main PID: 11000 (code=exited, status=203/EXEC)
Mar 19 09:15:39 orangepiplus2e systemd[1]: loolwsd.service: Unit entered failed state.
Mar 19 09:15:39 orangepiplus2e systemd[1]: loolwsd.service: Failed with result ‘exit-code’.
Mar 19 09:15:39 orangepiplus2e systemd[1]: loolwsd.service: Service hold-off time over, scheduling restart.
Mar 19 09:15:39 orangepiplus2e systemd[1]: Stopped loolwsd as a service.
Mar 19 09:15:39 orangepiplus2e systemd[1]: loolwsd.service: Start request repeated too quickly.
Mar 19 09:15:39 orangepiplus2e systemd[1]: Failed to start loolwsd as a service.
When the service starts from the logs these messages and after some time stops
-64750 06:26:12.330492 [ loolwsd ] WRN Waking up dead poll thread [accept_poll]| ./net/Socket.hpp:441
-64750 06:26:12.330548 [ loolwsd ] WRN Waking up dead poll thread [accept_poll]| ./net/Socket.hpp:441
-64750 06:26:12.330919 [ loolwsd ] WRN Waking up dead poll thread [websrv_poll]| ./net/Socket.hpp:441
-64750 06:26:12.330978 [ loolwsd ] WRN Waking up dead poll thread [websrv_poll]| ./net/Socket.hpp:441
-64750 06:26:12.330999 [ loolwsd ] WRN Waking up dead poll thread [accept_poll]| ./net/Socket.hpp:441
-64750 06:26:12.331370 [ loolwsd ] WRN Waking up dead poll thread [accept_poll]| ./net/Socket.hpp:441
-64750 06:26:12.331431 [ loolwsd ] WRN Waking up dead poll thread [prisoner_poll]| ./net/Socket.hpp:441
-64750 06:26:12.331599 [ loolwsd ] WRN Waking up dead poll thread [prisoner_poll]| ./net/Socket.hpp:441
-64750 06:26:12.331994 [ loolwsd ] WRN Waking up dead poll thread [websrv_poll]| ./net/Socket.hpp:441
-64750 06:26:12.332035 [ loolwsd ] WRN Waking up dead poll thread [websrv_poll]| ./net/Socket.hpp:441
Hello, first of all thank you very much for the tutorial, you have followed all the steps and I can open the collaboration management console and open the collaboration by direct address "https://docs.pdm.es:9980/loleaflet/2.0. 4 /loleaflet.html?file_path=https://cloud.pdm.es/remote.php/webdav/M%C2%AA%20Fernanda%20Arango.docx "with file_path says connecting … and in logs you will find this
wsd-04644-4647 11:39:21.601729 [ client_ws_0003 ] WRN getNewChild: No available child. Sending spawn request to forkit and failing.| wsd/LOOLWSD.cpp:447
wsd-04644-4647 11:39:21.601881 [ client_ws_0003 ] DBG getNewChild: Timed out while waiting for new child.| wsd/LOOLWSD.cpp:452
wsd-04644-4647 11:39:21.601971 [ client_ws_0003 ] ERR Failed to get new child. Service Unavailable.| wsd/LOOLWSD.cpp:880
wsd-04644-4647 11:39:21.602142 [ client_ws_0003 ] ERR ClientRequestHandler::handleClientRequest: WebSocketErrorMessageException: error: cmd=socket kind=ser viceunavailable| wsd/LOOLWSD.cpp:1208
wsd-04644-4647 11:39:21.602264 [ client_ws_0003 ] TRC Sent frame: error: cmd=socket kind=serviceunavailable| ./wsd/LOOLWebSocket.hpp:184
wsd-04644-4647 11:39:21.602339 [ client_ws_0003 ] DBG Already sent response!?| wsd/LOOLWSD.cpp:1251
wsd-04644-4647 11:39:21.602391 [ client_ws_0003 ] DBG Thread finished.| wsd/LOOLWSD.cpp:1262
wsd-04644-4647 11:39:21.613923 [ client_req_hdl ] INF Request from 192.168.2.168:53850: GET /lool/https%3A%2F%2Fcloud.pdm.es%2Fremote.php%2Fwebdav%2FM%25C2 %25AA%2520Fernanda%2520Arango.docx%3Fpermission%3Dedit/ws HTTP/1.1 / Host: docs.pdm.es:9980 / Connection: Upgrade / Pragma: no-cache / Cache-Control: no-cac he / Upgrade: websocket / Origin: https://docs.pdm.es:9980 / Sec-WebSocket-Version: 13 / User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/53 7.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36 / Accept-Encoding: gzip, deflate, sdch, br / Accept-Language: es-ES,es;q=0.8 / Sec-WebSocket-Key: TlIvZbiCi1fxXcfwDw+xWA== / Sec-WebSocket-Extensions: permessage-deflate; client_max_window_bits
wsd-04644-4647 11:39:21.614057 [ client_ws_0004 ] DBG Thread started.| wsd/LOOLWSD.cpp:1141
wsd-04644-4647 11:39:21.614101 [ client_ws_0004 ] DBG Handling: /lool/https%3A%2F%2Fcloud.pdm.es%2Fremote.php%2Fwebdav%2FM%25C2%25AA%2520Fernanda%2520Arang o.docx%3Fpermission%3Dedit/ws| wsd/LOOLWSD.cpp:1144
wsd-04644-4647 11:39:21.614219 [ client_ws_0004 ] INF Starting GET request handler for session [0004].| wsd/LOOLWSD.cpp:763
wsd-04644-4647 11:39:21.614261 [ client_ws_0004 ] TRC Sending to Client [statusindicator: find].| wsd/LOOLWSD.cpp:767
wsd-04644-4647 11:39:21.614310 [ client_ws_0004 ] TRC Sent frame: statusindicator: find| ./wsd/LOOLWebSocket.hpp:184
wsd-04644-4653 11:39:21.702759 [ loolwsd ] TRC Total memory used: 12200
wsd-04644-4647 11:39:36.602255 [ client_ws_0004 ] DBG No DocumentBroker with docKey [/remote.php/webdav/M%C2%AA%20Fernanda%20Arango.docx] found. New Child and Document.| wsd/LOOLWSD.cpp:853
wsd-04644-4647 11:39:36.602403 [ client_ws_0004 ] WRN getNewChild: No available child. Sending spawn request to forkit and failing.| wsd/LOOLWSD.cpp:422
wsd-04644-4647 11:39:36.602488 [ client_ws_0004 ] DBG getNewChild: Have 0 children, forking 1| wsd/LOOLWSD.cpp:430
wsd-04644-4647 11:39:36.602559 [ client_ws_0004 ] DBG MasterToForKit: spawn 1| wsd/LOOLWSD.cpp:310
wsd-04644-4647 11:39:36.602628 [ client_ws_0004 ] TRC Writing to pipe. Data: [spawn 1].| common/IoUtil.cpp:222
wsd-04644-4647 11:39:36.602685 [ client_ws_0004 ] ERR Failed to write to pipe. Data: [spawn 1
]. (errno: Broken pipe)| common/IoUtil.cpp:229
wsd-04644-4644 11:39:36.602287 [ loolwsd ] ERR Forkit process [5750] core-dumped with SIGSEGV| wsd/LOOLWSD.cpp:2082
wsd-04644-4644 11:39:36.602803 [ loolwsd ] INF Launching forkit process: /usr/bin/loolforkit --losubpath=lo --systemplate=/opt/lool/systemplate --lotemplate=/opt/collaboraoffice5.1 --childroot=/opt/lool/child-roots/ --clientport=9980 --masterport=9981| wsd/LOOLWSD.cpp:1912
wsd-04644-4644 11:39:36.603350 [ loolwsd ] INF Forkit process launched: 5793| wsd/LOOLWSD.cpp:1923
frk-05793-5793 11:39:36.611698 [ loolforkit ] INF Initializing frk
frk-05793-5793 11:39:36.611795 [ loolforkit ] INF Log level is [8].
frk-05793-5793 11:39:36.611838 [ loolforkit ] INF Have capability cap_sys_chroot| kit/ForKit.cpp:157
frk-05793-5793 11:39:36.611883 [ loolforkit ] INF Have capability cap_mknod| kit/ForKit.cpp:157
frk-05793-5793 11:39:36.611907 [ loolforkit ] INF Have capability cap_fowner| kit/ForKit.cpp:157
frk-05793-5793 11:39:36.611948 [ loolforkit ] TRC dlopen(/opt/collaboraoffice5.1/program/libmergedlo.so, RTLD_GLOBAL|RTLD_NOW)| kit/Kit.cpp:1763
frk-05793-5793 11:39:36.683725 [ loolforkit ] TRC lok_preinit(/opt/collaboraoffice5.1/program", "file:///user")| kit/Kit.cpp:1799
wsd-04644-4653 11:39:36.774184 [ loolwsd ] TRC Total memory used: 71288
frk-05793-5793 11:39:37.077877 [ loolforkit ] SIG Fatal signal received: SIGSEGV
Backtrace 5793:
/usr/bin/loolforkit() [0x4792de]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x11630) [0x7fc87a85a630]
/opt/collaboraoffice5.1/program/libmergedlo.so(_ZN14SfxBroadcaster11AddListenerER11SfxListener+0x14) [0x7fc876ade154]
/opt/collaboraoffice5.1/program/libmergedlo.so(_ZN11SfxListener14StartListeningER14SfxBroadcasterb+0x2b) [0x7fc876ae037b]
/opt/collaboraoffice5.1/program/libmergedlo.so(+0x194e03f) [0x7fc87675b03f]
/opt/collaboraoffice5.1/program/libmergedlo.so(+0x194e973) [0x7fc87675b973]
/opt/collaboraoffice5.1/program/libmergedlo.so(+0x18f66bd) [0x7fc8767036bd]
/opt/collaboraoffice5.1/program/libmergedlo.so(_ZN14SfxApplication11GetOrCreateEv+0xe4) [0x7fc8766faaf4]
/opt/collaboraoffice5.1/program/libmergedlo.so(+0x192f1fd) [0x7fc87673c1fd]
/opt/collaboraoffice5.1/program/libmergedlo.so(_ZN9SfxModuleC1EP6ResMgrbP16SfxObjectFactoryz+0x69) [0x7fc87673c389]
/opt/collaboraoffice5.1/program/../program/libsdlo.so(+0x2d8d69) [0x7fc85a8abd69]
/opt/collaboraoffice5.1/program/../program/libsdlo.so(_ZN5SdDLL4InitEv+0xa9) [0x7fc85a8ab669]
/opt/collaboraoffice5.1/program/../program/libsdlo.so(sd_component_getFactory+0x143) [0x7fc85aa2c6b3]
/opt/collaboraoffice5.1/program/libuno_cppuhelpergcc3.so.3(+0x884ab) [0x7fc86feb64ab]
/opt/collaboraoffice5.1/program/libuno_cppuhelpergcc3.so.3(_ZN4cppu16preInitBootstrapERKN3com3sun4star3uno9ReferenceINS3_17XComponentContextEEE+0xdd) [0x7fc86fe6d1cd]
/opt/collaboraoffice5.1/program/libmergedlo.so(+0x1c4dc59) [0x7fc876a5ac59]
/usr/bin/loolforkit(_Z13globalPreinitRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x5ad) [0x43b2bd]
/usr/bin/loolforkit(main+0xca9) [0x41c289]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1) [0x7fc87a4a23f1]
/usr/bin/loolforkit(_start+0x29) [0x41e249]
♥wsd-04644-4644 11:39:38.524503 [ loolwsd ] SIG Shutdown signal received: SIGINT
wsd-04644-4647 11:39:41.602823 [ client_ws_0004 ] WRN getNewChild: No available child. Sending spawn request to forkit and failing.| wsd/LOOLWSD.cpp:447
wsd-04644-4647 11:39:41.602934 [ client_ws_0004 ] WRN getNewChild: No available child. Sending spawn request to forkit and failing.| wsd/LOOLWSD.cpp:422
wsd-04644-4647 11:39:41.603011 [ client_ws_0004 ] DBG getNewChild: Have 0 children, forking 1| wsd/LOOLWSD.cpp:430
wsd-04644-4647 11:39:41.603095 [ client_ws_0004 ] DBG MasterToForKit: spawn 1| wsd/LOOLWSD.cpp:310
wsd-04644-4647 11:39:41.603135 [ client_ws_0004 ] TRC Writing to pipe. Data: [spawn 1].| common/IoUtil.cpp:222
wsd-04644-4647 11:39:41.603174 [ client_ws_0004 ] ERR Failed to write to pipe. Data: [spawn 1
]. (errno: Broken pipe)| common/IoUtil.cpp:229
Then in the browser it says: "There was a connection error with the document.Try it again"
And “The service is not available. Please try again and report back to the administrator in case the problem persists.”
With “WOPISr =” it says starting … and never starts checking the logs and this finds it: