Timezone mismatch: scheduler/UI uses UTC despite TZ=Europe/Madrid
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
Research direction
Reproduce the mismatch with the documented Docker environment, then inspect the Laravel artisan about timezone output, scheduled tests, dashboard timestamps, and next scheduled run. Compare the application behavior with the container's TZ=Europe/Madrid setting. Done means scheduled tests, displayed execution times, and the next run consistently use the configured timezone.
Written by the indexing model from the issue text.
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
I'm running the latest LinuxServer Speedtest Tracker container.
The container is configured with:
environment:
- TZ=Europe/Madrid
- SPEEDTEST_SCHEDULE=33 10 * * *
The container itself uses the correct timezone:
$ docker exec speedtest date
Tue Jul 21 10:47:48 CEST 2026
$ docker exec speedtest printenv TZ
Europe/Madrid
However, Laravel reports:
$ docker exec speedtest php /app/www/artisan about
Timezone ................................ UTC
Also noticed that:
- A manual speedtest executed at 09:00 is shown in the dashboard as having run at 07:00.
- Scheduled tests appear to follow UTC rather than the configured local timezone.
It looks like the application is using UTC internally despite the container being configured with TZ=Europe/Madrid
artisan about reports: Timezone UTC
while: TZ=Europe/Madrid
and the container system time is correct (date shows CEST).
Is this expected behaviour, or is there a missing configuration to make Laravel use the container timezone?
Expected Behavior
The application should use the configured container timezone (Europe/Madrid) consistently for:
- scheduled tests
- displayed execution times
- next scheduled run
Steps To Reproduce
-
Deploy the latest
lscr.io/linuxserver/speedtest-tracker:latestimage. -
Configure the container with:
TZ=Europe/MadridSPEEDTEST_SCHEDULE=33 10 * * *
-
Start the container.
-
Run:
bash
docker exec speedtest php /app/www/artisan about
The output reports:
Timezone: UTC
-
Execute a manual speedtest from the web UI.
-
The dashboard shows the manual test two hours earlier than the actual execution time (e.g. a test started at 09:00 is displayed as 07:00).
-
The next scheduled run is also inconsistent with the configured timezone.
Environment
* Image: lscr.io/linuxserver/speedtest-tracker:latest
* LinuxServer version: v1.14.5-ls162
* Speedtest Tracker: v1.14.5
* Laravel: 13.16.1
* PHP: 8.5.8
CPU architecture
x86-64
Docker creation
version: '3.4'
services:
speedtest-tracker:
container_name: speedtest
ports:
- 8081:80
- 8448:443
environment:
- PUID=1000
- PGID=1000
- DB_CONNECTION=sqlite
- TZ=Europe/Madrid
- APP_KEY=base64:dsSFgrWEG$
- APP_NAME=Speedtest Tracker
- PUBLIC_DASHBOARD=false
- AUTH=True
- SPEEDTEST_SCHEDULE=33 10 * * */1
volumes:
- /home/docker/speedtest:/config
image: lscr.io/linuxserver/speedtest-tracker:latest
restart: unless-stopped
Container logs
Container logs do not show any useful information related to the issue.
The only output is the LinuxServer startup log plus occasional debug entries such as:
[2026-07-21 00:09:03] production.DEBUG: Pinged hostname {“host”:“icanhazip.com”, …}
There are no warnings or errors related to timezone handling or scheduling.
- Dominant language
- Dockerfile
- Stars
- 186
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from linuxserver/docker-speedtest-tracker
-
no-issue-activity
Difficulty 1/5 Under an hour Newbie friendliness 88/100
linuxserver/docker-speedtest-tracker#77 · 7 comments · 1 reaction ·
-
no-issue-activity
Difficulty 4/5 3-5 days Newbie friendliness 38/100
linuxserver/docker-speedtest-tracker#81 · 6 comments ·
-
no-issue-activity
Difficulty 4/5 3-5 days Newbie friendliness 48/100
linuxserver/docker-speedtest-tracker#79 · 7 comments ·
All issues in linuxserver/docker-speedtest-tracker
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
syfoud/Simulated_Scepter#172 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
crossplane/crossplane#7859 ·
-
bot:ai-assisted component:compact-js status:untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
midnightntwrk/midnight-sdk#403 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
nightscout/nocturne#1379 ·