github marcpope/borgbackupserver v2.21.2

8 hours ago

Fixes

Timezone: Force PHP to UTC

PHP's date() function was using the server's local timezone (e.g. Europe/Prague = UTC+2) while MySQL stores timestamps in UTC. This caused all timestamps written by PHP — started_at, completed_at, heartbeats, log entries — to be offset by the server's timezone. Now forces date_default_timezone_set('UTC') at both the web entry point and scheduler, so all PHP timestamps match MySQL.

Scheduler: Fix PHP warnings on SSH repo paths

is_dir() was being called on raw SSH-format repo paths (ssh://user@host/./repo), triggering PHP "unable to find ssh wrapper" warnings. Now uses the proper local path resolver.

ReportService: Fix undefined variable warnings

$dayStart and $dayEnd were used in the daily report error log query without being defined. Now properly initialized from the report date.

Don't miss a new borgbackupserver release

NewReleases is sending notifications on new releases.