-
Notifications
You must be signed in to change notification settings - Fork 554
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dashboard loading stuck on "Loading Bitcoin Core" #331
Comments
@xFvl Could you please SSH in and paste a few logs from Bitcoin Core?
|
Interesting. Looks like there's disk corruption, or maybe an I/O issue since it's a new hdd (connection?). Relevant excerpt:
Full log tail:
Assuming I'd have to completely resync the chain if that's the case. |
Looks like I could try running it with the |
You can add reindex=1 to bitcoin/bitcoin.conf Also please run this: wget https://raw.githubusercontent.com/getumbrel/umbrel/7d76979514d9adefbefb8f6e898453b1f53a58d0/scripts/debug -O ~/umbrel/scripts/debug && chmod +x ~/umbrel/scripts/debug && ~/umbrel/scripts/debug --upload If it says it can't find a problem automatically, share the link it outputs |
https://hastebin.com/zatufehoge Added |
Thank you! I just wanted to make sure there's no bigger issue behind your problem, reindexing will probably fix it then |
Did reindexing fix the issue? Having the same problem here. |
Some SSDs do not work properly w/ the Raspberry pi4 USB 3.0 ports. You can use the 2.0 port and it should fix the issue but it will slow down you I/O speeds. Alternatively there is a work around here https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=245931 |
reindex=1 fixed the issue for me. Took about 3 days on the Raspi 4. |
This problem is a constant on Linux (not raspbery pi) installation. I complete 3 installation and always after complete the blocks sync was not possible to access the dashboard anymore. There was not shutdown, nothing, just complete the sync and the problem started. I even can't start to try the node. |
Hey @diemesleno! Are you using the official power supply? |
Hey @louneskmt , I'm not using Raspbery Pi as as said on my message. I did the installation over Linux (Ubuntu 20.04) 3 times from scratch and all the time when the sync from blocks |
Sorry I missed that part 😁 Have you ever tried to run the debug script? It may provide us more details on the issue. To execute it from your Umbrel dir:
You can send the resulting links here. |
Yes, I tried 4 times and even shared with you guys on telegram group. Here's the debug log again: https://hastebin.com/funayiragu Looks that the problem is on LND because it's trying to connect with some IPs with no success. |
The problem looks like: |
Looks that have problem with TOR too: tor | Jan 06 18:42:49.000 [notice] Average packaged cell fullness: 34.526%. TLS write overhead: 3% |
Wow, I just had this happen today. Been keeping an eye on the initial sync progress, and it really seems like right after it reached 100%, attempts to login stall at "Loading Bitcoin Core... This can take a while, please don't turn off your Umbrel!" Rebooted, same thing. I was so excited how well everything seemed to work while syncing, so this was an unexpected buzzkill. Maybe if I just leave it alone long enough? FINAL EDIT: I was just impatient, it's up and running smoothly! |
Same issue, it crashed around 80% sync, I tried everything but I cant access the dashboard anymore. My log are quite similar to yours : |
I was at 99.x % when I went to sleep 2 days later I have the. "Loading bitcoin core...please do not turn off Umbrel". Here is my output: umbrel@umbrel: |
That's normal then, just wait |
ok, thank you! If the purple progress bar moved, it would be easier to tell if it wasn't hung. Ran the above commands again, I can see the blocks are incrementing. It is almost caught up to the current block! bitcoin | 2021-03-12T17:58:01Z Rolling forward 00000000000000000008ea90611d21b8751659fc25c68dcf1f13f13ce193468b (674117) |
I am getting the same problem. Can I ask what the username and password format is for ssh and I'll send the log? I'm trying to login with username: umbrel and my umbrel password but incorrect login. Thanks |
Ok I logged into my umbrel and checked the log file. I added the reindex option and the Bitcoin daemon is syncing fine with no error messages. However it still displays the loading bitcoin core page. Did the problem seem to resolve after the fully synced? |
I have noticed this also could be a problem with how the Ubuntu disk sizing is implemented. Just to try, (maybe this is not the way, but it worked for me) to install Umbrel on Centos 7. During the installation i gave full space to /root and installed umbrel on /umbrel. Here is how to install Umbrel in Centos (bear in mind I am not a linux engineer, so if things could have bene done otherwise, then you know, this worked for me) Umbrel | bitcoin & Lightning Node | VM CentOS 7 Install | #1 !!!!When installing CentOS make sure you have allocated all space to /root!!! (minimum ~1 TB) or install umbrel to /home SSH $ yum install -y yum-utils INSTALL DOCKER$ yum check-update $ yum-config-manager $ yum install -y docker-ce docker-ce-cli containerd.io $ systemctl start docker INSTALL PYTHON 3$ yum update -y INSTALL DOCKER COMPOSE$ curl -L "https://github.com/docker/compose/releases/download/1.28.5/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose INSTALL FSWATCH$ yum groupinstall "Development Tools" -y INSALL RSYNC & CURL INSTALL JQ #DOWNLOAD UMBREL reboot now #START UMBREL #ADD TO CRON TO AUTOSTART DOCKER INSTALL $ yum install $ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add #- $ sudo apt-key fingerprint 0EBFCD88 $ sudo add-apt-repository $ sudo apt-get update $ sudo apt-get install docker-ce docker-ce-cli containerd.io $ sudo -s OLD $ sudo curl -L https://github.com/docker/compose/releases/download/1.21.2/docker-compose-`uname -s
|
Thanks @Ruppsn! Yes that's correct, you really do just need to wait. We're working on an update that will allow you to access the dashboard while this is happening so it can complete in the background. |
It is possible to access the dashboard while it is synching yet it is not possible to access the dashboard immediately after the synch. That is confusing. It feels like a step backwards. I was thinking that something went wrong. That's why I am here reading. I just waited many hours like suggested by @Ruppsn and others in this thread. I was able to access the dashboard eventually. |
Running: Gave the following results (is "Disk space too low" correct? my SSD is 1TB and bitcoin core only about 5% complete): Every 2.0s: docker logs --tail=20 bitcoin umbrel: Wed Apr 14 12:52:29 2021 |
What is the Output of
Is this the PATH to your Disk? |
@SnapFyre are you able to run:
and paste the output here? Did you SSH in and manually run the start script? Maybe your SSD isn't mounted and your syncing to the SD card? |
output: umbrel@umbrel:~ $ docker inspect --format {{.Mounts}} bitcoin I'm sorry, I don't know how to check the path. |
output: umbrel@umbrel:~ $ df -h Yes, I manually run the script as I could not connect via umbrel.local nor it's IP address. |
On a RaspberryPi i don´t believe that home is on your SSD. Your output of dh -h doesn´t show a device with 1TB. So your data is on SD Card. |
Ah, thank you..... how do I resolve this? |
I can see from the output here:
Your SD card is full, it looks like Umbrel is running on your SD card, not your SSD. If there is a problem with your SSD, Umbrel OS will not start Umbrel to prevent this. If you SSH in and manually start it, that can cause issues. Apologies, I know this is a little unclear. Once we've implemented this #632 we'll detect issues like this and instead of doing nothing, it will show a web page at umbrel.local explaining what went wrong and how you can resolve it. For now you can check what went wrong manually by running:
I would expect the last few lines of the logs to print some sort of error related to your external storage. |
Thank you both once again. output: umbrel@umbrel:~ $ journalctl -u umbrel-startup.service |
My apologies that was the wrong command, that's the Umbrel service not the external storage service. Can you run this:
|
Ah, yes: umbrel@umbrel:~ $ journalctl -u umbrel-external-storage.service The SSD is new. Should I format it and try again? |
I should have mentioned I'm using an Orico case/caddy with an 'internal' SSD. |
Umbrel should format it, but yes definitely worth a try.
Yes, you'll need to do that to reclaim the space since it's currently full with blockchain data.
Are you using the officially recommended hardware on our website? The Pi can be quite sensitive to different hardware, we've tested the recommended hardware extensively. Also, could be worth checking the SSD is definitely inserted into the enclosure properly and plugged into the connected. Plugging into your PC and formatted would be a good test, just to see if your PC can detect it. |
Not the exact same one, no. I have an older Orico case:
Ok, I'll try that and report back. Anyway using ssh to shut it down or should I just pull the power out? |
Great, keep us posted! To shutdown you can run:
|
Ok, so I re-flashed.... And now I feel like a tool because I had 2 cases of the same colour one of which had an old 500GB HDD in it, so of course I had plugged in the wrong one. So, I came back an hour later and now umbrel/local no longer works - explorer saying "refused to connect" Thanks again for your time. |
Was exactly the same when i installed and synced the first time. I waited till 100% (and some hours after that cuz my logs showed me some indexing and this took some time). Just wait till 100% I watched the progress with
Your should see some progress although umbrell UI is not working (for now) |
Thanks. I will wait then. The only problem is that I can't view progress as I can't access using ssh due to the the password not working. |
You can SSH with: The password should be either |
Non of them work. |
Ok, you're likely hitting this bug getumbrel/umbrel-manager#87 which has been fixed, but not yet released. Can you log out of the dashboard, then log back in again. Then you should be able to SSH in with your dashboard password. |
Ok good to know, thanks. I can't access the dashboard as it's stuck on the loading screen. Update: Beta version has fixed this. Thanks for all your hard work. |
Hi everyone, I had the same issue with a freshly installed UmbrelOS node on a brand new 4GB raspberry pi 4 with a 1TB USB3 SSD. Installation went smoothly, it was synchronizing the bitcoin blockchain and was almost done doing it when it restart and the Web UI stucked on the "Loading bitcoin core..." message. Following this thread, I added the reindex=1 option to the ~/umbrel/bitcoin/bitcoin.conf file, restarted the services but bitcoin kept on failing. I ran through few reddit and github threads which seemed to indicate an error with the ext4 filesystem. I then rebooted the Pi and the bitcoin service was able to load again. Unfortunately, the WebUI again showing the "Loading LND..." message related to this issue and in the end, had to reset the pod. Good luck to everyone, peace be on you an yours. |
Cleared known_hosts file (windows) and restarted windows. |
Hey, I was having the same issues with Umbrel and Bitcoin Core freezing on block sync. I am using ubuntu server in a vm and realized ubuntu only partitioned 200GB of the 2TB disk I created for it. I followed this guide to resize my lvm: https://vander.host/knowledgebase/operating-systems/how-to-resize-an-ubuntu-18-04-lvm-disk/ |
Closing this old support issue |
Umbrel was working great for awhile, but now I'm getting:
Logging in and tailing
/var/log/user.log
shows:Also
Also
Restarting electrs or the raspi does nothing.
Any ideas?
Thanks!
The text was updated successfully, but these errors were encountered: