# Umbrel stuck syncing

**URL:** <https://community.umbrel.com/t/umbrel-stuck-syncing/843>\
**Category:** Support and Troubleshooting\
**Created:** [May 12, 2021, 11:21am UTC](https://community.umbrel.com/t/umbrel-stuck-syncing/843 "2021-05-12T11:21:35Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![titaniumbird](https://avatars.discourse-cdn.com/v4/letter/t/d26b3c/32.png) [@titaniumbird](https://community.umbrel.com/u/titaniumbird)\
**Post date:** [May 27, 2021, 3:00pm UTC](https://community.umbrel.com/t/umbrel-stuck-syncing/843/22 "2021-05-27T15:00:06Z")

</div>

Whole bunch of us dead in the water here with the same issue.

---

<div class="post-metadata">

**Author:** ![titaniumbird](https://avatars.discourse-cdn.com/v4/letter/t/d26b3c/32.png) [@titaniumbird](https://community.umbrel.com/u/titaniumbird)\
**Post date:** [May 27, 2021, 3:23pm UTC](https://community.umbrel.com/t/umbrel-stuck-syncing/843/23 "2021-05-27T15:23:18Z")

</div>

I’m resorting to looking at other forums where people are having this similar issue with running a “node” not Umbrel per se. The suggestion is to remove the peers.dat file, I’ve attempted to do that but apparently it would also require passing -rescan when starting “bitcoin” in order to rescan peers. The other option suggested is to pass -reindex on the startup. These don’t appear to be options on Umbrel start script.

---

<div class="post-metadata">

**Author:** ![titaniumbird](https://avatars.discourse-cdn.com/v4/letter/t/d26b3c/32.png) [@titaniumbird](https://community.umbrel.com/u/titaniumbird)\
**Post date:** [May 27, 2021, 4:46pm UTC](https://community.umbrel.com/t/umbrel-stuck-syncing/843/24 "2021-05-27T16:46:23Z")

</div>

Okay, don’t do what I did, it didn’t work. I’m going to try and wipe my install and start fresh. Stopped Umbrel, dropped my docker database and re-installed. I’m back to processing blocks, lets hope for the best. Thanks!

---

<div class="post-metadata">

**Author:** ![danclarkie](https://avatars.discourse-cdn.com/v4/letter/d/c6cbf5/32.png) [@danclarkie](https://community.umbrel.com/u/danclarkie)\
**Post date:** [May 31, 2021, 3:16am UTC](https://community.umbrel.com/t/umbrel-stuck-syncing/843/25 "2021-05-31T03:16:58Z")

</div>

Bumping this, still no success on my side in getting this working.  
Tried everything I can think of.

---

<div class="post-metadata">

**Author:** ![thumbprint](https://avatars.discourse-cdn.com/v4/letter/t/73ab20/32.png) [@thumbprint](https://community.umbrel.com/u/thumbprint)\
**Post date:** [June 1, 2021, 12:56am UTC](https://community.umbrel.com/t/umbrel-stuck-syncing/843/26 "2021-06-01T00:56:53Z")

</div>

Have the same issue!

---

<div class="post-metadata">

**Author:** ![danclarkie](https://avatars.discourse-cdn.com/v4/letter/d/c6cbf5/32.png) [@danclarkie](https://community.umbrel.com/u/danclarkie)\
**Post date:** [June 1, 2021, 8:57am UTC](https://community.umbrel.com/t/umbrel-stuck-syncing/843/27 "2021-06-01T08:57:15Z")

</div>

I reflashed the SD disk with a fresh download.

Literally nothing changed at all.

---

<div class="post-metadata">

**Author:** ![bjmitche](https://avatars.discourse-cdn.com/v4/letter/b/0ea827/32.png) [@bjmitche](https://community.umbrel.com/u/bjmitche)\
**Post date:** [June 1, 2021, 10:11pm UTC](https://community.umbrel.com/t/umbrel-stuck-syncing/843/28 "2021-06-01T22:11:21Z")

</div>

Hello. Running on Raspi with HDD.

I had exactly the ‘hangup’ that is screenshotted above. I saw that the bitcoin container was restarting every 45 seconds. I took a look at the logs and under bitcoin saw a statement saying to set reindex=1 in bitcoin.conf.

I did that and am now getting this error:

bitcoin | 2021-06-01T22:07:02Z init message: Loading block index…  
bitcoin | 2021-06-01T22:07:02Z Switching active chainstate to Chainstate [ibd] @ height -1 (null)  
bitcoin | 2021-06-01T22:07:02Z LevelDB using max\_open\_files=1000 (default=1000)  
bitcoin | 2021-06-01T22:07:02Z Wiping LevelDB in /data/.bitcoin/blocks/index  
bitcoin | 2021-06-01T22:07:02Z Opening LevelDB in /data/.bitcoin/blocks/index  
bitcoin | 2021-06-01T22:07:02Z leveldb: Delete type=3 #1  
bitcoin | 2021-06-01T22:07:02Z Opened LevelDB successfully  
bitcoin | 2021-06-01T22:07:02Z Using obfuscation key for /data/.bitcoin/blocks/index: 0000000000000000  
bitcoin | 2021-06-01T22:07:02Z WriteBatch memory usage: db=index, before=0.0MiB, after=0.0MiB  
bitcoin | 2021-06-01T22:07:02Z Initializing databases…  
bitcoin | 2021-06-01T22:07:02Z LevelDB using max\_open\_files=1000 (default=1000)  
bitcoin | 2021-06-01T22:07:02Z Wiping LevelDB in /data/.bitcoin/chainstate  
bitcoin | 2021-06-01T22:07:02Z Fatal LevelDB error: IO error: /data/.bitcoin/chainstate/066544.ldb: Bad message  
bitcoin | Error: Error opening block database  
bitcoin | 2021-06-01T22:07:02Z You can use -debug=leveldb to get more complete diagnostic messages  
bitcoin | 2021-06-01T22:07:02Z Fatal LevelDB error: IO error: /data/.bitcoin/chainstate/066544.ldb: Bad message  
bitcoin | 2021-06-01T22:07:02Z Error: Error opening block database  
bitcoin | 2021-06-01T22:07:02Z Shutdown: In progress…

---

<div class="post-metadata">

**Author:** ![SveinUtneHyperion](https://avatars.discourse-cdn.com/v4/letter/s/6bbea6/32.png) [@SveinUtneHyperion](https://community.umbrel.com/u/SveinUtneHyperion)\
**Post date:** [June 2, 2021, 12:50pm UTC](https://community.umbrel.com/t/umbrel-stuck-syncing/843/29 "2021-06-02T12:50:00Z")

</div>

Syncing takes a longtime. I have been runningfor 2 weeks and are only at 45%, and now itgoes much slower, so it will take 30 till 60 more days to sync.  
It it possible to download this instead?

---

<div class="post-metadata">

**Author:** ![SveinUtneHyperion](https://avatars.discourse-cdn.com/v4/letter/s/6bbea6/32.png) [@SveinUtneHyperion](https://community.umbrel.com/u/SveinUtneHyperion)\
**Post date:** [June 2, 2021, 8:42pm UTC](https://community.umbrel.com/t/umbrel-stuck-syncing/843/32 "2021-06-02T20:42:25Z")

</div>

I am using a 1 TB SSD and Raspberry 4 with 4 GB of RAM

---

<div class="post-metadata">

**Author:** ![SveinUtneHyperion](https://avatars.discourse-cdn.com/v4/letter/s/6bbea6/32.png) [@SveinUtneHyperion](https://community.umbrel.com/u/SveinUtneHyperion)\
**Post date:** [June 3, 2021, 5:00am UTC](https://community.umbrel.com/t/umbrel-stuck-syncing/843/33 "2021-06-03T05:00:11Z")

</div>

I think I am using an SSD. How can I check it? I can SSH into the Raspberry from my PC and see what is mounted, but how do I see if it is SSD or HDD?

---

<div class="post-metadata">

**Author:** ![SveinUtneHyperion](https://avatars.discourse-cdn.com/v4/letter/s/6bbea6/32.png) [@SveinUtneHyperion](https://community.umbrel.com/u/SveinUtneHyperion)\
**Post date:** [June 3, 2021, 7:18am UTC](https://community.umbrel.com/t/umbrel-stuck-syncing/843/34 "2021-06-03T07:18:23Z")

</div>

I just found out that it is 1 TB HDD…\*\*\*\*grrrrr

---

<div class="post-metadata">

**Author:** ![FrostyEraser](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/frostyeraser/32/582_2.png) [@FrostyEraser](https://community.umbrel.com/u/FrostyEraser)\
**Post date:** [June 3, 2021, 9:52pm UTC](https://community.umbrel.com/t/umbrel-stuck-syncing/843/35 "2021-06-03T21:52:11Z")

</div>

I “solved” the issue by connencting the ssd to my pc and formating it.  
Then umbrel began syncing from the beginning without problems.

I then again forced the problem by disconnecting power with the blockchain fully synced.

So the issue can happen anytime!

I understand that the problem is data corruption but is there no solution?  
Is the complete database corrupted?  
Maybe rollback a few blocks or a manual/automatic complete resync??

I read somewhere that they are trying a new file system to reduce data corruption.  
Any news on that front?

---

<div class="post-metadata">

**Author:** ![titaniumbird](https://avatars.discourse-cdn.com/v4/letter/t/d26b3c/32.png) [@titaniumbird](https://community.umbrel.com/u/titaniumbird)\
**Post date:** [June 9, 2021, 1:52pm UTC](https://community.umbrel.com/t/umbrel-stuck-syncing/843/36 "2021-06-09T13:52:02Z")

</div>

One thing for folks to check, banged my head on this for several days, noted in the log that there was an error reading settings.json. For the dash just hanging, showing no values, ensure you have both these files. ./electrs/.bitcoin/settings.json  
./bitcoin/settings.json  
the only values IN these files is what follows:  
{  
}

After fixing that, (one file was missing) everything is peachy keen.

---

<div class="post-metadata">

**Author:** ![okkman](https://avatars.discourse-cdn.com/v4/letter/o/41988e/32.png) [@okkman](https://community.umbrel.com/u/okkman)\
**Post date:** [June 11, 2021, 2:57pm UTC](https://community.umbrel.com/t/umbrel-stuck-syncing/843/37 "2021-06-11T14:57:57Z")

</div>

Can you clarify this a little bit? I found /bitcoin/setting.json and it had the brackets but a few extra spaces on the second line. I removed the spaces but no change. I have only two entries in the /electrs directory, another directory named db and a file called electrs.toml

Is there supposed to be something else in this directory?

---

<div class="post-metadata">

**Author:** ![titaniumbird](https://avatars.discourse-cdn.com/v4/letter/t/d26b3c/32.png) [@titaniumbird](https://community.umbrel.com/u/titaniumbird)\
**Post date:** [June 11, 2021, 3:28pm UTC](https://community.umbrel.com/t/umbrel-stuck-syncing/843/38 "2021-06-11T15:28:02Z")

</div>

You found the one in the .bitcoin directory? There’s a hidden directory with a .bitcoin, you won’t find it without ls -lsa or sudo find . -name settings.json  
./umbrel/electrs/.bitcoin/settings.json  
./umbrel/bitcoin/settings.json

---

<div class="post-metadata">

**Author:** ![titaniumbird](https://avatars.discourse-cdn.com/v4/letter/t/d26b3c/32.png) [@titaniumbird](https://community.umbrel.com/u/titaniumbird)\
**Post date:** [June 11, 2021, 3:39pm UTC](https://community.umbrel.com/t/umbrel-stuck-syncing/843/39 "2021-06-11T15:39:19Z")

</div>

Well if it’s not there you won’t “find” it, and that’s the directory where mine was missing. from the /electrs directory cd .bitcoin and you should find it there, if it’s not there, you’ve found the problem I had.

---

<div class="post-metadata">

**Author:** ![okkman](https://avatars.discourse-cdn.com/v4/letter/o/41988e/32.png) [@okkman](https://community.umbrel.com/u/okkman)\
**Post date:** [June 17, 2021, 2:14am UTC](https://community.umbrel.com/t/umbrel-stuck-syncing/843/40 "2021-06-17T02:14:10Z")

</div>

I did see that it was missing from ./umbrel/electrs so I added it there. This didn’t make any difference that I can see for my installation.

---

<div class="post-metadata">

**Author:** ![titaniumbird](https://avatars.discourse-cdn.com/v4/letter/t/d26b3c/32.png) [@titaniumbird](https://community.umbrel.com/u/titaniumbird)\
**Post date:** [June 17, 2021, 1:51pm UTC](https://community.umbrel.com/t/umbrel-stuck-syncing/843/41 "2021-06-17T13:51:56Z")

</div>

You restarted after that?

---

<div class="post-metadata">

**Author:** ![okkman](https://avatars.discourse-cdn.com/v4/letter/o/41988e/32.png) [@okkman](https://community.umbrel.com/u/okkman)\
**Post date:** [June 17, 2021, 2:01pm UTC](https://community.umbrel.com/t/umbrel-stuck-syncing/843/42 "2021-06-17T14:01:35Z")

</div>

Yes have done a couple of reboots since then. The strange part is that the activity of the pi and SSD is exactly the same as the pattern while it was doing the initial sync. When I open the mempool app it shows that latest block as a 3 week old block and doesn’t seem to get any newer. I tried the reindex command that I saw in another post last night and nothing has changed.

---

<div class="post-metadata">

**Author:** ![okkman](https://avatars.discourse-cdn.com/v4/letter/o/41988e/32.png) [@okkman](https://community.umbrel.com/u/okkman)\
**Post date:** [June 17, 2021, 2:04pm UTC](https://community.umbrel.com/t/umbrel-stuck-syncing/843/43 "2021-06-17T14:04:23Z")

</div>

I am using a different SSD than the recommended one, here are my logs: [https://umbrel-paste.vercel.app/af8cda3d6f75f201cbefa17d546cd6bd](https://umbrel-paste.vercel.app/af8cda3d6f75f201cbefa17d546cd6bd)

[Previous page](https://community.umbrel.com/t/umbrel-stuck-syncing/843.md?page=1)

[Next page](https://community.umbrel.com/t/umbrel-stuck-syncing/843.md?page=3)
