From 108525534c28013cfe1897c30e4565f9893f3766 Mon Sep 17 00:00:00 2001 From: Minteck Date: Mon, 10 Oct 2022 20:51:39 +0200 Subject: Update --- pages/debug.inc | 115 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 115 insertions(+) create mode 100644 pages/debug.inc (limited to 'pages/debug.inc') diff --git a/pages/debug.inc b/pages/debug.inc new file mode 100644 index 0000000..77001d0 --- /dev/null +++ b/pages/debug.inc @@ -0,0 +1,115 @@ + "General info about $systemName", + "members" => "Members in the $systemName", + "fronters" => "Current fronter(s) in the $systemName", + "switches" => "Switch history from the $systemName", + default => "$type in $systemName", + }; + } + + if (str_starts_with($item, "images-")) { + $system = explode("-", $item)[1]; + $id = explode("-", $item)[2]; + $systemName = $system === "gdapd" ? "Raindrops" : "Cloudburst"; + $member = getSystemMember($system, $id) ?? [ "name" => $id, "display_name" => $id, "id" => $id ]; + + if ($member["name"] === "unknown") { + return "Unknown (" . $systemName . ")'s images"; + } else { + return getMiniName($member["display_name"] ?? $member["name"]) . "'s images"; + } + } + + return "$item"; +} + +?> + +
+
+ + +
+

Data updater debugging

+

This page provides debugging information to troubleshoot unexpectedly long update times or reported failures.

+ + 360): ?> +
+

+ The data is not updated periodically anymore. +

+ This can be due to multiple things: +
    +
  • the data updater has been disabled temporarily for maintenance;
  • +
  • the data updater cannot start on the server;
  • +
  • the server was down for an extended period of time
  • +
+ If you are an administrator and think this is not normal, you may investigate the issue. +
+ + +

General information

+
    +
  • Update date: format("l j F Y, G:i:s.u T")); ?>
  • +
  • Total duration: ms
  • +
  • Longest operation: ( ms, %)
  • +
+ +

Processing times

+
+ $time): ?>%"> +
+
    + $time): ?> +
  • : ms
  • + +
+ +

Reported failures

+ +

The data updater has not reported any update failure in the last run.

+ +

The following files have failed to update:

+
    + +
  • + +
+ +
+
+ + + + -- cgit