dst
Install or update the tzdata package (timezone and daylight saving time rules)
- Command:
/go/dst - Category: System
- Required option: None
- Output: None
- Last updated: 2026-11-20
On this page: Overview · Quick start · Syntax · Options · Output · Examples · Troubleshooting · Details · See also
Overview
/go/dst installs or updates tzdata, the operating system package that holds the world's timezone definitions, daylight saving time (DST) rules, and their historical changes. Run it when a country changes its DST rules, so the server's clocks and any software that reads the system timezone files stay correct.
The command does not print the rules or change the server's timezone. To set the timezone, use timezone.
The call is appended to /var/log/go/dst.log.
Quick start
/go/dst
Syntax
/go/dst
The command takes no arguments. Anything you pass is only written to the log.
It supports AlmaLinux, Rocky Linux, CentOS, Red Hat, Fedora, Debian, and Ubuntu. On any other system it does nothing.
Options
None.
Output
The command prints nothing, not even errors: the package manager's output is discarded. Check the result yourself:
# RHEL family
rpm -q tzdata
# Debian and Ubuntu
dpkg -s tzdata | grep Version
# Confirm a zone loads
TZ=Africa/Cairo date
Examples
# Update the timezone data
/go/dst
# Check the installed version
rpm -q tzdata
Troubleshooting
| Symptom | Likely cause | Fix |
|---|---|---|
| The package version didn't change | No newer version is in your repositories yet, or the package manager failed silently. | Run dnf -y install tzdata (RHEL family) or apt-get install -y tzdata (Debian and Ubuntu) by hand to see the output. |
| Nothing happens on Debian or Ubuntu when you aren't root | The apt-get call runs without sudo. |
Run the command as root. |
| Nothing happens on another Linux system | The operating system isn't supported. | Update tzdata with your system's package manager. |
| Some software still shows the old rules | It read the timezone files before the update. | Restart the services that cache timezone data, for example with restart. |
Details
| System | Command it runs |
|---|---|
| RHEL family | dnf -y install tzdata |
| Debian, Ubuntu | DEBIAN_FRONTEND=noninteractive apt-get install -y tzdata |
The package manager installs tzdata if it is missing, or brings it to the newest version your repositories offer. The update writes to the system timezone files, usually under /usr/share/zoneinfo. The Debian command sets DEBIAN_FRONTEND=noninteractive so it never asks questions.
See also
| Command | Description |
|---|---|
timezone |
Set the timezone for both your GoAdmio server and PHP |
restart |
Restart all PHP-FPM pools and the active web server |
fpm |
Restart all installed PHP-FPM versions on your server |
update |
Update GoAdmio to the latest version via the command line |
package |
Install all base packages required by GoAdmio |