From 3cab40a3bb75c363c353e6faff3524797c8c2ef9 Mon Sep 17 00:00:00 2001 From: Nathan Fretz Date: Wed, 8 Apr 2026 17:28:36 +1000 Subject: [PATCH] Update ordinals to 0.27.1 (#5302) --- ordinals/docker-compose.yml | 2 +- ordinals/hooks/pre-start | 9 +++++---- ordinals/umbrel-app.yml | 4 ++-- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/ordinals/docker-compose.yml b/ordinals/docker-compose.yml index 8ab9afe9..d6dae01b 100644 --- a/ordinals/docker-compose.yml +++ b/ordinals/docker-compose.yml @@ -8,7 +8,7 @@ services: PROXY_AUTH_ADD: "false" ord: - image: nmfretz/ord:0.23.3@sha256:97c1d62ca3701fbdabd3fe0c29663f20b529183f41494ccaa2d444b9684fc472 + image: nmfretz/ord:0.27.1@sha256:241db02d32ab66012724a680b471460ec4d87076aba102013371223d143ec159 # This needs to run as root # user: "1000:1000" restart: on-failure diff --git a/ordinals/hooks/pre-start b/ordinals/hooks/pre-start index 8bdf4f65..adfdece7 100755 --- a/ordinals/hooks/pre-start +++ b/ordinals/hooks/pre-start @@ -26,16 +26,17 @@ if [[ -f "${APP_DATA_DIR}/index.redb" ]]; then fi # re-index ord on major version upgrades (so far in ord's history, this has been required on every major version update) -# 0.23 update note: updating from 0.22.x to 0.23.x does not require re-indexing, see https://x.com/rodarmor/status/1909286899275251887 -# for fresh installs this file will be harmlessly created -if [[ ! -f "${APP_DATA_DIR}/AT_LEAST_0-22-2" ]]; then +# 0.23 update note: updating from 0.22.x to 0.23.x does not require re-indexing, see https://x.com/rodarmor/status/1909286899275251887 +# 0.27.1 update note: updating from 0.23.x to 0.27.1 requires re-indexing (schema version 30 -> 34) +# for fresh installs this file will be harmlessly created +if [[ ! -f "${APP_DATA_DIR}/AT_LEAST_0-27-1" ]]; then # delete index db for all bitcoin networks for file in "${ORDINALS_DATA_DIR}/index.redb" "${ORDINALS_DATA_DIR}/testnet3/index.redb" "${ORDINALS_DATA_DIR}/testnet4/index.redb" "${ORDINALS_DATA_DIR}/regtest/index.redb" "${ORDINALS_DATA_DIR}/signet/index.redb"; do if [[ -f "${file}" ]]; then rm -f "${file}" fi done - touch "${APP_DATA_DIR}/AT_LEAST_0-22-2" + touch "${APP_DATA_DIR}/AT_LEAST_0-27-1" fi # migrate all wallet database files to ord/wallets, ord/testnet3/wallets, ord/regtest/wallets, and ord/signet/wallets for pre-0.18.2 versions: https://github.com/ordinals/ord/releases/tag/0.18.2 diff --git a/ordinals/umbrel-app.yml b/ordinals/umbrel-app.yml index 9c89a450..0727f91e 100644 --- a/ordinals/umbrel-app.yml +++ b/ordinals/umbrel-app.yml @@ -2,7 +2,7 @@ manifestVersion: 1 id: ordinals category: bitcoin name: Ordinals -version: "0.23.3" +version: "0.27.1" tagline: Run your own index, block explorer, and command-line wallet for Ordinals description: > Run your own index, block explorer, and command-line wallet for Ordinals. The app automatically connects to your Bitcoin node on umbrelOS for trustless operation. Simply install the app and wait for Ordinals to index inscriptions and runes. @@ -16,7 +16,7 @@ description: > Disclaimer: The Ordinals app does not control, filter, or moderate the content hosted on the Bitcoin blockchain. Consequently, you may come across NSFW (Not Safe For Work), objectionable, or unlawful material while using the app. releaseNotes: >- - Note: this major version update from 0.22.2 to 0.23.3 will NOT require ord to re-index from scratch. + ⚠️ This update from 0.23.3 to 0.27.1 requires ord to re-index from scratch due to database schema changes. Re-indexing will happen automatically on app update and may take several days depending on your hardware. ⏳ If ord is currently indexing, it may take a few minutes to safely shut down before updating. Please be patient during this process.