Failed Update Raspberry Pi 4 to umbrelOS 1.0

I followed the steps downloading the new operating system and flashing my SD card for my Raspberry Pi 4. Before the update I had a minor issue with my node and allowed it to synch back to 100% with the bitcoin network.

After the new flash my apps showed up but bitcoin node will not finish “starting” and my synching appears to be stuck at 83%

tried looking at debug script “~/umbrel/scripts/debug” which showed I was still running 0.5.4 which seemed odd. tried reflashing several times but still same issues with bitcoin node app not starting. It’s been a while since I got into debugging my umbrel so any pointers to scripts and / or things to check out would be very helpful. Thanks

Hey @mtferg86,

Firstly, welcome to the Umbrel Community! :people_hugging:

Could you please provide the logs for your Umbrel and the Bitcoin Node app? You can do so through the http://umbrel.local/ dashboard as well as using the terminal like you have done with the debug script.

You can also try running sudo journalctl -u umbrel.service which, at least on version 1.x, should provide you with additional information - if in the event the upgrade did succeed, but you’re seeing the wrong version being reported which can happen.

If you’d like me to clarify something or to walk you through the steps, do let me know.

umbrel@umbrel:~$ sudo journalctl -u umbrel.service
[sudo] password for umbrel:


Jul 24 14:09:04 umbrel systemd[1]: Started umbrel.service - Umbrel daemon.
Jul 24 14:09:20 umbrel umbreld[770]: [umbreld ] :open_umbrella: Starting Umbrel v1.2.1
Jul 24 14:09:20 umbrel umbreld[770]: [umbreld ]
Jul 24 14:09:20 umbrel umbreld[770]: [umbreld ] dataDirectory: /home/umbrel/umbrel
Jul 24 14:09:20 umbrel umbreld[770]: [umbreld ] port: 80
Jul 24 14:09:20 umbrel umbreld[770]: [umbreld ] logLevel: normal
Jul 24 14:09:20 umbrel umbreld[770]: [umbreld ]
Jul 24 14:09:20 umbrel mender[790]: time=“2024-07-24T14:09:20Z” level=info msg=“‘UpdateControlMapExpirationTimeSeconds’>Jul 24 14:09:20 umbrel mender[790]: time=“2024-07-24T14:09:20Z” level=info msg=”'UpdateControlMapBootExpirationTimeSeco>
Jul 24 14:09:20 umbrel mender[790]: time=“2024-07-24T14:09:20Z” level=info msg=“No configuration files present. Using d>
Jul 24 14:09:20 umbrel mender[790]: time=“2024-07-24T14:09:20Z” level=warning msg=“No server URL(s) specified in mender>
Jul 24 14:09:20 umbrel mender[790]: time=“2024-07-24T14:09:20Z” level=warning msg=“Server entry 1 has no associated ser>
Jul 24 14:09:20 umbrel mender[790]: time=“2024-07-24T14:09:20Z” level=info msg=“No dual rootfs configuration present”
Jul 24 14:09:20 umbrel mender[790]: time=“2024-07-24T14:09:20Z” level=error msg=“Could not commit Artifact: There is no>
Jul 24 14:09:20 umbrel mender[790]: time=“2024-07-24T14:09:20Z” level=warning msg=“There is nothing to commit”
Jul 24 14:09:20 umbrel umbreld[770]: [umbreld ] [error] Failed to commit OS partition: Command failed with exit code 2>
Jul 24 14:09:20 umbrel umbreld[770]: time=“2024-07-24T14:09:20Z” level=info msg=”'UpdateControlMapExpirationTimeSeconds>
Jul 24 14:09:20 umbrel umbreld[770]: time=“2024-07-24T14:09:20Z” level=info msg=”'UpdateControlMapBootExpirationTimeSec>
Jul 24 14:09:20 umbrel umbreld[770]: time=“2024-07-24T14:09:20Z” level=info msg=“No configuration files present. Using >
Jul 24 14:09:20 umbrel umbreld[770]: time=“2024-07-24T14:09:20Z” level=warning msg=“No server URL(s) specified in mende>
Jul 24 14:09:20 umbrel umbreld[770]: time=“2024-07-24T14:09:20Z” level=warning msg=“Server entry 1 has no associated se>
Jul 24 14:09:20 umbrel umbreld[770]: time=“2024-07-24T14:09:20Z” level=info msg=“No dual rootfs configuration present”
Jul 24 14:09:20 umbrel umbreld[770]: time=“2024-07-24T14:09:20Z” level=error msg=“Could not commit Artifact: There is n>
Jul 24 14:09:20 umbrel umbreld[770]: time=“2024-07-24T14:09:20Z” level=warning msg=“There is nothing to commit”
Jul 24 14:09:20 umbrel umbreld[770]: [umbreld ] Set ondemand cpu governor
Jul 24 14:09:20 umbrel umbreld[770]: [umbreld ] Checking if system time is synced before continuing…
Jul 24 14:09:21 umbrel umbreld[770]: [umbreld ] System time is synced. Continuing…
Jul 24 14:09:21 umbrel umbreld[770]: [apps ] Cleaning up old networks…
Jul 24 14:09:21 umbrel umbreld[770]: [appstore ] Initialising app store
lines 1-29…skipping…
Jul 24 14:09:04 umbrel systemd[1]: Started umbrel.service - Umbrel daemon.
Jul 24 14:09:20 umbrel umbreld[770]: [umbreld ] :open_umbrella: Starting Umbrel v1.2.1
Jul 24 14:09:20 umbrel umbreld[770]: [umbreld ]
Jul 24 14:09:20 umbrel umbreld[770]: [umbreld ] dataDirectory: /home/umbrel/umbrel
Jul 24 14:09:20 umbrel umbreld[770]: [umbreld ] port: 80
Jul 24 14:09:20 umbrel umbreld[770]: [umbreld ] logLevel: normal
Jul 24 14:09:20 umbrel umbreld[770]: [umbreld ]
Jul 24 14:09:20 umbrel mender[790]: time=“2024-07-24T14:09:20Z” level=info msg=”‘UpdateControlMapExpirationTimeSeconds’ is not set in the Mender configuration file. Falling back to the default of >
Jul 24 14:09:20 umbrel mender[790]: time=“2024-07-24T14:09:20Z” level=info msg=”‘UpdateControlMapBootExpirationTimeSeconds’ is not set in the Mender configuration file. Falling back to the default>
Jul 24 14:09:20 umbrel mender[790]: time=“2024-07-24T14:09:20Z” level=info msg=“No configuration files present. Using defaults”
Jul 24 14:09:20 umbrel mender[790]: time=“2024-07-24T14:09:20Z” level=warning msg=“No server URL(s) specified in mender configuration.”
Jul 24 14:09:20 umbrel mender[790]: time=“2024-07-24T14:09:20Z” level=warning msg=“Server entry 1 has no associated server URL.”
Jul 24 14:09:20 umbrel mender[790]: time=“2024-07-24T14:09:20Z” level=info msg=“No dual rootfs configuration present”
Jul 24 14:09:20 umbrel mender[790]: time=“2024-07-24T14:09:20Z” level=error msg=“Could not commit Artifact: There is nothing to commit”
Jul 24 14:09:20 umbrel mender[790]: time=“2024-07-24T14:09:20Z” level=warning msg=“There is nothing to commit”
Jul 24 14:09:20 umbrel umbreld[770]: [umbreld ] [error] Failed to commit OS partition: Command failed with exit code 2: mender commit
Jul 24 14:09:20 umbrel umbreld[770]: time=“2024-07-24T14:09:20Z” level=info msg=”‘UpdateControlMapExpirationTimeSeconds’ is not set in the Mender configuration file. Falling back to the default of>
Jul 24 14:09:20 umbrel umbreld[770]: time=“2024-07-24T14:09:20Z” level=info msg=”‘UpdateControlMapBootExpirationTimeSeconds’ is not set in the Mender configuration file. Falling back to the defaul>
Jul 24 14:09:20 umbrel umbreld[770]: time=“2024-07-24T14:09:20Z” level=info msg=“No configuration files present. Using defaults”
Jul 24 14:09:20 umbrel umbreld[770]: time=“2024-07-24T14:09:20Z” level=warning msg=“No server URL(s) specified in mender configuration.”
Jul 24 14:09:20 umbrel umbreld[770]: time=“2024-07-24T14:09:20Z” level=warning msg=“Server entry 1 has no associated server URL.”
Jul 24 14:09:20 umbrel umbreld[770]: time=“2024-07-24T14:09:20Z” level=info msg=“No dual rootfs configuration present”
Jul 24 14:09:20 umbrel umbreld[770]: time=“2024-07-24T14:09:20Z” level=error msg=“Could not commit Artifact: There is nothing to commit”
Jul 24 14:09:20 umbrel umbreld[770]: time=“2024-07-24T14:09:20Z” level=warning msg=“There is nothing to commit”
Jul 24 14:09:20 umbrel umbreld[770]: [umbreld ] Set ondemand cpu governor
Jul 24 14:09:20 umbrel umbreld[770]: [umbreld ] Checking if system time is synced before continuing…
Jul 24 14:09:21 umbrel umbreld[770]: [umbreld ] System time is synced. Continuing…
Jul 24 14:09:21 umbrel umbreld[770]: [apps ] Cleaning up old networks…
Jul 24 14:09:21 umbrel umbreld[770]: [appstore ] Initialising app store
Jul 24 14:09:21 umbrel umbreld[770]: [appstore ] Initialising default repository…
Jul 24 14:09:21 umbrel umbreld[770]: [apprepository] Checking for update for GitHub - getumbrel/umbrel-apps: The official app repository of the Umbrel App Store. Submit apps and updates here. Learn how → https://github.com/getumbrel/umbrel-apps#readme
Jul 24 14:09:21 umbrel umbreld[770]: [server ] Listening on port 80
Jul 24 14:09:21 umbrel umbreld[770]: [apps ] Copying bins to /home/umbrel/umbrel/bin
Jul 24 14:09:21 umbrel umbreld[770]: [apps ] Copying bitcoin-cli
Jul 24 14:09:21 umbrel umbreld[770]: [apps ] Copying lncli
Jul 24 14:09:22 umbrel umbreld[770]: [apps ] Pre-loading local Docker image auth
Jul 24 14:09:22 umbrel umbreld[770]: [apps ] Pre-loading local Docker image tor
Jul 24 14:09:22 umbrel umbreld[770]: [apprepository] https: github is already up to date
Jul 24 14:09:22 umbrel umbreld[770]: [appstore ] Default repository initialised!
Jul 24 14:09:22 umbrel umbreld[770]: [appstore ] Checking repositories for updates every 5m
Jul 24 14:09:22 umbrel umbreld[770]: [apprepository] Checking for update for https:github
Jul 24 14:09:22 umbrel umbreld[770]: [apprepository] https:github is already up to date
Jul 24 14:09:35 umbrel umbreld[860]: Loaded image ID: sha256:#########4a7bc
Jul 24 14:09:39 umbrel umbreld[859]: Loaded image ID: sha256:#########a0872
Jul 24 14:09:40 umbrel umbreld[887]: time=“2024-07-24T14:09:40Z” level=warning msg=”-usr-local-lib-node_modules-umbreld-source-modules-apps-legacy-compat-docker-compose.yml: version is obsolete”
Jul 24 14:09:40 umbrel umbreld[887]: Network umbrel_main_network Creating
Jul 24 14:09:41 umbrel umbreld[887]: Network umbrel_main_network Created
Jul 24 14:09:41 umbrel umbreld[887]: Container tor_proxy Creating
Jul 24 14:09:41 umbrel umbreld[887]: Container auth Creating
Jul 24 14:09:41 umbrel umbreld[887]: Container tor_proxy Created
Jul 24 14:09:41 umbrel umbreld[887]: Container auth Created

