umbrel-os icon indicating copy to clipboard operation
umbrel-os copied to clipboard

First clean install, but it's not running

Open maravac opened this issue 3 years ago • 36 comments

Hi, please, would you try to help me fix my problem or atleast find out what could be wrong wint my stuff? I just tried to run my first umbrel node on Raspberry Pi 4B (8GB) + 1TB M.2 NVMe SSD in casing connected to the USB3 of my RPi. After I flashed the SD card, inserted into the RPi, I am not able to connect to it via web browser (either via local IP or umbrel.local). But it seems to be running somehow as it responds to ping and I am also able to connect via SSH. Could it be a problem with the M.2 NVMe SSD drive? It looks like, but this is a brand new M.2 NVMe SSD purchased few days ago and it works when I connect it to my Windows PC - I already tried to reformat it again, but no change. I am using this M.2 SSD enclosure, by my opinion it should be OK (that secon option - NVMe 10Gbps): []https://www.aliexpress.com/item/4001297316228.html?spm=a2g0s.9042311.0.0.28a94c4dDJZecV

Here is my debug log: []https://umbrel-paste.vercel.app/4b4aa9d6-3b30-436f-952e-58a3c1cdfcc3

I will be very thankful for any kind of help, even just tip, what could be wrong.

maravac avatar Apr 26 '21 14:04 maravac

This is very likely some kind of hardware issue.

AaronDewes avatar Apr 26 '21 14:04 AaronDewes

Do you think it could be the SSD enclosure not compatible? As far as I tried to investigate, this one should be OK. Also, may it be the M.2 NVMe SSD itself? I have used the ADATA XPG SX8200 Pro. Can this one be the problem? Physically, it works correctly when used with Windows 10 PC. ANd atleast the raspberry could see it somehow as it was formatted as ext4 and naded as "umbrel" (I checked it when I disconnected it from RPi and connected back to my Win 10 PC). Will you tell, how can I test morw, what exactly causes my problem? Some SSH commands which can give me some guide to find out more, please? Also, should there be made some additional steps like ass some configurations, eeprom etc. to let my NVMe drive to boot with RPi? Thank you.

maravac avatar Apr 27 '21 11:04 maravac

It's either the SSD or the enclosure. Umbrel has recommended hardware that works, I don't know about other hardware. It's the power consumption, but I don't know if the SSD itself or the enclosure are the root cause.

AaronDewes avatar Apr 27 '21 12:04 AaronDewes

OK, where can I find the list of recommended hardware for Umbrel?

maravac avatar Apr 27 '21 13:04 maravac

You can find a list of recommended hardware that we've tested on our website: https://getumbrel.com/#start

lukechilds avatar Apr 28 '21 07:04 lukechilds

Hi, I purchased another M.2 NVMe SSD (Samsung 970 EVO) and now it looks a bit different. Now it seems that my RPi properly can see this SSD drive, but there still are some errors. Maybe something with mounting the device or "can't read superblock on /dev/sda1" ... So again, I can connect via SSH, but I cannot open the umbrel welcome screen in my web browser. Just to mention, before I made this another try, I completely reflashed the SD card with the latest umbrel imb and started from the scratch.

(Also, yesterday I also tried another SSD external drive, which worked correctly and I even could open the umbrel welcome page in my browser, but this one was SATA SSD in externbal casing for SATA SSD and it was only 250 GB capacity, so I cannot use it because of this low capacity and also I would like to use M.2 NVMe in external enclosure, as I try now... because it should provide beter speed)

Please can you check it and give me some help?

Because paste URL for some reason does not contain everything what I see in SSH output, here it is as I copied it from terminal window:

=====================
= Umbrel debug info =
=====================

Umbrel version
--------------
0.3.9

Umbrel OS version
-----------------
v0.3.9-patch-2

Raspberry Pi Model
------------------
Revision        : d03114
Serial          : 10000000c4bb406a
Model           : Raspberry Pi 4 Model B Rev 1.4

Firmware
--------
Feb 25 2021 12:10:40
Copyright (c) 2012 Broadcom
version 564e5f9b852b23a330b1764bcf0b2d022a20afd0 (clean) (release) (start)

Temperature
-----------
temp=41.8'C

Throttling
----------
throttled=0x0

Startup service logs
--------------------
-- Logs begin at Sat 2021-04-24 18:15:58 UTC, end at Thu 2021-04-29 16:10:10 UTC. --
Apr 29 15:45:15 umbrel systemd[1]: Dependency failed for Umbrel Startup Service.
Apr 29 15:45:15 umbrel systemd[1]: umbrel-startup.service: Job umbrel-startup.service/start failed with result 'dependency'.

