project-nomad/admin/app
Ken Eucker e8d9406ba1 fix(kiwix): skip the ZIM download when storage already has one
The Kiwix pre-install requirement is "at least one ZIM file present", but
the check that enforces it sits behind a HEAD request in the downloader.
On a host with no connectivity that request fails, so installing Kiwix
fails even when a ZIM is already sitting in storage.

Check the storage directory first and skip the download when it already
holds a .zim, rebuilding the library XML from disk instead. This mirrors
how Calibre-Web seeds its bundled library. Online installs are unaffected:
with no ZIM present the existing download path still runs.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-14 14:17:13 -07:00
..
controllers fix(UI): add API reference to Settings sidebar 2026-08-04 03:38:40 +00:00
data refactor(drug-reference): make collections JSON the single source for curated data (#1130) 2026-08-04 03:38:35 +00:00
exceptions fix(Docs): documentation renderer fixes 2025-12-23 16:00:33 -08:00
jobs fix(downloads): don't retry a rejected entitlement for four hours (#1205) 2026-08-04 03:40:02 +00:00
middleware fix(API): skip compression for Server-Sent Events (#798) 2026-05-20 10:16:00 -07:00
models feat(benchmark): official multi-arch sysbench, resolved digest, platform metadata (#1158) 2026-08-04 03:39:53 +00:00
services fix(kiwix): skip the ZIM download when storage already has one 2026-08-14 14:17:13 -07:00
utils fix(downloads): don't retry a rejected entitlement for four hours (#1205) 2026-08-04 03:40:02 +00:00
validators feat: support gated downloads for self-hosted curated content (#1172) 2026-08-04 03:39:55 +00:00