I also added “reindex=1” to the bitcoin.conf file which finally got the Bitcoin Node application to have a “running” status.

There is still an issue where not after it started reindexing it reset to 0% again and restarted indexing and synching after maybe 10% synching was completed. The process seems to start loading the total number of blocks then confirming / synching from what I’ve observed (not super familiar with the process)

Hey @mtferg86

Thanks for being patient. It does look like you are on version 1.2.1 of umbrelOS so the debug script must be reporting the version incorrectly which sometimes happens after an upgrade.

With regard to your Bitcoin Node issue, could you provide the logs by right clicking the app icon and choosing “Troubleshoot”?

Also if you’re using any of the following apps or otherwise have any funds linked to your Umbrel, then it’s crucial to ensure any private keys or wallet passphrases are backed up in a secure location before attempting any fixes or troubleshooting steps.

  • Lightning Node
  • Core Lightning
  • Ordinals

I’m using SSH to go through things. I only have bitcoin and lightning on this machine. what files beyond the channel. I have the seed phrase created when I first started the node, but what else should I export beyond that to make sure I can rebuild if anything really goes wrong?

also I’m trying to relearn command line so I’m trying to do it all from SSH for instance:

Channel backup from cmd
scp umbrel@umbrel.local:~/umbrel/app-data/lightning/data/lnd/data/chain/bitcoin/mainnet/channel.backup C:\Users\User1\Downloads

Export debug log for bitcoin app
scp umbrel@umbrel.local:~/umbrel/app-data/bitcoin/data/bitcoin/debug.log C:\Users\User1\Downloads

So far I have been trying the following bits of code from other people encountering similar problems:

ssh umbrel@umbrel.local

delete potentially corrupted files
sudo rm ./umbrel/app-data/bitcoin/data/bitcoin/settings.json
sudo rm ./umbrel/app-data/bitcoin/data/bitcoin/peers.dat

make sure files are moved to the location for the new version
sudo mv umbrel/app-data/bitcoin/data/bitcoin/peers.dat umbrel/app-data/bitcoin/data/bitcoin/peers.dat.bak

reindex / re-download blockchain
sudo nano ~/umbrel/app-data/bitcoin/data/bitcoin/bitcoin.conf
reindex=1 -or- reindex-chainstate=1

When I reindex or reindex-chainstate the problem I always encounter is something along these lines:

2024-10-05T11:05:01Z LevelDB read failure: Corruption: block checksum mismatch: /data/.bitcoin/chainstate/068357.ldb
2024-10-05T11:05:01Z Fatal LevelDB error: Corruption: block checksum mismatch: /data/.bitcoin/chainstate/068357.ldb
2024-10-05T11:05:01Z You can use -debug=leveldb to get more complete diagnostic messages
2024-10-05T11:05:01Z Fatal LevelDB error: Corruption: block checksum mismatch: /data/.bitcoin/chainstate/068357.ldb

