*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
>

Reply via email to