Skip to content

[BUG] Timezone and Cron Schedule Ignored Despite Correct Environment Configuration (DISPLAY_TIMEZONE, SPEEDTEST_SCHEDULE) #51

@p1r473

Description

@p1r473

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Timestamps in the UI are always displayed in UTC, and SPEEDTEST_SCHEDULE=*/1 * * * * is ignored.
The “Next speedtest at…” is always the next full or half hour (e.g., 2:30am), despite being configured to run every minute.
Speedtests only run once an hour or half-hour.

Expected Behavior

The dashboard and test results should reflect America/Toronto local time set in the docker-compose.yaml

Steps To Reproduce

  1. Remove all previous config:
rm -rf /volume1/docker/speedtest-tracker/

create docker-compose.yaml

services:
  speedtest-tracker:
    image: lscr.io/linuxserver/speedtest-tracker:latest
    restart: unless-stopped
    container_name: speedtest-tracker
    ports:
      - 8444:443
    environment:
      - PUID=1000
      - PGID=1000
      - APP_TIMEZONE=America/Toronto
      - DISPLAY_TIMEZONE=America/Toronto
      - APP_KEY=REDACTED
      - DB_CONNECTION=sqlite
    volumes:
      - ./config:/config
      - ./config/keys:/config/keys:ro
start container

docker compose up -d

Visit the dashboard:
“Next speedtest at…” is shown in UTC (e.g., Jul 7, 2:30am) instead of local time
docker exec -it speedtest-tracker date returns Mon Jul 7 02:30:09 UTC 2025
Tests do not run every minute

### Environment

```markdown
OS: Docker on Synology
Speedtest Tracker version: lscr.io/linuxserver/speedtest-tracker:latest
Linuxserver.io version: v1.6.1-ls97
Build date: 2025-07-05T19:32:14+00:00

CPU architecture

x86-64

Docker creation

docker compose up -d

Container logs

docker logs speedtest-tracker
[migrations] started
[migrations] 01-nginx-site-confs-default: skipped
[migrations] done
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io
───────────────────────────────────────

To support the app dev(s) visit:
speedtest-tracker: https://github.com/sponsors/alexjustesen

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    1000
User GID:    1000
───────────────────────────────────────
Linuxserver.io version: v1.6.1-ls97
Build-date: 2025-07-05T19:32:14+00:00
───────────────────────────────────────

using keys found in /config/keys
[custom-init] No custom files found, skipping...
[ls.io-init] done.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions