dseen
May 2, 2024, 1:33pm
1
Hello everyone,
In my collabora instance with the official Docker image called collabora/code:latest I get this error whenever closing a document.
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:
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
1 Like
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 and/or share (in a DM) your contact details.
Hope that helps,
Cheers,
Cor
1 Like
Have you given root privileges to that mount process, in order to get secure containment; are there other errors in the logs (?)
Thanks.
1 Like
dseen
May 5, 2024, 8:05pm
4
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:
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.
dseen
May 8, 2024, 11:38am
5
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.