Service Runtime Error: No migration path for Bitcoin Knots

I updated to v0.4.0.4, but I think I need to reinstall Bitcoin Core or BTC Knots from scratch because I received the messages below. None of my services migrated over from v3.5.1.

“Service Runtime Error: Error: this service has no migration path from #knots 29.3.1:0 to knotsprerdts:20:3:31, so its data cannot be carried over.”

I received the same message when I was on the previous OS v 0.4.0.3

I am not a technical person so please outline step by step, what I need to do to get my node up and running again.

Thanks for your help!

Hi Israel, thanks for the screenshot. Your old Knots version (29.3.1) can’t be carried over to StartOS 0.4.0. It was published for two different builds, and one of them follows the new BIP-110 rules, so StartOS won’t reuse its data. Retrying won’t help, so the fix is a fresh install:

  1. Services > Bitcoin Knots > Uninstall. (If you ever created a wallet inside Knots, tell me first.)
  2. Marketplace > install Bitcoin Core, or Bitcoin Knots (pre-RDTS) from the Community Registry, and let it sync. That can take a day or more.
  3. Reinstall Mempool from the Marketplace.

Post a screenshot here if anything errors.

I did create new wallets in Sparrow. Where do I go from here?

Homer, in response to #1 in your response to me, I did create new wallets in Sparrow.

Where do I go from here?

Ok can you tell what exactly are you trying to do now? Are you trying to connect your desktop wallet Sparrow to BTC node or Electrs/Fulcrum?

First I have to reinstall BTC Core or Knots. Before the upgrade, my desktop Sparrow wallet was connected to Electrs.

I am a little confused because of my technical deficiencies, but shouldn’t I connect Sparrow to my Node and to Electrs?

Here are some links that will clear it up for you:

Thanks Homer.

The manual for connecting your wallet uses a lot of technical language, but I will try to follow it unless you are willing to give me simpler instructions.

In your initial response to my question about how to get the blockchain reinstalled you gave me the following instructions:

  1. Services > Bitcoin Knots > Uninstall. (If you ever created a wallet inside Knots, tell me first.)"
  2. Marketplace > install Bitcoin Core, or Bitcoin Knots (pre-RDTS) from the Community Registry, and let it sync. That can take a day or more.
  3. Reinstall Mempool from the Marketplace.

Now that I have answered your question about having a wallet (Sparrow), do the instructions above still stand or do they need to be modified? If so, please outline the new instructions and be as detailed as possible using non-tech language.

Also, at what point do I connect my wallet?

Thanks for your help and your patience!

Yes, the three steps still apply. Your Sparrow wallets live on your computer, not on the server, so uninstalling Knots doesn’t touch them. Just keep your seed words safe.

Don’t connect any wallet yet. First, Bitcoin has to finish syncing and show as healthy. Then install Electrs or Fulcrum and wait until that has finished indexing too. Once both are done, connect Sparrow to Electrs or Fulcrum by following the StartOS guide I linked above.

Sparrow, Electrum servers and syncing a node are widely covered online. Sparrow’s own docs and the many video walkthroughs are a good place to get familiar with the basics.

Homer, I’m in the same situation. I upgraded my StartOS while on Knots 29.3.0, but neither Knots or Core show up in services now. I’d like to just update or install Core, but StartOS won’t let me. I get a message “Service Runtime Error: Error: this service has no migration path from #knotsprerdts:29.3.0:0 to 31.2:1, so its data cannot be carried over”. But, as I said, I cannot uninstall Knots because it isn’t showing up in my services. Do you have any suggestions? Thanks

Thanks for your help, Homer. I will let you know if I run into any problems.

Homer,

Bitcoin Knots is not displayed under Services so how can I uninstall it?

Homer,

Please reach out as soon as possible. Apparently there is a scammer out there using the email, “no-reply@start9.com.” He sent me an email saying the team opened a ticket for me based on my question to you, along with a ticket ID number.

This is very unsettling.

Then I receive another email from “Matt Hill” advising me not to click on any links because there is a scammer posing as Start9 with a link to message him. He is using the same email address I listed above.

Hello

I am in same situation as JohnnyC.

I upgraded start9 os, now it fails to install bacl knots with same error. I have install only, not reinstall. Also in existing services, I don’t find knots back, so cannot uninstall.

How to proceed?

@Israel Don’t click anything in that “ticket” email or reply to it. Whatever we need from you, we’ll ask here in the thread.

No-one will “open a thread” for you from Start9 in any official capacity. The only place to get support from Start9 is here: https://support.start9.com/

If you’re not a customer, actively using our official support, you won’t get any emails from us.

As for unofficial volunteer support:

Knots isn’t in Services because it didn’t make it across in the update from 0.3.5.1, so there’s nothing there to uninstall. Its data, blockchain included, is still on your server, and that’s what every install trips over. The second option in the earlier reply won’t work for you either: Bitcoin Knots (pre-RDTS) only takes data from Knots 29.3.0 or older, and your error message is it refusing 29.3.1.

StartOS has no button to clear data left behind by a service that’s gone, so this needs SSH. The docs walk you through connecting: https://docs.start9.com/start-os/ssh.html

Knots 29.3.1 was never in a Start9 registry. StartOS has no idea what it is or what to do with it. It was installed manually from its developer’s GitHub, where two different downloads carried that number. One follows normal Bitcoin rules. The other follows the new BIP-110 (RDTS) rules, which is a separate chain. Which one you had decides whether your blockchain can be kept. Once connected, run this. It looks for that setting in your old Knots config:

sudo grep -H consensusrules /media/startos/data/package-data/volumes/bitcoind/data/main/start9/config.yaml

If it prints nothing, you had the normal build and can keep your blockchain. This relabels the data as an ordinary Knots 29.3.0, which is what the pre-RDTS package expects:

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

Then, in the dashboard:

  1. Open Marketplace, click Start9 Registry at the top of the left menu and pick Community Registry.
  2. Open Bitcoin Knots (pre-RDTS) and click Install. It picks up your data as it is.
  3. Back in Marketplace, switch to Start9 Registry, open Bitcoin Core and click Switch where Install would normally be. Core then only has to catch up on the blocks it missed.

If it prints a line with rdts in it, your blockchain followed the other chain and can’t be reused. Delete it with this, then install Bitcoin Core from the Start9 Registry. It downloads the blockchain from scratch, which takes a day or more. Your Sparrow wallets live on your computer, so this doesn’t touch them.

sudo rm -rf /media/startos/data/package-data/volumes/bitcoind

@JohnnyC Put Knots back first, then switch, and you keep the blockchain:

  1. Open Marketplace, click Start9 Registry at the top of the left menu and pick Community Registry.
  2. Open Bitcoin Knots (pre-RDTS) and click Install. It picks up your existing data as it is, and there’s no need to wait for it to catch up.
  3. Back in Marketplace, switch to Start9 Registry, open Bitcoin Core and click Switch where Install would normally be.

Core then only catches up on the blocks it missed. If either step fails, post the error here.

@CoinBee

  • #knotsprerdts:29.3.0:0, like JohnnyC’s: the steps in my reply to him work for you too.
  • #knots:29.3.1:0: your Knots came from its developer’s GitHub rather than a registry, and my reply to Israel covers it.
  • #knots:29.4.0:0: also a GitHub install, and always the BIP-110 (RDTS) build. Skip the check in my reply to Israel and go straight to deleting the data and installing Bitcoin Core.

For Knots, you might need to contact the devs, they’ll need to know their services are missing migration paths or have other issues.

Thanks for explaining everything.

  1. Regarding the scammer: The response I received from the scammer was in my Inbox on the community.start9.com site plus I received an email as well. After I engaged with the scammer, their message which was originally visible under my notifications, disappeared.

  2. Because I am not tech savvy, is there a simpler way to handle this? Can I just remove everything from the server with the click of a few buttons and start fresh. I don’t have an issue with the Blockchain taking several days to download if there is an easier way to get this done.

I signed up for premium support. Thanks for your help! I appreciate it.