# Umbrel stuck in sync state still after reinstalling os and trying other troubleshooting

**URL:** <https://community.umbrel.com/t/umbrel-stuck-in-sync-state-still-after-reinstalling-os-and-trying-other-troubleshooting/5351>\
**Category:** Support and Troubleshooting\
**Created:** [December 22, 2021, 9:41pm UTC](https://community.umbrel.com/t/umbrel-stuck-in-sync-state-still-after-reinstalling-os-and-trying-other-troubleshooting/5351 "2021-12-22T21:41:18Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![PumbrelWumbrel](https://avatars.discourse-cdn.com/v4/letter/p/e9a140/32.png) [@PumbrelWumbrel](https://community.umbrel.com/u/PumbrelWumbrel)\
**Post date:** [December 22, 2021, 9:41pm UTC](https://community.umbrel.com/t/umbrel-stuck-in-sync-state-still-after-reinstalling-os-and-trying-other-troubleshooting/5351/1 "2021-12-22T21:41:18Z")

</div>

I do not know when this started because one day I assumed the UI was just loading slow then i realized a few days later when I tried it was an OS issue. I can still ssh into my umbrel. I tried all of the suggestions for this symptom except reinstalling from seed because it is a last resort. The SSH keypair changed on my device after reinstalling the OS idk if that is normal but the password stayed the same. Either way I need to know if there is another troubleshooting step that is not listed that I could try before I try to reinstall from seed. The UI is just stuck on sync for bitcoin core and lightning and everything else but I can log in. It was happening pre and post upgrade.

---

<div class="post-metadata">

**Author:** ![jonsyu](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/jonsyu/32/1803_2.png) [@jonsyu](https://community.umbrel.com/u/jonsyu)\
**Post date:** [December 23, 2021, 8:18pm UTC](https://community.umbrel.com/t/umbrel-stuck-in-sync-state-still-after-reinstalling-os-and-trying-other-troubleshooting/5351/2 "2021-12-23T20:18:39Z")

</div>

Hey @PumbrelWumbrel, sorry to hear about the stall (actually had a similar issue myself recently), curious if you’re able to get some logs for us to look at - curious to see whether the sync is actually happening on the backend (in which case you might just need to wait).

Probably could use both the general debug logs, and also the bitcoin-specific logs:  
docker-compose logs --tail=300 bitcoin

> [@How to Generate Debugging Logs](http://community.umbrel.com/t/how-to-generate-debugging-logs/5110):
>
> There are a variety of logs that provide useful information on your Umbrel machine. In every case, we need you to copy the log entries and input them into an online service like [0bin](https://0bin.net/) (set the expiration to 1 month) or [pastebin.com](https://pastebin.com/), which will provide a link that you can share. If you are able to log into Umbrel through a browser Logs are available under Settings-\>Troubleshooting. Please note that it may take a moment to output all the logs. [image] [image] If you are unable to log into Umbr…

---

<div class="post-metadata">

**Author:** ![PumbrelWumbrel](https://avatars.discourse-cdn.com/v4/letter/p/e9a140/32.png) [@PumbrelWumbrel](https://community.umbrel.com/u/PumbrelWumbrel)\
**Post date:** [December 30, 2021, 7:46am UTC](https://community.umbrel.com/t/umbrel-stuck-in-sync-state-still-after-reinstalling-os-and-trying-other-troubleshooting/5351/3 "2021-12-30T07:46:50Z")

</div>

Here is my log file [https://0bin.net/paste/2UL+6JFN#FAZUQ-95xgV7Kyw1shsOfkftECqYlI/3REotY2ayBlc](https://0bin.net/paste/2UL+6JFN#FAZUQ-95xgV7Kyw1shsOfkftECqYlI/3REotY2ayBlc)  
Please let me know what to do.

---

<div class="post-metadata">

**Author:** ![PumbrelWumbrel](https://avatars.discourse-cdn.com/v4/letter/p/e9a140/32.png) [@PumbrelWumbrel](https://community.umbrel.com/u/PumbrelWumbrel)\
**Post date:** [January 1, 2022, 11:10pm UTC](https://community.umbrel.com/t/umbrel-stuck-in-sync-state-still-after-reinstalling-os-and-trying-other-troubleshooting/5351/4 "2022-01-01T23:10:05Z")

</div>

@jonsyu please get back to me i fear all my channels have probably closed by now

---

<div class="post-metadata">

**Author:** ![LoboGuara](https://avatars.discourse-cdn.com/v4/letter/l/54ee81/32.png) [@LoboGuara](https://community.umbrel.com/u/LoboGuara)\
**Post date:** [January 2, 2022, 3:09am UTC](https://community.umbrel.com/t/umbrel-stuck-in-sync-state-still-after-reinstalling-os-and-trying-other-troubleshooting/5351/5 "2022-01-02T03:09:41Z")

</div>

Reading a guide from jonsyu and your logs, i would suggest sshing:

sudo systemctl stop umbrel-startup && sudo systemctl start umbrel-startup -reindex-chainstate

but i’m not shure if start will accept the option (-reindex-chainstate).  
If it works, it may take many hours to reindex all blockchain

---

<div class="post-metadata">

**Author:** ![LoboGuara](https://avatars.discourse-cdn.com/v4/letter/l/54ee81/32.png) [@LoboGuara](https://community.umbrel.com/u/LoboGuara)\
**Post date:** [January 2, 2022, 3:30am UTC](https://community.umbrel.com/t/umbrel-stuck-in-sync-state-still-after-reinstalling-os-and-trying-other-troubleshooting/5351/6 "2022-01-02T03:30:00Z")

</div>

I also find this instructions to reindex blockchain:

> Hey! Please SSH into the Pi and execute the following command to reindex the blockchain:
> 
> `echo reindex=1 >> ~/umbrel/bitcoin/bitcoin.conf && sudo reboot`
> 
> After it’s synced 100%, run this to stop it from reindexing on a future restart:
> 
> `sed -i "s/reindex=1//g;" ~/umbrel/bitcoin/bitcoin.conf && sudo reboot`

---

<div class="post-metadata">

**Author:** ![PumbrelWumbrel](https://avatars.discourse-cdn.com/v4/letter/p/e9a140/32.png) [@PumbrelWumbrel](https://community.umbrel.com/u/PumbrelWumbrel)\
**Post date:** [January 3, 2022, 3:14pm UTC](https://community.umbrel.com/t/umbrel-stuck-in-sync-state-still-after-reinstalling-os-and-trying-other-troubleshooting/5351/7 "2022-01-03T15:14:15Z")

</div>

> [@LoboGuara](#):
>
> ot shure if start will accept the option (-reind

I am fine with waiting hours or days for reindex I would just like to get back online without re-seed, thank you for your reply I will attempt this soon and post results.

---

<div class="post-metadata">

**Author:** ![PumbrelWumbrel](https://avatars.discourse-cdn.com/v4/letter/p/e9a140/32.png) [@PumbrelWumbrel](https://community.umbrel.com/u/PumbrelWumbrel)\
**Post date:** [January 5, 2022, 9:08pm UTC](https://community.umbrel.com/t/umbrel-stuck-in-sync-state-still-after-reinstalling-os-and-trying-other-troubleshooting/5351/8 "2022-01-05T21:08:25Z")

</div>

Hello again @LoboGuara, I attempted the first command and my umbrel is still in the same state it was in before. The UI is loading, it claims the bitcoin core is synchronized but the UI still says synchronizing and it doesnt allow me to operate any other parts of the system. It indicates that lightning is not operational. Bitcoin core may be synced but it is also unlikely because of the way the UI is behaving. Can you recommend any other solutions for me? @jonsyu please get back to me too if you can add anything. Otherwise I will just go through with the manual reinstall. I understand this is beta software, but this is the 2nd time I have had to recover my umbrel device and it is starting to put me off of this ecosystem a lot.

---

<div class="post-metadata">

**Author:** ![jonsyu](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/jonsyu/32/1803_2.png) [@jonsyu](https://community.umbrel.com/u/jonsyu)\
**Post date:** [January 6, 2022, 5:25am UTC](https://community.umbrel.com/t/umbrel-stuck-in-sync-state-still-after-reinstalling-os-and-trying-other-troubleshooting/5351/9 "2022-01-06T05:25:34Z")

</div>

Hey, sorry for the delay - so, it does seem like there’s some corruption going on, though I also would’ve recommended just reindexing. Could you potentially generate the full logs for me to look at? You can just go to settings-\>troubleshoot-\>start, and it’ll let you download the logs and then you can just add them here as an attachment.

---

<div class="post-metadata">

**Author:** ![LoboGuara](https://avatars.discourse-cdn.com/v4/letter/l/54ee81/32.png) [@LoboGuara](https://community.umbrel.com/u/LoboGuara)\
**Post date:** [January 6, 2022, 11:57am UTC](https://community.umbrel.com/t/umbrel-stuck-in-sync-state-still-after-reinstalling-os-and-trying-other-troubleshooting/5351/10 "2022-01-06T11:57:20Z")

</div>

@PumbrelWumbrel , yes RPi is not reliable to be a pro server, I find there is unrealistic spectation on this. This week my Umbrel seemed fine, I did a shutdown, SSD got corrupted and coudn´t restart, I can’t imagine why. Statics? Linux bugs? USB 3 bad specifications? But we have no time or resources to do research. Loosing all service once every month, not easy to go on.

---

<div class="post-metadata">

**Author:** ![PumbrelWumbrel](https://avatars.discourse-cdn.com/v4/letter/p/e9a140/32.png) [@PumbrelWumbrel](https://community.umbrel.com/u/PumbrelWumbrel)\
**Post date:** [January 18, 2022, 2:57am UTC](https://community.umbrel.com/t/umbrel-stuck-in-sync-state-still-after-reinstalling-os-and-trying-other-troubleshooting/5351/11 "2022-01-18T02:57:56Z")

</div>

@jonsyu Hello, I will paste my log here. Please look over it as soon as possible thank you.[umbrel-1642474628899-debug.log](https://community.umbrel.com/uploads/short-url/v99rRgQnmHP1xBb7aKiUPPUHEvO.log) (39.0 KB)

---

<div class="post-metadata">

**Author:** ![PumbrelWumbrel](https://avatars.discourse-cdn.com/v4/letter/p/e9a140/32.png) [@PumbrelWumbrel](https://community.umbrel.com/u/PumbrelWumbrel)\
**Post date:** [January 29, 2022, 12:12am UTC](https://community.umbrel.com/t/umbrel-stuck-in-sync-state-still-after-reinstalling-os-and-trying-other-troubleshooting/5351/12 "2022-01-29T00:12:26Z")

</div>

@jonsyu any update?

---

<div class="post-metadata">

**Author:** ![LoboGuara](https://avatars.discourse-cdn.com/v4/letter/l/54ee81/32.png) [@LoboGuara](https://community.umbrel.com/u/LoboGuara)\
**Post date:** [January 29, 2022, 2:24am UTC](https://community.umbrel.com/t/umbrel-stuck-in-sync-state-still-after-reinstalling-os-and-trying-other-troubleshooting/5351/13 "2022-01-29T02:24:39Z")

</div>

Using HD?

---

<div class="post-metadata">

**Author:** ![jonsyu](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/jonsyu/32/1803_2.png) [@jonsyu](https://community.umbrel.com/u/jonsyu)\
**Post date:** [January 29, 2022, 3:05am UTC](https://community.umbrel.com/t/umbrel-stuck-in-sync-state-still-after-reinstalling-os-and-trying-other-troubleshooting/5351/14 "2022-01-29T03:05:25Z")

</div>

Hey, it seems like your blockchain data got corrupted unfortunately, I think you might need to try reindexing. If you check out this guide by a community member, he has some steps under the section “Blockchain data is corrupted, how can I fix it?”

> [@Umbrel Troubleshooting Guide](http://community.umbrel.com/t/umbrel-troubleshooting-guide/3632):
>
> Edit by moderators The new, official troubleshooting guide can be found here: Huge thanks to DarthCoin for writing and maintaining the previous community version of the guide.

---

<div class="post-metadata">

**Author:** ![PumbrelWumbrel](https://avatars.discourse-cdn.com/v4/letter/p/e9a140/32.png) [@PumbrelWumbrel](https://community.umbrel.com/u/PumbrelWumbrel)\
**Post date:** [February 1, 2022, 11:56pm UTC](https://community.umbrel.com/t/umbrel-stuck-in-sync-state-still-after-reinstalling-os-and-trying-other-troubleshooting/5351/15 "2022-02-01T23:56:55Z")

</div>

yes

---

<div class="post-metadata">

**Author:** ![LoboGuara](https://avatars.discourse-cdn.com/v4/letter/l/54ee81/32.png) [@LoboGuara](https://community.umbrel.com/u/LoboGuara)\
**Post date:** [February 2, 2022, 3:23am UTC](https://community.umbrel.com/t/umbrel-stuck-in-sync-state-still-after-reinstalling-os-and-trying-other-troubleshooting/5351/16 "2022-02-02T03:23:10Z")

</div>

Several people said here low speed HDs won´t go syncronising blockchain. Change to a SSD as recommended. And even with SSD, be warned that is common bad USB cables or bad usb-to-sata adapters go corrupting data.
