archive: ten Omeka themes ship with the archive port and survive restarts (OMEKA_THEMES, pinned, loud when one is missing) #1970
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#1970
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
The Community archive (Omeka S) ships with one theme, Default. A steward who wants another look has no lasting way to get one: Omeka installs themes on the server, and a theme added by hand is lost at the next start of the archive.
Make a fixed list of themes part of the archive port, so every deployed archive offers them under Site admin → Theme and they survive restarts, deploys and re-founds.
Asked for by Ben, 2026-09-28, after trying the themes on whakatohea-demo.
Why a hand install does not last
podman-omekare-creates the container on every start. Only two paths are mounted:/var/lib/archive/filesand the sign-in module from the store./var/www/html/volume/themeslives in the container's own layer, so it is rebuilt from the image each time. Local Contexts survives only because the render names it inOMEKA_MODULESand the image fetches it again on each start.Evidence (whakatohea-demo, 2026-09-28): the container's creation time and the Local Contexts module directory carry the same timestamp, 03:34 UTC.
The themes
Ten, all installed by hand on the demo and listed by Omeka as active on 4.2.1. Pin these versions:
Total about 26 MB installed, 18 MB to download.
Multilingualis left out: it targets Omeka 3.Keep the list as one constant so it is easy to trim. Two themes come from outside the Omeka team (bookshelf, Rosenwald-Fund-Collection); Ben asked for all ten.
How
The pinned image already supports this. Its entrypoint (
/docker-entrypoint-init.d/02-configure-omeka.sh) runsomeka-s-cli theme:download <name>for each space-separated name inOMEKA_THEMES, andtheme:downloadacceptsid:version.internal/clan/archive.go, renderOMEKA_THEMESbesideOMEKA_MODULES, each entry asid:version.set -euo pipefail, no|| true).archive-brandkeeps creating the site ondefault; the steward chooses.Acceptance criteria
OMEKA_THEMESto the ten pinned themes.omeka-s-cli theme:listinside the container lists all ten plusdefault, and again aftersystemctl restart podman-omeka.internal/clan/archive_test.gocover the env line, the pinned versions and the check.docs/GOTCHAS.mdgains an entry: the archive container is re-created on every start, so themes and modules added by hand do not last.STATUS.mdupdated in the same commit.Out of scope
Open hazard to record, not to solve here
Start-up now depends on GitHub being reachable. If that proves a problem, the alternative is to fetch each theme into the store by hash and mount it read-only, as the sign-in module is.
swarm-claim host=matou-dev-server-01 run=35172
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1970 — status
success⛔ close-report gates REFUSED this close — the following claims did not verify:
envelope
close-report for #1970 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope