I am failing to install collabora online from packages. My server is hosted on OVH, I am installing on a KVM-qemu virtual machine that hosts a functionnal nextcloud.
To save money as my providers charges me for extra IP and extra subdomain my nextcloud appears on a subpath and I try to install collabora on another subpath. My config :
uname -a
Linux ************** 6.1.0-32-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.129-1 (2025-03-06) x86_64 GNU/Linux
dpkg -l coolwsd code-brand
.../...
ii code-brand 24.04-34 all Collabora Online Development Edition (CODE) branding
ii coolwsd 24.04.13.2-1 amd64 Collabora Online WebSocket Daemon
dpkg -l nginx*
.../...
ii nginx 1.22.1-9+deb12u1 amd64 small, powerful, scalable web/proxy server
un nginx-abi-1.22.1-7 <aucune> <aucune> (aucune description n'est disponible)
ii nginx-common 1.22.1-9+deb12u1 all small, powerful, scalable web/proxy server - common files
un nginx-core <aucune> <aucune> (aucune description n'est disponible)
un nginx-doc <aucune> <aucune> (aucune description n'est disponible)
ii nginx-extras 1.22.1-9+deb12u1 amd64 nginx web/proxy server (extended version)
ii nginx-full 1.22.1-9+deb12u1 all nginx web/proxy server (standard version with 3rd parties)
un nginx-light <aucune> <aucune> (aucune description n'est disponible)
my steps are:
1- Import of the signing key
2- install the coolwsd and code-brand
3- change values of /etc/coolwsd/coolwsd.xml with the following commands
- sudo coolconfig set ssl.enable false
- sudo coolconfig set ssl.termination true
- sudo coolconfig set storage.wopi.host ************.fr/collabora
- sudo coolconfig set-admin-password
- sudo coolconfig set net.service_root collabora
- sudo coolconfig set net.proto IPv4
- sudo coolconfig set memproportion 30.0
- sudo coolconfig set level debug
- sudo coolconfig set net.listen loopback
- sudo coolconfig set admin_console.enable true
- sudo systemctl restart coolwsd
the service fails :
sudo systemctl status coolwsd
Ă— coolwsd.service - Collabora Online WebSocket Daemon
Loaded: loaded (/lib/systemd/system/coolwsd.service; disabled; preset: enabled)
Active: failed (Result: exit-code) since Tue 2025-03-25 01:33:38 CET; 7h ago
Duration: 8min 21.229s
Main PID: 19570 (code=exited, status=70)
CPU: 1.889s
mars 25 01:33:38 ************ coolwsd[19570]: wsd-19570-19589 2025-03-25 01:33:38.080113 +0100 [ prisoner_poll ] TRC ppoll start, timeoutMicroS: 64000000 size 1| net/Socket.cpp:503
mars 25 01:33:38 r************ coolwsd[19570]: wsd-19570-19570 2025-03-25 01:33:38.738148 +0100 [ coolwsd ] TRC Have 0 new children.| wsd/COOLWSD.cpp:3682
mars 25 01:33:38 ************ coolwsd[19570]: Shutdown requested while starting up. Exiting.
mars 25 01:33:38 ************ coolwsd[19570]: wsd-19570-19570 2025-03-25 01:33:38.738311 +0100 [ coolwsd ] FTL Shutdown requested while starting up. Exiting.| wsd/COOLWSD.cpp:3686
mars 25 01:33:38 ************ coolwsd[19570]: Forced Exit with code: 70
mars 25 01:33:38 ************ coolwsd[19570]: wsd-19570-19570 2025-03-25 01:33:38.738357 +0100 [ coolwsd ] FTL Forced Exit with code: 70| common/Util.cpp:721
mars 25 01:33:38 ************ systemd[1]: coolwsd.service: Main process exited, code=exited, status=70/SOFTWARE
mars 25 01:33:38 ************ systemd[1]: coolwsd.service: Failed with result 'exit-code'.
mars 25 01:33:38 ************ systemd[1]: Stopped coolwsd.service - Collabora Online WebSocket Daemon.
mars 25 01:33:38 ************ systemd[1]: coolwsd.service: Consumed 1.889s CPU time.
Journalctl is more verbose and displays the following errors
mars 20 11:22:20 ************ coolwsd[15832]: coolforkit version details: 24.04.13.2 - ded56d8ff7
mars 20 11:22:20 ************ coolwsd[15832]: frk-15832-15832 2025-03-20 11:22:20.162268 +0100 [ coolforkit-ns ] INF RLIMIT_STACK is 8192000 bytes after setting it to 8192000 bytes.| common/Seccomp.cpp:295
mars 20 11:22:20 ************ coolwsd[15832]: frk-15832-15832 2025-03-20 11:22:20.162282 +0100 [ coolforkit-ns ] INF Ignored setting RLIMIT_FSIZE to unlimited.| common/Seccomp.cpp:301
mars 20 11:22:20 ************coolwsd[15832]: frk-15832-15832 2025-03-20 11:22:20.162295 +0100 [ coolforkit-ns ] INF Ignored setting RLIMIT_NOFILE to unlimited.| common/Seccomp.cpp:301
mars 20 11:22:20 ************ coolwsd[15832]: frk-15832-15832 2025-03-20 11:22:20.162338 +0100 [ coolforkit-ns ] DBG About to init Kit UnitBase with test []| kit/ForKit.cpp:981
mars 20 11:22:20 ************ coolwsd[15832]: Neither /opt/collaboraoffice/program/libsofficeapp.so or /opt/collaboraoffice/program/libmergedlo.so exist.
mars 20 11:22:20 rafiki-nextcloud coolwsd[15832]: frk-15832-15832 2025-03-20 11:22:20.162448 +0100 [ coolforkit-ns ] FTL Neither /opt/collaboraoffice/program/libsofficeapp.so or /opt/collaboraoffice/program/libmergedlo.so exist.| kit/Kit.cpp:4059
mars 20 11:22:20 ************ coolwsd[15832]: Failed to preinit lokit.
mars 20 11:22:20 ************ coolwsd[15832]: frk-15832-15832 2025-03-20 11:22:20.162478 +0100 [ coolforkit-ns ] FTL Failed to preinit lokit.| kit/ForKit.cpp:1004
mars 20 11:22:20 ************ coolwsd[15832]: Forced Exit with code: 70
mars 20 11:22:20 ************ coolwsd[15832]: frk-15832-15832 2025-03-20 11:22:20.162512 +0100 [ coolforkit-ns ] FTL Forced Exit with code: 70| common/Util.cpp:721
It seems that 2 libraries are missing and I have not been able to find them anywhere. AmI doing something wrong ? How to fix this
Many thanks.
PS : I have also tried to use buil-in CODE but I have not been able to solve redirection problems /nextcloud/apps/richdocumentscode/hosting/capabilities
is visible from the internet but nextcloud cannot internally connect to it, it’s another story but if anybody has a trick out of the box (for nftables and nginx config files correct config.) I would be very grateful.