Hi,
propably take a look at
https://github.com/boschkundendienst/guacamole-docker-compose/issues/109#issuecomment-2619042461
and the solution out of this which was adding
group 1000 to the guacamole container. Essentially the guacd and the
guacamole container work both on same folders. Inside the guacd
container user/group 1000 is used but not in the guacamole container so
adding group 1000 to the guacamole container fixes this problem and then
it should work.
guacamole:
group_add:
- "1000"
So for your setup:
services:
guacamole_db:
container_name: guacamole_db
hostname: guacamole_db
image: mariadb:10.11
restart: always
volumes:
- ./guacamole_db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=...
- MYSQL_DATABASE=guacamole_db
- MYSQL_USER=...
- MYSQL_PASSWORD=...
expose:
- 3306
guacd:
container_name: guacd
hostname: guacd
image: guacamole/guacd:latest
restart: always
volumes:
- /opt/guacamole/guacd_drive:/drive:rw
- /opt/guacamole/guacd_record:/record:rw
expose:
- 4822
guacamole:
container_name: guacamole
hostname: guacamole
restart: always
image: guacamole/guacamole:latest
depends_on:
- guacamole_db
- guacd
ports:
- 8080:8080
links:
- guacd
group_add:
- "1000"
volumes:
- /opt/guacamole/guacd_drive:/drive:rw
- /opt/guacamole/guacd_record:/record:rw
environment:
- GUACD_RECORDINGS_ENABLED="true"
- RECORDING_SEARCH_PATH="/record"
- GUACD_HOSTNAME=guacd
- MYSQL_ROOT_PASSWORD=TR45gtFdAZAE
- MYSQL_DATABASE=guacamole_db
- MYSQL_USER=guaca_user
- MYSQL_PASSWORD=ERF32FtVPlMP
- MYSQL_HOSTNAME=guacamole_db
- REMOTE_IP_VALVE_ENABLED=true
- TOTP_ENABLED=true
I hope this helps or puts you in the right direction.
Am 19.09.26 um 15:44 schrieb Karl Soulabaille:
Hello,
I have installed Guacamole via docker-compose.
It works great except session recordings.
When settings ${HISTORY_PATH}/${HISTORY_UUID} as recording path and
enable " Automatically create recording path", it doesn't create any file
Settings a static directory like "/record/${HISTORY_UUID}" create
recording session, but it doesn't show in history.
Here is docker compose file:
services:
guacamole_db:
container_name: guacamole_db
hostname: guacamole_db
image: mariadb:10.11
restart: always
volumes:
- ./guacamole_db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=...
- MYSQL_DATABASE=guacamole_db
- MYSQL_USER=...
- MYSQL_PASSWORD=...
expose:
- 3306
guacd:
container_name: guacd
hostname: guacd
image: guacamole/guacd:latest
restart: always
volumes:
- /opt/guacamole/guacd_drive:/drive:rw
- /opt/guacamole/guacd_record:/record:rw
expose:
- 4822
guacamole:
container_name: guacamole
hostname: guacamole
restart: always
image: guacamole/guacamole:latest
depends_on:
- guacamole_db
- guacd
ports:
- 8080:8080
links:
- guacd
volumes:
- /opt/guacamole/guacd_drive:/drive:rw
- /opt/guacamole/guacd_record:/record:rw
environment:
- GUACD_RECORDINGS_ENABLED="true"
- RECORDING_SEARCH_PATH="/record"
- GUACD_HOSTNAME=guacd
- MYSQL_ROOT_PASSWORD=TR45gtFdAZAE
- MYSQL_DATABASE=guacamole_db
- MYSQL_USER=guaca_user
- MYSQL_PASSWORD=ERF32FtVPlMP
- MYSQL_HOSTNAME=guacamole_db
- REMOTE_IP_VALVE_ENABLED=true
- TOTP_ENABLED=true
Thank you for your help.
Karl
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]