Hi,

I have been struggling for hours to get the proper volume mapped to get the 
session recording and the extension functioning;

When I enable session recording on a server connection object I see the 
following in the logs:

guacd[31]: ERROR:  Creation of recording failed: No such file or directory

The manual says this is by default stored in /var/lib/guacamole/recordings

However when entering the container there is no such folder which would make 
the error understandable.

Then I wanted to change the recording folder by using the recording-search-path 
option in guacamole.properties. However this sent me on a completely different 
marry go round. The logs mention this;

INFO  o.a.g.environment.LocalEnvironment - GUACAMOLE_HOME is 
"/home/guacamole/.guacamole".
INFO  o.a.g.GuacamoleServletContextListener - Read configuration parameters 
from "/home/guacamole/.guacamole/guacamole.properties".

Trying to expose this to the host as a volume makes guacamole crash:
guacamole  | rm: cannot remove '/home/guacamole/.guacamole': Device or resource 
busy
guacamole  | rm: cannot remove '/home/guacamole/.guacamole': Device or resource 
busy


I also tried following the manual by using the following volume in my docker 
compose file:
    volumes:
      - /home/guacamole/guacamole-config:/etc/guacamole

When I put a guacamole.properties file in the host volume it gets ignored.

The documentation is not clear on this topic and the default path mentioned 
seem not relevant to docker.This is really an unnecessary painful struggle and 
very frustrating as all other containers map their volumes just fine. Only 
stuck with with trying to map SOMETHING out of Guacamole to ultimately get 
session recording working.

Complete docker compose can be found here: 
https://github.com/brolifen/GuacCompose/blob/main/docker-compose.yml

Thanks in advance for any help.

Reply via email to