Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Service start fails #104

Closed
OrpheeGT opened this issue Aug 4, 2017 · 30 comments · Fixed by #111
Closed

Service start fails #104

OrpheeGT opened this issue Aug 4, 2017 · 30 comments · Fixed by #111

Comments

@OrpheeGT
Copy link

OrpheeGT commented Aug 4, 2017

Hello,

I just installed officeonline on my Ubuntu LTS, but I have an issue at start :

root@mail:/opt/online# sudo systemctl status loolwsd.service
● loolwsd.service - LibreOffice OnLine WebSocket Daemon
Loaded: loaded (/etc/systemd/system/loolwsd.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since ven. 2017-08-04 13:15:39 CEST; 9s ago
Process: 3125 ExecStart=/opt/online/loolwsd --o:sys_template_path=/opt/online/systemplate --o:lo_template_path=/opt/libreof
Process: 3121 ExecStartPre=/bin/chown lool: /usr/local/var/cache/loolwsd (code=exited, status=0/SUCCESS)
Process: 3117 ExecStartPre=/bin/mkdir -p /usr/local/var/cache/loolwsd (code=exited, status=0/SUCCESS)
Main PID: 3125 (code=exited, status=70)

août 04 13:14:49 obfuscated loolwsd[3125]: /opt/online/loolforkit(_start+0x29) [0x421d69]
août 04 13:15:39 obfuscated loolwsd[3125]: wsd-03125-03125 11:15:39.304731 [ loolwsd ] FTL Failed to fork child proc
août 04 13:15:39 obfuscated loolwsd[3125]: Failed to fork child processes.
août 04 13:15:39 obfuscated loolwsd[3125]: wsd-03125-03125 11:15:39.304966 [ loolwsd ] FTL Failed to fork child proc
août 04 13:15:39 obfuscated loolwsd[3125]: Failed to fork child processes.
août 04 13:15:39 obfuscated loolwsd[3125]: wsd-03125-03125 11:15:39.305173 [ loolwsd ] WRN Waking up dead poll threa
août 04 13:15:39 obfuscated loolwsd[3125]: wsd-03125-03125 11:15:39.305204 [ loolwsd ] WRN Waking up dead poll threa
août 04 13:15:39 obfuscated systemd[1]: loolwsd.service: Main process exited, code=exited, status=70/n/a
août 04 13:15:39 obfuscated systemd[1]: loolwsd.service: Unit entered failed state.
août 04 13:15:39 obfuscated systemd[1]: loolwsd.service: Failed with result 'exit-code'.

Where did I fail ?

Log enabled in trace mode :

wsd-03953-03953 11:26:18.760547 [ loolwsd ] INF Initializing wsd. Local time: Fri 2017-08-04 13:26:18+0200. Log level is [8]
.| common/Log.cpp:199
wsd-03953-03953 11:26:18.760597 [ loolwsd ] INF SSL support: SSL is enabled.| wsd/LOOLWSD.cpp:724
wsd-03953-03953 11:26:18.760646 [ loolwsd ] INF Maximum concurrent open Documents limit: 100| wsd/LOOLWSD.cpp:764
wsd-03953-03953 11:26:18.760652 [ loolwsd ] INF Maximum concurrent client Connections limit: 200| wsd/LOOLWSD.cpp:765
wsd-03953-03953 11:26:18.760682 [ loolwsd ] INF Command trace dumping enabled to file: /tmp/looltrace-20170804_11-26-18.gz|
wsd/TraceFile.hpp:278
wsd-03953-03953 11:26:18.760802 [ loolwsd ] INF Adding trusted WOPI host: [localhost].| wsd/Storage.cpp:93
wsd-03953-03953 11:26:18.760819 [ loolwsd ] INF Adding trusted WOPI host: [10.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}].| wsd/Sto
rage.cpp:93
wsd-03953-03953 11:26:18.760829 [ loolwsd ] INF Adding trusted WOPI host: [172.1[6789].[0-9]{1,3}.[0-9]{1,3}].| wsd/Stora
ge.cpp:93
wsd-03953-03953 11:26:18.760837 [ loolwsd ] INF Adding trusted WOPI host: [172.2[0-9].[0-9]{1,3}.[0-9]{1,3}].| wsd/Storag
e.cpp:93
wsd-03953-03953 11:26:18.760846 [ loolwsd ] INF Adding trusted WOPI host: [172.3[01].[0-9]{1,3}.[0-9]{1,3}].| wsd/Storage
.cpp:93
wsd-03953-03953 11:26:18.760855 [ loolwsd ] INF Adding trusted WOPI host: [192.168.[0-9]{1,3}.[0-9]{1,3}].| wsd/Storage.c
pp:93
wsd-03953-03953 11:26:18.760863 [ loolwsd ] INF Adding blocked WOPI host: [192.168.1.1].| wsd/Storage.cpp:98
wsd-03953-03953 11:26:18.760876 [ loolwsd ] INF Adding blocked WOPI host: [obfuscated].| wsd/Storage.cpp:98
wsd-03953-03953 11:26:18.763378 [ loolwsd ] INF SSL Cert file: /etc/loolwsd/cert.pem| wsd/LOOLWSD.cpp:817
wsd-03953-03953 11:26:18.763398 [ loolwsd ] INF SSL Key file: /etc/loolwsd/key.pem| wsd/LOOLWSD.cpp:820
wsd-03953-03953 11:26:18.763406 [ loolwsd ] INF SSL CA file: /etc/loolwsd/ca-chain.cert.pem| wsd/LOOLWSD.cpp:823
wsd-03953-03953 11:26:18.764100 [ loolwsd ] DBG FileServerRoot: /opt/online/| wsd/LOOLWSD.cpp:2494
wsd-03953-03953 11:26:18.767555 [ loolwsd ] INF Trying to listen on prisoner port 9981.| wsd/LOOLWSD.cpp:2368
wsd-03953-03953 11:26:18.767588 [ loolwsd ] DBG #12 Thread affinity set to 0x7fd99700b740.| ./net/Socket.hpp:282
wsd-03953-03955 11:26:18.767582 [ prisoner_poll ] INF Thread 3955 (0x7fd993e62700) is now called [prisoner_poll].| common/Ut
il.cpp:325
wsd-03953-03953 11:26:18.767605 [ loolwsd ] INF Listening to prisoner connections on port 9981| wsd/LOOLWSD.cpp:2388
wsd-03953-03953 11:26:18.767609 [ loolwsd ] DBG Inserting socket #12 into prisoner_poll| ./net/Socket.hpp:522
wsd-03953-03955 11:26:18.767608 [ prisoner_poll ] INF Starting polling thread [prisoner_poll].| net/Socket.hpp:601
wsd-03953-03953 11:26:18.767612 [ loolwsd ] DBG #12 Thread affinity set to 0xthread::id of a non-executing thread (was 0x7fd
99700b740).| ./net/Socket.hpp:241
wsd-03953-03955 11:26:18.767615 [ prisoner_poll ] DBG Thread affinity of prisoner_poll set to 0x7fd993e62700.| net/Socket.hp
p:605
wsd-03953-03953 11:26:18.767620 [ loolwsd ] TRC Waiting for a new child for a max of 50000 ms.| wsd/LOOLWSD.cpp:2512
wsd-03953-03955 11:26:18.767626 [ prisoner_poll ] TRC Poll completed with 1 live polls max (5000ms)| ./net/Socket.hpp:405
wsd-03953-03955 11:26:18.767636 [ prisoner_poll ] DBG #12 Thread affinity set to 0x7fd993e62700 (was 0xthread::id of a non-e
xecuting thread).| ./net/Socket.hpp:241
wsd-03953-03955 11:26:18.767647 [ prisoner_poll ] INF Creating new forkit process.| wsd/LOOLWSD.cpp:1168
wsd-03953-03955 11:26:18.767668 [ prisoner_poll ] INF AdminModel ctor.| wsd/AdminModel.hpp:170
wsd-03953-03955 11:26:18.767676 [ prisoner_poll ] INF Admin ctor.| wsd/Admin.cpp:292
wsd-03953-03955 11:26:18.767706 [ prisoner_poll ] TRC Total system memory : 16423400| wsd/Admin.cpp:295
wsd-03953-03955 11:26:18.768390 [ prisoner_poll ] TRC Total memory used: 7022| wsd/Admin.cpp:298
wsd-03953-03955 11:26:18.768402 [ prisoner_poll ] INF Launching forkit process: /opt/online/loolforkit --losubpath=lo --syst
emplate=/opt/onfrk-03956-03956 11:26:18.775786 [ forkit ] INF Initializing frk. Local time: Fri 2017-08-04 13:26:18+0200. Lo
g level is [8].| common/Log.cpp:199
frk-03956-03956 11:26:18.775833 [ forkit ] INF Have capability cap_sys_chroot| kit/ForKit.cpp:163
frk-03956-03956 11:26:18.775844 [ forkit ] INF Have capability cap_mknod| kit/ForKit.cpp:163
frk-03956-03956 11:26:18.775852 [ forkit ] INF Have capability cap_fowner| kit/ForKit.cpp:163
frk-03956-03956 11:26:18.775866 [ forkit ] TRC dlopen(/opt/libreoffice/instdir/program/libsofficeapp.so, RTLD_GLOBAL|RTLD_NO
W)| kit/Kit.cpp:1943
frk-03956-03956 11:26:18.847183 [ forkit ] TRC Invoking lok_preinit(/opt/libreoffice/instdir/program", "file:///user")| kit/
Kit.cpp:1972
frk-03956-03956 11:26:18.857404 [ forkit ] TRC Finished lok_preinit(/opt/libreoffice/instdir/program", "file:///user") in 10
ms.| kit/Kit.cpp:1982
frk-03956-03956 11:26:18.857427 [ forkit ] INF Preinit stage OK.| kit/ForKit.cpp:477
frk-03956-03956 11:26:18.857457 [ forkit ] DBG Forking a loolkit process with jailId: VyWJswb4EfPsWWFx.| kit/ForKit.cpp:228
frk-03956-03956 11:26:18.858146 [ forkit ] INF Forked kit [3959].| kit/ForKit.cpp:269
frk-03956-03956 11:26:18.858191 [ forkit ] INF ForKit process is ready.| kit/ForKit.cpp:489
frk-03956-03956 11:26:18.858451 [ loolkit ] INF Thread 3956 (0x7f8583547740) is now called [loolkit].| common/Util.cpp:325
kit-03959-03956 11:26:18.858610 [ loolkit ] INF Initializing kit. Local time: Fri 2017-08-04 13:26:18+0200. Log level is [8]
.| common/Log.cpp:199
kit-03959-03956 11:26:18.858679 [ loolkit ] DBG Process started.| kit/Kit.cpp:1614
kit-03959-03956 11:26:18.858731 [ loolkit ] INF Jail path: /opt/online/jails/VyWJswb4EfPsWWFx/| kit/Kit.cpp:1628
kit-03959-03956 11:26:18.858939 [ loolkit ] DBG symlink("../../lo","/opt/online/jails/VyWJswb4EfPsWWFx/opt/libreoffice/instd
ir")| kit/Kit.cpp:269
kit-03959-03956 11:26:18.859153 [ loolkit ] DBG symlink("../../../lo","/opt/online/jails/VyWJswb4EfPsWWFx/home/opt/libreoffi
ce/instdir")| kit/Kit.cpp:269
kit-03959-03956 11:26:18.920439 [ loolkit ] TRC skip redundant paths sdk| kit/Kit.cpp:179
kit-03959-03956 11:26:18.922336 [ loolkit ] TRC skip redundant paths share/config/wizard| kit/Kit.cpp:179
kit-03959-03956 11:26:18.951881 [ loolkit ] TRC skip redundant paths share/basic| kit/Kit.cpp:179
kit-03959-03956 11:26:18.952162 [ loolkit ] TRC skip redundant paths share/gallery| kit/Kit.cpp:179
kit-03959-03956 11:26:18.952182 [ loolkit ] TRC skip redundant paths share/template| kit/Kit.cpp:179
kit-03959-03956 11:26:18.952197 [ loolkit ] TRC skip redundant paths share/Scripts| kit/Kit.cpp:179
kit-03959-03956 11:26:18.955276 [ loolkit ] TRC skip redundant paths program/wizards| kit/Kit.cpp:179
kit-03959-03956 11:26:19.041699 [ loolkit ] DBG Initialized jail files.| kit/Kit.cpp:1685
kit-03959-03956 11:26:19.041888 [ loolkit ] INF chroot("/opt/online/jails/VyWJswb4EfPsWWFx/")| kit/Kit.cpp:1709
kit-03959-03956 11:26:19.041915 [ loolkit ] TRC Capabilities first: = cap_fowner,cap_sys_chroot,cap_mknod+ep| kit/Kit.cpp:23
5
kit-03959-03956 11:26:19.041941 [ loolkit ] TRC Capabilities now: = cap_fowner,cap_mknod+ep| kit/Kit.cpp:252
kit-03959-03956 11:26:19.041953 [ loolkit ] TRC Capabilities first: = cap_fowner,cap_mknod+ep| kit/Kit.cpp:235
kit-03959-03956 11:26:19.041961 [ loolkit ] TRC Capabilities now: = cap_fowner+ep| kit/Kit.cpp:252
kit-03959-03956 11:26:19.041968 [ loolkit ] TRC Capabilities first: = cap_fowner+ep| kit/Kit.cpp:235
kit-03959-03956 11:26:19.041975 [ loolkit ] TRC Capabilities now: =| kit/Kit.cpp:252
kit-03959-03956 11:26:19.041992 [ loolkit ] DBG Initialized jail nodes, dropped caps.| kit/Kit.cpp:1726
frk-03956-03956 11:26:19.358779 [ forkit ] INF Child 3959 has exited, removing its jail '/opt/online/jails/VyWJswb4EfPsWWFx'
.| kit/ForKit.cpp:202
line/systemplate --lotemplate=/opt/libreoffice/instdir --childroot=/opt/online/jails/ --clientport=9980 --masterport=9981| ws
d/LOOLWSD.cpp:1212
wsd-03953-03955 11:26:18.768602 [ prisoner_poll ] INF Forkit process launched: 3956| wsd/LOOLWSD.cpp:1223
wsd-03953-03955 11:26:18.768632 [ prisoner_poll ] TRC rebalance children to 1| wsd/LOOLWSD.cpp:326
wsd-03953-03955 11:26:23.773472 [ prisoner_poll ] TRC Poll completed with 0 live polls max (5000ms)(timedout)| ./net/Socket.
hpp:405
wsd-03953-03955 11:26:28.775530 [ prisoner_poll ] TRC Poll completed with 0 live polls max (5000ms)(timedout)| ./net/Socket.
hpp:405
wsd-03953-03955 11:26:33.780323 [ prisoner_poll ] TRC Poll completed with 0 live polls max (5000ms)(timedout)| ./net/Socket.
hpp:405
wsd-03953-03955 11:26:38.785459 [ prisoner_poll ] TRC Poll completed with 0 live polls max (5000ms)(timedout)| ./net/Socket.
hpp:405
wsd-03953-03955 11:26:43.789586 [ prisoner_poll ] TRC Poll completed with 0 live polls max (5000ms)(timedout)| ./net/Socket.
hpp:405
wsd-03953-03955 11:26:48.793495 [ prisoner_poll ] TRC Poll completed with 0 live polls max (5000ms)(timedout)| ./net/Socket.
hpp:405
wsd-03953-03955 11:26:53.797491 [ prisoner_poll ] TRC Poll completed with 0 live polls max (5000ms)(timedout)| ./net/Socket.
hpp:405
wsd-03953-03955 11:26:58.801569 [ prisoner_poll ] TRC Poll completed with 0 live polls max (5000ms)(timedout)| ./net/Socket.
hpp:405
wsd-03953-03955 11:27:03.806668 [ prisoner_poll ] TRC Poll completed with 0 live polls max (5000ms)(timedout)| ./net/Socket.
hpp:405
wsd-03953-03953 11:27:08.767821 [ loolwsd ] FTL Failed to fork child processes.| wsd/LOOLWSD.cpp:2516
wsd-03953-03953 11:27:08.768043 [ loolwsd ] FTL Failed to fork child processes.| wsd/LOOLWSD.cpp:2663
wsd-03953-03953 11:27:08.768245 [ loolwsd ] INF ~Admin dtor.| wsd/Admin.cpp:304
wsd-03953-03953 11:27:08.768260 [ loolwsd ] INF AdminModel dtor.| wsd/AdminModel.hpp:175
wsd-03953-03953 11:27:08.768266 [ loolwsd ] WRN Waking up dead poll thread [admin], started: false, finished: false| ./net/S
ocket.hpp:507
wsd-03953-03953 11:27:08.768279 [ loolwsd ] DBG Stopping admin.| net/Socket.hpp:327
wsd-03953-03953 11:27:08.768284 [ loolwsd ] WRN Waking up dead poll thread [admin], started: false, finished: false| ./net/S
ocket.hpp:507
frk-03956-03956 11:27:08.770307 [ forkit ] FTL Pipe closed.| common/IoUtil.cpp:309
frk-03956-03956 11:27:08.770354 [ forkit ] INF Child dispatcher flagged for termination.| kit/ForKit.cpp:497
frk-03956-03956 11:27:08.770374 [ forkit ] INF ForKit process finished.| kit/ForKit.cpp:512

Thank you

@Kassiematis
Copy link
Contributor

Did you restart the server?

@OrpheeGT
Copy link
Author

OrpheeGT commented Aug 4, 2017

No I didn't.
My server is not fresh, I already have apache2 configured for other stuffs.

I'll try

@Kassiematis
Copy link
Contributor

Did you copy everything? lo_template_path=/opt/libreof is not complete.

Process: 3125 ExecStart=/opt/online/loolwsd --o:sys_template_path=/opt/online/systemplate --o:lo_template_path=/opt/libreof

@OrpheeGT
Copy link
Author

OrpheeGT commented Aug 4, 2017

I think it is truncated by the prompt, in the trace log it seems correct.

I rebooted but still the same :

wsd-08586-08586 12:59:32.776222 [ loolwsd ] INF Initializing wsd. Local time: Fri 2017-08-04 14:59:32+0200. Log level is [8].| common/Log.cpp:199
wsd-08586-08586 12:59:32.776377 [ loolwsd ] INF SSL support: SSL is enabled.| wsd/LOOLWSD.cpp:724
wsd-08586-08586 12:59:32.776419 [ loolwsd ] INF Maximum concurrent open Documents limit: 100| wsd/LOOLWSD.cpp:764
wsd-08586-08586 12:59:32.776424 [ loolwsd ] INF Maximum concurrent client Connections limit: 200| wsd/LOOLWSD.cpp:765
wsd-08586-08586 12:59:32.776446 [ loolwsd ] INF Command trace dumping enabled to file: /tmp/looltrace-20170804_12-59-32.gz| wsd/TraceFile.hpp:278
wsd-08586-08586 12:59:32.776542 [ loolwsd ] INF Adding trusted WOPI host: [localhost].| wsd/Storage.cpp:93
wsd-08586-08586 12:59:32.776556 [ loolwsd ] INF Adding trusted WOPI host: [10.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}].| wsd/Storage.cpp:93
wsd-08586-08586 12:59:32.776563 [ loolwsd ] INF Adding trusted WOPI host: [172.1[6789].[0-9]{1,3}.[0-9]{1,3}].| wsd/Storage.cpp:93
wsd-08586-08586 12:59:32.776570 [ loolwsd ] INF Adding trusted WOPI host: [172.2[0-9].[0-9]{1,3}.[0-9]{1,3}].| wsd/Storage.cpp:93
wsd-08586-08586 12:59:32.776577 [ loolwsd ] INF Adding trusted WOPI host: [172.3[01].[0-9]{1,3}.[0-9]{1,3}].| wsd/Storage.cpp:93
wsd-08586-08586 12:59:32.776583 [ loolwsd ] INF Adding trusted WOPI host: [192.168.[0-9]{1,3}.[0-9]{1,3}].| wsd/Storage.cpp:93
wsd-08586-08586 12:59:32.776590 [ loolwsd ] INF Adding blocked WOPI host: [192.168.1.1].| wsd/Storage.cpp:98
wsd-08586-08586 12:59:32.776599 [ loolwsd ] INF Adding trusted WOPI host: [ubfuscated].| wsd/Storage.cpp:93
wsd-08586-08586 12:59:32.778689 [ loolwsd ] INF SSL Cert file: /etc/loolwsd/cert.pem| wsd/LOOLWSD.cpp:817
wsd-08586-08586 12:59:32.778700 [ loolwsd ] INF SSL Key file: /etc/loolwsd/key.pem| wsd/LOOLWSD.cpp:820
wsd-08586-08586 12:59:32.778707 [ loolwsd ] INF SSL CA file: /etc/loolwsd/ca-chain.cert.pem| wsd/LOOLWSD.cpp:823
wsd-08586-08586 12:59:32.779348 [ loolwsd ] DBG FileServerRoot: /opt/online/| wsd/LOOLWSD.cpp:2494
wsd-08586-08586 12:59:32.783128 [ loolwsd ] INF Trying to listen on prisoner port 9981.| wsd/LOOLWSD.cpp:2368
wsd-08586-08586 12:59:32.783173 [ loolwsd ] DBG #12 Thread affinity set to 0x7fe9c0940740.| ./net/Socket.hpp:282
wsd-08586-08586 12:59:32.783196 [ loolwsd ] INF Listening to prisoner connections on port 9981| wsd/LOOLWSD.cpp:2388
wsd-08586-08586 12:59:32.783201 [ loolwsd ] DBG Inserting socket #12 into prisoner_poll| ./net/Socket.hpp:522
wsd-08586-08588 12:59:32.783171 [ prisoner_poll ] INF Thread 8588 (0x7fe9bd797700) is now called [prisoner_poll].| common/Util.cpp:325
wsd-08586-08586 12:59:32.783205 [ loolwsd ] DBG #12 Thread affinity set to 0xthread::id of a non-executing thread (was 0x7fe9c0940740).| ./net/Socket.hpp:241
wsd-08586-08588 12:59:32.783210 [ prisoner_poll ] INF Starting polling thread [prisoner_poll].| net/Socket.hpp:601
wsd-08586-08586 12:59:32.783215 [ loolwsd ] TRC Waiting for a new child for a max of 50000 ms.| wsd/LOOLWSD.cpp:2512
wsd-08586-08588 12:59:32.783217 [ prisoner_poll ] DBG Thread affinity of prisoner_poll set to 0x7fe9bd797700.| net/Socket.hpp:605
wsd-08586-08588 12:59:32.783227 [ prisoner_poll ] TRC Poll completed with 1 live polls max (5000ms)| ./net/Socket.hpp:405
wsd-08586-08588 12:59:32.783237 [ prisoner_poll ] DBG #12 Thread affinity set to 0x7fe9bd797700 (was 0xthread::id of a non-executing thread).| ./net/Socket.hpp:241
wsd-08586-08588 12:59:32.783245 [ prisoner_poll ] INF Creating new forkit process.| wsd/LOOLWSD.cpp:1168
wsd-08586-08588 12:59:32.783269 [ prisoner_poll ] INF AdminModel ctor.| wsd/AdminModel.hpp:170
wsd-08586-08588 12:59:32.783278 [ prisoner_poll ] INF Admin ctor.| wsd/Admin.cpp:292
wsd-08586-08588 12:59:32.783310 [ prisoner_poll ] TRC Total system memory : 16423400| wsd/Admin.cpp:295
wsd-08586-08588 12:59:32.783884 [ prisoner_poll ] TRC Total memory used: 6975| wsd/Admin.cpp:298
wsd-08586-08588 12:59:32.783896 [ prisoner_poll ] INF Launching forkit process: /opt/online/loolforkit --losubpath=lo --systemplate=/opt/onfrk-08589-08589 12:59:32.791147 [ forkit ] INF Initializing frk. Local time: Fri 2017
-08-04 14:59:32+0200. Log level is [8].| common/Log.cpp:199
frk-08589-08589 12:59:32.791195 [ forkit ] INF Have capability cap_sys_chroot| kit/ForKit.cpp:163
frk-08589-08589 12:59:32.791208 [ forkit ] INF Have capability cap_mknod| kit/ForKit.cpp:163
frk-08589-08589 12:59:32.791217 [ forkit ] INF Have capability cap_fowner| kit/ForKit.cpp:163
frk-08589-08589 12:59:32.791233 [ forkit ] TRC dlopen(/opt/libreoffice/instdir/program/libsofficeapp.so, RTLD_GLOBAL|RTLD_NOW)| kit/Kit.cpp:1943
frk-08589-08589 12:59:32.859340 [ forkit ] TRC Invoking lok_preinit(/opt/libreoffice/instdir/program", "file:///user")| kit/Kit.cpp:1972
frk-08589-08589 12:59:32.869378 [ forkit ] TRC Finished lok_preinit(/opt/libreoffice/instdir/program", "file:///user") in 10 ms.| kit/Kit.cpp:1982
frk-08589-08589 12:59:32.869399 [ forkit ] INF Preinit stage OK.| kit/ForKit.cpp:477
frk-08589-08589 12:59:32.869425 [ forkit ] DBG Forking a loolkit process with jailId: EqolSwr3SqaAghuU.| kit/ForKit.cpp:228
frk-08589-08589 12:59:32.870010 [ forkit ] INF Forked kit [8592].| kit/ForKit.cpp:269
frk-08589-08589 12:59:32.870048 [ forkit ] INF ForKit process is ready.| kit/ForKit.cpp:489
frk-08589-08589 12:59:32.870296 [ loolkit ] INF Thread 8589 (0x7fbb627e0740) is now called [loolkit].| common/Util.cpp:325
kit-08592-08589 12:59:32.870464 [ loolkit ] INF Initializing kit. Local time: Fri 2017-08-04 14:59:32+0200. Log level is [8].| common/Log.cpp:199
kit-08592-08589 12:59:32.870576 [ loolkit ] DBG Process started.| kit/Kit.cpp:1614
kit-08592-08589 12:59:32.870628 [ loolkit ] INF Jail path: /opt/online/jails/EqolSwr3SqaAghuU/| kit/Kit.cpp:1628
kit-08592-08589 12:59:32.870848 [ loolkit ] DBG symlink("../../lo","/opt/online/jails/EqolSwr3SqaAghuU/opt/libreoffice/instdir")| kit/Kit.cpp:269
kit-08592-08589 12:59:32.871074 [ loolkit ] DBG symlink("../../../lo","/opt/online/jails/EqolSwr3SqaAghuU/home/opt/libreoffice/instdir")| kit/Kit.cpp:269
kit-08592-08589 12:59:32.958991 [ loolkit ] TRC skip redundant paths sdk| kit/Kit.cpp:179
kit-08592-08589 12:59:32.960847 [ loolkit ] TRC skip redundant paths share/config/wizard| kit/Kit.cpp:179
kit-08592-08589 12:59:33.059426 [ loolkit ] TRC skip redundant paths share/basic| kit/Kit.cpp:179
kit-08592-08589 12:59:33.059726 [ loolkit ] TRC skip redundant paths share/gallery| kit/Kit.cpp:179
kit-08592-08589 12:59:33.059748 [ loolkit ] TRC skip redundant paths share/template| kit/Kit.cpp:179
kit-08592-08589 12:59:33.059763 [ loolkit ] TRC skip redundant paths share/Scripts| kit/Kit.cpp:179
kit-08592-08589 12:59:33.062876 [ loolkit ] TRC skip redundant paths program/wizards| kit/Kit.cpp:179
kit-08592-08589 12:59:33.168392 [ loolkit ] DBG Initialized jail files.| kit/Kit.cpp:1685
kit-08592-08589 12:59:33.195000 [ loolkit ] INF chroot("/opt/online/jails/EqolSwr3SqaAghuU/")| kit/Kit.cpp:1709
kit-08592-08589 12:59:33.195044 [ loolkit ] TRC Capabilities first: = cap_fowner,cap_sys_chroot,cap_mknod+ep| kit/Kit.cpp:235
kit-08592-08589 12:59:33.195065 [ loolkit ] TRC Capabilities now: = cap_fowner,cap_mknod+ep| kit/Kit.cpp:252
kit-08592-08589 12:59:33.195078 [ loolkit ] TRC Capabilities first: = cap_fowner,cap_mknod+ep| kit/Kit.cpp:235
kit-08592-08589 12:59:33.195086 [ loolkit ] TRC Capabilities now: = cap_fowner+ep| kit/Kit.cpp:252
kit-08592-08589 12:59:33.195093 [ loolkit ] TRC Capabilities first: = cap_fowner+ep| kit/Kit.cpp:235
kit-08592-08589 12:59:33.195099 [ loolkit ] TRC Capabilities now: =| kit/Kit.cpp:252
kit-08592-08589 12:59:33.195105 [ loolkit ] DBG Initialized jail nodes, dropped caps.| kit/Kit.cpp:1726
frk-08589-08589 12:59:33.370717 [ forkit ] INF Child 8592 has exited, removing its jail '/opt/online/jails/EqolSwr3SqaAghuU'.| kit/ForKit.cpp:202
line/systemplate --lotemplate=/opt/libreoffice/instdir --childroot=/opt/online/jails/ --clientport=9980 --masterport=9981| wsd/LOOLWSD.cpp:1212
wsd-08586-08588 12:59:32.784065 [ prisoner_poll ] INF Forkit process launched: 8589| wsd/LOOLWSD.cpp:1223
wsd-08586-08588 12:59:32.784094 [ prisoner_poll ] TRC rebalance children to 1| wsd/LOOLWSD.cpp:326
wsd-08586-08588 12:59:37.786674 [ prisoner_poll ] TRC Poll completed with 0 live polls max (5000ms)(timedout)| ./net/Socket.hpp:405
wsd-08586-08588 12:59:42.791858 [ prisoner_poll ] TRC Poll completed with 0 live polls max (5000ms)(timedout)| ./net/Socket.hpp:405
wsd-08586-08588 12:59:47.794711 [ prisoner_poll ] TRC Poll completed with 0 live polls max (5000ms)(timedout)| ./net/Socket.hpp:405
wsd-08586-08588 12:59:52.798171 [ prisoner_poll ] TRC Poll completed with 0 live polls max (5000ms)(timedout)| ./net/Socket.hpp:405
wsd-08586-08588 12:59:57.803335 [ prisoner_poll ] TRC Poll completed with 0 live polls max (5000ms)(timedout)| ./net/Socket.hpp:405
wsd-08586-08588 13:00:02.807197 [ prisoner_poll ] TRC Poll completed with 0 live polls max (5000ms)(timedout)| ./net/Socket.hpp:405
wsd-08586-08588 13:00:07.810931 [ prisoner_poll ] TRC Poll completed with 0 live polls max (5000ms)(timedout)| ./net/Socket.hpp:405
wsd-08586-08588 13:00:12.812065 [ prisoner_poll ] TRC Poll completed with 0 live polls max (5000ms)(timedout)| ./net/Socket.hpp:405
wsd-08586-08588 13:00:17.814547 [ prisoner_poll ] TRC Poll completed with 0 live polls max (5000ms)(timedout)| ./net/Socket.hpp:405
wsd-08586-08586 13:00:22.783405 [ loolwsd ] FTL Failed to fork child processes.| wsd/LOOLWSD.cpp:2516
wsd-08586-08586 13:00:22.783514 [ loolwsd ] FTL Failed to fork child processes.| wsd/LOOLWSD.cpp:2663
wsd-08586-08586 13:00:22.783638 [ loolwsd ] INF ~Admin dtor.| wsd/Admin.cpp:304
wsd-08586-08586 13:00:22.783646 [ loolwsd ] INF AdminModel dtor.| wsd/AdminModel.hpp:175
wsd-08586-08586 13:00:22.783651 [ loolwsd ] WRN Waking up dead poll thread [admin], started: false, finished: false| ./net/Socket.hpp:507
wsd-08586-08586 13:00:22.783662 [ loolwsd ] DBG Stopping admin.| net/Socket.hpp:327
wsd-08586-08586 13:00:22.783665 [ loolwsd ] WRN Waking up dead poll thread [admin], started: false, finished: false| ./net/Socket.hpp:507
frk-08589-08589 13:00:22.785375 [ forkit ] FTL Pipe closed.| common/IoUtil.cpp:309
frk-08589-08589 13:00:22.785407 [ forkit ] INF Child dispatcher flagged for termination.| kit/ForKit.cpp:497
frk-08589-08589 13:00:22.785427 [ forkit ] INF ForKit process finished.| kit/ForKit.cpp:512

Is there a way to clean/remove anything done by this script (user creation & co) and try with docker prerequisite installation ?

would it change something ?

I found this :
CollaboraOnline/Docker-CODE#10

But I'm not sure it is the same.

@Kassiematis
Copy link
Contributor

Can you run these commands?

sudo /sbin/setcap cap_fowner,cap_mknod,cap_sys_chroot=ep /opt/online/loolforkit
sudo /sbin/setcap cap_sys_admin=ep /opt/online/loolmount

or edit /etc/online/loolwsd.xml

change this line

<num_prespawn_children desc="Number of child processes to keep started in advance and waiting for new clients." type="uint" default="1">1</num_prespawn_children>

to

<num_prespawn_children desc="Number of child processes to keep started in advance and waiting for new clients." type="uint" default="1">5</num_prespawn_children>

@Kassiematis
Copy link
Contributor

Kassiematis commented Aug 4, 2017

What version of Ubuntu are you using?

@OrpheeGT
Copy link
Author

OrpheeGT commented Aug 4, 2017

Tried both one by one, still the tame

Ubuntu 16.04.3 LTS

@husisusi
Copy link
Owner

husisusi commented Aug 4, 2017

Please just delete /opt/(script Folder) and run the script again.

@Kassiematis
Copy link
Contributor

I think you probably have a typo somewhere in /opt/online/loolwsd.xml. Deleting /opt/(script Folder) as husisusi is saying will probably fix it.

@OrpheeGT
Copy link
Author

OrpheeGT commented Aug 4, 2017

When you mean /opt/(script Folder) is it "libreoffice" / "online" / "poco..." ?

Or do you mean where the script install folder is located ?

My install script is located in my /home folder
I had to move my /opt folder to /home and create a symlink to it as my / partition was too small.

@Kassiematis
Copy link
Contributor

Kassiematis commented Aug 4, 2017

/opt/online
You can change the location for poco, online and libreoffice in the script. No symlink needed.
You will have to delete everything then.

@OrpheeGT
Copy link
Author

OrpheeGT commented Aug 4, 2017

my /opt is not a FS, it is on my / partition.
It as not enough space to install the script.

So I moved /opt and made a symlink with : ln -s /home/opt /opt

Didn't know the locations where editable

@OrpheeGT
Copy link
Author

OrpheeGT commented Aug 7, 2017

Hello,

I started again without symlink.

I edited the script to add /home in frond of the 3 /opt

Now service starts and works in admin URL

But normal URL for online editing show me a popup message :

WOPISrc erroné, usage : WOPISrc=URI encodé correctement, ou chemin_du_fichier, usage : chemin_du_fichier=/chemin/du/document/

From nextcloud, it doesnt work too.

Logs show this :

wsd-11585-11595 12:52:33.057462 [ websrv_poll ] ERR FileServerRequestHandler: File not found: Invalid file.| wsd/FileServer.cpp:274
wsd-11585-11595 12:54:03.981397 [ websrv_poll ] ERR FileServerRequestHandler::NotAuthenticated: No authentication information found| wsd/FileServer.cpp:247
wsd-11585-11595 12:54:06.256222 [ websrv_poll ] WRN #22: Failed to stat [/opt/online//loleaflet/dist/branding.js]. File will not be sent.| net/Socket.cpp:211
wsd-11585-11595 12:54:06.256255 [ websrv_poll ] ERR FileServerRequestHandler: File not found: Failed to stat [/opt/online//loleaflet/dist/branding.js]. File will not be sent.| wsd/FileServer.cpp:274
wsd-11585-11595 12:54:07.394841 [ websrv_poll ] WRN #20: Failed to stat [/opt/online//loleaflet/dist/branding.js]. File will not be sent.| net/Socket.cpp:211
wsd-11585-11595 12:54:07.394898 [ websrv_poll ] ERR FileServerRequestHandler: File not found: Failed to stat [/opt/online//loleaflet/dist/branding.js]. File will not be sent.| wsd/FileServer.cpp:274
wsd-11585-11596 12:54:14.285478 [ admin ] ERR Socket #22 SSL BIO error: closed (0).| ./net/SslSocket.hpp:255
wsd-11585-11595 12:54:14.910743 [ websrv_poll ] WRN #20: Failed to stat [/opt/online//loleaflet/dist/branding.js]. File will not be sent.| net/Socket.cpp:211
wsd-11585-11595 12:54:14.910797 [ websrv_poll ] ERR FileServerRequestHandler: File not found: Failed to stat [/opt/online//loleaflet/dist/branding.js]. File will not be sent.| wsd/FileServer.cpp:274
wsd-11585-11596 12:57:38.929375 [ admin ] ERR Socket #20 SSL BIO error: closed (0).| ./net/SslSocket.hpp:255
wsd-11585-11595 12:57:39.758727 [ websrv_poll ] WRN #23: Failed to stat [/opt/online//loleaflet/dist/branding.js]. File will not be sent.| net/Socket.cpp:211
wsd-11585-11595 12:57:39.758785 [ websrv_poll ] ERR FileServerRequestHandler: File not found: Failed to stat [/opt/online//loleaflet/dist/branding.js]. File will not be sent.| wsd/FileServer.cpp:274
wsd-11585-11596 12:57:43.959435 [ admin ] ERR Socket #23 SSL BIO error: closed (0).| ./net/SslSocket.hpp:255
wsd-11585-11595 12:57:44.721201 [ websrv_poll ] WRN #20: Failed to stat [/opt/online//loleaflet/dist/branding.js]. File will not be sent.| net/Socket.cpp:211
wsd-11585-11595 12:57:44.721257 [ websrv_poll ] ERR FileServerRequestHandler: File not found: Failed to stat [/opt/online//loleaflet/dist/branding.js]. File will not be sent.| wsd/FileServer.cpp:274
wsd-11585-11596 12:57:47.679650 [ admin ] ERR Socket #20 SSL BIO error: closed (0).| ./net/SslSocket.hpp:255
wsd-11585-11595 12:57:48.206911 [ websrv_poll ] WRN #20: Failed to stat [/opt/online//loleaflet/dist/branding.js]. File will not be sent.| net/Socket.cpp:211
wsd-11585-11595 12:57:48.206967 [ websrv_poll ] ERR FileServerRequestHandler: File not found: Failed to stat [/opt/online//loleaflet/dist/branding.js]. File will not be sent.| wsd/FileServer.cpp:274
wsd-11585-11596 12:57:53.481083 [ admin ] ERR Socket #20 SSL BIO error: closed (0).| ./net/SslSocket.hpp:255
wsd-11585-11595 12:57:53.765617 [ websrv_poll ] ERR FileServerRequestHandler: File not found: Invalid file.| wsd/FileServer.cpp:274
wsd-11585-11595 12:57:59.599632 [ websrv_poll ] ERR FileServerRequestHandler: File not found: Invalid file.| wsd/FileServer.cpp:274
wsd-11585-11596 12:58:08.452730 [ admin ] ERR Socket #20 SSL BIO error: closed (0).| ./net/SslSocket.hpp:255
wsd-11585-11595 12:58:08.771110 [ websrv_poll ] WRN #23: Failed to stat [/opt/online//loleaflet/dist/branding.js]. File will not be sent.| net/Socket.cpp:211
wsd-11585-11595 12:58:08.771159 [ websrv_poll ] ERR FileServerRequestHandler: File not found: Failed to stat [/opt/online//loleaflet/dist/branding.js]. File will not be sent.| wsd/FileServer.cpp:274
wsd-11585-11596 12:58:16.331038 [ admin ] ERR Socket #23 SSL BIO error: closed (0).| ./net/SslSocket.hpp:255
wsd-11585-11595 12:58:17.403073 [ websrv_poll ] WRN #23: Failed to stat [/opt/online//loleaflet/dist/branding.js]. File will not be sent.| net/Socket.cpp:211
wsd-11585-11595 12:58:17.403132 [ websrv_poll ] ERR FileServerRequestHandler: File not found: Failed to stat [/opt/online//loleaflet/dist/branding.js]. File will not be sent.| wsd/FileServer.cpp:274
wsd-11585-11596 12:58:23.706910 [ admin ] ERR Socket #24 SSL BIO error: closed (0).| ./net/SslSocket.hpp:255
wsd-11585-11595 12:58:24.633942 [ websrv_poll ] WRN #23: Failed to stat [/opt/online//loleaflet/dist/branding.js]. File will not be sent.| net/Socket.cpp:211
wsd-11585-11595 12:58:24.633998 [ websrv_poll ] ERR FileServerRequestHandler: File not found: Failed to stat [/opt/online//loleaflet/dist/branding.js]. File will not be sent.| wsd/FileServer.cpp:274

everything is located in /home/opt (libreoffice / online / poco)

My nextcloud and collabora runs on the same server.

So in nextcloud settings I only inserted : https://my_url:9980

@OrpheeGT
Copy link
Author

OrpheeGT commented Aug 7, 2017

When I try to access to hello-world.odt :

wsd-12461-12470 13:41:30.142587 [ websrv_poll ] WRN #16: Failed to stat [/opt/online/loleaflet/dist/branding.js]. File will not be sent.| net/Socket.cpp:211
wsd-12461-12470 13:41:30.142703 [ websrv_poll ] ERR FileServerRequestHandler: File not found: Failed to stat [/opt/online/loleaflet/dist/branding.js]. File will not be sent.| wsd/FileServer.cpp:274
wsd-12461-12470 13:41:30.145447 [ websrv_poll ] WRN #20: Failed to stat [/opt/online/loleaflet/dist/branding.css]. File will not be sent.| net/Socket.cpp:211
wsd-12461-12470 13:41:30.145492 [ websrv_poll ] ERR FileServerRequestHandler: File not found: Failed to stat [/opt/online/loleaflet/dist/branding.css]. File will not be sent.| wsd/FileServer.cpp:274
wsd-12461-12470 13:41:30.571757 [ websrv_poll ] WRN #22: Failed to stat [/opt/online/loleaflet/dist/branding.js]. File will not be sent.| net/Socket.cpp:211
wsd-12461-12470 13:41:30.571801 [ websrv_poll ] ERR FileServerRequestHandler: File not found: Failed to stat [/opt/online/loleaflet/dist/branding.js]. File will not be sent.| wsd/FileServer.cpp:274
wsd-12461-14979 13:41:32.224139 [ docbroker_007 ] ERR Local Storage is disabled by default. Enable in the config file or on the command-line to enable.| wsd/Storage.cpp:199
wsd-12461-14979 13:41:32.224267 [ docbroker_007 ] ERR Failed to add session to [home:0/opt/online/test/data/hello-wold.odt] with URI [file://home/opt/online/test/data/hello-wold.odt?permission=edit]: No Storage configured or
invalid URI.| wsd/DocumentBroker.cpp:799
wsd-12461-14979 13:41:32.224307 [ docbroker_007 ] ERR Error while loading : No Storage configured or invalid URI.| wsd/LOOLWSD.cpp:2132
wsd-12461-14979 13:41:32.536729 [ docbroker_007 ] WRN Child session [0159] not found to forward message: load url=file://home/opt/online/test/data/hello-wold.odt?permission=edit readonly=0 lang=fr| wsd/DocumentBroker.cpp:1281
wsd-12461-14979 13:41:33.225545 [ docbroker_007 ] ERR No socket associated with WebSocketHandler 0x0x7f13c8019f00| ./net/WebSocketHandler.hpp:110
wsd-12461-12463 13:41:33.225661 [ prisoner_poll ] WRN Waking up dead poll thread [docbroker_007], started: true, finished: true| ./net/Socket.hpp:507
wsd-12461-12463 13:41:33.225682 [ prisoner_poll ] WRN Waking up dead poll thread [docbroker_007], started: true, finished: true| ./net/Socket.hpp:507
wsd-12461-12463 13:41:33.225696 [ prisoner_poll ] WRN Prisoner connection disconnected but without valid socket.| wsd/LOOLWSD.cpp:1389
wsd-12461-12463 13:41:33.225719 [ prisoner_poll ] WRN Waking up dead poll thread [docbroker_007], started: false, finished: true| ./net/Socket.hpp:507
wsd-12461-12463 13:41:33.225731 [ prisoner_poll ] WRN Waking up dead poll thread [docbroker_007], started: false, finished: true| ./net/Socket.hpp:507
wsd-12461-14983 13:41:33.682897 [ docbroker_008 ] ERR Local Storage is disabled by default. Enable in the config file or on the command-line to enable.| wsd/Storage.cpp:199
wsd-12461-14983 13:41:33.683021 [ docbroker_008 ] ERR Failed to add session to [home:0/opt/online/test/data/hello-wold.odt] with URI [file://home/opt/online/test/data/hello-wold.odt?permission=edit]: No Storage configured or
invalid URI.| wsd/DocumentBroker.cpp:799
wsd-12461-14983 13:41:33.683061 [ docbroker_008 ] ERR Error while loading : No Storage configured or invalid URI.| wsd/LOOLWSD.cpp:2132
wsd-12461-14983 13:41:33.708334 [ docbroker_008 ] WRN Child session [015b] not found to forward message: load url=file://home/opt/online/test/data/hello-wold.odt?permission=edit readonly=0 lang=fr| wsd/DocumentBroker.cpp:1281
wsd-12461-14983 13:41:33.709292 [ docbroker_008 ] WRN Child session [015b] not found to forward message: useractive| wsd/DocumentBroker.cpp:1281
wsd-12461-14983 13:41:34.684402 [ docbroker_008 ] ERR No socket associated with WebSocketHandler 0x0x7f13c807e800| ./net/WebSocketHandler.hpp:110
wsd-12461-12463 13:41:34.684518 [ prisoner_poll ] WRN Waking up dead poll thread [docbroker_008], started: true, finished: true| ./net/Socket.hpp:507
wsd-12461-12463 13:41:34.684539 [ prisoner_poll ] WRN Waking up dead poll thread [docbroker_008], started: true, finished: true| ./net/Socket.hpp:507

@aalaesar
Copy link
Contributor

aalaesar commented Aug 7, 2017

Hi @OrpheeGT,
the latest version of the script do not have the test files enabled for security reasons (see #93 ).
I recommand testing with the nextcloud collabora app or with the */hosting/discovery URL
regards

@Kassiematis
Copy link
Contributor

For testing you can enable debug. Be aware of security issues.
https://github.com/husisusi/officeonlin-install.sh/blob/master/README.md#debug

@OrpheeGT
Copy link
Author

OrpheeGT commented Aug 7, 2017

The /hosting/discovery URL shows me an XML file.

I deleted everything and started again...
I'll see. don't know what is the issue...
When you choose the default URL loleaflet.html should it purpose a blank file or something ?

Thank you

Nextcloud collabora app only show a grey screen without anything else, and there is the associated error in logs :
wsd-11585-11595 12:58:17.403132 [ websrv_poll ] ERR FileServerRequestHandler: File not found: Failed to stat [/opt/online//loleaflet/dist/branding.js]. File will not be sent.| wsd/FileServer.cpp:274

@Kassiematis
Copy link
Contributor

The branding.js error is normal. You can create it to set logo and other stuff.

@OrpheeGT
Copy link
Author

OrpheeGT commented Aug 7, 2017

Ok, good to know.
Any idea why I have a grey screen when I try to open a new ods created file from nextcloud ?

@Kassiematis
Copy link
Contributor

Could be anything. I would enable debug for some more testing.

@aalaesar
Copy link
Contributor

aalaesar commented Aug 7, 2017

looks like you may have configuration issue/conflict with installed files from you first attempt.
you need to fix all paths in any loolwsd.xml (find / -name loolwsd.xml) AND in /etc/systemd/system/loolwsd.service.
This last one is never rewritten if it already exist so it must be the may culprit

The /hosting/discovery URL shows me an XML file.

Yes, sorry I haven't been explicit: the XML expose API endpoints. this URL is a good way to see if the service is running.

@OrpheeGT
Copy link
Author

OrpheeGT commented Aug 7, 2017

Ok, thank you, I deleted everything including loolwsd.service
Starting again with debug enabled.

@aalaesar
Copy link
Contributor

aalaesar commented Aug 7, 2017

It's overkill ... but okay 😆 !

@OrpheeGT
Copy link
Author

OrpheeGT commented Aug 7, 2017

Well, don't ask me why, but now with debug enabled it works...

how can I disable debug without breaking everything ?

Thank you

@Kassiematis
Copy link
Contributor

You can disable it by editing loolwsd.xml.

Systemctl stop loolwsd

Change filesystem allow="true" to "false" in /opt/online/loolwsd.xml

You will still get the message about hello-world.odt but that won't work anymore.

@OrpheeGT
Copy link
Author

OrpheeGT commented Aug 8, 2017

Thank you for your help, I can't tell what was the real issue, but now it works as intended.

@aalaesar
Copy link
Contributor

aalaesar commented Aug 8, 2017

Seeing your logs, seems that the loolwsd systemd unit file was in fault and was containing path to default folder. It was created at the first try you made to make lo online by sim-linking the /opt folder, with /opt/online path in it, and was not rewritten by the script in the next runs.

@OrpheeGT
Copy link
Author

OrpheeGT commented Aug 8, 2017

I tried to simply edit it, you are right it was in default /opt
But it was still not working.
Deleting everything and recompile with debug fixed it... Don't ask me why... can't tell...

@aalaesar
Copy link
Contributor

aalaesar commented Aug 8, 2017

When a service file is modified, systemd must reload the file with sudo systemctl daemon-reload then you can apply the modifications by restarting the service : sudo systemctl restart loolwsd 😃 (or stop and start)

@OrpheeGT
Copy link
Author

OrpheeGT commented Aug 8, 2017

Yes I know, when you try to start it after a modification, it gives you the daemon-reload command itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants