pi-gen icon indicating copy to clipboard operation
pi-gen copied to clipboard

no systemctl service geth, no admin page, no /etc/ethereum directory

Open bradwbradw opened this issue 3 years ago • 8 comments

It doesn't seem to be working as documented.

ethereum@ethnode-123:/etc$ sudo systemctl enable geth
Failed to enable unit: Unit file geth.service does not exist.

also, there is no admin page at :3000

also, there is no /etc/ethereum directory or /etc/nethermind directory

i'm just running apt-get updates right now, and i'll update if that fixes.

Please let me know anything i can try to diagnose the issue. Many thanks

bradwbradw avatar Jan 31 '21 02:01 bradwbradw

Hi,

Ummmh. It seems the installation didn't go through. The hostname is odd (it should be a hash chunk). Is your USB SSD connected and mounted?: (run: df -h and look for /home and sda1)

diglos avatar Jan 31 '21 10:01 diglos

hey diglos,

It is connected to a USB 3.0 port, but when I run df -h i don't see /home or sda1. This is what I do see. (About the hostname, I just replaced it with "123" before posting here to be on the safe side)

ethereum@ethnode-123:~$ df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            1.9G     0  1.9G   0% /dev
tmpfs           380M  3.9M  376M   2% /run
/dev/mmcblk0p2   29G  3.1G   24G  12% /
tmpfs           1.9G     0  1.9G   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           1.9G     0  1.9G   0% /sys/fs/cgroup
/dev/loop0       87M   87M     0 100% /snap/core/10585
/dev/loop1       49M   49M     0 100% /snap/core18/1949
/dev/loop2      117M  117M     0 100% /snap/geth/481
/dev/loop3       49M   49M     0 100% /snap/core18/1708
/dev/loop7       63M   63M     0 100% /snap/lxd/19020
/dev/loop6       24M   24M     0 100% /snap/snapd/7267
/dev/loop5       27M   27M     0 100% /snap/snapd/10709
/dev/mmcblk0p1  253M  118M  135M  47% /boot/firmware
/dev/zram2      1.9G  5.7M  1.8G   1% /tmp
/dev/loop8       63M   63M     0 100% /snap/lxd/19168
tmpfs           380M     0  380M   0% /run/user/1001

I did boot it up initially a couple days ago with an older hard drive, but only let if run for about ten minutes before turning the PI off. I replaced it with a new SSD today, adjusted my home network setup a bit, then turned it on again, but wasn't seeing anything happen

bradwbradw avatar Jan 31 '21 13:01 bradwbradw

what's the best way to retry installation? Should i just wipe the image and start over?

bradwbradw avatar Feb 02 '21 10:02 bradwbradw

Yes, the easiest way is to flash again the MicroSD.

Before that, try to run:

  • sudo fdisk -l

If you see and sda there your SSD is working. If not, something is going on with your storage (it can be the SSD, the chipset that connects USB to SATA or even the cable).

diglos avatar Feb 02 '21 10:02 diglos

alright, thanks. I do see the SSD in fdisk output, so I will just try flashing again

bradwbradw avatar Feb 02 '21 12:02 bradwbradw

In my experience the SSD must have a partition already ext4 formatted before the first boot in order to work as /home by the system.

monossido avatar Mar 12 '21 11:03 monossido

When I try to format my disk I only have the options NFTS or exFAT. Is one better than the other?

ilovemycat666 avatar Mar 24 '21 22:03 ilovemycat666

Hey @diglos, I'm also seeing issues with this. Running a pi 4 with a 1TB Samsung T7 SSD.

I seemed to hit the same issue with formatting as monossido descrbied above, so I reformatted the drive to ext4 and tried again, still getting issues.

https://gist.github.com/alexslade/17e94437722f077240277cc62f5b83b2

It looks like there might be problems installing some of the packages? Any ideas if I'm doing something wrong, or if the setup script needs updating?

alexslade avatar Mar 31 '21 17:03 alexslade