Not starting: "Permission denied at /start-collabora-online.pl line 138" after changing coolwsd.xml

Hello everyone,

I set up the Nextcloud Docker AIO and chose to have Collabora automatically installed by the setup.

What I did:

  • Everything worked, then I added some fonts and a tip in the options menu instructed to edit the coolwsd.xml file and add the link to https://mynextcloudurl/apps/richdocuments/settings/fonts.json.
  • I did not notice that that link is loaded automatically already and edited /etc/coolwsd/coolwsd.xml with the editor in Docker
  • The Container automatically tried to restart and since then is stuck in starting

A log excerpt:

[...]
wsd-00001-00019 2023-09-06 18:46:26.126083 +0200 [ websrv_poll ] ERR  #23: Socket write returned -1 (EPIPE: Broken pipe)| net/Socket.hpp:1428
sh: 1: /usr/bin/coolmount: Operation not permitted
sh: 1: /usr/bin/coolmount: Operation not permitted
sh: 1: /usr/bin/coolmount: Operation not permitted
-rw-r--r-- 1 root root 28097 Sep  6 20:48 /etc/coolwsd/coolwsd.xml modified --> restarting
wsd-00001-00001 2023-09-06 20:48:25.127600 +0200 [ coolwsd ] SIG   Forced-Termination signal received: SIGHUP
wsd-00001-00001 2023-09-06 20:48:25.127943 +0200 [ coolwsd ] WRN  Setting ShutdownRequestFlag: Exiting WSD without ShutdownRequestFlag. Setting it now.| wsd/COOLWSD.cpp:5889
sh: 1: /usr/bin/coolmount: Operation not permitted
sh: 1: /usr/bin/coolmount: Operation not permitted
sh: 1: /usr/bin/coolmount: Operation not permitted
sh: 1: /usr/bin/coolmount: Operation not permitted
sh: 1: /usr/bin/coolmount: Operation not permitted
wsd-00001-00001 2023-09-06 20:48:25.646118 +0200 [ coolwsd ] TST  UnitBase [uninit] (+0ms): Uninitializing unit-tests: SUCCESS| common/Unit.cpp:348
wsd-00001-00001 2023-09-06 20:48:25.646181 +0200 [ coolwsd ] TST  UnitWSD [~UnitBase] (+0ms): UnitWSD: ~UnitBase: SUCCESS| common/Unit.cpp:407
wsd-00001-00001 2023-09-06 20:48:25.646217 +0200 [ coolwsd ] TST  UnitBase [uninit] (+0ms): Uninitializing unit-tests: SUCCESS| common/Unit.cpp:348
Permission denied at /start-collabora-online.pl line 138.
[...]

The first line is repeated above circa two dozen times, each with different numerals but same text. The last line is repeated indefinitely and nothing else.

The permissions for coolwsd.xml are -rw-r--r--

According to https://github.com/CollaboraOnline/online/blob/master/docker/from-packages/scripts/start-collabora-online.pl this script updates coolwsd.xml according to some YAML file. I figure that the files’ permissions could be the problem, but I don’t seem to be able to change those in the Docker file viewer. Nor do I find the script itself to just disable it until this issue is solved.

What I tried, each to no result:

  • Revert the changes I had made to coolwsd.xml
  • Halt all containers, update Docker, restart all containers

Please help me fix this issue and get Collabora running again.

Best regards and thanks in advance,
Grom

I managed to solve the problem myself:

  • Go to Nextcloud-AIO Interface
  • Stop containers
  • Scroll down and deselect Collabora and save settings
  • Start containers
  • Go to Docker and delete the Collabora container and image
  • Go back to Nextcloud-AIO interface
  • Stop containers
  • Scroll down and select Collabora again and save settings
  • Scroll up and update and start containers

Starting and stopping the containers in the middle may be unnecessary.

1 Like