Systémové kódy logu
Z BizKitHub Docs, prevádzková referencia
Názvy a popisy kódov udržiavame v angličtine.
Všetky prevádzkové kódy, ktoré platforma BizKitHub zapisuje do logu. Nájdete ich v predmete technických notifikačných e-mailov (napríklad
TTL_003) a pri záznamoch v logu v administrácii. Na rozdiel od chybových kódov API sa nikdy nedostanú ku klientom API. Opisujú úlohy na pozadí, integrácie a plánované procesy./
Závažnosť
Moduly
| Popis | ||
|---|---|---|
| BLOBBlob storage replication R2 → Hetzner (scout sync-blob-backup)7 kódov | ||
| BLOB | File backup worker crashed mid-runAn unexpected error (such as a database timeout, a storage provider outage or running out of memory on a large file) stopped the file backup run early. Files already marked as backed up are safe, and the reported count is accurate. The next run continues from where this one stopped; repeated failures mean the underlying resource is down. | Kritické |
| BLOB | Blob backup worker ran without backup credentialsScout invoked `sync-blob-backup` but one or more of `BACKUP_S3_ACCESS_KEY`, `BACKUP_S3_SECRET_ACCESS_KEY`, or `BACKUP_S3_ENDPOINT` is missing. The worker exits cleanly as a no-op and logs this code once per 30 min. Populate the VPS `.env` and restart the timer. | Varovanie |
| BLOB | Backup S3 PUT failed (R2 → Hetzner mirror)Scout's `sync-blob-backup` worker could not copy a blob from the primary R2 bucket into the Hetzner backup bucket. The row keeps `backup_date NULL` and is retried on the next 1-min tick. Investigate backup credentials, endpoint reachability, bucket quota, or the specific object (missing on primary?). | Varovanie |
| BLOB | Files without a backup copy for more than 24 hoursDaily check: some stored files still have no copy in the geographically separate backup datacentre 24 hours after upload. One summary is sent per day, not one per file. | Kritické |
| BLOB | Large file could not be copied to the backup datacentreA file larger than 500 MiB is copied to the backup datacentre by a streamed, resumable copier in core. The copy failed repeatedly. | Kritické |
| BLOB | Restore test found missing or damaged files in the backup datacentreDaily restore test: a random sample of every organisation's files is downloaded from the geographically separate backup datacentre and hashed. Some sampled files were missing there or did not match their checksum (confirmed against the primary copy). One summary per day, not one per file. Transport errors are not counted as failures. | Kritické |
| BLOB | Large file hash differs from the stored checksumWhile streaming a file larger than 500 MiB to the backup datacentre, its computed SHA-256 differed from the SHA-256 stored for the file. The copy is identical to the primary object; the stored checksum or the object itself is wrong. | Kritické |
Stupnica závažnosti
Každý zdokumentovaný kód má jednu závažnosť. Hovorí, aký naliehavý je výskyt, nie ako často k nemu dochádza.
- Kritické
- Závažné zlyhanie. Riešte hneď.
- Chyba
- Operácia zlyhala. Zvyčajne je dobré sa na to pozrieť.
- Varovanie
- Niečo nefunguje naplno alebo to čoskoro bude potrebovať pozornosť.
- Info
- Bežná činnosť. Netreba nič robiť.
Odkiaľ kódy pochádzajú
Kód sa zaregistruje automaticky, keď ho platforma prvýkrát zapíše do logu. Tím platformy potom doplní názov, popis, pravdepodobné príčiny a postup riešenia. Dovtedy je kód uvedený ako Zatiaľ nezdokumentované. Kódy zapísané ako chyba alebo kritické môžu tiež odoslať technický notifikačný e-mail s kódom v predmete:
Predmet notifikácie
[API_UNCAUGHT] [api] …