Skip to content
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

geth --dev --datadir stops with a fatal error #22792

Closed
schmir opened this issue Apr 30, 2021 · 1 comment
Closed

geth --dev --datadir stops with a fatal error #22792

schmir opened this issue Apr 30, 2021 · 1 comment
Labels

Comments

@schmir
Copy link

schmir commented Apr 30, 2021

System information

Geth version: Version: 1.10.2-stable
OS & Version: Linux
Commit hash : 97d11b0

Expected behaviour

Running rm -rf foo; geth --dev --datadir foo starts a geth node.

Actual behaviour

geth dies:

% rm -rf foo; ./geth-linux-amd64-1.10.2-97d11b01/geth --dev --datadir foo
INFO [05-01|00:52:42.109] Starting Geth in ephemeral dev mode... 
INFO [05-01|00:52:42.115] Maximum peer count                       ETH=50 LES=0 total=50
INFO [05-01|00:52:42.116] Smartcard socket not found, disabling    err="stat /run/pcscd/pcscd.comm: no such file or directory"
INFO [05-01|00:52:42.117] Set global gas cap                       cap=25000000
INFO [05-01|00:52:45.142] Using developer account                  address=0x94269b1dc70DE4C92b56BaD01149C297557950D8
INFO [05-01|00:52:45.142] Allocated cache and file handles         database=/tmp/t/foo/geth/chaindata cache=512.00MiB handles=524288 readonly=true
Fatal: Could not open database: stat /tmp/t/foo/geth/chaindata: no such file or directory

This is a regression from 1.10.1.

Steps to reproduce the behaviour

Run rm -rf foo; geth --dev --datadir foo

@MariusVanDerWijden
Copy link
Member

fixed by #22738

@karalabe karalabe closed this as completed May 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants