# Coolmount fails to function

**URL:** <https://forum.collaboraonline.com/t/coolmount-fails-to-function/2593>\
**Category:** Installation & Configuration\
**Created:** [May 2, 2024, 1:33pm UTC](https://forum.collaboraonline.com/t/coolmount-fails-to-function/2593 "2024-05-02T13:33:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dseen](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.collaboraonline.com/dseen/32/1138_2.png) [@dseen](https://forum.collaboraonline.com/u/dseen)\
**Post date:** [May 2, 2024, 1:33pm UTC](https://forum.collaboraonline.com/t/coolmount-fails-to-function/2593/1 "2024-05-02T13:33:39Z")

</div>

Hello everyone,

In my collabora instance with the official Docker image called collabora/code:latest I get this error whenever closing a document.

```auto
sh: 1: /usr/bin/coolmount: Operation not permitted
sh: 1: /usr/bin/coolmount: Operation not permitted
sh: 1: /usr/bin/coolmount: Operation not permitted

```

Everything functions, but I would like to suppress of entirely fix this issue. From my own research, this command does work again after recreating it by copying it away and replacing the original one. or by chowning it to cool:cool inside the container.

this is my compose:

```auto
services:
  collabora:
    image: collabora/code:latest
# privileged: true
    container_name: 'collabora'
    networks:
      - cloud-nextcloud
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - ./coolwsd.xml:/etc/coolwsd/coolwsd.xml
    ports:
      - 9980:9980/tcp
    restart: always
    environment:
      - username=admin
      - password=pass
      - aliasgroup1=https://nextcloud\.domain\.nl:443
      - server_name=devcolla\.domain\.nl
      - extra_params=--o=ssl.enable=true--ssl.termination=true
# cap_add:
# - MKNOD

networks:
  cloud-nextcloud:
    external: true

```

I would like to use this for our company and need production functionality. or at least no errors spamming the stdout.

Thanks

---

<div class="post-metadata">

**Author:** ![cornouws](https://avatars.discourse-cdn.com/v4/letter/c/7ab992/32.png) [@cornouws](https://forum.collaboraonline.com/u/cornouws)\
**Post date:** [May 3, 2024, 11:53am UTC](https://forum.collaboraonline.com/t/coolmount-fails-to-function/2593/2 "2024-05-03T11:53:16Z")

</div>

Hi Daan, dseen,

Welcome to this forum 🌞 & thanks for your clear description!

> I would like to use this for our company and need production functionality. or at least no errors spamming the stdout.

I can understand that yes 🙂 To sort out possibilities for (commercial) support here, best is to send an email to [sales@collaboraoffice.com](mailto:sales@collaboraoffice.com) and/or share (in a DM) your contact details.  
Hope that helps,  
Cheers,  
Cor

---

<div class="post-metadata">

**Author:** ![mmeeks](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.collaboraonline.com/mmeeks/32/371_2.png) [@mmeeks](https://forum.collaboraonline.com/u/mmeeks)\
**Post date:** [May 3, 2024, 12:51pm UTC](https://forum.collaboraonline.com/t/coolmount-fails-to-function/2593/3 "2024-05-03T12:51:47Z")

</div>

Have you given root privileges to that mount process, in order to get secure containment; are there other errors in the logs (?)  
Thanks.

---

<div class="post-metadata">

**Author:** ![dseen](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.collaboraonline.com/dseen/32/1138_2.png) [@dseen](https://forum.collaboraonline.com/u/dseen)\
**Post date:** [May 5, 2024, 8:05pm UTC](https://forum.collaboraonline.com/t/coolmount-fails-to-function/2593/4 "2024-05-05T20:05:11Z")

</div>

```auto
wsd-00001-00062 2024-05-05 22:03:48.193635 +0200 [websrv_poll] ERR FileServerRequestHandler: File not found: Invalid URI request: [/browser/f12ee1f/images/dark/lc_searchprev.svg].| wsd/FileServer.cpp:751
wsd-00001-00062 2024-05-05 22:03:48.193987 +0200 [websrv_poll] ERR FileServerRequestHandler: File not found: Invalid URI request: [/browser/f12ee1f/images/dark/lc_statetablecellmenu.svg].| wsd/FileServer.cpp:751
wsd-00001-00062 2024-05-05 22:03:48.194329 +0200 [websrv_poll] ERR FileServerRequestHandler: File not found: Invalid URI request: [/browser/f12ee1f/images/dark/lc_searchnext.svg].| wsd/FileServer.cpp:751
wsd-00001-00062 2024-05-05 22:03:48.194964 +0200 [websrv_poll] ERR FileServerRequestHandler: File not found: Invalid URI request: [/browser/f12ee1f/images/dark/lc_prev.svg].| wsd/FileServer.cpp:751
wsd-00001-00062 2024-05-05 22:03:48.195385 +0200 [websrv_poll] ERR FileServerRequestHandler: File not found: Invalid URI request: [/browser/f12ee1f/images/dark/lc_zoom.svg].| wsd/FileServer.cpp:751
wsd-00001-00062 2024-05-05 22:03:48.195762 +0200 [websrv_poll] ERR FileServerRequestHandler: File not found: Invalid URI request: [/browser/f12ee1f/images/dark/lc_next.svg].| wsd/FileServer.cpp:751
wsd-00001-00062 2024-05-05 22:03:48.211432 +0200 [websrv_poll] ERR FileServerRequestHandler: File not found: Invalid URI request: [/browser/f12ee1f/images/lc_statetablecellmenu.svg].| wsd/FileServer.cpp:751
wsd-00001-00062 2024-05-05 22:03:48.212070 +0200 [websrv_poll] ERR FileServerRequestHandler: File not found: Invalid URI request: [/browser/f12ee1f/images/lc_zoom.svg].| wsd/FileServer.cpp:751
frk-00026-00026 2024-05-05 22:03:48.384003 +0200 [forkit] WRN The systemplate directory [/opt/cool/systemplate] is read-only, and at least [/opt/cool/systemplate//etc/hosts] is out-of-date. Will have to copy sysTemplate to jails. To restore optimal performance, make sure the files in [/opt/cool/systemplate/etc] are up-to-date.| common/JailUtil.cpp:425
wsd-00001-00062 2024-05-05 22:03:49.064654 +0200 [websrv_poll] ERR FileServerRequestHandler: File not found: Invalid URI request: [/browser/f12ee1f/images/dark/lc_insertsheet.svg].| wsd/FileServer.cpp:751
wsd-00001-00062 2024-05-05 22:03:49.210446 +0200 [websrv_poll] ERR FileServerRequestHandler: File not found: Invalid URI request: [/browser/f12ee1f/images/dark/lc_statetablecellmenu.svg].| wsd/FileServer.cpp:751
wsd-00001-00062 2024-05-05 22:03:49.286514 +0200 [websrv_poll] ERR FileServerRequestHandler: File not found: Invalid URI request: [/browser/f12ee1f/images/dark/user.svg].| wsd/FileServer.cpp:751
wsd-00001-00062 2024-05-05 22:03:49.293941 +0200 [websrv_poll] ERR FileServerRequestHandler: File not found: Invalid URI request: [/browser/f12ee1f/images/lc_statetablecellmenu.svg].| wsd/FileServer.cpp:751
wsd-00001-00062 2024-05-05 22:03:49.336918 +0200 [websrv_poll] ERR FileServerRequestHandler: File not found: Invalid URI request: [/browser/f12ee1f/images/dark/user.svg].| wsd/FileServer.cpp:751
sh: 1: /usr/bin/coolmount: Operation not permitted
sh: 1: /usr/bin/coolmount: Operation not permitted
sh: 1: /usr/bin/coolmount: Operation not permitted

```

These are all the errors of a single “chain”, with this compose:

```auto
services:
  collabora:
    image: collabora/code:latest
# privileged: true
    container_name: 'collabora'
    networks:
      - cloud-nextcloud
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - /opt/colla/images:/usr/share/coolwsd/browser/dist/images
    ports:
      - 9980:9980/tcp
    restart: always
    environment:
      - username=admin
      - password=PASS
      - aliasgroup1=DOMAIN1
      - aliasgroup2=DOMAIN2
      - server_name=COLLA DOMAIN+SUB
      - extra_params=--o=ssl.enable=true
    cap_add:
      - MKNOD

networks:
  cloud-nextcloud:
    external: true

```

I filtered some things out.

---

<div class="post-metadata">

**Author:** ![dseen](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.collaboraonline.com/dseen/32/1138_2.png) [@dseen](https://forum.collaboraonline.com/u/dseen)\
**Post date:** [May 8, 2024, 11:38am UTC](https://forum.collaboraonline.com/t/coolmount-fails-to-function/2593/5 "2024-05-08T11:38:42Z")

</div>

I see in my docker compose that I mapped the image folder as well, but the needed images are missing there as well, so this line can be removed.
