Git Product home page Git Product logo

Comments (30)

Kassiematis avatar Kassiematis commented on July 2, 2024 1

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

from officeonlin-install.sh.

Kassiematis avatar Kassiematis commented on July 2, 2024 1

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.

from officeonlin-install.sh.

Kassiematis avatar Kassiematis commented on July 2, 2024

Did you restart the server?

from officeonlin-install.sh.

OrpheeGT avatar OrpheeGT commented on July 2, 2024

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

I'll try

from officeonlin-install.sh.

Kassiematis avatar Kassiematis commented on July 2, 2024

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

from officeonlin-install.sh.

OrpheeGT avatar OrpheeGT commented on July 2, 2024

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.

from officeonlin-install.sh.

Kassiematis avatar Kassiematis commented on July 2, 2024

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>

from officeonlin-install.sh.

Kassiematis avatar Kassiematis commented on July 2, 2024

What version of Ubuntu are you using?

from officeonlin-install.sh.

OrpheeGT avatar OrpheeGT commented on July 2, 2024

Tried both one by one, still the tame

Ubuntu 16.04.3 LTS

from officeonlin-install.sh.

husisusi avatar husisusi commented on July 2, 2024

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

from officeonlin-install.sh.

Kassiematis avatar Kassiematis commented on July 2, 2024

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.

from officeonlin-install.sh.

OrpheeGT avatar OrpheeGT commented on July 2, 2024

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.

from officeonlin-install.sh.

Kassiematis avatar Kassiematis commented on July 2, 2024

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

from officeonlin-install.sh.

OrpheeGT avatar OrpheeGT commented on July 2, 2024

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

from officeonlin-install.sh.

OrpheeGT avatar OrpheeGT commented on July 2, 2024

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

from officeonlin-install.sh.

OrpheeGT avatar OrpheeGT commented on July 2, 2024

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

from officeonlin-install.sh.

aalaesar avatar aalaesar commented on July 2, 2024

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

from officeonlin-install.sh.

Kassiematis avatar Kassiematis commented on July 2, 2024

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

from officeonlin-install.sh.

OrpheeGT avatar OrpheeGT commented on July 2, 2024

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

from officeonlin-install.sh.

Kassiematis avatar Kassiematis commented on July 2, 2024

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

from officeonlin-install.sh.

OrpheeGT avatar OrpheeGT commented on July 2, 2024

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

from officeonlin-install.sh.

aalaesar avatar aalaesar commented on July 2, 2024

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.

from officeonlin-install.sh.

OrpheeGT avatar OrpheeGT commented on July 2, 2024

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

from officeonlin-install.sh.

aalaesar avatar aalaesar commented on July 2, 2024

It's overkill ... but okay 😆 !

from officeonlin-install.sh.

OrpheeGT avatar OrpheeGT commented on July 2, 2024

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

how can I disable debug without breaking everything ?

Thank you

from officeonlin-install.sh.

OrpheeGT avatar OrpheeGT commented on July 2, 2024

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

from officeonlin-install.sh.

aalaesar avatar aalaesar commented on July 2, 2024

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.

from officeonlin-install.sh.

OrpheeGT avatar OrpheeGT commented on July 2, 2024

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

from officeonlin-install.sh.

aalaesar avatar aalaesar commented on July 2, 2024

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)

from officeonlin-install.sh.

OrpheeGT avatar OrpheeGT commented on July 2, 2024

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

from officeonlin-install.sh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.