Saving orphaned bitcoind data after failed 0.3.5.1 → 0.4.1.1 migration — “no migration path” blocks all installs. How do I adopt my existing blockchain into a fresh Bitcoin service?

— Title: Saving orphaned bitcoind data after failed 0.3.5.1 → 0.4.1.1 migration — “no migration path” blocks all installs. How do I adopt my existing blockchain into a working Bitcoin service?

Category: StartOS Support (Services)


My primary goal: preserve my existing blockchain data (~600 GB, fully synced before the upgrade) rather than re-syncing from scratch. Please tell me clearly whether this is possible on 0.4.1.1, and if so, the exact steps.

My setup:

  • Server: Server One (x86_64)
  • OS before: StartOS 0.3.5.1 with Bitcoin Knots 29.3.1 (#knots:29.3.1:0), electrs, Tor — chain fully synced
  • OS now: 0.4.1.1
  • Upgrade method: over-the-air (System → Begin Update)

Everything I’ve done, in order:

  1. Made a complete backup first: updated all services on 0.3.5.1, stopped everything, backed up to a 57.6 GB USB flash drive via System → Backups (0.3.5.1 format backup, pre-upgrade). I understand this can only restore onto 0.3.5.1, not 0.4.x — treating it as rollback-only.

  2. Ran the OTA update to 0.4.0, which completed.

  3. Immediately received this notification:

    Services Failed To Migrate — Failed to migrate the following services from 0.3.5.1: Bitcoin Knots. YOUR DATA IS SAFE. Simply re-install these services from the marketplace.

    Technical cause logged: Migration Failed — bitcoind — S9PK Parsing Error: image archive has no image for the requested platform

  4. Bitcoin disappeared from my Services list entirely — only electrs and Tor remain. There is no bitcoind entry visible to uninstall, update, or reinstall from the Services page. The migration notification has no “view details” or action buttons.

  5. Marketplace install attempt — Bitcoin Knots (pre-RDTS) → failed: Error: this service has no migration path from #knots:29.3.1:0 to #knotsprerdts:29.3:31, so its data cannot be carried over

  6. Marketplace install attempt — Bitcoin Core 31.2 → failed: Error: this service has no migration path from #knots:29.3.1:0 to 31.2:1, so its data cannot be carried over

  7. Hard-refreshed, checked Notifications, Services, Marketplace — no way to abandon the orphaned data or clear the old package registration.

  8. NOT yet tried: sideloading. Based on the PaulsCode “Recovering from Stalled Chain Split” guide, I understand the pre-RDTS package 29.3.knots20260507 “takes over your existing Bitcoin data rather than starting a new sync” and is built for both processor platforms. Before I sideload it, I want to make sure that’s the right move so I don’t make the situation worse.

  9. Tor is running with bridges active — working perfectly on 0.4.1.1.

  10. electrs is NOT running — it shows a status error indicating it “needs Bitcoin Core” or “requires latest Bitcoin Core version.” Without Bitcoin, electrs is useless anyway.

My understanding of the situation (correct me if wrong): The original migration failed because the old Knots package couldn’t be parsed (“no image for the requested platform”), leaving the bitcoind volumes orphaned on disk while the package-store registration for #knots:29.3.1:0 remained. Every install attempt — Knots pre-RDTS or Core — is treated as a migration from that ghost registration, fails the migration check, and aborts. The notification said “simply re-install,” but reinstalling is precisely what keeps failing.

My questions — please answer each directly:

  1. Is my existing blockchain data recoverable on 0.4.1.1 at all? Yes or no. If yes:
  2. What are the exact steps to attach my existing bitcoind volumes to a working Bitcoin service — which package/version should I install (Core 31.2, Knots pre-RDTS, or the sideloaded pre-RDTS 29.3.knots20260507?), and in what order?
  3. Is sideloading the pre-RDTS 29.3.knots20260507 package safe and advisable in my situation? Or will it hit the same migration block? If it’s the right move, should I do anything first (clear the notification, adjust config, free disk space)?
  4. If my data cannot be adopted: what is the supported way to abandon/delete the orphaned bitcoind registration and volumes so a fresh install can proceed? Exact steps please (UI, or SSH/CLI commands if that’s required — I can run SSH commands and share output).
  5. Before I do anything: are there any commands or actions that would make the data unrecoverable (e.g., does clicking Uninstall anywhere delete the orphaned volumes)? I want to avoid destroying my one chance to save the sync.
  6. electrs: it currently refuses to run without Bitcoin Core. Once Bitcoin is restored (whether Knots or Core), will electrs automatically start working, or will it require reconfiguration?
  7. Version preference: if my data can be adopted, I strongly prefer Bitcoin Knots pre RDTS or Core 29.x if available, since it’s closest to my original Knots 29.3.1 and may have better compatibility with the existing data format. Does 0.4.1.1 offer older major versions in the marketplace, or only the latest?

If it helps your diagnosis: my install attempt logs are timestamped Nov 5, 00:38 / 00:40 / 00:57 / 01:09 (the errors quoted above), and the migration-failure log entry (S9PK Parsing Error) is from Nov 5, 00:29, immediately after “Welcome to StartOS 0.4.0”.

Thank you — I’m happy to provide any additional logs, SSH output, or screenshots you need.


Update — additional blockers discovered (Nov 5, ~8 hrs later):

I’ve kept digging while waiting, and there are two new pieces of information for whoever picks this up:

1. The pre-RDTS sideload package is rejected by the UI as legacy format.

Following the PaulsCode “Recovering from Stalled Chain Split” recovery guide, I downloaded the Retropex pre-RDTS package v29.3.knots20260507 (the build documented as “taking over existing Bitcoin data rather than starting a new sync”), verified its SHA-256 (3a57a796...f1dc, matches both the release page and the bip110.org guide). When I attempt to sideload it via System → Sideload Service on 0.4.1.1, I get:

“Version 1 s9pk detected. This package format is deprecated. You can sideload a V1 s9pk via start-cli if necessary.”

So the UI hard-rejects v1-format packages.

2. My questions now, restated as directly as possible:

  1. Can my orphaned bitcoind data (from #knots:29.3.1:0, volume still on disk, never uninstalled) be adopted by ANY installable package on 0.4.1.1? If yes — which one, and exact steps.
  2. Is CLI sideloading the answer to the v1 rejection? I have SSH access and am comfortable running start-cli commands. From the docs I’ve found start-cli package install --sideload <file>. Will this (a) accept a v1 package, and (b) bypass or hit the same “no migration path from #knots:29.3.1:0” migration check? Exact command sequence appreciated, including how to get the local file onto the server first (SCP? USB?).
  3. Is there a v2-format build of the pre-RDTS 29.3.knots20260507 code anywhere? The Start9-Community bitcoin-knots-prerdts-startos repo publishes v2-format packages (#knotsprerdts:29.3:27/:28/:31) — but Marketplace install of :31 fails on the migration-path check. Is there any of those versions that would install as a fresh install and pick up the existing volume, per the 0.4.0 docs statement that “StartOS keeps the service’s volume on disk if migration fails. Install the service again from the marketplace and it will pick that data back up”?
  4. If preservation is genuinely impossible, what is the supported way to abandon the orphaned data and registration so a clean Core 31.2 install proceeds? (I will not click Uninstall — I understand it deletes the data volume.)
  5. Priority flag: I would strongly prefer to preserve the blockchain. I’m prepared to run any supported CLI procedure under your guidance.

Current state: Tor (bridges) working fine; electrs idle (demands latest Bitcoin Core); no bitcoind entry anywhere in Services; ghost registration from #knots:29.3.1:0 intercepts all installs. Logs timestamps in original post.

I couldn’t read most of the above, but I get the gist of your question and where you went wrong.

The Bitcoin Knots you were running didn’t come from the Start9 Registry or the Community Registry. No marketplace ever offered Knots 29.3.1 for 0.3.5.1, so it was a package someone else built (Retropex, on GitHub) and you installed it with Sideload. StartOS has no way to know what an outside package like that is or what to do with its data, any more than it could make sense of a custom service someone created called “MyPersonalBitcoinNode”. That’s why “simply re-install” doesn’t work for you: your data is labelled #knots:29.3.1:0, a version no marketplace package has ever published, so every one of them refuses it. Once you sideload a package, keeping it working across updates is down to you, not StartOS.

Your blockchain should still be there. Nothing on the Services page or in the Marketplace can delete it: there’s no Bitcoin entry to uninstall, and a failed install leaves the data exactly as it found it. Trying again is safe, it just fails the same way.

Which chain do you want to run from now on? Bitcoin, or Blake2bcoin? Back on StartOS v0.3.5.1 Retropex published two different Knots releases, both numbered 29.3.1. One is regular Knots and follows Bitcoin. The other adds the RDTS soft fork, and it wouldn’t start until you typed rdts into a setting called Consensus rules. The RDTS chain split off from Bitcoin in August and has since switched its mining to Blake2b, so it’s now a separate coin, Blake2bcoin. If you ran that release, everything your node downloaded after the split is Blake2bcoin’s, not Bitcoin’s.

To see which one you ran, SSH into your server as you did before and run these two commands, one at a time. Both only read, nothing is changed.

sudo cat /media/startos/data/package-data/volumes/bitcoind/data/.version; echo
sudo grep -H consensusrules /media/startos/data/package-data/volumes/bitcoind/data/main/start9/config.yaml; echo "exit $?"

The first should print #knots:29.3.1:0. The second prints a line ending in rdts if you ran the RDTS release, or only exit 1 if you ran regular Knots. If either says No such file or directory, stop there and paste what it printed.

If you ran regular Knots and want Bitcoin, you keep your blockchain. Bitcoin Knots (pre-RDTS) in the Community Registry runs the very same Knots release you had (though it is now abandoned), and the label is the only thing stopping it. So you change the label to the last Knots version it accepts, then install it:

  1. In the same SSH window, run:

    echo -n '#knots:29.3.0:0' | sudo tee /media/startos/data/package-data/volumes/bitcoind/data/.version; echo
    

    It prints #knots:29.3.0:0 back. This only changes the label, your blockchain isn’t touched.

  2. In StartOS, open Marketplace. At the top of the menu on the left, click Start9 Registry and choose Community Registry.

  3. Click Bitcoin Knots (pre-RDTS), then Install. It should pick up your blockchain, appear in Services and catch up on the blocks it missed, which is far quicker than a full sync. If the install fails, paste the error here.

If you ran the RDTS release and want Bitcoin, your blockchain followed Blake2bcoin after August, and there’s no reliable way to bring it back onto Bitcoin. A fresh sync is the safe route. Reply with what the commands printed and we’ll send the one command that clears the old data, after which Bitcoin Core or Bitcoin Knots (pre-RDTS) installs normally. If you ever kept a wallet in Knots, say so, because clearing the data deletes it too.

If you want Blake2bcoin then a third-party registry, start9.mempool.guide, publishes a Knots for it, and it’s the only package that accepts your label as it is. You’d source outside help to be able to use it.

Don’t sideload the file you downloaded, through start-cli or any other way. It’s the old package format, and at best it would come back as the same outside package with the same dead end. Bitcoin Knots (pre-RDTS) is that same Knots release, packaged for 0.4.

Electrs should start on its own once Bitcoin is installed and running, with nothing to reconfigure. It will likely take a while first, since it rebuilds its index from scratch.

Bitcoin Knots (pre-RDTS) is Knots 29.3, the closest thing to what you had, so you can simply stay on it. Bitcoin Core 28 through 31 are all in the Start9 Registry if you ever want Core instead, and from a running Knots (pre-RDTS) you can move to one with the Switch button on Bitcoin Core’s Marketplace page, keeping your blockchain.