[HOWTO] Collabora 2.0 without using Docker not for prod

You are correct, it was an issue with my ssl certificate, now my collabora installation is working fine. Than kyou very much @Nemskiller

@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.

1 Like

@Nemskiller

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.

after
root@orangepiplus2e:~# sudo -u lool /usr/bin/loolwsd --o:sys_template_path=/opt/lool/systemplate --o:lo_template_path=/opt/collaboraoffice5.1 --o:child_root_path=/opt/lool/child-roots --o:file_server_root_path=/usr/share/loolwsd
/usr/bin/loolwsd: 1: /usr/bin/loolwsd: cannot create ??B@b@8: Permission denied
/usr/bin/loolwsd: 1: /usr/bin/loolwsd: ELF: not found
/usr/bin/loolwsd: 2: /usr/bin/loolwsd: Syntax error: “(” unexpected

please guide.

nextcloud error when creating new file

Error GuzzleHttp\Exception\ConnectException: cURL error 7: Failed to connect to xxx.com port 9980: Connection refused

/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/RequestFsm.php - line 103: GuzzleHttp\Exception\RequestException wrapException(Object(GuzzleHttp\Message\Request), Object(GuzzleHttp\Ring\Exception\ConnectException))
/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/RequestFsm.php - line 132: GuzzleHttp\RequestFsm->__invoke(Object(GuzzleHttp\Transaction))
/var/www/nextcloud/3rdparty/react/promise/src/FulfilledPromise.php - line 25: GuzzleHttp\RequestFsm->GuzzleHttp\{closure}(Array)
/var/www/nextcloud/3rdparty/guzzlehttp/ringphp/src/Future/CompletedFutureValue.php - line 55: React\Promise\FulfilledPromise->then(Object(Closure), NULL, NULL)
/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Message/FutureResponse.php - line 43: GuzzleHttp\Ring\Future\CompletedFutureValue->then(Object(Closure), NULL, NULL)
/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/RequestFsm.php - line 134: GuzzleHttp\Message\FutureResponse proxy(Object(GuzzleHttp\Ring\Future\CompletedFutureArray), Object(Closure))
/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php - line 165: GuzzleHttp\RequestFsm->__invoke(Object(GuzzleHttp\Transaction))
/var/www/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php - line 125: GuzzleHttp\Client->send(Object(GuzzleHttp\Message\Request))
/var/www/nextcloud/lib/private/Http/Client/Client.php - line 137: GuzzleHttp\Client->get('https //officen...', Array)
/var/www/nextcloud/apps/richdocuments/lib/WOPI/DiscoveryManager.php - line 84: OC\Http\Client\Client->get('https //officen...')
/var/www/nextcloud/apps/richdocuments/lib/WOPI/Parser.php - line 41: OCA\Richdocuments\WOPI\DiscoveryManager->get()
/var/www/nextcloud/apps/richdocuments/lib/Controller/DocumentController.php - line 235: OCA\Richdocuments\WOPI\Parser->getUrlSrc('application/vnd...')
[internal function] OCA\Richdocuments\Controller\DocumentController->create('application/vnd...', '1.doc', '/')
/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 160: call_user_func_array(Array, Array)
/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 90: OC\AppFramework\Http\Dispatcher->executeController(Object(OCA\Richdocuments\Controller\DocumentController), 'create')
/var/www/nextcloud/lib/private/AppFramework/App.php - line 114: OC\AppFramework\Http\Dispatcher->dispatch(Object(OCA\Richdocuments\Controller\DocumentController), 'create')
/var/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php - line 47: OC\AppFramework\App main('OCA\\Richdocumen...', 'create', Object(OC\AppFramework\DependencyInjection\DIContainer), Array)
[internal function] OC\AppFramework\Routing\RouteActionHandler->__invoke(Array)
/var/www/nextcloud/lib/private/Route/Router.php - line 299: call_user_func(Object(OC\AppFramework\Routing\RouteActionHandler), Array)
/var/www/nextcloud/lib/base.php - line 1010: OC\Route\Router->match('/apps/richdocum...')
/var/www/nextcloud/index.php - line 40: OC handleRequest()
{main}

access fobidden

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 :slight_smile:

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:

Wsd-05967-5967 16: 25: 43.631759 [loolwsd] ERR Forkit process [6735] core-downloaded with SIGSEGV | Wsd / LOOLWSD.cpp: 2082
Frk-06762-6762 16: 25: 44.101717 [loolforkit] SIG Fatal signal received: SIGSEGV
Backtrace 6762:
/ Usr / bin / loolforkit () [0x4792de]
/Lib/x86_64-linux-gnu/libpthread.so.0(+0x11630) [0x7f2dbda65630]
/opt/collaboroffice5.1//program/libmergedlo.so(_ZN14SfxBroadcaster11AddListenerER11SfxListener+0x14) [0x7f2db9ce9154]
/opt/collaboroffice5.1//program/libmergedlo.so(_ZN11SfxListener14StartListeningER14SfxBroadcasterb+0x2b) [0x7f2db9ceb37b]
/opt/collaboroffice5.1//program/libmergedlo.so(+0x194e03f) [0x7f2db996603f]
/opt/collaboroffice5.1//program/libmergedlo.so(+0x194e973) [0x7f2db9966973]
/opt/collaboroffice5.1//program/libmergedlo.so(+0x18f66bd) [0x7f2db990e6bd]
/opt/collaboroffice5.1//program/libmergedlo.so(_ZN14SfxApplication11GetOrCreateEv+0xe4) [0x7f2db9905af4]
/opt/collaboroffice5.1//program/libmergedlo.so(+0x192f1fd) [0x7f2db99471fd]
/opt/collaboroffice5.1//program/libmergedlo.so(_ZN9SfxModuleC1EP6ResMgrbP16SfxObjectFactoryz+0x69) [0x7f2db9947389]
/opt/collaboroffice5.1/program/../program/libsdlo.so(+0x2d8d69) [0x7f2d9dab6d69]
/opt/collaboroffice5.1/program/../program/libsdlo.so(_ZN5SdDLL4InitEv+0xa9) [0x7f2d9dab6669]
/opt/collaboroffice5.1/program/../program/libsdlo.so(sd_component_getFactory+0x143) [0x7f2d9dc376b3]
/opt/collaboroffice5.1//program/libuno_cppuhelpergcc3.so.3(+0x884ab) [0x7f2db30c14ab]
/opt/collaboroffice5.1//program/libuno_cppuhelpergcc3.so.3(_ZN4cppu16preInitBootstrapERKN3com3sun4star3uno9ReferenceINS3_17XComponentContextEEE+0xdd) [0x7f2db30781cd]
/opt/collaboroffice5.1//program/libmergedlo.so(+0x1c4dc59) [0x7f2db9c65c59]
/ 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) [0x7f2dbd6ad3f1]
/ Usr / bin / loolforkit (_start + 0x29) [0x41e249]
/opt/collaboraoffice5.1/program/libmergedlo.so(+0x192f1fd) [0x7fce0474b1fd]
/opt/collaboraoffice5.1/program/libmergedlo.so(_ZN9SfxModuleC1EP6ResMgrbP16SfxObjectFactoryz+0x69) [0x7fce0474b389]
/opt/collaboraoffice5.1/program/../program/libsdlo.so(+0x2d8d69) [0x7fcde88bad69]
/opt/collaboraoffice5.1/program/../program/libsdlo.so(_ZN5SdDLL4InitEv+0xa9) [0x7fcde88ba669]
/opt/collaboraoffice5.1/program/../program/libsdlo.so(sd_component_getFactory+0x143) [0x7fcde8a3b6b3]
/opt/collaboraoffice5.1/program/libuno_cppuhelpergcc3.so.3(+0x884ab) [0x7fcdfdec54ab]
/opt/collaboraoffice5.1/program/libuno_cppuhelpergcc3.so.3(_ZN4cppu16preInitBootstrapERKN3com3sun4star3uno9ReferenceINS3_17XComponentContextEEE+0xdd) [0x7fcdfde7c1cd]
/opt/collaboraoffice5.1/program/libmergedlo.so(+0x1c4dc59) [0x7fce04a69c59]
/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) [0x7fce084b13f1]
/usr/bin/loolforkit(_start+0x29) [0x41e249]
wsd-05825-5834 11:45:21.829413 [ loolwsd ] TRC  Total memory used: 111140
wsd-05825-5834 11:45:26.852426 [ loolwsd ] TRC  Total memory used: 11892
wsd-05825-5825 11:45:36.317130 [ loolwsd ] ERR  Forkit process [5939] core-dumped with SIGSEGV| wsd/LOOLWSD.cpp:2082
wsd-05825-5825 11:45:36.317306 [ 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-05825-5825 11:45:36.317928 [ loolwsd ] INF  Forkit process launched: 5954| wsd/LOOLWSD.cpp:1923
frk-05954-5954 11:45:36.326128 [ loolforkit ] INF  Initializing frk
frk-05954-5954 11:45:36.326220 [ loolforkit ] INF  Log level is [8].
frk-05954-5954 11:45:36.326265 [ loolforkit ] INF  Have capability cap_sys_chroot| kit/ForKit.cpp:157
frk-05954-5954 11:45:36.326310 [ loolforkit ] INF  Have capability cap_mknod| kit/ForKit.cpp:157
frk-05954-5954 11:45:36.326331 [ loolforkit ] INF  Have capability cap_fowner| kit/ForKit.cpp:157
frk-05954-5954 11:45:36.326374 [ loolforkit ] TRC  dlopen(/opt/collaboraoffice5.1/program/libmergedlo.so, RTLD_GLOBAL|RTLD_NOW)| kit/Kit.cpp:1763
frk-05954-5954 11:45:36.397603 [ loolforkit ] TRC  lok_preinit(/opt/collaboraoffice5.1/program", "file:///user")| kit/Kit.cpp:1799
frk-05954-5954 11:45:36.786947 [ loolforkit ] SIG   Fatal signal received: SIGSEGV

Sorry my english I do not speak and I use google translate

Hi does anyone know what the up-to-date steps are to replace the docker container with the compiled from source version? I just received this error today:

“This development build is limited to 10 documents and 20 connections to avoid the impression that it is suitable for deployment in large enterprises.”

So would be nice to compile and avoid this limitation. I’m on Ubuntu 16.04 if anyone can help. Thanks

Follow this : HowTo: Install Onlineoffice on Ubuntu/Debian (No Docker No Limitation)

But you must have at least 20Go of free space left on your server before starting

Hi thanks for this. Do I have to remove the current docker image version first or can I just run this script and it will replace over the top? Thanks again. :slight_smile:

You just have to stop your docker image. But you have to stop it for automatic startup when system boot.

If you can’t compile LOOL, you will have to re-start your docker image

Hi thanks I’ll give it a try, one last thing though - how do I stop the old docker starting up on system boot and set the new compiled libreoffice to start instead in its place?

For docker at startup :
sudo systemctl disable docker

If you follow the script in this topic the service will be autocreated and will autostart at boot time.

Nemskiller, the tutorial that you wrote at the top of this thread, can it be used with Collabora 3.0? Do I have to do some additional or different step?

Helas it won’t work well.

For CODE 3.0 i added the ppa, deleted the user lool and then install it with a apt install.
Then i recreate the loolwsd.service and it works well.
But i’m limited to 10 users at the same time and 20 docs opens at the same time.

I tried to recompile LOOL (from libreoffice) but the script made from @husisusi isn’t working for me at the moment. https://github.com/husisusi/officeonlin-install.sh

For the ppa install go there https://www.collaboraoffice.com/code/#getting_set_up
And look Packages for Linux x86_64 platform

I have been testing it in Debian9, and I just tried It and I have the same problem ( Failed to start Libreoffice Online WebSocket Daemon)

If I edit the configuration and set it to false it lets me start it.

I do not know if it would be possible to have the installation done without an error as a final result. In this case we would have two options:

  1. Also create a certificate in the installation or
  2. Install It with SSL = false, for whoever wants to then create the certificate and change the configuration.
  1. Regarding option 1, I understand that perhaps in some cases of use it would not be necessary because there is a reverse proxy in the same LAN, which is already decoding the requests with its SSL certificate and we could redirect to the backend (collabora) without https.

I do not know if this would be possible, but I understand that if we already have a reverse proxy in front of our LAN, it does not make sense to have another server in the collabora host (apache or nginx) that decodes the requests coming from the proxy. That is, the proxy decodes the requests that come from collabora to re-encode them and send them to the collabora host, and there must have another webserver decoding the requests. This situation seems a bit redundant, isn’t It?

  1. Regarding option 2, It would be necessary for each user to choose and complete their configuration, which will depend on their environment. In my case that is the one that I propose in point 1. Maybe we should create a documentation for each case of use.

Off topic: I have undesrtood that ppas are the repositories in launchpad and they are managed from Ubuntu with the correspondient command.

For my part :
I use Apache Reverse Proxy with SSL cert and i also edit loolwsd.xml to use the same certs that the apache proxy.

Also when you start loolwsd.service and it crash, go in lool user and start the process loolwsd(with the command you have in your loolwsd.service file) then you will have a better view of log and know what’s not working

How do you load the proxy certificate in loolwsd.xml, do you have the loolwsd on the same machine or do you upload it remotely in some way?

Ha yes excuse me. It’s on the same machine so in loolwsd.xml the path for fullchain - cert - privkey is :
/etc/letsencrypt/live/office.mydomain.com/

Okay. In my case, because I have it on different machines, I do not know how I could use the same certificate. I’m using certbot. I’m going to try to see if I can install the same certificate twice, because I’ve read that it can.

I’ll tell you the result, thanks.

Hopefully your were able to figure this out. It’s been a while since the last post so I’m assuming this post has been abandoned. My setup and solution best described here which is similar to what you were asking:

Install Collabora on a server and Nextcloud on other server