By default, JumpServer uses the Asia/Shanghai time zone, which may cause incorrect timestamps in system logs.
1. Set the Correct Date, Time,
and Time Zone on the Operating System
Ensure that both the date, time, and time zone are
correct on the OS where JumpServer is installed.
Example for Moscow at 18:11 on Ubuntu Linux:
root@js4ee:/home/serg# date
Wed Dec 4 06:11:33 PM MSK 2024
If the output shows something like Wed Dec 4 06:11:33 PM UTC 2024, the time zone is incorrect.
Use Linux
administration skills or consult an administrator to:
- Set the correct time and time zone.
- Enable automatic time synchronization with an NTP
(Network Time Protocol) service.
This is critical for secure connections and
certificates.
2. Edit the JumpServer
Configuration File
Open the configuration file:
nano /opt/jumpserver/config/config.txt
3. Specify the Time Zone
At the end of the file, add or modify the following
lines:
# The current running version number of JumpServer, automatically generated after installation and upgrade
#
TZ=Europe/Moscow
TIME_ZONE=Europe/Moscow
Note: If only TZ is present and TIME_ZONE is missing, add the TIME_ZONE parameter as shown above.
4. Restart JumpServer
Save the changes and restart
JumpServer:
jmsctl restart
This will apply the correct time and time zone settings across the system.
| << Configuring External Storage for Session Recordings in JumpServer | RDP Session Video Compression: Configuring Video-Worker >> |
Stuck? If you are running a pilot, write to support@afi-d.com or in your project's Telegram group. Community Edition users can buy a support subscription: see Technical support. Video guides are on our YouTube channel.