You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@guacamole.apache.org by Rakesh Chauhan <ra...@stradsolutions.com> on 2024/07/05 16:32:40 UTC
Guacamole recording doesn't show in gui history tab
Hi,
I have configured apache guacamole using docker-compose on my ubuntu 22
server. Everything is working as expected but recording doesn't show in GUI.
I can see the recording file is getting created under the specified volume
path but they are not visible in GUI. I want them to be visible in gui so i
can play them when required.
I am using the latest version(1.5.5) of guacamole and MySQL8.
Please help me to resolve this issue.
-
Thanks
Re: Guacamole recording doesn't show in gui history tab
Posted by Rakesh Chauhan <ra...@stradsolutions.com>.
*Hello Team,*
Let me know if any new updates are available on this issue?
Also if you need more details for this.
-
Thanks
Rakesh
On Mon, Jul 8, 2024 at 8:57 PM Rakesh Chauhan <ra...@stradsolutions.com>
wrote:
>
> *Hi Nick, *
> Thanks for your reply. I tried with suggested changes but still it is not
> working. Below are the details -
>
>
> *Option1: *Recording path: ${HISTORY_PATH}/${HISTORY_UUID}
> Recording name: ${GUAC_DATE}${GUAC_TIME}
> Automatically create recording path: Check mark is selected
> Output: Recording is not getting created
>
>
> *Logs:*guacd[1]: INFO: Creating new client for protocol "ssh"
> guacd[1]: INFO: Connection ID is "$32259c87-dadd-453e-99ec-8497e6d5f189"
> guacd[432]: INFO: User "@c48c11a7-d0cb-498f-b531-a67effd8ec61"
> joined connection "$32259c87-dadd-453e-99ec-8497e6d5f189" (1 users now
> present)
> guacd[432]: ERROR: Creation of recording failed: No such file or
> directory
> guacd[432]: WARNING: No known host keys provided, host identity will
> not be verified.
> guacd[432]: WARNING: Unable to set the timezone: SSH server refused to
> set "TZ" variable.
> guacd[432]: INFO: SSH connection successful.
> guacd[432]: INFO: User "@c48c11a7-d0cb-498f-b531-a67effd8ec61"
> disconnected (0 users remain)
> guacd[432]: INFO: Last user of connection
> "$32259c87-dadd-453e-99ec-8497e6d5f189" disconnected
> guacd[432]: INFO: SSH connection ended.
> guacd[1]: INFO: Connection "$32259c87-dadd-453e-99ec-8497e6d5f189" removed.
>
>
>
>
> *Option2:*Recording path: ${HISTORY_PATH}
> Recording name: ${HISTORY_UUID}
> Automatically create recording path: check mark is not selected
> Output: Recording is not getting created
>
>
> *Logs:*guacd[1]: INFO: Creating new client for protocol "ssh"
> guacd[1]: INFO: Connection ID is "$29e6a6c8-f79f-4d37-b23b-4e962da14925"
> guacd[469]: INFO: User "@195d3571-a3e0-4c6d-8d6a-0f3eeafc7378"
> joined connection "$29e6a6c8-f79f-4d37-b23b-4e962da14925" (1 users now
> present)
> guacd[469]: ERROR: Creation of recording failed: No such file or
> directory
> guacd[469]: WARNING: No known host keys provided, host identity will
> not be verified.
> guacd[469]: WARNING: Unable to set the timezone: SSH server refused to
> set "TZ" variable.
> guacd[469]: INFO: SSH connection successful.
> guacd[469]: INFO: User "@195d3571-a3e0-4c6d-8d6a-0f3eeafc7378"
> disconnected (0 users remain)
> guacd[469]: INFO: Last user of connection
> "$29e6a6c8-f79f-4d37-b23b-4e962da14925" disconnected
> guacd[469]: INFO: SSH connection ended.
> guacd[1]: INFO: Connection "$29e6a6c8-f79f-4d37-b23b-4e962da14925" removed.
>
>
>
> *Option3:*Recording path: /guacamole-data/guacd-recordings
> Recording name: ${HISTORY_UUID}
> Automatically create recording path: Check mark is selected
> Output: Recording is getting created but unable to view in history tab of
> guacamole GUI
>
>
> *Logs:*guacd[1]: INFO: Creating new client for protocol "ssh"
> guacd[1]: INFO: Connection ID is "$1bf480d1-ccfd-4f2f-8de7-f855770fa055"
> guacd[579]: INFO: User "@670d3f62-9c7c-46fa-b622-6cb4f6120783"
> joined connection "$1bf480d1-ccfd-4f2f-8de7-f855770fa055" (1 users now
> present)
> guacd[579]: INFO: Recording of session will be saved to
> "/guacamole-data/guacd-recordings/9096eee6-dd79-3f8f-9f06-b91a1ff8d86c".
> guacd[579]: WARNING: No known host keys provided, host identity will
> not be verified.
> guacd[579]: WARNING: Unable to set the timezone: SSH server refused to
> set "TZ" variable.
> guacd[579]: INFO: SSH connection successful.
> guacd[579]: INFO: User "@670d3f62-9c7c-46fa-b622-6cb4f6120783"
> disconnected (0 users remain)
> guacd[579]: INFO: Last user of connection
> "$1bf480d1-ccfd-4f2f-8de7-f855770fa055" disconnected
> guacd[579]: INFO: SSH connection ended.
> guacd[1]: INFO: Connection "$1bf480d1-ccfd-4f2f-8de7-f855770fa055" removed.
>
>
> -
> Thanks
> Rakesh
>
> On Mon, Jul 8, 2024 at 6:12 PM Nick Couchman <vn...@apache.org> wrote:
>
>> >
>> > *3. Have you configured your connections to record into the correct
>> > location with the ${HISTORY_PATH} and ${HISTORY_UUID} tokens?*
>> > Yes, used below path -
>> >
>> > *Recording path: */guacamole-data/guacd-recordings/${HISTORY_UUID}
>> > *Recording name: *${HISTORY_UUID}
>> > *Automatically create recording path: *checked(also tried uncheck mark
>> on
>> > this option)
>> >
>> >>
>> At a quick glance, I think this may be your issue. You've specified the
>> ${HISTORY_UUID} token twice - once in the recording path, and once in the
>> recording name. According to the documentation, you need to pick one of
>> two
>> ways to specify this:
>>
>> * The recommended way is to specify the Recording Path as
>> "${HISTORY_PATH}/${HISTORY_UUID}", and then set the Recording name to
>> something more meaningful and human-readable (${GUAC_DATE}${GUAC_TIME} for
>> example).
>>
>> https://guacamole.apache.org/doc/gug/recording-playback.html#option-1-using-a-subdirectory-named-with-the-history-uuid-recommended
>>
>> * The alternative is to specify the Recording path as "${HISTORY_PATH}"
>> and
>> the Recording name as "${HISTORY_UUID}", which will keep all the
>> recordings
>> in the same folder with the UUID as the name. If you don't need to be able
>> to identify the recording files yourself and are content with them having
>> UUID-based named, then this is acceptable.
>>
>> I'll take a closer look at the great detail that you've provided and see
>> if
>> anything else jumps out, but I'd say try adjusting the above and see if
>> that helps at all.
>>
>> -Nick
>>
>
Re: Guacamole recording doesn't show in gui history tab
Posted by Rakesh Chauhan <ra...@stradsolutions.com>.
*Hi Nick, *
Thanks for your reply. I tried with suggested changes but still it is not
working. Below are the details -
*Option1: *Recording path: ${HISTORY_PATH}/${HISTORY_UUID}
Recording name: ${GUAC_DATE}${GUAC_TIME}
Automatically create recording path: Check mark is selected
Output: Recording is not getting created
*Logs:*guacd[1]: INFO: Creating new client for protocol "ssh"
guacd[1]: INFO: Connection ID is "$32259c87-dadd-453e-99ec-8497e6d5f189"
guacd[432]: INFO: User "@c48c11a7-d0cb-498f-b531-a67effd8ec61" joined
connection "$32259c87-dadd-453e-99ec-8497e6d5f189" (1 users now present)
guacd[432]: ERROR: Creation of recording failed: No such file or
directory
guacd[432]: WARNING: No known host keys provided, host identity will not
be verified.
guacd[432]: WARNING: Unable to set the timezone: SSH server refused to
set "TZ" variable.
guacd[432]: INFO: SSH connection successful.
guacd[432]: INFO: User "@c48c11a7-d0cb-498f-b531-a67effd8ec61"
disconnected (0 users remain)
guacd[432]: INFO: Last user of connection
"$32259c87-dadd-453e-99ec-8497e6d5f189" disconnected
guacd[432]: INFO: SSH connection ended.
guacd[1]: INFO: Connection "$32259c87-dadd-453e-99ec-8497e6d5f189" removed.
*Option2:*Recording path: ${HISTORY_PATH}
Recording name: ${HISTORY_UUID}
Automatically create recording path: check mark is not selected
Output: Recording is not getting created
*Logs:*guacd[1]: INFO: Creating new client for protocol "ssh"
guacd[1]: INFO: Connection ID is "$29e6a6c8-f79f-4d37-b23b-4e962da14925"
guacd[469]: INFO: User "@195d3571-a3e0-4c6d-8d6a-0f3eeafc7378" joined
connection "$29e6a6c8-f79f-4d37-b23b-4e962da14925" (1 users now present)
guacd[469]: ERROR: Creation of recording failed: No such file or
directory
guacd[469]: WARNING: No known host keys provided, host identity will not
be verified.
guacd[469]: WARNING: Unable to set the timezone: SSH server refused to
set "TZ" variable.
guacd[469]: INFO: SSH connection successful.
guacd[469]: INFO: User "@195d3571-a3e0-4c6d-8d6a-0f3eeafc7378"
disconnected (0 users remain)
guacd[469]: INFO: Last user of connection
"$29e6a6c8-f79f-4d37-b23b-4e962da14925" disconnected
guacd[469]: INFO: SSH connection ended.
guacd[1]: INFO: Connection "$29e6a6c8-f79f-4d37-b23b-4e962da14925" removed.
*Option3:*Recording path: /guacamole-data/guacd-recordings
Recording name: ${HISTORY_UUID}
Automatically create recording path: Check mark is selected
Output: Recording is getting created but unable to view in history tab of
guacamole GUI
*Logs:*guacd[1]: INFO: Creating new client for protocol "ssh"
guacd[1]: INFO: Connection ID is "$1bf480d1-ccfd-4f2f-8de7-f855770fa055"
guacd[579]: INFO: User "@670d3f62-9c7c-46fa-b622-6cb4f6120783" joined
connection "$1bf480d1-ccfd-4f2f-8de7-f855770fa055" (1 users now present)
guacd[579]: INFO: Recording of session will be saved to
"/guacamole-data/guacd-recordings/9096eee6-dd79-3f8f-9f06-b91a1ff8d86c".
guacd[579]: WARNING: No known host keys provided, host identity will not
be verified.
guacd[579]: WARNING: Unable to set the timezone: SSH server refused to
set "TZ" variable.
guacd[579]: INFO: SSH connection successful.
guacd[579]: INFO: User "@670d3f62-9c7c-46fa-b622-6cb4f6120783"
disconnected (0 users remain)
guacd[579]: INFO: Last user of connection
"$1bf480d1-ccfd-4f2f-8de7-f855770fa055" disconnected
guacd[579]: INFO: SSH connection ended.
guacd[1]: INFO: Connection "$1bf480d1-ccfd-4f2f-8de7-f855770fa055" removed.
-
Thanks
Rakesh
On Mon, Jul 8, 2024 at 6:12 PM Nick Couchman <vn...@apache.org> wrote:
> >
> > *3. Have you configured your connections to record into the correct
> > location with the ${HISTORY_PATH} and ${HISTORY_UUID} tokens?*
> > Yes, used below path -
> >
> > *Recording path: */guacamole-data/guacd-recordings/${HISTORY_UUID}
> > *Recording name: *${HISTORY_UUID}
> > *Automatically create recording path: *checked(also tried uncheck mark on
> > this option)
> >
> >>
> At a quick glance, I think this may be your issue. You've specified the
> ${HISTORY_UUID} token twice - once in the recording path, and once in the
> recording name. According to the documentation, you need to pick one of two
> ways to specify this:
>
> * The recommended way is to specify the Recording Path as
> "${HISTORY_PATH}/${HISTORY_UUID}", and then set the Recording name to
> something more meaningful and human-readable (${GUAC_DATE}${GUAC_TIME} for
> example).
>
> https://guacamole.apache.org/doc/gug/recording-playback.html#option-1-using-a-subdirectory-named-with-the-history-uuid-recommended
>
> * The alternative is to specify the Recording path as "${HISTORY_PATH}" and
> the Recording name as "${HISTORY_UUID}", which will keep all the recordings
> in the same folder with the UUID as the name. If you don't need to be able
> to identify the recording files yourself and are content with them having
> UUID-based named, then this is acceptable.
>
> I'll take a closer look at the great detail that you've provided and see if
> anything else jumps out, but I'd say try adjusting the above and see if
> that helps at all.
>
> -Nick
>
Re: Guacamole recording doesn't show in gui history tab
Posted by Nick Couchman <vn...@apache.org>.
>
> *3. Have you configured your connections to record into the correct
> location with the ${HISTORY_PATH} and ${HISTORY_UUID} tokens?*
> Yes, used below path -
>
> *Recording path: */guacamole-data/guacd-recordings/${HISTORY_UUID}
> *Recording name: *${HISTORY_UUID}
> *Automatically create recording path: *checked(also tried uncheck mark on
> this option)
>
>>
At a quick glance, I think this may be your issue. You've specified the
${HISTORY_UUID} token twice - once in the recording path, and once in the
recording name. According to the documentation, you need to pick one of two
ways to specify this:
* The recommended way is to specify the Recording Path as
"${HISTORY_PATH}/${HISTORY_UUID}", and then set the Recording name to
something more meaningful and human-readable (${GUAC_DATE}${GUAC_TIME} for
example).
https://guacamole.apache.org/doc/gug/recording-playback.html#option-1-using-a-subdirectory-named-with-the-history-uuid-recommended
* The alternative is to specify the Recording path as "${HISTORY_PATH}" and
the Recording name as "${HISTORY_UUID}", which will keep all the recordings
in the same folder with the UUID as the name. If you don't need to be able
to identify the recording files yourself and are content with them having
UUID-based named, then this is acceptable.
I'll take a closer look at the great detail that you've provided and see if
anything else jumps out, but I'd say try adjusting the above and see if
that helps at all.
-Nick
Re: Guacamole recording doesn't show in gui history tab
Posted by Rakesh Chauhan <ra...@stradsolutions.com>.
*Hi Nick,*
I followed the provided steps and fixed the highlighted issues.
Now I can see the recording in the guacamole history tab of GUI.
Thanks for your help.
-
Rakesh
On Wed, Jul 17, 2024 at 3:04 AM Nick Couchman <vn...@apache.org> wrote:
> Rakesh,
> I took another look at the initial information you provided, and have
> several other comments - please see below.
>
> Also, please read through the Guacamole manual - you have several issues
> with the configuration files, here, most of which will have no impact, but
> some of which will cause issues, and the manual covers a lot of the
> configuration you're doing, here.
>
>
> >
> > * guacd and guacamole docker file details - *
> >
> >
> -------------------------------------------------------------------------------------------------------------------------
> > guacd:
> > container_name: guacd
> > image: guacamole/guacd
> > restart: unless-stopped
> > volumes:
> > - /guacamole-data:/guacamole-data:rw
> > -
> > /guacamole-data/guacd-recordings:/guacamole-data/guacd-recordings:rw
> >
> > guacamole:
> > container_name: guacamole
> > image: 'guacamole/guacamole:latest'
> > restart: unless-stopped
> > environment:
> > GUACD_HOSTNAME: '***'
> > MYSQL_HOSTNAME: '***'
> > MYSQL_DATABASE: '***'
> > MYSQL_USER: '***'
> > MYSQL_PASSWORD: '***'
> > TOTP_ENABLED: "true"
> > ACCEPT_EULA: "Y"
> > EXTENSIONS: "auth-totp,history-recording-storage"
> > GUACD_LOG_LEVEL: 'info'
> > GUACD_LOG_SQL: 'true'
> > GUACD_LOG_DB: 'true'
> > GUACD_RECORDINGS_ENABLED: 'true'
> > GUACD_RECORDINGS_PATH: '/guacamole-data/guacd-recordings'
> > depends_on:
> > - guacdb
> > - guacd
> > ports:
> > - "80:8080"
> > - "443:8080"
> > volumes:
> > - /guacamole-data:/guacamole-data:rw
> > -
> > /guacamole-data/guacd-recordings:/guacamole-data/guacd-recordings:rw
> > -
> >
> /guacamole-data/guacamole.properties:/etc/guacamole/guacamole.properties:rw
> > - /guacamole-data/server.xml:/usr/local/tomcat/conf/server.xml
> >
> > volumes:
> > guacdb-data:
> > guacamole-data:
> >
> >
> --------------------------------------------------------------------------------------------------------------------------
> >
> >
> Several issues, here:
> * EXTENSIONS has no meaning to the "guacamole" container.
> * GUACD_RECORDINGS_ENABLED and GUACD_RECORDINGS_PATH have no meaning to the
> guacamole container. The extension will be loaded when you pass
> RECORDING_SEARCH_PATH with the path of your recordings (within the
> container).
> * Mapping port 443 to port 8080 is almost certainly not a good idea - this
> results in a HTTP page being presented on an HTTPS port, but with no HTTPS
> configuration.
> * Mapping guacamole.properties and server.xml as volumes will almost
> certainly break things - and you shouldn't really need to do it.
>
>
>
> >
> > *Contents of guacamole.properties is below -*
> >
> >
> -------------------------------------------------------------------------------------------------------------------------
> > root@guacamole:~# cat /guacamole-data/guacamole.properties
> > # Hostname and port of guacd proxy
> > guacd-hostname: guacd
> > guacd-port: 4822
> >
> > # MySQL properties
> > mysql-hostname: '***'
> > mysql-port: 3306
> > mysql-database: '***'
> > mysql-username: '***'
> > mysql-password: '***'
> >
> > # Enable support for TOTP
> > totp-enabled: true
> >
> > # Enable session recording
> > recording-path: /guacamole-data/guacd-recordings
> > recording-search-path: /guacamole-data/guacd-recordings
> > recording-enabled: true
> > recording-read-only: false
> > recording-download-path: /guacamole-data/guacd-recordings
> > recording-exclude-output: false
> > recording-exclude-mouse: false
> > recording-exclude-touch: false
> > recording-include-mouse: true
> > recording-include-touch: true
> > recording-auto-create-path: true
> >
> > # Real IP header configuration for logging the actual client IP address
> > remote-ip-header: X-Forwarded-For
> > remote-ip: true
> > root@guacamole:~#
> >
> >
> ------------------------------------------------------------------------------------------------------------------
> >
> >
> A few issues, here:
> * The Guacamole container builds out its configuration automatically.
> There's no reason you need to provide this file manually.
> * The only "recording" option that is valid in guacamole.properties is
> "recording-search-path" - and this will be added automatically if you set
> RECORDING_SEARCH_PATH.
> * The "remote-ip" lines you have in guacamole.properties are meaningless -
> they will not do anything for actually setting the remote IP valve or
> headers. If you need the remote IP valve, you should use
> "REMOTE_IP_VALVE_ENABLED=true" in your guacamole container configuration.
>
>
> >
> >
> >
> > *Below are the the recording path and their permissions:*
> >
> >
> -------------------------------------------------------------------------------------------------------------------
> > root@guacamole:~# cd /guacamole-data/
> > root@guacamole:/guacamole-data#
> > root@guacamole:/guacamole-data# ls -la
> > total 24
> > drwxrwxrwx 3 root root 4096 Jul 8 15:00 .
> > drwxr-xr-x 24 root root 4096 May 17 20:38 ..
> > -rwxrwxrwx 1 root root 820 Jun 7 21:52 guacamole.properties
> > drwxrwxrwx 6 1000 1000 4096 Jul 8 15:10 guacd-recordings
> > -rwxrwxrwx 1 root root 8126 May 31 20:48 server.xml
> >
> >
> > root@guacamole:/guacamole-data# cd guacd-recordings/
> > root@guacamole:/guacamole-data/guacd-recordings# ls -la
> > total 7840
> > drwxrwxrwx 6 1000 1000 4096 Jul 8 15:10 .
> > drwxrwxrwx 3 root root 4096 Jul 8 15:00 ..
> > -rwxrwxrwx 1 1000 1000 63514 May 22 21:44
> > 04c43a17-eb04-38bb-a48c-8f91cdb183a4
> > drwxrwxrwx 2 1000 1000 4096 Jul 8 14:48
> > 0a683b88-1992-3185-9a62-22a8e1024a85
> > -rwxrwxrwx 1 1000 1000 79712 May 20 19:11
> > 0c6cab5d-887b-3329-b174-fef96daac96e
> > -rwxrwxrwx 1 1000 1000 73247 May 22 21:23
> > 130fa5df-0ada-3460-b747-a1fe9256952f
> > -rwxrwxrwx 1 1000 1000 74359 May 20 21:25
> > 185bc86d-1b81-392b-8282-be9ddf1afbbc
> > -rwxrwxrwx 1 1000 1000 75612 May 22 21:32
> > 186fe24a-efda-3be2-969b-f122213bb856
> > -rwxrwxrwx 1 1000 1000 74081 Jun 3 21:18
> > 18b11912-9982-3d59-a913-1c5bcb5588c5
> > -rwxrwxrwx 1 1000 1000 564203 Jun 3 15:37
> > 1eaccb9b-e330-3648-90f5-6654f001bb7e
> > -rwxrwxrwx 1 1000 1000 85101 May 31 13:55
> > 2118ce44-0311-3c71-830a-2837fb08ab9d
> > -rwxrwxrwx 1 1000 1000 72431 May 22 21:54
> > 22460887-3c4f-3f3a-a0d4-a28ca35c58c8
> > drwxrwxrwx 2 1000 1000 4096 Jul 8 14:49
> > 225fc3a5-4e34-32f0-a0bd-fb0ec93c533e
> > -rwxrwxrwx 1 1000 1000 76262 Jun 3 20:46
> > 244b48f5-d986-3473-b528-a7500dd51987
> > -rwxrwxrwx 1 1000 1000 383272 May 20 21:20
> > 2a845cf4-de12-3f8e-8639-70bc71ad0184
> > -rwxrwxrwx 1 1000 1000 269356 May 20 20:21
> > 2cf5c723-499d-35a9-83a0-4fd8b5dc5697
> > -rwxrwxrwx 1 1000 1000 37885 Jun 5 14:00
> > 2e7b96e1-f79b-359e-9f9f-9b2bcf9267b7
> > -rwxrwxrwx 1 1000 1000 83565 May 22 22:33
> > 31fcf7b5-ea3a-302b-9220-b58091f02cf5
> > -rwxrwxrwx 1 1000 1000 63001 May 21 16:45
> > 37ab9592-e4af-3230-ac22-d912b06f8d93
> > -rwxrwxrwx 1 1000 1000 55179 Jun 7 21:36
> > 39396ee4-35b7-384f-b1ac-7596d8522c8c
> > -rwxrwxrwx 1 1000 1000 89579 May 21 15:21
> > 40ffc435-4386-3261-9579-557e9aad8512
> > -rwxrwxrwx 1 1000 1000 63645 May 22 15:51
> > 436364c9-5253-3cf2-ae0c-d3f86537f72e
> > -rwxrwxrwx 1 1000 1000 35187 Jun 3 15:37
> > 4521dd51-7fed-3453-9c9f-f63b5c1e9ebd
> > -rwxrwxrwx 1 1000 1000 31094 Jun 5 14:00
> > 4c95bebd-c2ed-3852-b815-0206180ef30f
> > -rwxrwxrwx 1 1000 1000 83504 May 22 22:21
> > 53c3395a-1c99-354f-ab4c-91f2b6802772
> > -rwxrwxrwx 1 1000 1000 63659 May 22 21:43
> > 53e2bb04-4b7e-3662-9f0a-6ff2b7c1f030
> > -rwxrwxrwx 1 1000 1000 35184 Jun 7 21:56
> > 5aa1eeea-94bc-36ed-83c8-857991f1d4f5
> > -rwxrwxrwx 1 1000 1000 76432 May 22 20:59
> > 5eeffdd9-afb4-320f-91ef-0c082d5a7c8b
> > drwxrwxrwx 2 1000 1000 4096 Jul 8 15:08
> > 600197f0-19ca-34c4-a591-4f118e6623f0
> > -rwxrwxrwx 1 1000 1000 75437 Jun 3 20:51
> > 60aab4bb-3f04-3e5c-8186-1216afc27ea3
> > drwxrwxrwx 2 1000 1000 4096 Jul 8 15:10
> > 64a99485-2466-380c-a456-e67caf264ba6
> > -rwxrwxrwx 1 1000 1000 61588 May 22 21:30
> > 659cbd66-75dd-385c-af69-15356283bc64
> > -rwxrwxrwx 1 1000 1000 93809 Jun 3 15:01
> > 6a80d0f5-c6eb-3103-b303-c07056fe7553
> > -rwxrwxrwx 1 1000 1000 64767 May 21 18:06
> > 7573e188-4d7c-3d83-bdbe-041614f0f1b9
> > -rwxrwxrwx 1 1000 1000 258591 May 20 20:47
> > 75b6dda2-00c9-330a-869c-f8eaac87d77a
> > -rwxrwxrwx 1 1000 1000 81782 May 31 13:40
> > 78416a47-bd7f-3d9a-89b3-e460ab668404
> > -rwxrwxrwx 1 1000 1000 76214 May 20 21:30
> > 7ca0e391-4af9-310e-ae41-f3c7c4f4e36e
> > -rwxrwxrwx 1 1000 1000 81417 May 31 20:54
> > 7dd7a953-c3f4-390c-b400-4231372e8eba
> > -rwxrwxrwx 1 1000 1000 404908 Jun 5 14:00
> > 7e55c8fd-f427-3312-a09f-d107ded2a198
> > -rwxrwxrwx 1 1000 1000 35291 Jun 7 21:58
> > 8ad8e28e-940c-3346-bfd5-d59ffc162e58
> > -rwxrwxrwx 1 1000 1000 426745 Jun 3 21:18
> > 8ea3f0d9-7257-31d0-8122-0b333375d7a8
> > -rwxrwxrwx 1 1000 1000 45161 Jun 7 21:36
> > 8fa8f2b6-9794-39cf-beae-2f62d18561f6
> > -rwxrwxrwx 1 1000 1000 83649 Jul 8 14:34
> > 90214078-4d4c-3131-98b3-656ffbc2f563
> > -rwxrwxrwx 1 1000 1000 63260 May 21 16:42
> > 938794f2-cd5f-368b-8148-bc11a9cea29c
> > -rwxrwxrwx 1 1000 1000 39564 Jun 3 14:59
> > 965c2552-a09e-30a9-88d3-8b2687dc8d70
> > -rwxrwxrwx 1 1000 1000 74418 May 21 18:03
> > a4888a37-ca54-3077-af1b-2dc93b28e79c
> > -rwxrwxrwx 1 1000 1000 307405 Jun 3 14:59
> > a90cd718-d954-3b5f-8d46-c7355f0290bc
> > -rwxrwxrwx 1 1000 1000 67321 May 20 18:55
> > a99e3dbc-14e6-3664-8261-2809df888090
> > -rwxrwxrwx 1 1000 1000 74278 May 31 20:09
> > ace4b7b8-cc98-3fde-a473-ab0d7dbb0f05
> > -rwxrwxrwx 1 1000 1000 74287 May 21 14:04
> > afba8a25-9b61-30e5-a60e-7be2dee84997
> > -rwxrwxrwx 1 1000 1000 88579 May 22 15:51
> > b6f97ac6-c03e-3fe1-9a1b-7a754d32418e
> > -rwxrwxrwx 1 1000 1000 502159 Jun 3 16:02
> > bbae6fd3-b4f1-303a-a181-2a1976a97209
> > -rwxrwxrwx 1 1000 1000 73630 May 21 16:32
> > c7e096e6-b8ed-3171-ac69-54061a222e00
> > -rwxrwxrwx 1 1000 1000 383418 Jun 5 16:24
> > cd603d5d-e0a4-30c3-a45b-15e770b564c3
> > -rwxrwxrwx 1 1000 1000 63162 May 22 22:24
> > cf7fd0fc-8e92-38a5-8fd9-64dc6085f7ec
> > -rwxrwxrwx 1 1000 1000 81760 May 20 19:11
> > da7cb142-d5f5-3683-ad22-98b1a1f132b4
> > -rwxrwxrwx 1 1000 1000 63467 May 22 21:42
> > db946cbd-5b0a-3ac2-8616-e92bfd3daaa6
> > -rwxrwxrwx 1 1000 1000 34479 Jun 5 16:24
> > e2d4036a-8a8e-39dd-bf43-d5104a44afac
> > -rwxrwxrwx 1 1000 1000 62594 May 22 21:34
> > e3a8d919-8c0b-389e-bff7-52525268b465
> > -rwxrwxrwx 1 1000 1000 75387 May 21 16:37
> > edb9f282-35e6-3a10-bf3f-f1bdabb43aa5
> > -rwxrwxrwx 1 1000 1000 84376 May 20 19:30
> > f2081b80-0746-372e-871e-aba7663cb687
> > -rwxrwxrwx 1 1000 1000 403534 Jun 3 20:46
> > f812f461-10e7-313d-8691-950ebd294090
> > -rwxrwxrwx 1 1000 1000 33958 Jun 3 20:51
> > f845d64e-834b-3457-9671-41983ad0eed0
> > -rwxrwxrwx 1 1000 1000 74934 May 22 21:50
> > f865900f-bbef-335b-94a5-7dc6b219910e
> > -rwxrwxrwx 1 1000 1000 73723 May 20 21:20
> > f91a88a4-65d4-3844-9a68-55ce0733f044
> > -rwxrwxrwx 1 1000 1000 499364 May 20 20:05
> > f921ed8e-def9-3a43-b2bd-35571571df92
> > -rwxrwxrwx 1 1000 1000 64320 May 21 16:43
> > fdf244e0-cdd9-3fa7-ab2d-03773b22ba5c
> > -rwxrwxrwx 1 1000 1000 36692 Jul 5 17:12 IP-guacadmin-20240705-114252
> > -rwxrwxrwx 1 1000 1000 42034 Jun 7 22:00 recording
> > -rwxrwxrwx 1 1000 1000 33630 Jun 7 22:01 recording.1
> > root@guacamole:/guacamole-data/guacd-recordings#
> >
> >
> --------------------------------------------------------------------------------------------------------------------------------
> >
> >
> This should be fine, although if your host system uses SELinux you may need
> to make sure to account for SELinux context.
>
>
> > *3. Have you configured your connections to record into the correct
> > location with the ${HISTORY_PATH} and ${HISTORY_UUID} tokens?*
> > Yes, used below path -
> >
> > *Recording path: */guacamole-data/guacd-recordings/${HISTORY_UUID}
> > *Recording name: *${HISTORY_UUID}
> > *Automatically create recording path: *checked(also tried uncheck mark on
> > this option)
> >
> >
> As mentioned before, the Recording path should be
> "${HISTORY_PATH}/${HISTORY_UUID}", and then recording name should be
> something human-readable.
>
> Please correct those issues - in particular, do not try to pass your own
> guacamole.properties or server.xml file in, and make sure you're using the
> appropriate variables with the containers.
>
> -Nick
>
Re: Guacamole recording doesn't show in gui history tab
Posted by Nick Couchman <vn...@apache.org>.
Rakesh,
I took another look at the initial information you provided, and have
several other comments - please see below.
Also, please read through the Guacamole manual - you have several issues
with the configuration files, here, most of which will have no impact, but
some of which will cause issues, and the manual covers a lot of the
configuration you're doing, here.
>
> * guacd and guacamole docker file details - *
>
> -------------------------------------------------------------------------------------------------------------------------
> guacd:
> container_name: guacd
> image: guacamole/guacd
> restart: unless-stopped
> volumes:
> - /guacamole-data:/guacamole-data:rw
> -
> /guacamole-data/guacd-recordings:/guacamole-data/guacd-recordings:rw
>
> guacamole:
> container_name: guacamole
> image: 'guacamole/guacamole:latest'
> restart: unless-stopped
> environment:
> GUACD_HOSTNAME: '***'
> MYSQL_HOSTNAME: '***'
> MYSQL_DATABASE: '***'
> MYSQL_USER: '***'
> MYSQL_PASSWORD: '***'
> TOTP_ENABLED: "true"
> ACCEPT_EULA: "Y"
> EXTENSIONS: "auth-totp,history-recording-storage"
> GUACD_LOG_LEVEL: 'info'
> GUACD_LOG_SQL: 'true'
> GUACD_LOG_DB: 'true'
> GUACD_RECORDINGS_ENABLED: 'true'
> GUACD_RECORDINGS_PATH: '/guacamole-data/guacd-recordings'
> depends_on:
> - guacdb
> - guacd
> ports:
> - "80:8080"
> - "443:8080"
> volumes:
> - /guacamole-data:/guacamole-data:rw
> -
> /guacamole-data/guacd-recordings:/guacamole-data/guacd-recordings:rw
> -
> /guacamole-data/guacamole.properties:/etc/guacamole/guacamole.properties:rw
> - /guacamole-data/server.xml:/usr/local/tomcat/conf/server.xml
>
> volumes:
> guacdb-data:
> guacamole-data:
>
> --------------------------------------------------------------------------------------------------------------------------
>
>
Several issues, here:
* EXTENSIONS has no meaning to the "guacamole" container.
* GUACD_RECORDINGS_ENABLED and GUACD_RECORDINGS_PATH have no meaning to the
guacamole container. The extension will be loaded when you pass
RECORDING_SEARCH_PATH with the path of your recordings (within the
container).
* Mapping port 443 to port 8080 is almost certainly not a good idea - this
results in a HTTP page being presented on an HTTPS port, but with no HTTPS
configuration.
* Mapping guacamole.properties and server.xml as volumes will almost
certainly break things - and you shouldn't really need to do it.
>
> *Contents of guacamole.properties is below -*
>
> -------------------------------------------------------------------------------------------------------------------------
> root@guacamole:~# cat /guacamole-data/guacamole.properties
> # Hostname and port of guacd proxy
> guacd-hostname: guacd
> guacd-port: 4822
>
> # MySQL properties
> mysql-hostname: '***'
> mysql-port: 3306
> mysql-database: '***'
> mysql-username: '***'
> mysql-password: '***'
>
> # Enable support for TOTP
> totp-enabled: true
>
> # Enable session recording
> recording-path: /guacamole-data/guacd-recordings
> recording-search-path: /guacamole-data/guacd-recordings
> recording-enabled: true
> recording-read-only: false
> recording-download-path: /guacamole-data/guacd-recordings
> recording-exclude-output: false
> recording-exclude-mouse: false
> recording-exclude-touch: false
> recording-include-mouse: true
> recording-include-touch: true
> recording-auto-create-path: true
>
> # Real IP header configuration for logging the actual client IP address
> remote-ip-header: X-Forwarded-For
> remote-ip: true
> root@guacamole:~#
>
> ------------------------------------------------------------------------------------------------------------------
>
>
A few issues, here:
* The Guacamole container builds out its configuration automatically.
There's no reason you need to provide this file manually.
* The only "recording" option that is valid in guacamole.properties is
"recording-search-path" - and this will be added automatically if you set
RECORDING_SEARCH_PATH.
* The "remote-ip" lines you have in guacamole.properties are meaningless -
they will not do anything for actually setting the remote IP valve or
headers. If you need the remote IP valve, you should use
"REMOTE_IP_VALVE_ENABLED=true" in your guacamole container configuration.
>
>
>
> *Below are the the recording path and their permissions:*
>
> -------------------------------------------------------------------------------------------------------------------
> root@guacamole:~# cd /guacamole-data/
> root@guacamole:/guacamole-data#
> root@guacamole:/guacamole-data# ls -la
> total 24
> drwxrwxrwx 3 root root 4096 Jul 8 15:00 .
> drwxr-xr-x 24 root root 4096 May 17 20:38 ..
> -rwxrwxrwx 1 root root 820 Jun 7 21:52 guacamole.properties
> drwxrwxrwx 6 1000 1000 4096 Jul 8 15:10 guacd-recordings
> -rwxrwxrwx 1 root root 8126 May 31 20:48 server.xml
>
>
> root@guacamole:/guacamole-data# cd guacd-recordings/
> root@guacamole:/guacamole-data/guacd-recordings# ls -la
> total 7840
> drwxrwxrwx 6 1000 1000 4096 Jul 8 15:10 .
> drwxrwxrwx 3 root root 4096 Jul 8 15:00 ..
> -rwxrwxrwx 1 1000 1000 63514 May 22 21:44
> 04c43a17-eb04-38bb-a48c-8f91cdb183a4
> drwxrwxrwx 2 1000 1000 4096 Jul 8 14:48
> 0a683b88-1992-3185-9a62-22a8e1024a85
> -rwxrwxrwx 1 1000 1000 79712 May 20 19:11
> 0c6cab5d-887b-3329-b174-fef96daac96e
> -rwxrwxrwx 1 1000 1000 73247 May 22 21:23
> 130fa5df-0ada-3460-b747-a1fe9256952f
> -rwxrwxrwx 1 1000 1000 74359 May 20 21:25
> 185bc86d-1b81-392b-8282-be9ddf1afbbc
> -rwxrwxrwx 1 1000 1000 75612 May 22 21:32
> 186fe24a-efda-3be2-969b-f122213bb856
> -rwxrwxrwx 1 1000 1000 74081 Jun 3 21:18
> 18b11912-9982-3d59-a913-1c5bcb5588c5
> -rwxrwxrwx 1 1000 1000 564203 Jun 3 15:37
> 1eaccb9b-e330-3648-90f5-6654f001bb7e
> -rwxrwxrwx 1 1000 1000 85101 May 31 13:55
> 2118ce44-0311-3c71-830a-2837fb08ab9d
> -rwxrwxrwx 1 1000 1000 72431 May 22 21:54
> 22460887-3c4f-3f3a-a0d4-a28ca35c58c8
> drwxrwxrwx 2 1000 1000 4096 Jul 8 14:49
> 225fc3a5-4e34-32f0-a0bd-fb0ec93c533e
> -rwxrwxrwx 1 1000 1000 76262 Jun 3 20:46
> 244b48f5-d986-3473-b528-a7500dd51987
> -rwxrwxrwx 1 1000 1000 383272 May 20 21:20
> 2a845cf4-de12-3f8e-8639-70bc71ad0184
> -rwxrwxrwx 1 1000 1000 269356 May 20 20:21
> 2cf5c723-499d-35a9-83a0-4fd8b5dc5697
> -rwxrwxrwx 1 1000 1000 37885 Jun 5 14:00
> 2e7b96e1-f79b-359e-9f9f-9b2bcf9267b7
> -rwxrwxrwx 1 1000 1000 83565 May 22 22:33
> 31fcf7b5-ea3a-302b-9220-b58091f02cf5
> -rwxrwxrwx 1 1000 1000 63001 May 21 16:45
> 37ab9592-e4af-3230-ac22-d912b06f8d93
> -rwxrwxrwx 1 1000 1000 55179 Jun 7 21:36
> 39396ee4-35b7-384f-b1ac-7596d8522c8c
> -rwxrwxrwx 1 1000 1000 89579 May 21 15:21
> 40ffc435-4386-3261-9579-557e9aad8512
> -rwxrwxrwx 1 1000 1000 63645 May 22 15:51
> 436364c9-5253-3cf2-ae0c-d3f86537f72e
> -rwxrwxrwx 1 1000 1000 35187 Jun 3 15:37
> 4521dd51-7fed-3453-9c9f-f63b5c1e9ebd
> -rwxrwxrwx 1 1000 1000 31094 Jun 5 14:00
> 4c95bebd-c2ed-3852-b815-0206180ef30f
> -rwxrwxrwx 1 1000 1000 83504 May 22 22:21
> 53c3395a-1c99-354f-ab4c-91f2b6802772
> -rwxrwxrwx 1 1000 1000 63659 May 22 21:43
> 53e2bb04-4b7e-3662-9f0a-6ff2b7c1f030
> -rwxrwxrwx 1 1000 1000 35184 Jun 7 21:56
> 5aa1eeea-94bc-36ed-83c8-857991f1d4f5
> -rwxrwxrwx 1 1000 1000 76432 May 22 20:59
> 5eeffdd9-afb4-320f-91ef-0c082d5a7c8b
> drwxrwxrwx 2 1000 1000 4096 Jul 8 15:08
> 600197f0-19ca-34c4-a591-4f118e6623f0
> -rwxrwxrwx 1 1000 1000 75437 Jun 3 20:51
> 60aab4bb-3f04-3e5c-8186-1216afc27ea3
> drwxrwxrwx 2 1000 1000 4096 Jul 8 15:10
> 64a99485-2466-380c-a456-e67caf264ba6
> -rwxrwxrwx 1 1000 1000 61588 May 22 21:30
> 659cbd66-75dd-385c-af69-15356283bc64
> -rwxrwxrwx 1 1000 1000 93809 Jun 3 15:01
> 6a80d0f5-c6eb-3103-b303-c07056fe7553
> -rwxrwxrwx 1 1000 1000 64767 May 21 18:06
> 7573e188-4d7c-3d83-bdbe-041614f0f1b9
> -rwxrwxrwx 1 1000 1000 258591 May 20 20:47
> 75b6dda2-00c9-330a-869c-f8eaac87d77a
> -rwxrwxrwx 1 1000 1000 81782 May 31 13:40
> 78416a47-bd7f-3d9a-89b3-e460ab668404
> -rwxrwxrwx 1 1000 1000 76214 May 20 21:30
> 7ca0e391-4af9-310e-ae41-f3c7c4f4e36e
> -rwxrwxrwx 1 1000 1000 81417 May 31 20:54
> 7dd7a953-c3f4-390c-b400-4231372e8eba
> -rwxrwxrwx 1 1000 1000 404908 Jun 5 14:00
> 7e55c8fd-f427-3312-a09f-d107ded2a198
> -rwxrwxrwx 1 1000 1000 35291 Jun 7 21:58
> 8ad8e28e-940c-3346-bfd5-d59ffc162e58
> -rwxrwxrwx 1 1000 1000 426745 Jun 3 21:18
> 8ea3f0d9-7257-31d0-8122-0b333375d7a8
> -rwxrwxrwx 1 1000 1000 45161 Jun 7 21:36
> 8fa8f2b6-9794-39cf-beae-2f62d18561f6
> -rwxrwxrwx 1 1000 1000 83649 Jul 8 14:34
> 90214078-4d4c-3131-98b3-656ffbc2f563
> -rwxrwxrwx 1 1000 1000 63260 May 21 16:42
> 938794f2-cd5f-368b-8148-bc11a9cea29c
> -rwxrwxrwx 1 1000 1000 39564 Jun 3 14:59
> 965c2552-a09e-30a9-88d3-8b2687dc8d70
> -rwxrwxrwx 1 1000 1000 74418 May 21 18:03
> a4888a37-ca54-3077-af1b-2dc93b28e79c
> -rwxrwxrwx 1 1000 1000 307405 Jun 3 14:59
> a90cd718-d954-3b5f-8d46-c7355f0290bc
> -rwxrwxrwx 1 1000 1000 67321 May 20 18:55
> a99e3dbc-14e6-3664-8261-2809df888090
> -rwxrwxrwx 1 1000 1000 74278 May 31 20:09
> ace4b7b8-cc98-3fde-a473-ab0d7dbb0f05
> -rwxrwxrwx 1 1000 1000 74287 May 21 14:04
> afba8a25-9b61-30e5-a60e-7be2dee84997
> -rwxrwxrwx 1 1000 1000 88579 May 22 15:51
> b6f97ac6-c03e-3fe1-9a1b-7a754d32418e
> -rwxrwxrwx 1 1000 1000 502159 Jun 3 16:02
> bbae6fd3-b4f1-303a-a181-2a1976a97209
> -rwxrwxrwx 1 1000 1000 73630 May 21 16:32
> c7e096e6-b8ed-3171-ac69-54061a222e00
> -rwxrwxrwx 1 1000 1000 383418 Jun 5 16:24
> cd603d5d-e0a4-30c3-a45b-15e770b564c3
> -rwxrwxrwx 1 1000 1000 63162 May 22 22:24
> cf7fd0fc-8e92-38a5-8fd9-64dc6085f7ec
> -rwxrwxrwx 1 1000 1000 81760 May 20 19:11
> da7cb142-d5f5-3683-ad22-98b1a1f132b4
> -rwxrwxrwx 1 1000 1000 63467 May 22 21:42
> db946cbd-5b0a-3ac2-8616-e92bfd3daaa6
> -rwxrwxrwx 1 1000 1000 34479 Jun 5 16:24
> e2d4036a-8a8e-39dd-bf43-d5104a44afac
> -rwxrwxrwx 1 1000 1000 62594 May 22 21:34
> e3a8d919-8c0b-389e-bff7-52525268b465
> -rwxrwxrwx 1 1000 1000 75387 May 21 16:37
> edb9f282-35e6-3a10-bf3f-f1bdabb43aa5
> -rwxrwxrwx 1 1000 1000 84376 May 20 19:30
> f2081b80-0746-372e-871e-aba7663cb687
> -rwxrwxrwx 1 1000 1000 403534 Jun 3 20:46
> f812f461-10e7-313d-8691-950ebd294090
> -rwxrwxrwx 1 1000 1000 33958 Jun 3 20:51
> f845d64e-834b-3457-9671-41983ad0eed0
> -rwxrwxrwx 1 1000 1000 74934 May 22 21:50
> f865900f-bbef-335b-94a5-7dc6b219910e
> -rwxrwxrwx 1 1000 1000 73723 May 20 21:20
> f91a88a4-65d4-3844-9a68-55ce0733f044
> -rwxrwxrwx 1 1000 1000 499364 May 20 20:05
> f921ed8e-def9-3a43-b2bd-35571571df92
> -rwxrwxrwx 1 1000 1000 64320 May 21 16:43
> fdf244e0-cdd9-3fa7-ab2d-03773b22ba5c
> -rwxrwxrwx 1 1000 1000 36692 Jul 5 17:12 IP-guacadmin-20240705-114252
> -rwxrwxrwx 1 1000 1000 42034 Jun 7 22:00 recording
> -rwxrwxrwx 1 1000 1000 33630 Jun 7 22:01 recording.1
> root@guacamole:/guacamole-data/guacd-recordings#
>
> --------------------------------------------------------------------------------------------------------------------------------
>
>
This should be fine, although if your host system uses SELinux you may need
to make sure to account for SELinux context.
> *3. Have you configured your connections to record into the correct
> location with the ${HISTORY_PATH} and ${HISTORY_UUID} tokens?*
> Yes, used below path -
>
> *Recording path: */guacamole-data/guacd-recordings/${HISTORY_UUID}
> *Recording name: *${HISTORY_UUID}
> *Automatically create recording path: *checked(also tried uncheck mark on
> this option)
>
>
As mentioned before, the Recording path should be
"${HISTORY_PATH}/${HISTORY_UUID}", and then recording name should be
something human-readable.
Please correct those issues - in particular, do not try to pass your own
guacamole.properties or server.xml file in, and make sure you're using the
appropriate variables with the containers.
-Nick
Re: Guacamole recording doesn't show in gui history tab
Posted by Rakesh Chauhan <ra...@stradsolutions.com>.
*Hello Nick, *
Thanks for the quick response.
Below are the details
*1. Have you loaded the history recording extension in the
"guacamole" container?*- Yes, recording extensions are loaded in the
guacamole container. Below is the details for same -
guacamole@7ef0b54859e8:/opt/guacamole/recordings$ pwd
/opt/guacamole/recordings
guacamole@7ef0b54859e8:/opt/guacamole/recordings$ ls
guacamole-history-recording-storage-1.5.5.jar
guacamole@7ef0b54859e8:/opt/guacamole/recordings$
*2. Do you have a shared storage space between the guacd and guacamole
containers? Are permissions correct so that guacd can write the recordings
and the guacamole container can read them?*
- Yes I have shared storage space between guacd and guacamole and also
given full permission for testing purposes but still it is not working.
Below are the details -
* guacd and guacamole docker file details - *
-------------------------------------------------------------------------------------------------------------------------
guacd:
container_name: guacd
image: guacamole/guacd
restart: unless-stopped
volumes:
- /guacamole-data:/guacamole-data:rw
- /guacamole-data/guacd-recordings:/guacamole-data/guacd-recordings:rw
guacamole:
container_name: guacamole
image: 'guacamole/guacamole:latest'
restart: unless-stopped
environment:
GUACD_HOSTNAME: '***'
MYSQL_HOSTNAME: '***'
MYSQL_DATABASE: '***'
MYSQL_USER: '***'
MYSQL_PASSWORD: '***'
TOTP_ENABLED: "true"
ACCEPT_EULA: "Y"
EXTENSIONS: "auth-totp,history-recording-storage"
GUACD_LOG_LEVEL: 'info'
GUACD_LOG_SQL: 'true'
GUACD_LOG_DB: 'true'
GUACD_RECORDINGS_ENABLED: 'true'
GUACD_RECORDINGS_PATH: '/guacamole-data/guacd-recordings'
depends_on:
- guacdb
- guacd
ports:
- "80:8080"
- "443:8080"
volumes:
- /guacamole-data:/guacamole-data:rw
- /guacamole-data/guacd-recordings:/guacamole-data/guacd-recordings:rw
-
/guacamole-data/guacamole.properties:/etc/guacamole/guacamole.properties:rw
- /guacamole-data/server.xml:/usr/local/tomcat/conf/server.xml
volumes:
guacdb-data:
guacamole-data:
--------------------------------------------------------------------------------------------------------------------------
*Contents of guacamole.properties is below -*
-------------------------------------------------------------------------------------------------------------------------
root@guacamole:~# cat /guacamole-data/guacamole.properties
# Hostname and port of guacd proxy
guacd-hostname: guacd
guacd-port: 4822
# MySQL properties
mysql-hostname: '***'
mysql-port: 3306
mysql-database: '***'
mysql-username: '***'
mysql-password: '***'
# Enable support for TOTP
totp-enabled: true
# Enable session recording
recording-path: /guacamole-data/guacd-recordings
recording-search-path: /guacamole-data/guacd-recordings
recording-enabled: true
recording-read-only: false
recording-download-path: /guacamole-data/guacd-recordings
recording-exclude-output: false
recording-exclude-mouse: false
recording-exclude-touch: false
recording-include-mouse: true
recording-include-touch: true
recording-auto-create-path: true
# Real IP header configuration for logging the actual client IP address
remote-ip-header: X-Forwarded-For
remote-ip: true
root@guacamole:~#
------------------------------------------------------------------------------------------------------------------
*Below are the the recording path and their permissions:*
-------------------------------------------------------------------------------------------------------------------
root@guacamole:~# cd /guacamole-data/
root@guacamole:/guacamole-data#
root@guacamole:/guacamole-data# ls -la
total 24
drwxrwxrwx 3 root root 4096 Jul 8 15:00 .
drwxr-xr-x 24 root root 4096 May 17 20:38 ..
-rwxrwxrwx 1 root root 820 Jun 7 21:52 guacamole.properties
drwxrwxrwx 6 1000 1000 4096 Jul 8 15:10 guacd-recordings
-rwxrwxrwx 1 root root 8126 May 31 20:48 server.xml
root@guacamole:/guacamole-data# cd guacd-recordings/
root@guacamole:/guacamole-data/guacd-recordings# ls -la
total 7840
drwxrwxrwx 6 1000 1000 4096 Jul 8 15:10 .
drwxrwxrwx 3 root root 4096 Jul 8 15:00 ..
-rwxrwxrwx 1 1000 1000 63514 May 22 21:44
04c43a17-eb04-38bb-a48c-8f91cdb183a4
drwxrwxrwx 2 1000 1000 4096 Jul 8 14:48
0a683b88-1992-3185-9a62-22a8e1024a85
-rwxrwxrwx 1 1000 1000 79712 May 20 19:11
0c6cab5d-887b-3329-b174-fef96daac96e
-rwxrwxrwx 1 1000 1000 73247 May 22 21:23
130fa5df-0ada-3460-b747-a1fe9256952f
-rwxrwxrwx 1 1000 1000 74359 May 20 21:25
185bc86d-1b81-392b-8282-be9ddf1afbbc
-rwxrwxrwx 1 1000 1000 75612 May 22 21:32
186fe24a-efda-3be2-969b-f122213bb856
-rwxrwxrwx 1 1000 1000 74081 Jun 3 21:18
18b11912-9982-3d59-a913-1c5bcb5588c5
-rwxrwxrwx 1 1000 1000 564203 Jun 3 15:37
1eaccb9b-e330-3648-90f5-6654f001bb7e
-rwxrwxrwx 1 1000 1000 85101 May 31 13:55
2118ce44-0311-3c71-830a-2837fb08ab9d
-rwxrwxrwx 1 1000 1000 72431 May 22 21:54
22460887-3c4f-3f3a-a0d4-a28ca35c58c8
drwxrwxrwx 2 1000 1000 4096 Jul 8 14:49
225fc3a5-4e34-32f0-a0bd-fb0ec93c533e
-rwxrwxrwx 1 1000 1000 76262 Jun 3 20:46
244b48f5-d986-3473-b528-a7500dd51987
-rwxrwxrwx 1 1000 1000 383272 May 20 21:20
2a845cf4-de12-3f8e-8639-70bc71ad0184
-rwxrwxrwx 1 1000 1000 269356 May 20 20:21
2cf5c723-499d-35a9-83a0-4fd8b5dc5697
-rwxrwxrwx 1 1000 1000 37885 Jun 5 14:00
2e7b96e1-f79b-359e-9f9f-9b2bcf9267b7
-rwxrwxrwx 1 1000 1000 83565 May 22 22:33
31fcf7b5-ea3a-302b-9220-b58091f02cf5
-rwxrwxrwx 1 1000 1000 63001 May 21 16:45
37ab9592-e4af-3230-ac22-d912b06f8d93
-rwxrwxrwx 1 1000 1000 55179 Jun 7 21:36
39396ee4-35b7-384f-b1ac-7596d8522c8c
-rwxrwxrwx 1 1000 1000 89579 May 21 15:21
40ffc435-4386-3261-9579-557e9aad8512
-rwxrwxrwx 1 1000 1000 63645 May 22 15:51
436364c9-5253-3cf2-ae0c-d3f86537f72e
-rwxrwxrwx 1 1000 1000 35187 Jun 3 15:37
4521dd51-7fed-3453-9c9f-f63b5c1e9ebd
-rwxrwxrwx 1 1000 1000 31094 Jun 5 14:00
4c95bebd-c2ed-3852-b815-0206180ef30f
-rwxrwxrwx 1 1000 1000 83504 May 22 22:21
53c3395a-1c99-354f-ab4c-91f2b6802772
-rwxrwxrwx 1 1000 1000 63659 May 22 21:43
53e2bb04-4b7e-3662-9f0a-6ff2b7c1f030
-rwxrwxrwx 1 1000 1000 35184 Jun 7 21:56
5aa1eeea-94bc-36ed-83c8-857991f1d4f5
-rwxrwxrwx 1 1000 1000 76432 May 22 20:59
5eeffdd9-afb4-320f-91ef-0c082d5a7c8b
drwxrwxrwx 2 1000 1000 4096 Jul 8 15:08
600197f0-19ca-34c4-a591-4f118e6623f0
-rwxrwxrwx 1 1000 1000 75437 Jun 3 20:51
60aab4bb-3f04-3e5c-8186-1216afc27ea3
drwxrwxrwx 2 1000 1000 4096 Jul 8 15:10
64a99485-2466-380c-a456-e67caf264ba6
-rwxrwxrwx 1 1000 1000 61588 May 22 21:30
659cbd66-75dd-385c-af69-15356283bc64
-rwxrwxrwx 1 1000 1000 93809 Jun 3 15:01
6a80d0f5-c6eb-3103-b303-c07056fe7553
-rwxrwxrwx 1 1000 1000 64767 May 21 18:06
7573e188-4d7c-3d83-bdbe-041614f0f1b9
-rwxrwxrwx 1 1000 1000 258591 May 20 20:47
75b6dda2-00c9-330a-869c-f8eaac87d77a
-rwxrwxrwx 1 1000 1000 81782 May 31 13:40
78416a47-bd7f-3d9a-89b3-e460ab668404
-rwxrwxrwx 1 1000 1000 76214 May 20 21:30
7ca0e391-4af9-310e-ae41-f3c7c4f4e36e
-rwxrwxrwx 1 1000 1000 81417 May 31 20:54
7dd7a953-c3f4-390c-b400-4231372e8eba
-rwxrwxrwx 1 1000 1000 404908 Jun 5 14:00
7e55c8fd-f427-3312-a09f-d107ded2a198
-rwxrwxrwx 1 1000 1000 35291 Jun 7 21:58
8ad8e28e-940c-3346-bfd5-d59ffc162e58
-rwxrwxrwx 1 1000 1000 426745 Jun 3 21:18
8ea3f0d9-7257-31d0-8122-0b333375d7a8
-rwxrwxrwx 1 1000 1000 45161 Jun 7 21:36
8fa8f2b6-9794-39cf-beae-2f62d18561f6
-rwxrwxrwx 1 1000 1000 83649 Jul 8 14:34
90214078-4d4c-3131-98b3-656ffbc2f563
-rwxrwxrwx 1 1000 1000 63260 May 21 16:42
938794f2-cd5f-368b-8148-bc11a9cea29c
-rwxrwxrwx 1 1000 1000 39564 Jun 3 14:59
965c2552-a09e-30a9-88d3-8b2687dc8d70
-rwxrwxrwx 1 1000 1000 74418 May 21 18:03
a4888a37-ca54-3077-af1b-2dc93b28e79c
-rwxrwxrwx 1 1000 1000 307405 Jun 3 14:59
a90cd718-d954-3b5f-8d46-c7355f0290bc
-rwxrwxrwx 1 1000 1000 67321 May 20 18:55
a99e3dbc-14e6-3664-8261-2809df888090
-rwxrwxrwx 1 1000 1000 74278 May 31 20:09
ace4b7b8-cc98-3fde-a473-ab0d7dbb0f05
-rwxrwxrwx 1 1000 1000 74287 May 21 14:04
afba8a25-9b61-30e5-a60e-7be2dee84997
-rwxrwxrwx 1 1000 1000 88579 May 22 15:51
b6f97ac6-c03e-3fe1-9a1b-7a754d32418e
-rwxrwxrwx 1 1000 1000 502159 Jun 3 16:02
bbae6fd3-b4f1-303a-a181-2a1976a97209
-rwxrwxrwx 1 1000 1000 73630 May 21 16:32
c7e096e6-b8ed-3171-ac69-54061a222e00
-rwxrwxrwx 1 1000 1000 383418 Jun 5 16:24
cd603d5d-e0a4-30c3-a45b-15e770b564c3
-rwxrwxrwx 1 1000 1000 63162 May 22 22:24
cf7fd0fc-8e92-38a5-8fd9-64dc6085f7ec
-rwxrwxrwx 1 1000 1000 81760 May 20 19:11
da7cb142-d5f5-3683-ad22-98b1a1f132b4
-rwxrwxrwx 1 1000 1000 63467 May 22 21:42
db946cbd-5b0a-3ac2-8616-e92bfd3daaa6
-rwxrwxrwx 1 1000 1000 34479 Jun 5 16:24
e2d4036a-8a8e-39dd-bf43-d5104a44afac
-rwxrwxrwx 1 1000 1000 62594 May 22 21:34
e3a8d919-8c0b-389e-bff7-52525268b465
-rwxrwxrwx 1 1000 1000 75387 May 21 16:37
edb9f282-35e6-3a10-bf3f-f1bdabb43aa5
-rwxrwxrwx 1 1000 1000 84376 May 20 19:30
f2081b80-0746-372e-871e-aba7663cb687
-rwxrwxrwx 1 1000 1000 403534 Jun 3 20:46
f812f461-10e7-313d-8691-950ebd294090
-rwxrwxrwx 1 1000 1000 33958 Jun 3 20:51
f845d64e-834b-3457-9671-41983ad0eed0
-rwxrwxrwx 1 1000 1000 74934 May 22 21:50
f865900f-bbef-335b-94a5-7dc6b219910e
-rwxrwxrwx 1 1000 1000 73723 May 20 21:20
f91a88a4-65d4-3844-9a68-55ce0733f044
-rwxrwxrwx 1 1000 1000 499364 May 20 20:05
f921ed8e-def9-3a43-b2bd-35571571df92
-rwxrwxrwx 1 1000 1000 64320 May 21 16:43
fdf244e0-cdd9-3fa7-ab2d-03773b22ba5c
-rwxrwxrwx 1 1000 1000 36692 Jul 5 17:12 IP-guacadmin-20240705-114252
-rwxrwxrwx 1 1000 1000 42034 Jun 7 22:00 recording
-rwxrwxrwx 1 1000 1000 33630 Jun 7 22:01 recording.1
root@guacamole:/guacamole-data/guacd-recordings#
--------------------------------------------------------------------------------------------------------------------------------
*3. Have you configured your connections to record into the correct
location with the ${HISTORY_PATH} and ${HISTORY_UUID} tokens?*
Yes, used below path -
*Recording path: */guacamole-data/guacd-recordings/${HISTORY_UUID}
*Recording name: *${HISTORY_UUID}
*Automatically create recording path: *checked(also tried uncheck mark on
this option)
*4. Container Logs -*
--------------------------------------------------------------------------------------------------------------------------------------
*Guacd Logs:*root@guacamole:~# docker logs guacd
guacd[1]: INFO: Guacamole proxy daemon (guacd) version 1.5.5 started
guacd[1]: INFO: Listening on host 0.0.0.0, port 4822
guacd[1]: INFO: Creating new client for protocol "ssh"
guacd[1]: INFO: Connection ID is "$598950b2-89ec-47f5-9c74-1d272300a8fa"
guacd[8]: INFO: User "@caec3ebc-2e41-430d-b276-2eef40888d95" joined
connection "$598950b2-89ec-47f5-9c74-1d272300a8fa" (1 users now present)
guacd[8]: ERROR: Creation of recording failed: No such file or
directory
guacd[8]: WARNING: No known host keys provided, host identity will not
be verified.
guacd[8]: WARNING: Unable to set the timezone: SSH server refused to
set "TZ" variable.
guacd[8]: INFO: SSH connection successful.
guacd[8]: INFO: User "@caec3ebc-2e41-430d-b276-2eef40888d95" disconnected
(0 users remain)
guacd[8]: INFO: Last user of connection
"$598950b2-89ec-47f5-9c74-1d272300a8fa" disconnected
guacd[8]: INFO: SSH connection ended.
guacd[1]: INFO: Connection "$598950b2-89ec-47f5-9c74-1d272300a8fa" removed.
guacd[1]: INFO: Creating new client for protocol "ssh"
guacd[1]: INFO: Connection ID is "$492fe47a-f6f3-4d12-b8d9-bda5a525a893"
guacd[38]: INFO: User "@773f98ea-4b22-4753-925f-dc8d358e8c43" joined
connection "$492fe47a-f6f3-4d12-b8d9-bda5a525a893" (1 users now present)
guacd[38]: INFO: Recording of session will be saved to
"/guacamole-data/guacd-recordings/0a683b88-1992-3185-9a62-22a8e1024a85/0a683b88-1992-3185-9a62-22a8e1024a85".
guacd[38]: WARNING: No known host keys provided, host identity will not
be verified.
guacd[38]: WARNING: Unable to set the timezone: SSH server refused to
set "TZ" variable.
guacd[38]: INFO: SSH connection successful.
guacd[38]: INFO: User "@773f98ea-4b22-4753-925f-dc8d358e8c43"
disconnected (0 users remain)
guacd[38]: INFO: Last user of connection
"$492fe47a-f6f3-4d12-b8d9-bda5a525a893" disconnected
guacd[38]: INFO: SSH connection ended.
guacd[1]: INFO: Connection "$492fe47a-f6f3-4d12-b8d9-bda5a525a893" removed.
guacd[1]: INFO: Creating new client for protocol "ssh"
guacd[1]: INFO: Connection ID is "$b3e5f33a-ffad-491f-9d2e-ce83f51d55cc"
guacd[60]: INFO: User "@7a13a46b-2468-491a-8f1a-4e1dc1cc43a7" joined
connection "$b3e5f33a-ffad-491f-9d2e-ce83f51d55cc" (1 users now present)
guacd[60]: INFO: Recording of session will be saved to
"/guacamole-data/guacd-recordings/225fc3a5-4e34-32f0-a0bd-fb0ec93c533e/225fc3a5-4e34-32f0-a0bd-fb0ec93c533e".
guacd[60]: WARNING: No known host keys provided, host identity will not
be verified.
guacd[60]: WARNING: Unable to set the timezone: SSH server refused to
set "TZ" variable.
guacd[60]: INFO: SSH connection successful.
guacd[60]: INFO: User "@7a13a46b-2468-491a-8f1a-4e1dc1cc43a7"
disconnected (0 users remain)
guacd[60]: INFO: Last user of connection
"$b3e5f33a-ffad-491f-9d2e-ce83f51d55cc" disconnected
guacd[60]: INFO: SSH connection ended.
guacd[1]: INFO: Connection "$b3e5f33a-ffad-491f-9d2e-ce83f51d55cc" removed.
root@guacamole:~#
--------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------
*Guacamole Logs:*
root@guacamole:~# docker logs guacamole
08-Jul-2024 09:11:02.083 WARNING [main]
org.apache.tomcat.util.digester.SetPropertiesRule.begin
[SetPropertiesRule]{Server/Service/Engine/Host/Valve} Setting property
'remoteIpProxiesHeader' to 'x-forwarded-by' did not find a matching
property.
08-Jul-2024 09:11:02.087 WARNING [main]
org.apache.tomcat.util.digester.SetPropertiesRule.begin
[SetPropertiesRule]{Server/Service/Engine/Host/Valve} Setting property
'logName' to 'org.apache.catalina.valves.RemoteIpValve' did not find a
matching property.
08-Jul-2024 09:11:02.088 WARNING [main]
org.apache.tomcat.util.digester.SetPropertiesRule.begin
[SetPropertiesRule]{Server/Service/Engine/Host/Valve} Setting property
'logLevel' to 'DEBUG' did not find a matching property.
08-Jul-2024 09:11:02.091 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Server version name:
Apache Tomcat/8.5.100
08-Jul-2024 09:11:02.092 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Server built:
Mar 19 2024 13:54:42 UTC
08-Jul-2024 09:11:02.092 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Server version
number: 8.5.100.0
08-Jul-2024 09:11:02.092 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log OS Name:
Linux
08-Jul-2024 09:11:02.092 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log OS Version:
5.15.0-106-generic
08-Jul-2024 09:11:02.093 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Architecture:
amd64
08-Jul-2024 09:11:02.093 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Java Home:
/opt/java/openjdk/jre
08-Jul-2024 09:11:02.093 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log JVM Version:
1.8.0_402-b06
08-Jul-2024 09:11:02.094 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:
Temurin
08-Jul-2024 09:11:02.094 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:
/home/guacamole/tomcat
08-Jul-2024 09:11:02.094 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:
/usr/local/tomcat
08-Jul-2024 09:11:02.094 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line
argument:
-Djava.util.logging.config.file=/home/guacamole/tomcat/conf/logging.properties
08-Jul-2024 09:11:02.094 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line
argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
08-Jul-2024 09:11:02.095 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line
argument: -Djdk.tls.ephemeralDHKeySize=2048
08-Jul-2024 09:11:02.095 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line
argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
08-Jul-2024 09:11:02.095 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line
argument: -Dorg.apache.catalina.security.SecurityListener.UMASK=0027
08-Jul-2024 09:11:02.095 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line
argument: -Dignore.endorsed.dirs=
08-Jul-2024 09:11:02.095 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line
argument: -Dcatalina.base=/home/guacamole/tomcat
08-Jul-2024 09:11:02.095 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line
argument: -Dcatalina.home=/usr/local/tomcat
08-Jul-2024 09:11:02.096 INFO [main]
org.apache.catalina.startup.VersionLoggerListener.log Command line
argument: -Djava.io.tmpdir=/home/guacamole/tomcat/temp
08-Jul-2024 09:11:02.096 INFO [main]
org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded Apache
Tomcat Native library [1.2.39] using APR version [1.7.0].
08-Jul-2024 09:11:02.096 INFO [main]
org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR
capabilities: IPv6 [true], sendfile [true], accept filters [false], random
[true], UDS [{4}].
08-Jul-2024 09:11:02.096 INFO [main]
org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL
configuration: useAprConnector [false], useOpenSSL [true]
08-Jul-2024 09:11:02.110 INFO [main]
org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL
successfully initialized [OpenSSL 3.0.2 15 Mar 2022]
08-Jul-2024 09:11:02.221 INFO [main]
org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler
["http-nio-8080"]
08-Jul-2024 09:11:02.253 INFO [main]
org.apache.catalina.startup.Catalina.load Initialization processed in 1000
ms
08-Jul-2024 09:11:02.298 INFO [main]
org.apache.catalina.core.StandardService.startInternal Starting service
[Catalina]
08-Jul-2024 09:11:02.299 INFO [main]
org.apache.catalina.core.StandardEngine.startInternal Starting Servlet
engine: [Apache Tomcat/8.5.100]
08-Jul-2024 09:11:02.337 INFO [localhost-startStop-1]
org.apache.catalina.startup.HostConfig.deployWAR Deploying web application
archive [/home/guacamole/tomcat/webapps/guacamole.war]
08-Jul-2024 09:11:04.403 INFO [localhost-startStop-1]
org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned
for TLDs yet contained no TLDs. Enable debug logging for this logger for a
complete list of JARs that were scanned but no TLDs were found in them.
Skipping unneeded JARs during scanning can improve startup time and JSP
compilation time.
09:11:04.795 [localhost-startStop-1] INFO
o.a.g.environment.LocalEnvironment - GUACAMOLE_HOME is
"/home/guacamole/.guacamole".
09:11:04.893 [localhost-startStop-1] INFO
o.a.g.GuacamoleServletContextListener - Read configuration parameters from
"/home/guacamole/.guacamole/guacamole.properties".
09:11:04.896 [localhost-startStop-1] INFO
o.a.g.rest.auth.HashTokenSessionMap - Sessions will expire after 60
minutes of inactivity.
09:11:05.318 [localhost-startStop-1] INFO o.a.g.extension.ExtensionModule
- Multiple extensions are installed and will be loaded in order of
decreasing priority:
09:11:05.318 [localhost-startStop-1] INFO o.a.g.extension.ExtensionModule
- - [mysql] "MySQL Authentication"
(/home/guacamole/.guacamole/extensions/guacamole-auth-jdbc-mysql-1.5.5.jar)
09:11:05.318 [localhost-startStop-1] INFO o.a.g.extension.ExtensionModule
- - [totp] "TOTP TFA Authentication Backend"
(/home/guacamole/.guacamole/extensions/guacamole-auth-totp-1.5.5.jar)
09:11:05.318 [localhost-startStop-1] INFO o.a.g.extension.ExtensionModule
- To change this order, set the "extension-priority" property or rename the
extension files. The default priority of extensions is dictated by the sort
order of their filenames.
09:11:05.340 [localhost-startStop-1] INFO
o.a.g.a.mysql.conf.MySQLEnvironment - Installed JDBC driver for
MySQL/MariaDB detected as "MySQL Connector/J".
09:11:06.247 [localhost-startStop-1] INFO o.a.g.extension.ExtensionModule
- Extension "MySQL Authentication" (mysql) loaded.
09:11:06.481 [localhost-startStop-1] INFO o.a.g.extension.ExtensionModule
- Extension "TOTP TFA Authentication Backend" (totp) loaded.
09:11:06.601 [localhost-startStop-1] INFO o.a.g.t.w.WebSocketTunnelModule
- Loading JSR-356 WebSocket support...
08-Jul-2024 09:11:07.795 INFO [localhost-startStop-1]
org.apache.catalina.startup.HostConfig.deployWAR Deployment of web
application archive [/home/guacamole/tomcat/webapps/guacamole.war] has
finished in [5,458] ms
08-Jul-2024 09:11:07.798 INFO [main]
org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler
["http-nio-8080"]
08-Jul-2024 09:11:07.815 INFO [main]
org.apache.catalina.startup.Catalina.start Server startup in 5560 ms
Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver
class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered
via the SPI and manual loading of the driver class is generally unnecessary.
09:13:09.246 [http-nio-8080-exec-2] INFO
o.a.g.r.auth.AuthenticationService - User "guacadmin" successfully
authenticated from x.x.25.247.
09:13:14.750 [http-nio-8080-exec-4] INFO
o.a.g.r.auth.AuthenticationService - User "guacadmin" successfully
authenticated from x.x.25.247.
09:13:22.413 [http-nio-8080-exec-10] INFO
o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to
connection "2".
09:13:28.366 [Thread-3] INFO o.a.g.tunnel.TunnelRequestService - User
"guacadmin" disconnected from connection "2". Duration: 5946 milliseconds
09:18:19.786 [http-nio-8080-exec-9] INFO o.a.g.tunnel.TunnelRequestService
- User "guacadmin" connected to connection "2".
09:18:22.068 [Thread-5] INFO o.a.g.tunnel.TunnelRequestService - User
"guacadmin" disconnected from connection "2". Duration: 2281 milliseconds
09:19:14.418 [http-nio-8080-exec-10] INFO
o.a.g.tunnel.TunnelRequestService - User "guacadmin" connected to
connection "2".
09:19:19.094 [Thread-7] INFO o.a.g.tunnel.TunnelRequestService - User
"guacadmin" disconnected from connection "2". Duration: 4674 milliseconds
root@guacamole:~#
--------------------------------------------------------------------------------------------------------------------------------------
Let me know if you need further details.
-
*Thanks*
*Rakesh*
On Sat, Jul 6, 2024 at 12:41 AM Nick Couchman <vn...@apache.org> wrote:
> On Fri, Jul 5, 2024 at 12:32 PM Rakesh Chauhan <ra...@stradsolutions.com>
> wrote:
>
> > Hi,
> >
> > I have configured apache guacamole using docker-compose on my ubuntu 22
> > server. Everything is working as expected but recording doesn't show in
> > GUI.
> >
> > I can see the recording file is getting created under the specified
> volume
> > path but they are not visible in GUI. I want them to be visible in gui
> so i
> > can play them when required.
> >
> > I am using the latest version(1.5.5) of guacamole and MySQL8.
> > Please help me to resolve this issue.
> >
> >
> You're going to have to elaborate a bit more on how you've configured
> Guacamole:
> * Have you loaded the history recording extension in the "guacamole"
> container?
> * Do you have a shared storage space between the guacd and guacamole
> containers? Are permissions correct so that guacd can write the recordings
> and the guacamole container can read them?
> * Have you configured your connections to record into the correct location
> with the ${HISTORY_PATH} and ${HISTORY_UUID} tokens?
>
> -Nick
>
Re: Guacamole recording doesn't show in gui history tab
Posted by Nick Couchman <vn...@apache.org>.
On Fri, Jul 5, 2024 at 12:32 PM Rakesh Chauhan <ra...@stradsolutions.com>
wrote:
> Hi,
>
> I have configured apache guacamole using docker-compose on my ubuntu 22
> server. Everything is working as expected but recording doesn't show in
> GUI.
>
> I can see the recording file is getting created under the specified volume
> path but they are not visible in GUI. I want them to be visible in gui so i
> can play them when required.
>
> I am using the latest version(1.5.5) of guacamole and MySQL8.
> Please help me to resolve this issue.
>
>
You're going to have to elaborate a bit more on how you've configured
Guacamole:
* Have you loaded the history recording extension in the "guacamole"
container?
* Do you have a shared storage space between the guacd and guacamole
containers? Are permissions correct so that guacd can write the recordings
and the guacamole container can read them?
* Have you configured your connections to record into the correct location
with the ${HISTORY_PATH} and ${HISTORY_UUID} tokens?
-Nick