Перейти к содержимому

Upgrade Guide

Это содержимое пока не доступно на вашем языке.

v0.9 is backward-compatible for all features and storage. The only action required is updating renamed environment variables if you use any of the renamed names listed below.

FeatureImpactAction required
Docker namespace isolationStorage layout adds namespace prefixNone — lazy migration is automatic
Circuit breakerNew feature, disabled by defaultNone
Docker metadata TTL + stale-while-errorNew feature, opt-inNone
Streaming read_timeoutNew feature, opt-inNone
SIGHUP hot reload for curationNew capabilityNone
linux/arm64 binaryNew platformNone

v0.9 introduces per-upstream namespace prefixes for Docker storage keys to isolate data from different upstream registries.

Old layout (v0.8):

docker/{name}/blobs/{digest}
docker/{name}/manifests/{ref}.json

New layout (v0.9):

docker/{namespace}/{name}/blobs/{digest}
docker/{namespace}/{name}/manifests/{ref}.json

The namespace is derived from the upstream URL (e.g., registry-1.docker.io becomes docker.io) or set explicitly via the namespace field in [[docker.upstreams]].

Migration is automatic and lazy:

  • When NORA serves a request, it first checks the namespaced path.
  • If not found, it falls back to the legacy flat path.
  • No background migration runs at startup.
  • Existing cached data continues to be served without interruption.
  1. Stop the running NORA instance.
  2. Replace the binary or update the container image to v0.9.
  3. Start NORA with your existing configuration.
Terminal window
# Binary upgrade
curl -fsSL https://github.com/getnora-io/nora/releases/latest/download/nora-linux-amd64 -o nora
chmod +x nora
./nora

No data migration scripts are needed.

To roll back from v0.9 to v0.8:

  1. Stop the v0.9 instance.
  2. Replace the binary or image with v0.8.
  3. Start NORA.

v0.9 adds these optional variables (all disabled or inactive by default):

VariableDefaultDescription
NORA_CB_ENABLEDfalseEnable circuit breaker
NORA_CB_THRESHOLD5Failures before opening
NORA_CB_RESET_TIMEOUT30Seconds before probing
NORA_DOCKER_READ_TIMEOUT60Per-chunk read timeout (seconds)
NORA_DOCKER_METADATA_TTL-1Metadata cache TTL in seconds
NORA_DOCKER_SERVE_STALEtrueServe cached manifests when upstream is down

See Settings for the full reference.

v0.9 shortens several variable names to follow the NORA_{SECTION}_{FIELD} convention (under 30 characters):

Old nameNew name
NORA_TERRAFORM_ENABLEDNORA_TF_ENABLED
NORA_TERRAFORM_PROXYNORA_TF_PROXY
NORA_TERRAFORM_PROXY_TIMEOUTNORA_TF_PROXY_TIMEOUT
NORA_TERRAFORM_METADATA_TTLNORA_TF_METADATA_TTL
NORA_TERRAFORM_PROXY_TIMEOUT_DOWNLOADNORA_TF_PROXY_TIMEOUT_DL
NORA_CONAN_PROXY_TIMEOUT_DOWNLOADNORA_CONAN_PROXY_TIMEOUT_DL
NORA_CURATION_INTERNAL_NAMESPACESNORA_CURATION_INTERNAL_NS

The old names are no longer recognized. Update your configuration if you use any of these.