You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by Yohann Feasson <yf...@e-metix.fr> on 2025/08/28 10:21:52 UTC

TR: Change TimeZone ${GUAC_TIME}

Hi,

I'm running Guacamole in Docker and need to change the timezone of the ${GUAC_TIME} variable, which is currently in UTC.

I've tried updating the time in all three containers (Guacamole, PostgreSQL, Guacd) and also changed the timezone inside PostgreSQL, but nothing has worked so far.

I haven't been able to find any guidance online.

Could you tell me where this variable gets its time from?

Best Regards,




Re: Change TimeZone ${GUAC_TIME}

Posted by Nick Couchman <vn...@apache.org>.
On Thu, Aug 28, 2025 at 11:57 AM Yohann Feasson <yf...@e-metix.fr> wrote:

> Hi,
>
>
>
> The correct time is already set in the Guacamole container, as shown in
> the screenshot below.
>
>
>
>
>
> I have mounted my VM’s timezone volumes into the container, and it is
> correctly set to Europe/Paris.
>
>
>
>
>
> However, when I check my logs and use the guac_time variable, the time is
> still shown in UTC.
>
>
>

Hmmm...I'm not sure what's going on, there - I'll have to add it to my list
of things to try to reproduce and see if I can track down why it isn't
correctly giving the local time.

-Nick

>

RE: Change TimeZone ${GUAC_TIME}

Posted by Yohann Feasson <yf...@e-metix.fr>.
Hi,

The correct time is already set in the Guacamole container, as shown in the screenshot below.

[cid:image001.png@01DC1844.FA7497A0]

I have mounted my VM’s timezone volumes into the container, and it is correctly set to Europe/Paris.

[cid:image002.png@01DC1844.FA7497A0]

However, when I check my logs and use the guac_time variable, the time is still shown in UTC.

Best Regards,


De : Nick Couchman <vn...@apache.org>
Envoyé : jeudi 28 août 2025 17:35
À : user@guacamole.apache.org
Objet : Re: Change TimeZone ${GUAC_TIME}

On Thu, Aug 28, 2025 at 6:22 AM Yohann Feasson <yf...@e-metix.fr>> wrote:
Hi,

I’m running Guacamole in Docker and need to change the timezone of the ${GUAC_TIME} variable, which is currently in UTC.

I’ve tried updating the time in all three containers (Guacamole, PostgreSQL, Guacd) and also changed the timezone inside PostgreSQL, but nothing has worked so far.

I haven’t been able to find any guidance online.


The guidance is here:

https://guacamole.apache.org/doc/gug/configuring-guacamole.html#parameter-tokens

Could you tell me where this variable gets its time from?

This should be coming from the time zone of the guacamole container. After you change the local time zone of the container you will likely need to restart the container or the Tomcat process in the container, as I suspect the change is only re-read at startup.

-Nick

Re: Change TimeZone ${GUAC_TIME}

Posted by Nick Couchman <vn...@apache.org>.
On Thu, Aug 28, 2025 at 6:22 AM Yohann Feasson <yf...@e-metix.fr> wrote:

> Hi,
>
>
>
> I’m running Guacamole in Docker and need to change the timezone of the
> ${GUAC_TIME} variable, which is currently in UTC.
>
>
>
> I’ve tried updating the time in all three containers (Guacamole,
> PostgreSQL, Guacd) and also changed the timezone inside PostgreSQL, but
> nothing has worked so far.
>
>
>
> I haven’t been able to find any guidance online.
>
>
>

The guidance is here:

https://guacamole.apache.org/doc/gug/configuring-guacamole.html#parameter-tokens


> Could you tell me where this variable gets its time from?
>
>
This should be coming from the time zone of the guacamole container. After
you change the local time zone of the container you will likely need to
restart the container or the Tomcat process in the container, as I suspect
the change is only re-read at startup.

-Nick

>