which causes my reindexing to stall out and reset. usually this happens a little over 50% into the download which is very frustrating. I’m trying to do it again to and to be around or get the log from the 1st failure to see if there is anything else going on because this failure just goes on repeat once the reindexing stops/

Now getting up to 99% synch, but hitting a problem with a levelDB mismatch (checksums not matching)

I’ve found 1 solution suggested to delete that file, but don’t want to do that until I know that the impact is:

rm 043241.ldb043241.ldb

-------------Debug Log-----------------------------------

2024-10-08T07:28:11Z UpdateTip: new best=00000000000000000001b2b514ebf305b48d365f8f59701043eeecc9dd01c179 height=862128 version=0x24000000 log2_work=95.165227 tx=1083117072 date=‘2024-09-20T14:41:19Z’ progress=0.990810 cache=412.3MiB(3401892txo)
2024-10-08T07:28:22Z basic block filter index thread start
2024-10-08T07:28:22Z Syncing basic block filter index with block chain from height 408231
2024-10-08T07:28:22Z txindex thread start
2024-10-08T07:28:22Z Syncing txindex with block chain from height 408231
2024-10-08T07:28:22Z Fatal LevelDB error: Corruption: block checksum mismatch: /data/.bitcoin/indexes/txindex/043241.ldb
2024-10-08T07:28:22Z You can use -debug=leveldb to get more complete diagnostic messages
2024-10-08T07:28:22Z Loading 34399 mempool transactions from disk…
2024-10-08T07:28:22Z