jwetzell / docker-guacamole

A self-contained guacamole docker container for x64 and ARM. Remotely connect over SSH, RDP or VNC using HTML5.
https://hub.docker.com/r/oznu/guacamole/
GNU General Public License v3.0
108 stars 18 forks source link

Record video #31

Closed netwaze closed 9 months ago

netwaze commented 9 months ago

Hello, I currently have a problem with your container image. Once deployed I put my connections and I activate the screen recording by putting a folder accessible by my container. I log in and I have log files in this folder, but when I log out and go to history I don't see a view button in log.

If I ever need to make any changes, please let me know every step of the way.

version: "3.9"
services:
  guacamole:
    container_name: Guacamole
    image: jwetzell/guacamole:latest
    healthcheck:
     test: curl -f http://localhost:8080/ || exit 1
    mem_limit: 6g
    cpu_shares: 1024
    security_opt:
      - no-new-privileges:false
    restart: always
    ports:
      - 8080:8080
    volumes:
      - ./guacamole:/config:rw
    environment:
      EXTENSIONS: history-recording-storage

Sincerely

jwetzell commented 9 months ago

The official docs outline what needs to be done to get recording working. If you look in the container logs I'd imagine there is a line similar to Creation of recording failed: No such file or directory.

If you want to change the default recordings path so you only need to use one volume you would add this line to the guacamole.properties file.

recording-search-path: /config/guacamole/recordings

Then you will need to make sure that directory exists and then set the recording path of connection to ${HISTORY_PATH}/${HISTORY_UUID}.

netwaze commented 9 months ago

Thanks for replying :) your solution works.

Sincerely

jwetzell commented 9 months ago

No Problem!