External storage service logs
-----------------------------
Apr 24 18:16:03 umbrel external storage mounter[365]: Checking USB devices are back...
Apr 24 18:16:03 umbrel external storage mounter[365]: Waiting for USB devices...
Apr 24 18:16:04 umbrel external storage mounter[365]: Waiting for USB devices...
Apr 24 18:16:05 umbrel external storage mounter[365]: Waiting for USB devices...
Apr 24 18:16:06 umbrel external storage mounter[365]: Checking if the device is ext4...
Apr 24 18:16:07 umbrel external storage mounter[365]: Yes, it is ext4
Apr 24 18:16:07 umbrel external storage mounter[365]: Checking if device contains an Umbrel install...
Apr 24 18:16:07 umbrel external storage mounter[365]: No, it doesn't contain an Umbrel install
Apr 24 18:16:07 umbrel external storage mounter[365]: Unmounting partition...
Apr 24 18:16:08 umbrel external storage mounter[365]: Formatting device...
Apr 24 18:16:08 umbrel external storage mounter[365]: /dev/sda: 8 bytes were erased at offset 0x00000200 (gpt): 45 46 49 20 50 41 52 54
Apr 24 18:16:08 umbrel external storage mounter[365]: /dev/sda: 8 bytes were erased at offset 0xe8e0db5e00 (gpt): 45 46 49 20 50 41 52 54
Apr 24 18:16:08 umbrel external storage mounter[365]: /dev/sda: 2 bytes were erased at offset 0x000001fe (PMBR): 55 aa
Apr 24 18:16:08 umbrel external storage mounter[365]: /dev/sda: calling ioctl to re-read partition table: Success
Apr 24 18:16:12 umbrel external storage mounter[365]: mke2fs 1.44.5 (15-Dec-2018)
Apr 24 18:16:12 umbrel external storage mounter[365]: Creating filesystem with 244190208 4k blocks and 61054976 inodes
Apr 24 18:16:12 umbrel external storage mounter[365]: Filesystem UUID: 481e574f-a37e-4435-88de-e3b465ebe2a8
Apr 24 18:16:12 umbrel external storage mounter[365]: Superblock backups stored on blocks:
Apr 24 18:16:12 umbrel external storage mounter[365]:         32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
Apr 24 18:16:12 umbrel external storage mounter[365]:         4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,
Apr 24 18:16:12 umbrel external storage mounter[365]:         102400000, 214990848
Apr 24 18:16:12 umbrel external storage mounter[365]: [65B blob data]
Apr 24 18:16:12 umbrel external storage mounter[365]: [62B blob data]
Apr 24 18:16:14 umbrel external storage mounter[365]: Creating journal (262144 blocks): done
Apr 24 18:16:19 umbrel external storage mounter[365]: [99B blob data]
Apr 24 18:16:19 umbrel external storage mounter[365]: Mounting partition...
Apr 29 15:45:15 umbrel external storage mounter[365]: mount: /mnt/data: can't read superblock on /dev/sda1.
Apr 29 15:45:15 umbrel systemd[1]: umbrel-external-storage.service: Main process exited, code=exited, status=32/n/a
Apr 29 15:45:15 umbrel systemd[1]: umbrel-external-storage.service: Failed with result 'exit-code'.
Apr 29 15:45:15 umbrel systemd[1]: Failed to start External Storage Mounter.

Filesystem information
----------------------
Filesystem      Size  Used Avail Use% Mounted on
/dev/root        59G  2.7G   54G   5% /
devtmpfs        3.7G     0  3.7G   0% /dev
tmpfs           3.9G     0  3.9G   0% /dev/shm
tmpfs           3.9G  8.5M  3.9G   1% /run
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           3.9G     0  3.9G   0% /sys/fs/cgroup
/dev/mmcblk0p1  253M   30M  223M  12% /boot
tmpfs           782M     0  782M   0% /run/user/1000

Filename                                Type            Size            Used            Priority

Karen logs
----------

tail: cannot open 'logs/karen.log' for reading: No such file or directory

Docker containers
-----------------
NAMES     STATUS

Bitcoin Core logs
-----------------

ERROR: The Compose file './docker-compose.yml' is invalid because:
networks.default.ipam.config.subnet is invalid: should use the CIDR format
services.tor.ports contains an invalid type, it should be a number, or an object
services.bitcoin.ports contains an invalid type, it should be a number, or an object
services.electrs.ports contains an invalid type, it should be a number, or an object
services.lnd.ports contains an invalid type, it should be a number, or an object
services.lnd.ports contains an invalid type, it should be a number, or an object
services.nginx.ports contains an invalid type, it should be a number, or an object
services.lnd.ports value ['9735:9735', ':', ':'] has non-unique elements

LND logs
--------

ERROR: The Compose file './docker-compose.yml' is invalid because:
networks.default.ipam.config.subnet is invalid: should use the CIDR format
services.tor.ports contains an invalid type, it should be a number, or an object
services.bitcoin.ports contains an invalid type, it should be a number, or an object
services.electrs.ports contains an invalid type, it should be a number, or an object
services.lnd.ports contains an invalid type, it should be a number, or an object
services.lnd.ports contains an invalid type, it should be a number, or an object
services.nginx.ports contains an invalid type, it should be a number, or an object
services.lnd.ports value ['9735:9735', ':', ':'] has non-unique elements

Tor logs
--------

ERROR: The Compose file './docker-compose.yml' is invalid because:
networks.default.ipam.config.subnet is invalid: should use the CIDR format
services.tor.ports contains an invalid type, it should be a number, or an object
services.bitcoin.ports contains an invalid type, it should be a number, or an object
services.electrs.ports contains an invalid type, it should be a number, or an object
services.lnd.ports contains an invalid type, it should be a number, or an object
services.lnd.ports contains an invalid type, it should be a number, or an object
services.nginx.ports contains an invalid type, it should be a number, or an object
services.lnd.ports value ['9735:9735', ':', ':'] has non-unique elements
================
==== Result ====
================
This script could not automatically detect an issue with your Umbrel.
Please share the following links and paste it in the Umbrel Telegram group (https://t.me/getumbrel) so we can help you with your problem.
tail: cannot open 'logs/karen.log' for reading: No such file or directory
ERROR: The Compose file './docker-compose.yml' is invalid because:
networks.default.ipam.config.subnet is invalid: should use the CIDR format
services.tor.ports contains an invalid type, it should be a number, or an object
services.bitcoin.ports contains an invalid type, it should be a number, or an object
services.electrs.ports contains an invalid type, it should be a number, or an object
services.lnd.ports contains an invalid type, it should be a number, or an object
services.lnd.ports contains an invalid type, it should be a number, or an object
services.nginx.ports contains an invalid type, it should be a number, or an object
services.lnd.ports value ['9735:9735', ':', ':'] has non-unique elements
ERROR: The Compose file './docker-compose.yml' is invalid because:
networks.default.ipam.config.subnet is invalid: should use the CIDR format
services.tor.ports contains an invalid type, it should be a number, or an object
services.bitcoin.ports contains an invalid type, it should be a number, or an object
services.electrs.ports contains an invalid type, it should be a number, or an object
services.lnd.ports contains an invalid type, it should be a number, or an object
services.lnd.ports contains an invalid type, it should be a number, or an object
services.nginx.ports contains an invalid type, it should be a number, or an object
services.lnd.ports value ['9735:9735', ':', ':'] has non-unique elements
ERROR: The Compose file './docker-compose.yml' is invalid because:
networks.default.ipam.config.subnet is invalid: should use the CIDR format
services.tor.ports contains an invalid type, it should be a number, or an object
services.bitcoin.ports contains an invalid type, it should be a number, or an object
services.electrs.ports contains an invalid type, it should be a number, or an object
services.lnd.ports contains an invalid type, it should be a number, or an object
services.lnd.ports contains an invalid type, it should be a number, or an object
services.nginx.ports contains an invalid type, it should be a number, or an object
services.lnd.ports value ['9735:9735', ':', ':'] has non-unique elements
https://umbrel-paste.vercel.app/7ecbeacb-6bc6-414d-b415-3881f1428f52

maravac avatar Apr 29 '21 16:04 maravac

It looks like for some reason Umbrel is unable to format your SSD. You can reboot and it will try to format it again.

I'd strongly recommend purchasing the officially recommended parts though: https://github.com/getumbrel/umbrel-os/issues/215#issuecomment-828225379

lukechilds avatar Apr 29 '21 16:04 lukechilds

OK, but what M.2 SSD enclosure do you recommend if I want to use the M.2 NVMe SSD drive? When I open the link for recommended SSD enclosure, there is only one and is for SATA 2.5" SSD.

Isn't it more about the M.2 NVMe driver or boot driver configuration missing in the umbrel installation? Could this be done, I mean update some config files to mek the NVMe SSD work?

maravac avatar Apr 29 '21 17:04 maravac

Just asking, but: could it help if I format that SSD in my PC? I can use the MiniTOol Partition Wizard, whic is capable to format even in ext4.

maravac avatar Apr 29 '21 17:04 maravac

I'm sorry I'm not sure, we haven't tested any M.2 drives.

lukechilds avatar Apr 29 '21 17:04 lukechilds

Please, could you discuss it with umbrel developers team? I'm pretty sure that I googled and found some blogs and articles where some people say that they are using the M.2 NVMe together with Raspberry Pi. But also there are some notices about config changes, boot drivers etc. Unfortunately I am not familiar with Linux, SSH and Raspberry (this is my first RPi purchased with intention to use it as umbrel bitcoin node).

maravac avatar Apr 29 '21 17:04 maravac

Please, could you discuss it with umbrel developers team? I'm pretty sure that I googled and found some blogs and articles where some people say that they are using the M.2 NVMe together with Raspberry Pi. But also there are some notices about config changes, boot drivers etc. Unfortunately I am not familiar with Linux, SSH and Raspberry (this is my first RPi purchased with intention to use it as umbrel bitcoin node).

Luke is basically the Umbrel developer team, and if Luke doesn't know, I don't think anybody else will.

AaronDewes avatar Apr 29 '21 18:04 AaronDewes

obrazek

This is, what I see, when I connect that M.2 drive (in the external USB3 enclosure) to my WIndows 10 PC. So It looks like the RPi atleas mounted it somehow, formated it to ext4 (before it was FAT32) and named it "umbrel".

maravac avatar Apr 29 '21 18:04 maravac

Please, could you look at this one? https://alexellisuk.medium.com/upgrade-your-raspberry-pi-4-with-a-nvme-boot-drive-d9ab4e8aa3c2

That guy uses the same M.2 SSD enclosure like I have and he also mentioned teh Samsung 970 EVO in the article. He is running the Raspberry Pi with it. I know, not the Umbrel, but still, hardware is the same..

Also please look this, if this one could be helpful too: https://www.jeffgeerling.com/blog/2021/raspberry-pi-can-boot-nvme-ssds-now

Let me know, if you will have some advice for me then. Thanks again.

maravac avatar Apr 29 '21 18:04 maravac

Also please look this, if this one could be helpful too: https://www.jeffgeerling.com/blog/2021/raspberry-pi-can-boot-nvme-ssds-now

That's only useful for a setup which Umbrel doesn't recommend and doesn't work on by default.

https://alexellisuk.medium.com/upgrade-your-raspberry-pi-4-with-a-nvme-boot-drive-d9ab4e8aa3c2

While I try to help, please understand that I don't want to pay for a medium account just to read this.

AaronDewes avatar Apr 29 '21 18:04 AaronDewes

sorry, but the article on medium should be free to read (I did not pay either :)

maravac avatar Apr 29 '21 19:04 maravac

sorry, but the article on medium should be free to read (I did not pay either :)

grafik

AaronDewes avatar Apr 30 '21 05:04 AaronDewes

Unfortunately I am not familiar with Linux, SSH and Raspberry

I'd really strongly suggest using the recommended hardware. This is why we have recommended hardware that we've tested, it's so people can get up and running without needing to have knowledge of these topics.

I'm sure NVMe drives will work with Umbrel but it's not something we've tested and isn't a high priority for us right now so unfortunately not something we can help you with.

lukechilds avatar Apr 30 '21 12:04 lukechilds

OK, so you rather recommend do use the classic SATA 2.5" SSD in external enclosure (and connected to the USB 3.0 port of Raspberry Pi) instead of M.2 NVMe SSD, which could be much faster, but is problematic to use in terms we discussed here, right?

maravac avatar Apr 30 '21 13:04 maravac

Yes exactly, I'd recommend you use the exact hardware listed here: https://getumbrel.com/#start

lukechilds avatar Apr 30 '21 13:04 lukechilds

Hi again! I have another M.2 NVMe enclosure, which works with my SSD (M.2 NVME Samsung EVO 970 1TB) and also umbrel detected it correctly and started to work. I installed it yesterday afternoon and umbrel connected correctly and started to download and sync bitcoin blocks. It was running about 1 or 2 hours and already synced some 1.06 %, but then something happened and now it looks like this.

obrazek

I left it to run during the nigt, but it's still the same after more than 12 hours. Now I made a restart form the UI of umbrel, it correctly restarted, but the screen is still the same.

I am attaching both logs here, please, would you try to tell me what's wrong and what would you recommend me to do now?

umbrel-1620032764400-debug.log umbrel-1620032797800-dmesg.log

maravac avatar May 03 '21 10:05 maravac

Please, would you try to look to those log files I have posted in my previous post and try to answer, what can be the problem? Thank you.

maravac avatar May 04 '21 09:05 maravac

what would you recommend me to do now?

As mentioned before, I'd really strongly recommend using the officially recommended hardware on our website.

lukechilds avatar May 04 '21 10:05 lukechilds

Maybe unrelated but i had issue's with balenaEtcher writing the OS, Switched to Raspberry Pi Imager and had no issues.

shamblerid avatar May 22 '21 09:05 shamblerid

I gave up with the M.2 NVMe SSD drive. I tried 2 different SSDs and 3 different enclosures, not even one worked with umbrel (all were OK with Windows PC although). Lately I purchased classic SATA SSD (Samsung 970 EVO) and Axagon external enclosure and everything installed correctly and running, more than a week now. (Syncing blockchans took some 2 days).

maravac avatar May 26 '21 15:05 maravac

Hi, please, would you try to help me fix my problem or atleast find out what could be wrong wint my stuff? I just tried to run my first umbrel node on Raspberry Pi 4B (8GB) + 1TB M.2 NVMe SSD in casing connected to the USB3 of my RPi. After I flashed the SD card, inserted into the RPi, I am not able to connect to it via web browser (either via local IP or umbrel.local). But it seems to be running somehow as it responds to ping and I am also able to connect via SSH. Could it be a problem with the M.2 NVMe SSD drive? It looks like, but this is a brand new M.2 NVMe SSD purchased few days ago and it works when I connect it to my Windows PC - I already tried to reformat it again, but no change. I am using this M.2 SSD enclosure, by my opinion it should be OK (that secon option - NVMe 10Gbps): []https://www.aliexpress.com/item/4001297316228.html?spm=a2g0s.9042311.0.0.28a94c4dDJZecV

Here is my debug log: []https://umbrel-paste.vercel.app/4b4aa9d6-3b30-436f-952e-58a3c1cdfcc3

I will be very thankful for any kind of help, even just tip, what could be wrong.

I have the same problem that you, using SSD and Raspberry Pi 4 8GB RAM with argon one enclosure m.2

I have spent my money in something that umbrel does not recognize.

Thanks for keep trying. Have you got do working an m.2 with umbrel?

Sumando10 avatar Jun 29 '21 14:06 Sumando10

For the Argon case, you need to use the official argon power supply:

https://www.argon40.com/argon-one-power-supply-for-raspberry-pi-4.html https://www.argon40.com/argon-one-power-supply-for-raspberry-pi-4-eu.html https://www.argon40.com/argon-one-power-supply-for-raspberry-pi-4-uk.html

AaronDewes avatar Jun 29 '21 15:06 AaronDewes

No, M.2 SSD just did not work with any enclosure I tested. I just gave up, purchased classic 2.5" SSD (Samsung SSD 870 EVO), standard USB 3.0 enclosure and installed the Umbrel. It is running without any issues now.

maravac avatar Jun 29 '21 15:06 maravac

For the Argon case, you need to use the official argon power supply:

https://www.argon40.com/argon-one-power-supply-for-raspberry-pi-4.html https://www.argon40.com/argon-one-power-supply-for-raspberry-pi-4-eu.html https://www.argon40.com/argon-one-power-supply-for-raspberry-pi-4-uk.html

Thanks, I will buy it because I can not get working a keyboard on my raspberry pi 4B.

It might be the power supply, I suppose.

@maravac My m.2 is working using the external enclouser, similar at you linked (orico brand), so I guess the problem was the energy supply ,

Sumando10 avatar Jun 29 '21 18:06 Sumando10

I don't think so. I have two different power supply (one of them is original Raspberry) and still had issues with the M.2 NVMe SSD drives. Also I tried two different brands (Samsung and AData) as well as the different M.2 external enclosures. I have got different issues but result was that the Umbrel or even did not start or it did but got stucked during blockchain synchronizing.

maravac avatar Jun 29 '21 18:06 maravac