-
Notifications
You must be signed in to change notification settings - Fork 45
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
An error occurred while running through Docker #176
Comments
"not allowed change of --prune flag, last time you used: --prune.h.older=90000 --prune.r.older=90000 --prune.t.older=90000 --prune.c.older=90000" once add --prune flag, you can't change |
I now delete the previous snapshot, then re-extract the new snapshot, snapshot from bnb48 download Erigon fast node; My need is simple, to use snapshot files to quickly sync to the latest block; Could you please help me check whether my configuration is correct? docker-compose.yml
Thank you very much! I now delete the previous snapshot, and then re-extract the new snapshot, snapshot from bnb48 Erigon fast node; My need is simple, to use snapshot files to quickly sync to the latest block; Could you please help me check whether my configuration is correct? docker-compose.yml
|
--prune=hrtc |
This is the revised one. Is it OK with you version: '3.9'
x-logging: &logging
logging:
driver: "json-file"
options:
max-size: "2m"
max-file: "10"
services:
erigon:
image: ghcr.io/node-real/bsc-erigon:1.1.6
command:
--private.api.addr=0.0.0.0:9090
--sentry.api.addr=sentry:9091
--downloader.api.addr=downloader:9093
--txpool.disable
--networkid 56
--nat any
--chain=bsc
--metrics
--metrics.addr=0.0.0.0
--metrics.port=6060
--pprof
--pprof.addr=0.0.0.0
--pprof.port=6061
--authrpc.jwtsecret=/home/erigon/.local/share/erigon/jwt.hex
--datadir=/home/erigon/.local/share/erigon
--prune=hrtc
volumes:
- ./erigon.fast.30440951/erigon:/home/erigon/.local/share/erigon
ports:
- 8551:8551
- 8545:8545
restart: unless-stopped
mem_swappiness: 0 |
and add this --db.pagesize=16k |
OK |
lol..... read README first |
Sorry, a new error has been encountered! version: '3.9'
x-logging: &logging
logging:
driver: "json-file"
options:
max-size: "2m"
max-file: "10"
services:
erigon:
image: ghcr.io/node-real/bsc-erigon:1.1.6
command:
--private.api.addr=0.0.0.0:9090
--sentry.api.addr=sentry:9091
--downloader.api.addr=downloader:9093
--txpool.disable
--networkid 56
--nat any
--chain=bsc
--metrics
--metrics.addr=0.0.0.0
--metrics.port=6060
--pprof
--pprof.addr=0.0.0.0
--pprof.port=6061
--authrpc.jwtsecret=/home/erigon/.local/share/erigon/jwt.hex
--datadir=/home/erigon/.local/share/erigon
--prune=hrtc
--db.pagesize=16k
volumes:
- ./erigon.fast.30440951/erigon:/home/erigon/.local/share/erigon
ports:
- 8551:8551
- 8545:8545
restart: unless-stopped
mem_swappiness: 0
|
|
I am so sorry, I am so stupid, after setting up dns, restart the same error version: '3.9'
x-logging: &logging
logging:
driver: "json-file"
options:
max-size: "2m"
max-file: "10"
services:
erigon:
image: 6d7091cfec0bec7811bf821e0010b2d498899c2ba4dad06113901b22be3e1b28
dns:
- 8.8.8.8
command:
--private.api.addr=0.0.0.0:9090
--sentry.api.addr=sentry:9091
--downloader.api.addr=downloader:9093
--txpool.disable
--networkid 56
--nat any
--chain=bsc
--metrics
--metrics.addr=0.0.0.0
--metrics.port=6060
--pprof
--pprof.addr=0.0.0.0
--pprof.port=6061
--authrpc.jwtsecret=/home/erigon/.local/share/erigon/jwt.hex
--datadir=/home/erigon/.local/share/erigon
--prune=hrtc
--db.pagesize=16k
volumes:
- ./erigon.fast.30440951/erigon:/home/erigon/.local/share/erigon
ports:
- 8551:8551
- 8545:8545
restart: unless-stopped
mem_swappiness: 0 |
Now I have changed the configuration item to the following: logs
version: '3.9'
x-logging: &logging
logging:
driver: "json-file"
options:
max-size: "2m"
max-file: "10"
services:
erigon:
image: 6d7091cfec0bec7811bf821e0010b2d498899c2ba4dad06113901b22be3e1b28
dns:
- 8.8.8.8
command:
--private.api.addr=0.0.0.0:9090
--sentry.api.addr=sentry:9091
--downloader.api.addr=0.0.0.0:9093
--txpool.disable
--networkid 56
--nat any
--chain=bsc
--metrics
--metrics.addr=0.0.0.0
--metrics.port=6060
--pprof
--pprof.addr=0.0.0.0
--pprof.port=6061
--authrpc.jwtsecret=/home/erigon/.local/share/erigon/jwt.hex
--datadir=/home/erigon/.local/share/erigon
--prune=hrtc
--db.pagesize=16k
volumes:
- ./erigon.fast.30440951/erigon:/home/erigon/.local/share/erigon
ports:
- "30303:30303/tcp"
- "30303:30303/udp"
- "30304:30304/tcp"
- "30304:30304/udp"
- "42068:42068/tcp"
- "42068:42068/udp"
- "8545:8545"
- "8551:8551"
- "6060:6060"
restart: unless-stopped
mem_swappiness: 0 |
There's nothing I can do. I've been working on it all day |
Don't set it if you don't know the meaning, I don't understand what you are doing |
Thank you. It worked. Thank you for your patience |
If [1/15] takes too long, you can refer to 48Club/bsc-snapshots#82 to download the corresponding file |
System information
Erigon version:
1.1.6
OS & Version: Windows
Commit hash:
Erigon Command (with flags/config):
Concensus Layer:
Concensus Layer Command (with flags/config):
Chain/Network: BSC mainnet
Expected behaviour
Start the fast node with the snapshot provided by bnb48
Actual behaviour
Steps to reproduce the behaviour
Backtrace
The text was updated successfully, but these errors were encountered: