HowTo: Install Collabora Online on Ubuntu 16.04. (without Docker!)

dear
can you tell me what do u mean by small vserver ( does it mean opi, rpi, etc.)
please reply,
thanks in adv,

Hi,
vielen Dank fßr das Tutorial, leider hänge ich bereits bei dem ersten schritt, denn ich bekomme folgende Fehlermeldung beim Ausfßhren des Installationsscriptes:

Verifying System Requirements:
Memory: OK (16384 MiB)
Error: /dev/vzfs is not a valid filesystem

Als System läuft bei mir Ubuntu 16.04, hast du eine Idee was bei mir falsch läuft?
Vielen Dank
AndyLicht

@husisusi Saw your script, nice work! We provide both Collabora and Onlyoffice in the Official Nextcloud VM (with Docker) and would love to have an additional maintainer of the repo. Would you like to join?

i have a 300gb vserver from strato, sorry for the delay

I tried to install Collabora few times and took me few days to find out that there is always problem with installation. Finally installed OnlyOffice it installed flawlessly and works great forget about Collabora is waist of time.

It’s even much easier thanks to the team of Collabora CODE!

Following https://www.collaboraoffice.com/code/ z.B. for Ubuntu 16.04 LTS:
import the signing key

apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0C54D189F4BA284D
add the repository URL to /etc/apt/sources.list

echo ‘deb https://collaboraoffice.com/repos/CollaboraOnline/CODE ./’ >> /etc/apt/sources.list
perform the installation

apt-get update && apt-get install loolwsd code-brand

Then control if the SSL-dertificates are in /etc/loolwsd, otherwise generate them as follows (copied from officeonline-install.sh):

mkdir /etc/loolwsd
openssl genrsa -out /etc/loolwsd/key.pem 4096
openssl req -out /etc/loolwsd/cert.csr -key /etc/loolwsd/key.pem -new -sha256 -nodes -subj "/C=DE/OU=onlineoffice-install.com/CN=onlineoffice-install.com/emailAddress=nomail@nodo.com"
openssl x509 -req -days 365 -in /etc/loolwsd/cert.csr -signkey /etc/loolwsd/key.pem -out /etc/loolwsd/cert.pem
openssl x509 -req -days 365 -in /etc/loolwsd/cert.csr -signkey /etc/loolwsd/key.pem -out /etc/loolwsd/ca-chain.cert.pem

and then prepare the Apache2-Proxy according to guidelines.

You get the surplus of the possibility to install additional fonts very easy in Collaboraonline. You just have to copy the desired files (*ttf) in /opt/collaboraoffice5.3/share/fonts/truetype and restart loolwsd with

sudo systemctl restart loolwsd.service

Everything works fine if the App in OwnCloud/Nextcoud is activated correctly.

1 Like

@reto-ineichen Do you know if the package version is coming with the user and connection limit?

HI,
i´ve installed nextcloud 12.0.0 and collabora online on ubuntu 16.04 lts (clean installation) hostet by strato. For the collabora installation i´ve used the secript above. After the installation i can start collabora, but after some second it is broken. In the seconds it workes i´ve seen, that port 9981 is used (tested with netstat -ntlp | grep LISTEN). Now, i tested the steps:
sof -i :9980
systemctl status loolwsd.service

try first to stop it:
systemctl stop loolwsd.service
Then as root:
su lool
cd /opt/online
make check

and get:
Making check in .
make[1]: Entering directory '/opt/online’
Set required capabilities
make[1]: Leaving directory '/opt/online’
Making check in test
make[1]: Entering directory ‘/opt/online/test’

Running build-time unit tests. For more thorough testing, please run ‘make check’.

TileQueueTests::testTileQueuePriority. : OK
TileQueueTests::testTileCombinedRendering. : OK
TileQueueTests::testTileRecombining. : OK
TileQueueTests::testViewOrder. : OK
TileQueueTests::testPreviewsDeprioritization. : OK
TileQueueTests::testSenderQueue. : OK
TileQueueTests::testSenderQueueTileDeduplication. : OK
TileQueueTests::testInvalidateViewCursorDeduplication. : OK
TileQueueTests::testCallbackInvalidation. : OK
TileQueueTests::testCallbackIndicatorValue. : OK
TileQueueTests::testCallbackPageSize. : OK
WhiteBoxTests::testLOOLProtocolFunctions. : OK
WhiteBoxTests::testMessageAbbreviation. : OK
WhiteBoxTests::testTokenizer. : OK
WhiteBoxTests::testRegexListMatcher. : OK
WhiteBoxTests::testRegexListMatcher_Init. : OK
WhiteBoxTests::testEmptyCellCursor. : OK
WhiteBoxTests::testRectanglesIntersect. : OK

make test
make[2]: Entering directory '/opt/online/test’
make[2]: ‘test’ is up to date.
make[2]: Leaving directory '/opt/online/test’
make check-TESTS check-local
make[2]: Entering directory '/opt/online/test’
make[3]: Entering directory ‘/opt/online/test’

Running unit-prefork.la
…/test/run_unit.sh --test-name unit-prefork.la --log-file unit-prefork.log --trs-file unit-prefork.trs --color-tests yes --enable-hard-errors yes --expect-failure no – ./unit-prefork.la
Test output is 'unit-prefork.trs’
Running unit-prefork | unit-prefork.log …
wsd-16341-16341 15:32:16.901579 [ loolwsd ] INF Initializing wsd. Local time: Tue 2017-06-20 17:32:16+0200. Log level is [8].| common/Log.cpp:199
wsd-16341-16341 15:32:16.901652 [ loolwsd ] WRN SSL support: SSL is disabled.| wsd/LOOLWSD.cpp:728
wsd-16341-16341 15:32:16.901767 [ loolwsd ] INF Maximum concurrent open Documents limit: 100| wsd/LOOLWSD.cpp:764
wsd-16341-16341 15:32:16.901781 [ loolwsd ] INF Maximum concurrent client Connections limit: 200| wsd/LOOLWSD.cpp:765
wsd-16341-16341 15:32:16.901843 [ loolwsd ] INF Command trace dumping enabled to file: /tmp/looltrace-20170620_15-32-16.gz| wsd/TraceFile.hpp:278
wsd-16341-16341 15:32:16.901993 [ loolwsd ] INF Adding trusted WOPI host: [localhost].| wsd/Storage.cpp:93
wsd-16341-16341 15:32:16.902019 [ loolwsd ] INF Adding trusted WOPI host: [10.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}].| wsd/Storage.cpp:93
wsd-16341-16341 15:32:16.902036 [ loolwsd ] INF Adding trusted WOPI host: [172.1[6789].[0-9]{1,3}.[0-9]{1,3}].| wsd/Storage.cpp:93
wsd-16341-16341 15:32:16.902054 [ loolwsd ] INF Adding trusted WOPI host: [172.2[0-9].[0-9]{1,3}.[0-9]{1,3}].| wsd/Storage.cpp:93
wsd-16341-16341 15:32:16.902070 [ loolwsd ] INF Adding trusted WOPI host: [172.3[01].[0-9]{1,3}.[0-9]{1,3}].| wsd/Storage.cpp:93
wsd-16341-16341 15:32:16.902086 [ loolwsd ] INF Adding trusted WOPI host: [192.168.[0-9]{1,3}.[0-9]{1,3}].| wsd/Storage.cpp:93
wsd-16341-16341 15:32:16.902102 [ loolwsd ] INF Adding blocked WOPI host: [192.168.1.1].| wsd/Storage.cpp:98
wsd-16341-16341 15:32:16.902121 [ loolwsd ] INF Adding trusted WOPI host: [www.leichtwind.de].| wsd/Storage.cpp:93

Launch this in your browser:

http://localhost:9980/loleaflet/4f4593a/loleaflet.html?file_path=file:///opt/online/test/data/hello-world.odt

Or for the Admin Console:

http://admin:admin@localhost:9980/loleaflet/dist/admin/admin.html

wsd-16341-16341 15:32:16.904516 [ loolwsd ] DBG FileServerRoot: /opt/online/| wsd/LOOLWSD.cpp:2468
wsd-16341-16341 15:32:16.909717 [ loolwsd ] INF Trying to listen on prisoner port 9981.| wsd/LOOLWSD.cpp:2342
wsd-16341-16342 15:32:16.909752 [ prisoner_poll ] INF Thread 16342 (0x7f12cf2e6700) is now called [prisoner_poll].| common/Util.cpp:304
wsd-16341-16341 15:32:16.909812 [ loolwsd ] DBG #10 Thread affinity set to 0x7f12d26b6740.| ./net/Socket.hpp:282
wsd-16341-16342 15:32:16.909832 [ prisoner_poll ] INF Starting polling thread [prisoner_poll].| net/Socket.hpp:601
wsd-16341-16342 15:32:16.909844 [ prisoner_poll ] DBG Thread affinity of prisoner_poll set to 0x7f12cf2e6700.| net/Socket.hpp:605
wsd-16341-16341 15:32:16.909855 [ loolwsd ] INF Listening to prisoner connections on port 9981| wsd/LOOLWSD.cpp:2362
wsd-16341-16341 15:32:16.909869 [ loolwsd ] DBG Inserting socket #10 into prisoner_poll| ./net/Socket.hpp:522
wsd-16341-16341 15:32:16.909877 [ loolwsd ] DBG #10 Thread affinity set to 0xthread::id of a non-executing thread (was 0x7f12d26b6740).| ./net/Socket.hpp:241
wsd-16341-16341 15:32:16.909893 [ loolwsd ] TRC Waiting for a new child for a max of 50000 ms.| wsd/LOOLWSD.cpp:2486
wsd-16341-16342 15:32:16.909894 [ prisoner_poll ] TRC Poll completed with 1 live polls max (5000ms)| ./net/Socket.hpp:405
wsd-16341-16342 15:32:16.909917 [ prisoner_poll ] DBG #10 Thread affinity set to 0x7f12cf2e6700 (was 0xthread::id of a non-executing thread).| ./net/Socket.hpp:241
wsd-16341-16342 15:32:16.909934 [ prisoner_poll ] INF Creating new forkit process.| wsd/LOOLWSD.cpp:1142
wsd-16341-16342 15:32:16.909977 [ prisoner_poll ] INF AdminModel ctor.| wsd/AdminModel.hpp:144
wsd-16341-16342 15:32:16.909994 [ prisoner_poll ] INF Admin ctor.| wsd/Admin.cpp:292
wsd-16341-16342 15:32:16.910514 [ prisoner_poll ] TRC Total memory used: 7548| wsd/Admin.cpp:295
wsd-16341-16342 15:32:16.910536 [ prisoner_poll ] INF Launching forkit process: /opt/online/loolforkit --losubpath=lo --systemplate=/opt/online/test/…/systemplate --lotemplate=/opt/libreoffice/instdir --childroot=/opt/online/test/…/jails/ --clientport=9980 --masterport=9981| wsd/LOOLWSD.cpp:1186
wsd-16341-16342 15:32:16.910843 [ prisoner_poll ] INF Forkit process launched: 16343| wsd/LOOLWSD.cpp:1197
wsd-16341-16342 15:32:16.910917 [ prisoner_poll ] TRC rebalance children to 20| wsd/LOOLWSD.cpp:326
frk-16343-16343 15:32:16.921935 [ forkit ] INF Initializing frk. Local time: Tue 2017-06-20 17:32:16+0200. Log level is [8].| common/Log.cpp:199
frk-16343-16343 15:32:16.921988 [ forkit ] INF Have capability cap_sys_chroot| kit/ForKit.cpp:163
frk-16343-16343 15:32:16.922007 [ forkit ] INF Have capability cap_mknod| kit/ForKit.cpp:163
frk-16343-16343 15:32:16.922016 [ forkit ] INF Have capability cap_fowner| kit/ForKit.cpp:163
frk-16343-16343 15:32:16.922041 [ forkit ] FTL Neither /opt/libreoffice/instdir/program/libsofficeapp.so or /opt/libreoffice/instdir/program/libmergedlo.so exist.| kit/Kit.cpp:1954
wsd-16341-16342 15:32:21.915886 [ prisoner_poll ] TRC Poll completed with 0 live polls max (5000ms)(timedout)| ./net/Socket.hpp:405
wsd-16341-16342 15:32:26.920632 [ prisoner_poll ] TRC Poll completed with 0 live polls max (5000ms)(timedout)| ./net/Socket.hpp:405
wsd-16341-16342 15:32:31.925683 [ prisoner_poll ] TRC Poll completed with 0 live polls max (5000ms)(timedout)| ./net/Socket.hpp:405
wsd-16341-16342 15:32:36.930679 [ prisoner_poll ] TRC Poll completed with 0 live polls max (5000ms)(timedout)| ./net/Socket.hpp:405
wsd-16341-16342 15:32:41.935682 [ prisoner_poll ] TRC Poll completed with 0 live polls max (5000ms)(timedout)| ./net/Socket.hpp:405
wsd-16341-16342 15:32:46.940684 [ prisoner_poll ] TRC Poll completed with 0 live polls max (5000ms)(timedout)| ./net/Socket.hpp:405
wsd-16341-16342 15:32:51.945729 [ prisoner_poll ] TRC Poll completed with 0 live polls max (5000ms)(timedout)| ./net/Socket.hpp:405
wsd-16341-16342 15:32:56.950702 [ prisoner_poll ] TRC Poll completed with 0 live polls max (5000ms)(timedout)| ./net/Socket.hpp:405
wsd-16341-16342 15:33:01.955760 [ prisoner_poll ] TRC Poll completed with 0 live polls max (5000ms)(timedout)| ./net/Socket.hpp:405
wsd-16341-16341 15:33:06.909991 [ loolwsd ] FTL Failed to fork child processes.| wsd/LOOLWSD.cpp:2490
Failed to fork child processes.
wsd-16341-16341 15:33:06.910167 [ loolwsd ] FTL Failed to fork child processes.| wsd/LOOLWSD.cpp:2637
Failed to fork child processes.
wsd-16341-16341 15:33:06.910405 [ loolwsd ] INF ~Admin dtor.| wsd/Admin.cpp:301
wsd-16341-16341 15:33:06.910422 [ loolwsd ] INF AdminModel dtor.| wsd/AdminModel.hpp:149
wsd-16341-16341 15:33:06.910434 [ loolwsd ] WRN Waking up dead poll thread [admin], started: false, finished: false| ./net/Socket.hpp:507
wsd-16341-16341 15:33:06.910450 [ loolwsd ] DBG Stopping admin.| net/Socket.hpp:327
wsd-16341-16341 15:33:06.910460 [ loolwsd ] WRN Waking up dead poll thread [admin], started: false, finished: false| ./net/Socket.hpp:507
-16341 15:33:06.910528 [ loolwsd ] WRN Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:507
-16341 15:33:06.910543 [ loolwsd ] WRN Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:507
-16341 15:33:06.910553 [ loolwsd ] WRN Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:507
-16341 15:33:06.910564 [ loolwsd ] WRN Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:507
-16341 15:33:06.910573 [ loolwsd ] WRN Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:507
-16341 15:33:06.910582 [ loolwsd ] WRN Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:507
-16341 15:33:06.910682 [ loolwsd ] WRN Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:507
-16341 15:33:06.910705 [ loolwsd ] WRN Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:507

Test failed on unit: unit-prefork re-run with:
$ gdb --args /opt/online/test/…/loolwsd --o:sys_template_path="/opt/online/test/…/systemplate"
–o:lo_template_path="/opt/libreoffice/instdir"
–o:child_root_path="/opt/online/test/…/jails"
–o:storage.filesystem[@allow]=true
–o:logging.level=trace
–o:ssl.key_file_path="/opt/online/test/…/etc/key.pem"
–o:ssl.cert_file_path="/opt/online/test/…/etc/cert.pem"
–o:ssl.ca_file_path="/opt/online/test/…/etc/ca-chain.cert.pem"
–o:admin_console.username=admin --o:admin_console.password=admin
–unitlib=".libs/unit-prefork.so"

Running unit-tilecache.la
…/test/run_unit.sh --test-name unit-tilecache.la --log-file unit-tilecache.log --trs-file unit-tilecache.trs --color-tests yes --enable-hard-errors yes --expect-failure no – ./unit-tilecache.la
Test output is 'unit-tilecache.trs’
Running unit-tilecache | unit-tilecache.log …
wsd-16410-16410 15:33:06.937902 [ loolwsd ] INF Initializing wsd. Local time: Tue 2017-06-20 17:33:06+0200. Log level is [8].| common/Log.cpp:199
wsd-16410-16410 15:33:06.937978 [ loolwsd ] WRN SSL support: SSL is disabled.| wsd/LOOLWSD.cpp:728
wsd-16410-16410 15:33:06.938075 [ loolwsd ] INF Maximum concurrent open Documents limit: 100| wsd/LOOLWSD.cpp:764
wsd-16410-16410 15:33:06.938089 [ loolwsd ] INF Maximum concurrent client Connections limit: 200| wsd/LOOLWSD.cpp:765
wsd-16410-16410 15:33:06.938152 [ loolwsd ] INF Command trace dumping enabled to file: /tmp/looltrace-20170620_15-33-06.gz| wsd/TraceFile.hpp:278
wsd-16410-16410 15:33:06.938309 [ loolwsd ] INF Adding trusted WOPI host: [localhost].| wsd/Storage.cpp:93
wsd-16410-16410 15:33:06.938337 [ loolwsd ] INF Adding trusted WOPI host: [10.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}].| wsd/Storage.cpp:93
wsd-16410-16410 15:33:06.938355 [ loolwsd ] INF Adding trusted WOPI host: [172.1[6789].[0-9]{1,3}.[0-9]{1,3}].| wsd/Storage.cpp:93
wsd-16410-16410 15:33:06.938373 [ loolwsd ] INF Adding trusted WOPI host: [172.2[0-9].[0-9]{1,3}.[0-9]{1,3}].| wsd/Storage.cpp:93
wsd-16410-16410 15:33:06.938389 [ loolwsd ] INF Adding trusted WOPI host: [172.3[01].[0-9]{1,3}.[0-9]{1,3}].| wsd/Storage.cpp:93
wsd-16410-16410 15:33:06.938405 [ loolwsd ] INF Adding trusted WOPI host: [192.168.[0-9]{1,3}.[0-9]{1,3}].| wsd/Storage.cpp:93
wsd-16410-16410 15:33:06.938422 [ loolwsd ] INF Adding blocked WOPI host: [192.168.1.1].| wsd/Storage.cpp:98
wsd-16410-16410 15:33:06.938440 [ loolwsd ] INF Adding trusted WOPI host: [www.leichtwind.de].| wsd/Storage.cpp:93

Launch this in your browser:

http://localhost:9980/loleaflet/4f4593a/loleaflet.html?file_path=file:///opt/online/test/data/hello-world.odt

Or for the Admin Console:

http://admin:admin@localhost:9980/loleaflet/dist/admin/admin.html

wsd-16410-16410 15:33:06.940842 [ loolwsd ] DBG FileServerRoot: /opt/online/| wsd/LOOLWSD.cpp:2468
wsd-16410-16410 15:33:06.946158 [ loolwsd ] INF Trying to listen on prisoner port 9981.| wsd/LOOLWSD.cpp:2342
wsd-16410-16411 15:33:06.946189 [ prisoner_poll ] INF Thread 16411 (0x7f1bc8a6e700) is now called [prisoner_poll].| common/Util.cpp:304
wsd-16410-16411 15:33:06.946263 [ prisoner_poll ] INF Starting polling thread [prisoner_poll].| net/Socket.hpp:601
wsd-16410-16410 15:33:06.946267 [ loolwsd ] DBG #10 Thread affinity set to 0x7f1bcbe3d740.| ./net/Socket.hpp:282
wsd-16410-16411 15:33:06.946274 [ prisoner_poll ] DBG Thread affinity of prisoner_poll set to 0x7f1bc8a6e700.| net/Socket.hpp:605
wsd-16410-16410 15:33:06.946307 [ loolwsd ] INF Listening to prisoner connections on port 9981| wsd/LOOLWSD.cpp:2362
wsd-16410-16410 15:33:06.946322 [ loolwsd ] DBG Inserting socket #10 into prisoner_poll| ./net/Socket.hpp:522
wsd-16410-16410 15:33:06.946331 [ loolwsd ] DBG #10 Thread affinity set to 0xthread::id of a non-executing thread (was 0x7f1bcbe3d740).| ./net/Socket.hpp:241
wsd-16410-16410 15:33:06.946348 [ loolwsd ] TRC Waiting for a new child for a max of 50000 ms.| wsd/LOOLWSD.cpp:2486
wsd-16410-16411 15:33:06.946350 [ prisoner_poll ] TRC Poll completed with 1 live polls max (5000ms)| ./net/Socket.hpp:405
wsd-16410-16411 15:33:06.946374 [ prisoner_poll ] DBG #10 Thread affinity set to 0x7f1bc8a6e700 (was 0xthread::id of a non-executing thread).| ./net/Socket.hpp:241
wsd-16410-16411 15:33:06.946392 [ prisoner_poll ] INF Creating new forkit process.| wsd/LOOLWSD.cpp:1142
wsd-16410-16411 15:33:06.946442 [ prisoner_poll ] INF AdminModel ctor.| wsd/AdminModel.hpp:144
wsd-16410-16411 15:33:06.946459 [ prisoner_poll ] INF Admin ctor.| wsd/Admin.cpp:292
wsd-16410-16411 15:33:06.947047 [ prisoner_poll ] TRC Total memory used: 7531| wsd/Admin.cpp:295
wsd-16410-16411 15:33:06.947072 [ prisoner_poll ] INF Launching forkit process: /opt/online/loolforkit --losubpath=lo --systemplate=/opt/online/test/…/systemplate --lotemplate=/opt/libreoffice/instdir --childroot=/opt/online/test/…/jails/ --clientport=9980 --masterport=9981| wsd/LOOLWSD.cpp:1186
wsd-16410-16411 15:33:06.947394 [ prisoner_poll ] INF Forkit process launched: 16412| wsd/LOOLWSD.cpp:1197
wsd-16410-16411 15:33:06.947727 [ prisoner_poll ] TRC rebalance children to 1| wsd/LOOLWSD.cpp:326
frk-16412-16412 15:33:06.957760 [ forkit ] INF Initializing frk. Local time: Tue 2017-06-20 17:33:06+0200. Log level is [8].| common/Log.cpp:199
frk-16412-16412 15:33:06.957808 [ forkit ] INF Have capability cap_sys_chroot| kit/ForKit.cpp:163
frk-16412-16412 15:33:06.957827 [ forkit ] INF Have capability cap_mknod| kit/ForKit.cpp:163
frk-16412-16412 15:33:06.957836 [ forkit ] INF Have capability cap_fowner| kit/ForKit.cpp:163
frk-16412-16412 15:33:06.957872 [ forkit ] FTL Neither /opt/libreoffice/instdir/program/libsofficeapp.so or /opt/libreoffice/instdir/program/libmergedlo.so exist.| kit/Kit.cpp:1954
wsd-16410-16411 15:33:11.952294 [ prisoner_poll ] TRC Poll completed with 0 live polls max (5000ms)(timedout)| ./net/Socket.hpp:405
wsd-16410-16411 15:33:16.956884 [ prisoner_poll ] TRC Poll completed with 0 live polls max (5000ms)(timedout)| ./net/Socket.hpp:405
wsd-16410-16411 15:33:21.961886 [ prisoner_poll ] TRC Poll completed with 0 live polls max (5000ms)(timedout)| ./net/Socket.hpp:405
wsd-16410-16411 15:33:26.966679 [ prisoner_poll ] TRC Poll completed with 0 live polls max (5000ms)(timedout)| ./net/Socket.hpp:405
wsd-16410-16411 15:33:31.971679 [ prisoner_poll ] TRC Poll completed with 0 live polls max (5000ms)(timedout)| ./net/Socket.hpp:405
wsd-16410-16411 15:33:36.976736 [ prisoner_poll ] TRC Poll completed with 0 live polls max (5000ms)(timedout)| ./net/Socket.hpp:405
wsd-16410-16411 15:33:41.981683 [ prisoner_poll ] TRC Poll completed with 0 live polls max (5000ms)(timedout)| ./net/Socket.hpp:405
wsd-16410-16411 15:33:46.986716 [ prisoner_poll ] TRC Poll completed with 0 live polls max (5000ms)(timedout)| ./net/Socket.hpp:405
wsd-16410-16411 15:33:51.991665 [ prisoner_poll ] TRC Poll completed with 0 live polls max (5000ms)(timedout)| ./net/Socket.hpp:405
wsd-16410-16410 15:33:56.946464 [ loolwsd ] FTL Failed to fork child processes.| wsd/LOOLWSD.cpp:2490
Failed to fork child processes.
wsd-16410-16410 15:33:56.946626 [ loolwsd ] FTL Failed to fork child processes.| wsd/LOOLWSD.cpp:2637
Failed to fork child processes.
wsd-16410-16410 15:33:56.946871 [ loolwsd ] INF ~Admin dtor.| wsd/Admin.cpp:301
wsd-16410-16410 15:33:56.946887 [ loolwsd ] INF AdminModel dtor.| wsd/AdminModel.hpp:149
wsd-16410-16410 15:33:56.946899 [ loolwsd ] WRN Waking up dead poll thread [admin], started: false, finished: false| ./net/Socket.hpp:507
wsd-16410-16410 15:33:56.946920 [ loolwsd ] DBG Stopping admin.| net/Socket.hpp:327
wsd-16410-16410 15:33:56.946931 [ loolwsd ] WRN Waking up dead poll thread [admin], started: false, finished: false| ./net/Socket.hpp:507
-16410 15:33:56.946999 [ loolwsd ] WRN Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:507
-16410 15:33:56.947014 [ loolwsd ] WRN Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:507
-16410 15:33:56.947023 [ loolwsd ] WRN Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:507
-16410 15:33:56.947033 [ loolwsd ] WRN Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:507
-16410 15:33:56.947042 [ loolwsd ] WRN Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:507
-16410 15:33:56.947050 [ loolwsd ] WRN Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:507
-16410 15:33:56.947144 [ loolwsd ] WRN Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:507
-16410 15:33:56.947162 [ loolwsd ] WRN Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:507

Test failed on unit: unit-tilecache re-run with:
$ gdb --args /opt/online/test/…/loolwsd --o:sys_template_path="/opt/online/test/…/systemplate"
–o:lo_template_path="/opt/libreoffice/instdir"
–o:child_root_path="/opt/online/test/…/jails"
–o:storage.filesystem[@allow]=true
–o:logging.level=trace
–o:ssl.key_file_path="/opt/online/test/…/etc/key.pem"
–o:ssl.cert_file_path="/opt/online/test/…/etc/cert.pem"
–o:ssl.ca_file_path="/opt/online/test/…/etc/ca-chain.cert.pem"
–o:admin_console.username=admin --o:admin_console.password=admin
–unitlib=".libs/unit-tilecache.so"

Running unit-timeout.la
…/test/run_unit.sh --test-name unit-timeout.la --log-file unit-timeout.log --trs-file unit-timeout.trs --color-tests yes --enable-hard-errors yes --expect-failure no – ./unit-timeout.la
Test output is 'unit-timeout.trs’
Running unit-timeout | unit-timeout.log …
wsd-16482-16482 15:33:56.968461 [ loolwsd ] INF Initializing wsd. Local time: Tue 2017-06-20 17:33:56+0200. Log level is [8].| common/Log.cpp:199
wsd-16482-16482 15:33:56.968526 [ loolwsd ] WRN SSL support: SSL is disabled.| wsd/LOOLWSD.cpp:728
wsd-16482-16482 15:33:56.968619 [ loolwsd ] INF Maximum concurrent open Documents limit: 100| wsd/LOOLWSD.cpp:764
wsd-16482-16482 15:33:56.968633 [ loolwsd ] INF Maximum concurrent client Connections limit: 200| wsd/LOOLWSD.cpp:765
wsd-16482-16482 15:33:56.968705 [ loolwsd ] INF Command trace dumping enabled to file: /tmp/looltrace-20170620_15-33-56.gz| wsd/TraceFile.hpp:278
wsd-16482-16482 15:33:56.968854 [ loolwsd ] INF Adding trusted WOPI host: [localhost].| wsd/Storage.cpp:93
wsd-16482-16482 15:33:56.968878 [ loolwsd ] INF Adding trusted WOPI host: [10.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}].| wsd/Storage.cpp:93
wsd-16482-16482 15:33:56.968895 [ loolwsd ] INF Adding trusted WOPI host: [172.1[6789].[0-9]{1,3}.[0-9]{1,3}].| wsd/Storage.cpp:93
wsd-16482-16482 15:33:56.968911 [ loolwsd ] INF Adding trusted WOPI host: [172.2[0-9].[0-9]{1,3}.[0-9]{1,3}].| wsd/Storage.cpp:93
wsd-16482-16482 15:33:56.968926 [ loolwsd ] INF Adding trusted WOPI host: [172.3[01].[0-9]{1,3}.[0-9]{1,3}].| wsd/Storage.cpp:93
wsd-16482-16482 15:33:56.968941 [ loolwsd ] INF Adding trusted WOPI host: [192.168.[0-9]{1,3}.[0-9]{1,3}].| wsd/Storage.cpp:93
wsd-16482-16482 15:33:56.968956 [ loolwsd ] INF Adding blocked WOPI host: [192.168.1.1].| wsd/Storage.cpp:98
wsd-16482-16482 15:33:56.968973 [ loolwsd ] INF Adding trusted WOPI host: [www.leichtwind.de].| wsd/Storage.cpp:93

Launch this in your browser:

http://localhost:9980/loleaflet/4f4593a/loleaflet.html?file_path=file:///opt/online/test/data/hello-world.odt

Or for the Admin Console:

http://admin:admin@localhost:9980/loleaflet/dist/admin/admin.html

wsd-16482-16482 15:33:56.971348 [ loolwsd ] DBG FileServerRoot: /opt/online/| wsd/LOOLWSD.cpp:2468
wsd-16482-16482 15:33:56.976852 [ loolwsd ] INF Trying to listen on prisoner port 9981.| wsd/LOOLWSD.cpp:2342
wsd-16482-16483 15:33:56.976868 [ prisoner_poll ] INF Thread 16483 (0x7f1961d56700) is now called [prisoner_poll].| common/Util.cpp:304
wsd-16482-16483 15:33:56.976932 [ prisoner_poll ] INF Starting polling thread [prisoner_poll].| net/Socket.hpp:601
wsd-16482-16482 15:33:56.976935 [ loolwsd ] DBG #10 Thread affinity set to 0x7f1965124740.| ./net/Socket.hpp:282
wsd-16482-16483 15:33:56.976947 [ prisoner_poll ] DBG Thread affinity of prisoner_poll set to 0x7f1961d56700.| net/Socket.hpp:605
wsd-16482-16482 15:33:56.976978 [ loolwsd ] INF Listening to prisoner connections on port 9981| wsd/LOOLWSD.cpp:2362
wsd-16482-16482 15:33:56.976992 [ loolwsd ] DBG Inserting socket #10 into prisoner_poll| ./net/Socket.hpp:522
wsd-16482-16482 15:33:56.977000 [ loolwsd ] DBG #10 Thread affinity set to 0xthread::id of a non-executing thread (was 0x7f1965124740).| ./net/Socket.hpp:241
wsd-16482-16482 15:33:56.977015 [ loolwsd ] TRC Waiting for a new child for a max of 50000 ms.| wsd/LOOLWSD.cpp:2486
wsd-16482-16483 15:33:56.977017 [ prisoner_poll ] TRC Poll completed with 1 live polls max (5000ms)| ./net/Socket.hpp:405
wsd-16482-16483 15:33:56.977039 [ prisoner_poll ] DBG #10 Thread affinity set to 0x7f1961d56700 (was 0xthread::id of a non-executing thread).| ./net/Socket.hpp:241
wsd-16482-16483 15:33:56.977055 [ prisoner_poll ] INF Creating new forkit process.| wsd/LOOLWSD.cpp:1142
wsd-16482-16483 15:33:56.977097 [ prisoner_poll ] INF AdminModel ctor.| wsd/AdminModel.hpp:144
wsd-16482-16483 15:33:56.977113 [ prisoner_poll ] INF Admin ctor.| wsd/Admin.cpp:292
wsd-16482-16483 15:33:56.977672 [ prisoner_poll ] TRC Total memory used: 7543| wsd/Admin.cpp:295
wsd-16482-16483 15:33:56.977707 [ prisoner_poll ] INF Launching forkit process: /opt/online/loolforkit --losubpath=lo --systemplate=/opt/online/test/…/systemplate --lotemplate=/opt/libreoffice/instdir --childroot=/opt/online/test/…/jails/ --clientport=9980 --masterport=9981| wsd/LOOLWSD.cpp:1186
wsd-16482-16483 15:33:56.977994 [ prisoner_poll ] INF Forkit process launched: 16484| wsd/LOOLWSD.cpp:1197
wsd-16482-16483 15:33:56.978046 [ prisoner_poll ] TRC rebalance children to 1| wsd/LOOLWSD.cpp:326
frk-16484-16484 15:33:56.987805 [ forkit ] INF Initializing frk. Local time: Tue 2017-06-20 17:33:56+0200. Log level is [8].| common/Log.cpp:199
frk-16484-16484 15:33:56.987848 [ forkit ] INF Have capability cap_sys_chroot| kit/ForKit.cpp:163
frk-16484-16484 15:33:56.987866 [ forkit ] INF Have capability cap_mknod| kit/ForKit.cpp:163
frk-16484-16484 15:33:56.987875 [ forkit ] INF Have capability cap_fowner| kit/ForKit.cpp:163
frk-16484-16484 15:33:56.987899 [ forkit ] FTL Neither /opt/libreoffice/instdir/program/libsofficeapp.so or /opt/libreoffice/instdir/program/libmergedlo.so exist.| kit/Kit.cpp:1954
wsd-16482-16483 15:34:01.982739 [ prisoner_poll ] TRC Poll completed with 0 live polls max (5000ms)(timedout)| ./net/Socket.hpp:405
wsd-16482-16483 15:34:06.987741 [ prisoner_poll ] TRC Poll completed with 0 live polls max (5000ms)(timedout)| ./net/Socket.hpp:405
wsd-16482-16483 15:34:11.992744 [ prisoner_poll ] TRC Poll completed with 0 live polls max (5000ms)(timedout)| ./net/Socket.hpp:405
wsd-16482-16483 15:34:16.997717 [ prisoner_poll ] TRC Poll completed with 0 live polls max (5000ms)(timedout)| ./net/Socket.hpp:405
wsd-16482-16483 15:34:22.002693 [ prisoner_poll ] TRC Poll completed with 0 live polls max (5000ms)(timedout)| ./net/Socket.hpp:405
wsd-16482-16483 15:34:27.007636 [ prisoner_poll ] TRC Poll completed with 0 live polls max (5000ms)(timedout)| ./net/Socket.hpp:405
wsd-16482-16483 15:34:32.012720 [ prisoner_poll ] TRC Poll completed with 0 live polls max (5000ms)(timedout)| ./net/Socket.hpp:405
wsd-16482-16483 15:34:37.017739 [ prisoner_poll ] TRC Poll completed with 0 live polls max (5000ms)(timedout)| ./net/Socket.hpp:405
wsd-16482-16483 15:34:42.022669 [ prisoner_poll ] TRC Poll completed with 0 live polls max (5000ms)(timedout)| ./net/Socket.hpp:405
wsd-16482-16482 15:34:46.977111 [ loolwsd ] FTL Failed to fork child processes.| wsd/LOOLWSD.cpp:2490
Failed to fork child processes.
wsd-16482-16482 15:34:46.977310 [ loolwsd ] FTL Failed to fork child processes.| wsd/LOOLWSD.cpp:2637
Failed to fork child processes.
wsd-16482-16482 15:34:46.977539 [ loolwsd ] INF ~Admin dtor.| wsd/Admin.cpp:301
wsd-16482-16482 15:34:46.977554 [ loolwsd ] INF AdminModel dtor.| wsd/AdminModel.hpp:149
wsd-16482-16482 15:34:46.977566 [ loolwsd ] WRN Waking up dead poll thread [admin], started: false, finished: false| ./net/Socket.hpp:507
wsd-16482-16482 15:34:46.977581 [ loolwsd ] DBG Stopping admin.| net/Socket.hpp:327
wsd-16482-16482 15:34:46.977590 [ loolwsd ] WRN Waking up dead poll thread [admin], started: false, finished: false| ./net/Socket.hpp:507
-16482 15:34:46.977659 [ loolwsd ] WRN Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:507
-16482 15:34:46.977691 [ loolwsd ] WRN Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:507
-16482 15:34:46.977701 [ loolwsd ] WRN Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:507
-16482 15:34:46.977712 [ loolwsd ] WRN Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:507
-16482 15:34:46.977720 [ loolwsd ] WRN Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:507
-16482 15:34:46.977728 [ loolwsd ] WRN Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:507
-16482 15:34:46.977824 [ loolwsd ] WRN Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:507
-16482 15:34:46.977843 [ loolwsd ] WRN Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:507

Test failed on unit: unit-timeout re-run with:
$ gdb --args /opt/online/test/…/loolwsd --o:sys_template_path="/opt/online/test/…/systemplate"
–o:lo_template_path="/opt/libreoffice/instdir"
–o:child_root_path="/opt/online/test/…/jails"
–o:storage.filesystem[@allow]=true
–o:logging.level=trace
–o:ssl.key_file_path="/opt/online/test/…/etc/key.pem"
–o:ssl.cert_file_path="/opt/online/test/…/etc/cert.pem"
–o:ssl.ca_file_path="/opt/online/test/…/etc/ca-chain.cert.pem"
–o:admin_console.username=admin --o:admin_console.password=admin
–unitlib=".libs/unit-timeout.so"

============================================================================
Testsuite summary for loolwsd 2.1.2

TOTAL: 3

PASS: 0

SKIP: 0

XFAIL: 0

FAIL: 3

XPASS: 0

ERROR: 0

============================================================================
See test/test-suite.log
Please report to libreoffice@lists.freedesktop.org

Makefile:1489: recipe for target ‘test-suite.log’ failed
make[3]: *** [test-suite.log] Error 1
make[3]: Leaving directory '/opt/online/test’
Makefile:1595: recipe for target ‘check-TESTS’ failed
make[2]: *** [check-TESTS] Error 2
make[2]: Leaving directory '/opt/online/test’
Makefile:1669: recipe for target ‘check-am’ failed
make[1]: *** [check-am] Error 2
make[1]: Leaving directory '/opt/online/test’
Makefile:1701: recipe for target ‘check-recursive’ failed
make: *** [check-recursive] Error 1

I´ve no plan to make it work.
Thanks for your help
Tim

I installed the package version. Works well. But it also has user and connection limit:

Jun 24 09:56:16 cloud loolwsd[13691]: wsd-13691-13691 07:56:16.137834 [ loolwsd ] INF Maximum concurrent open Documents limit: 10| wsd/LOOLWSD.cpp:764
Jun 24 09:56:16 cloud loolwsd[13691]: wsd-13691-13691 07:56:16.138077 [ loolwsd ] INF Maximum concurrent client Connections limit: 20| wsd/LOOLWSD.cpp:765

Hello simonj,

both docker images from collabora and libreoffice online have this limit.
When you compile libreoffice online from source you will have the limits too.
But, there is a compiler option for the limit
(see line 99-106 in https://github.com/LibreOffice/online/blob/master/configure.ac)
The installation script in https://github.com/husisusi/officeonlin-install.sh has 100/200 or so as limit)
Thank to husisusi for the script.
regards

Guten Morgen,

vserver bei hosteurope, ubuntu 16.04 server. Ich habe, entsprechend der Anleitung hier das Script von github gecloned nach /tmp und von dort ausgefĂźhrt. Es werden jede Menge Pakete heruntergeladen - augenscheinlich fehlerfrei - bevor nach wenigen Minuten folgender Fehler auftritt:

E: Unable to find a source package for libreoffice
lool:x:119:127::/opt/lool:/bin/false
chown: cannot access ‘/home/lool’: No such file or directory
./officeonline-install.sh: eval: line 448: syntax error near unexpected token `)’

Ich wßrde das schon sehr gerne ans Laufen kriegen, da meine bisherigen Versuche, sowohl mit Docker (geht systembedingt nicht) als auch den Repos von Collabora (Nutzerbeschränkung, funktioniert nicht) fehlgeschlagen sind.

Wenn ich das Verzeichnis /home/lool händisch erstelle, verschwindet zwar der betreffende Fehler, der syntax-error bleibt abre bestehen.

FĂźr jede Hilfe dankbar

Thorsten

I built the Libreoffice’s core successfully . But i have a problem while compiling web socket server. Here’s what i did;

libtoolize
aclocal
automake --add-missing
autoreconf
autoheader

./configure --enable-silent-rules --with-lokit-path=${MASTER}/include --with-lo-path=${MASTER}/instdir --enable-debug --with-poco-includes=/opt/poco/include --with-poco-libs=/opt/poco/lib

after that i run
make

here’s the error :

net/Ssl.cpp: In constructor ‘SslContext::SslContext(const string&, const string&, const string&)’:

net/Ssl.cpp:46:5: error: ‘void OPENSSL_config(const char*)’ is deprecated [-Werror=deprecated-declarations]
OPENSSL_config(nullptr);
^~~~~~~~~~~~~~
In file included from /usr/include/openssl/ct.h:13:0,
from /usr/include/openssl/ssl.h:61,
from net/Ssl.hpp:19,
from net/Ssl.cpp:13:
/usr/include/openssl/conf.h:92:1: note: declared here
DEPRECATEDIN_1_1_0(void OPENSSL_config(const char config_name))
^
net/Ssl.cpp:46:27: error: ‘void OPENSSL_config(const char
)’ is deprecated [-Werror=deprecated-declarations]
OPENSSL_config(nullptr);
^
In file included from /usr/include/openssl/ct.h:13:0,
from /usr/include/openssl/ssl.h:61,
from net/Ssl.hpp:19,
from net/Ssl.cpp:13:
/usr/include/openssl/conf.h:92:1: note: declared here
DEPRECATEDIN_1_1_0(void OPENSSL_config(const char *config_name))
^
net/Ssl.cpp: In member function ‘void SslContext::initDH()’:
net/Ssl.cpp:237:7: error: invalid use of incomplete type ‘DH {aka struct dh_st}’
dh->p = BN_bin2bn(dh1024_p, sizeof(dh1024_p), 0);
^~
In file included from /usr/include/openssl/crypto.h:31:0,
from /usr/include/openssl/comp.h:16,
from /usr/include/openssl/ssl.h:47,
from net/Ssl.hpp:19,
from net/Ssl.cpp:13:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’
typedef struct dh_st DH;
^~~~~
net/Ssl.cpp:238:7: error: invalid use of incomplete type ‘DH {aka struct dh_st}’
dh->g = BN_bin2bn(dh1024_g, sizeof(dh1024_g), 0);
^~
In file included from /usr/include/openssl/crypto.h:31:0,
from /usr/include/openssl/comp.h:16,
from /usr/include/openssl/ssl.h:47,
from net/Ssl.hpp:19,
from net/Ssl.cpp:13:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’
typedef struct dh_st DH;
^~~~~
net/Ssl.cpp:239:7: error: invalid use of incomplete type ‘DH {aka struct dh_st}’
dh->length = 160;
^~
In file included from /usr/include/openssl/crypto.h:31:0,
from /usr/include/openssl/comp.h:16,
from /usr/include/openssl/ssl.h:47,
from net/Ssl.hpp:19,
from net/Ssl.cpp:13:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’
typedef struct dh_st DH;
^~~~~
net/Ssl.cpp:240:13: error: invalid use of incomplete type ‘DH {aka struct dh_st}’
if ((!dh->p) || (!dh->g))
^~
In file included from /usr/include/openssl/crypto.h:31:0,
from /usr/include/openssl/comp.h:16,
from /usr/include/openssl/ssl.h:47,
from net/Ssl.hpp:19,
from net/Ssl.cpp:13:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’
typedef struct dh_st DH;
^~~~~
net/Ssl.cpp:240:25: error: invalid use of incomplete type ‘DH {aka struct dh_st}’
if ((!dh->p) || (!dh->g))
^~
In file included from /usr/include/openssl/crypto.h:31:0,
from /usr/include/openssl/comp.h:16,
from /usr/include/openssl/ssl.h:47,
from net/Ssl.hpp:19,
from net/Ssl.cpp:13:
/usr/include/openssl/ossl_typ.h:104:16: note: forward declaration of ‘DH {aka struct dh_st}’
typedef struct dh_st DH;
^~~~~
cc1plus: all warnings being treated as errors
make[2]: *** [net/Ssl.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

hey folks, i’m back trying to install Collabora instead of onlyoffice because onlyoffice f*ed up my nextcloud admin page and i would love to come to the bright side of open source again with true open office document support.

I installed the official repo and boom starting loolwsd gives me instructions to go to the admin page and boom again it fails with this:

kit-13005-12993 09:16:47.270413 [ loolkit ] ERR Failed to install seccomp syscall filter| common/Seccomp.cpp:199
kit-13005-12993 09:16:47.270488 [ loolkit ] ERR LibreOfficeKit security lockdown failed. Exiting.| kit/Kit.cpp:1763
wsd-12991-12991 09:17:18.004398 [ loolwsd ] FTL Failed to fork child processes.| wsd/LOOLWSD.cpp:2487
Failed to fork child processes.
wsd-12991-12991 09:17:18.004645 [ loolwsd ] FTL Failed to fork child processes.| wsd/LOOLWSD.cpp:2634
Failed to fork child processes.
wsd-12991-12991 09:17:18.005005 [ loolwsd ] WRN Waking up dead poll thread [admin], started: false, finished: false| ./net/Socket.hpp:507
wsd-12991-12991 09:17:18.005034 [ loolwsd ] WRN Waking up dead poll thread [admin], started: false, finished: false| ./net/Socket.hpp:507
wsd-12991-12991 09:17:18.005515 [ loolwsd ] WRN Waking up dead poll thread [delay_poll], started: false, finished: false| ./net/Socket.hpp:507
wsd-12991-12991 09:17:18.005536 [ loolwsd ] WRN Waking up dead poll thread [delay_poll], started: false, finished: false| ./net/Socket.hpp:507
-12991 09:17:18.007153 [ loolwsd ] WRN Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:507
-12991 09:17:18.007180 [ loolwsd ] WRN Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:507
-12991 09:17:18.007201 [ loolwsd ] WRN Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:507
-12991 09:17:18.007220 [ loolwsd ] WRN Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:507
-12991 09:17:18.007228 [ loolwsd ] WRN Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:507
-12991 09:17:18.007235 [ loolwsd ] WRN Waking up dead poll thread [accept_poll], started: false, finished: false| ./net/Socket.hpp:507
-12991 09:17:18.007446 [ loolwsd ] WRN Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:507
-12991 09:17:18.007463 [ loolwsd ] WRN Waking up dead poll thread [websrv_poll], started: false, finished: false| ./net/Socket.hpp:507
frk-12993-12993 09:17:18.016653 [ forkit ] FTL Pipe closed.| common/IoUtil.cpp:309

did anyone of you experience this before?

Error building against OpenSSL 1.1.0
@ozturkemre

Libreoffice/online team has provided a patch for this problem:
https://cgit.freedesktop.org/libreoffice/online/commit/?id=702bbdd5d8dd31eda8a2dfdb726be3c6cd978ec2
(also see original bug report: https://bugs.documentfoundation.org/show_bug.cgi?id=111429 )

after patching /opt/online/net/Ssl.ccp, the compiling finishes without error.

1 Like

Has anybody managed to build a newer, say 2.1.4 version of loowsd using this script? I can’t seem to figure out how to achieve that. Whatever I am trying to pass to the script, it always grabs loolwsd 2.1.2.

1 Like

Thanks - just what I needed.

Help Please:

After hours of installing:

make: Verzeichnis „/opt/online“ wird betreten
make all-recursive
make[1]: Verzeichnis „/opt/online“ wird betreten
Making all in .
make[2]: Verzeichnis „/opt/online“ wird betreten
CXX common/loolstress-Protocol.o
CXX common/loolstress-Log.o
CXX common/loolstress-Util.o
CXX net/clientnb.o
CXX tools/Connect.o
CXX tools/KitClient.o
CXX wsd/loolwsd_fuzzer-Admin.o
CXX wsd/loolwsd_fuzzer-AdminModel.o
CXX wsd/loolwsd_fuzzer-Auth.o
CXX wsd/loolwsd_fuzzer-DocumentBroker.o
CXX wsd/loolwsd_fuzzer-LOOLWSD.o
CXX wsd/loolwsd_fuzzer-ClientSession.o
CXX wsd/loolwsd_fuzzer-FileServer.o
In file included from wsd/LOOLWSD.cpp:106:0:
./common/UnitHTTP.hpp:86:18: error: ‘virtual bool UnitHTTPServerRequest::expectContinue() const’ marked ‘override’, but does not override
** virtual bool expectContinue() const override**
^
Makefile:1303: die Regel für Ziel „wsd/loolwsd_fuzzer-LOOLWSD.o“ scheiterte
make[2]: *** [wsd/loolwsd_fuzzer-LOOLWSD.o] Fehler 1
make[2]: *** Auf noch nicht beendete Prozesse wird gewartet …
make[2]: Verzeichnis „/opt/online“ wird verlassen
Makefile:1703: die Regel für Ziel „all-recursive“ scheiterte
make[1]: *** [all-recursive] Fehler 1
make[1]: Verzeichnis „/opt/online“ wird verlassen
Makefile:736: die Regel für Ziel „all“ scheiterte
make: *** [all] Fehler 2
make: Verzeichnis „/opt/online“ wird verlassen

You’d probably better head over to the github page and raise an issue there. Also, providing no more info on the environment you are trying to build lool/loolwsd on, will likely not spurr any helpful replies…

1 Like

Ubuntu 16.04 all Updates installed
Mariadb newest version
Apache 2 newest version
NC newest version