We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
restarting docker compose or stopping/down and starting again results in errors, it only seems to run correctly af first startup.
Fatal: Failed to register the Ethereum service: database contains incompatible genesis
grafana-1 | logger=context userId=0 orgId=0 uname= t=2024-10-24T18:24:27.099594377Z level=info msg="Request Completed" method=GET path=/api/live/ws status=401 remote_addr=192.168.1.167 time_ms=0 duration=344.133µs size=27 referer= handler=/api/live/ws healthcheck-1 | {"level":30,"time":1729794270095,"log":"172.18.0.6 - GET /metrics HTTP/1.1 200 - - 1.710 ms\n","msg":"server log"} healthcheck-1 | {"level":50,"time":1729794270567,"msg":"target client not connected"} op-node-1 | t=2024-10-24T18:24:35+0000 lvl=warn msg="failed to dial address, but may connect later" addr=http://op-geth:8551 healthcheck-1 | {"level":50,"time":1729794275623,"msg":"target client not connected"} grafana-1 | logger=context userId=0 orgId=0 uname= t=2024-10-24T18:24:38.627513412Z level=info msg="Request Completed" method=GET path=/api/live/ws status=401 remote_addr=192.168.1.167 time_ms=0 duration=237.222µs size=27 referer= handler=/api/live/ws healthcheck-1 | {"level":50,"time":1729794280693,"msg":"target client not connected"} op-geth-1 | INFO [10-24|18:24:41.839] Starting geth on an OP network... network=op-mainnet op-geth-1 | INFO [10-24|18:24:41.840] Bumping default cache on mainnet provided=1024 updated=4096 op-geth-1 | INFO [10-24|18:24:41.840] Enabling metrics collection op-geth-1 | INFO [10-24|18:24:41.840] Enabling metrics export to InfluxDB op-geth-1 | INFO [10-24|18:24:41.841] Maximum peer count ETH=50 total=50 op-geth-1 | INFO [10-24|18:24:41.841] Smartcard socket not found, disabling err="stat /run/pcscd/pcscd.comm: no such file or directory" op-geth-1 | INFO [10-24|18:24:41.841] Using pebble as db engine op-geth-1 | INFO [10-24|18:24:41.843] Set global gas cap cap=50,000,000 op-geth-1 | INFO [10-24|18:24:41.843] Initializing the KZG library backend=gokzg op-geth-1 | INFO [10-24|18:24:41.865] Allocated trie memory caches clean=614.00MiB dirty=1024.00MiB op-geth-1 | INFO [10-24|18:24:41.865] Using pebble as the backing database op-geth-1 | INFO [10-24|18:24:41.865] Allocated cache and file handles database=/geth/geth/chaindata cache=2.00GiB handles=262,144 op-geth-1 | INFO [10-24|18:24:41.868] Opened ancient database database=/geth/geth/chaindata/ancient/chain readonly=false op-geth-1 | INFO [10-24|18:24:41.868] State scheme set by user scheme=hash op-geth-1 | Fatal: Failed to register the Ethereum service: database contains incompatible genesis (have 2b955e7dd8df0ba8a50ee3e5c79065be9a370b1e52398694001067d40f7d6731, new 7ca38a1916c42007829c55e69d3e9a73265554b586a499015373241b8a3fa48b) op-geth-1 | Fatal: Failed to register the Ethereum service: database contains incompatible genesis (have 2b955e7dd8df0ba8a50ee3e5c79065be9a370b1e52398694001067d40f7d6731, new 7ca38a1916c42007829c55e69d3e9a73265554b586a499015373241b8a3fa48b) healthcheck-1 | {"level":30,"time":1729794285095,"log":"172.18.0.6 - GET /metrics HTTP/1.1 200 - - 2.248 ms\n","msg":"server log"} op-node-1 | t=2024-10-24T18:24:45+0000 lvl=warn msg="failed to dial address, but may connect later" addr=http://op-geth:8551 healthcheck-1 | {"level":50,"time":1729794285752,"msg":"target client not connected"} healthcheck-1 | {"level":50,"time":1729794290813,"msg":"target client not connected"} grafana-1 | logger=context userId=0 orgId=0 uname= t=2024-10-24T18:24:55.112428514Z level=info msg="Request Completed" method=GET path=/api/live/ws status=401 remote_addr=192.168.1.167 time_ms=0 duration=260.266µs size=27 referer= handler=/api/live/ws op-node-1 | t=2024-10-24T18:24:55+0000 lvl=warn msg="failed to dial address, but may connect later" addr=http://op-geth:8551 op-node-1 | t=2024-10-24T18:24:55+0000 lvl=error msg="Error initializing the rollup node" err="failed to init L2: failed to setup L2 execution-engine RPC client: operation failed permanently after 10 attempts: address unavailable (http://op-geth:8551)" op-node-1 | t=2024-10-24T18:24:55+0000 lvl=crit msg="Application failed" message="failed to setup: unable to create the rollup node: failed to init L2: failed to setup L2 execution-engine RPC client: operation failed permanently after 10 attempts: address unavailable (http://op-geth:8551)" healthcheck-1 | {"level":50,"time":1729794295950,"msg":"target client not connected"} op-node-1 exited with code 0
The text was updated successfully, but these errors were encountered:
It's a confirmed bug
ethereum-optimism/op-geth#404
Will check if there is a possible solution
Sorry, something went wrong.
if others is looking for a quick-fix, I downgraded the version of op-geth in docker-compose.yml
No branches or pull requests
restarting docker compose or stopping/down and starting again results in errors, it only seems to run correctly af first startup.
Fatal: Failed to register the Ethereum service: database contains incompatible genesis
grafana-1 | logger=context userId=0 orgId=0 uname= t=2024-10-24T18:24:27.099594377Z level=info msg="Request Completed" method=GET path=/api/live/ws status=401 remote_addr=192.168.1.167 time_ms=0 duration=344.133µs size=27 referer= handler=/api/live/ws
healthcheck-1 | {"level":30,"time":1729794270095,"log":"172.18.0.6 - GET /metrics HTTP/1.1 200 - - 1.710 ms\n","msg":"server log"}
healthcheck-1 | {"level":50,"time":1729794270567,"msg":"target client not connected"}
op-node-1 | t=2024-10-24T18:24:35+0000 lvl=warn msg="failed to dial address, but may connect later" addr=http://op-geth:8551
healthcheck-1 | {"level":50,"time":1729794275623,"msg":"target client not connected"}
grafana-1 | logger=context userId=0 orgId=0 uname= t=2024-10-24T18:24:38.627513412Z level=info msg="Request Completed" method=GET path=/api/live/ws status=401 remote_addr=192.168.1.167 time_ms=0 duration=237.222µs size=27 referer= handler=/api/live/ws
healthcheck-1 | {"level":50,"time":1729794280693,"msg":"target client not connected"}
op-geth-1 | INFO [10-24|18:24:41.839] Starting geth on an OP network... network=op-mainnet
op-geth-1 | INFO [10-24|18:24:41.840] Bumping default cache on mainnet provided=1024 updated=4096
op-geth-1 | INFO [10-24|18:24:41.840] Enabling metrics collection
op-geth-1 | INFO [10-24|18:24:41.840] Enabling metrics export to InfluxDB
op-geth-1 | INFO [10-24|18:24:41.841] Maximum peer count ETH=50 total=50
op-geth-1 | INFO [10-24|18:24:41.841] Smartcard socket not found, disabling err="stat /run/pcscd/pcscd.comm: no such file or directory"
op-geth-1 | INFO [10-24|18:24:41.841] Using pebble as db engine
op-geth-1 | INFO [10-24|18:24:41.843] Set global gas cap cap=50,000,000
op-geth-1 | INFO [10-24|18:24:41.843] Initializing the KZG library backend=gokzg
op-geth-1 | INFO [10-24|18:24:41.865] Allocated trie memory caches clean=614.00MiB dirty=1024.00MiB
op-geth-1 | INFO [10-24|18:24:41.865] Using pebble as the backing database
op-geth-1 | INFO [10-24|18:24:41.865] Allocated cache and file handles database=/geth/geth/chaindata cache=2.00GiB handles=262,144
op-geth-1 | INFO [10-24|18:24:41.868] Opened ancient database database=/geth/geth/chaindata/ancient/chain readonly=false
op-geth-1 | INFO [10-24|18:24:41.868] State scheme set by user scheme=hash
op-geth-1 | Fatal: Failed to register the Ethereum service: database contains incompatible genesis (have 2b955e7dd8df0ba8a50ee3e5c79065be9a370b1e52398694001067d40f7d6731, new 7ca38a1916c42007829c55e69d3e9a73265554b586a499015373241b8a3fa48b)
op-geth-1 | Fatal: Failed to register the Ethereum service: database contains incompatible genesis (have 2b955e7dd8df0ba8a50ee3e5c79065be9a370b1e52398694001067d40f7d6731, new 7ca38a1916c42007829c55e69d3e9a73265554b586a499015373241b8a3fa48b)
healthcheck-1 | {"level":30,"time":1729794285095,"log":"172.18.0.6 - GET /metrics HTTP/1.1 200 - - 2.248 ms\n","msg":"server log"}
op-node-1 | t=2024-10-24T18:24:45+0000 lvl=warn msg="failed to dial address, but may connect later" addr=http://op-geth:8551
healthcheck-1 | {"level":50,"time":1729794285752,"msg":"target client not connected"}
healthcheck-1 | {"level":50,"time":1729794290813,"msg":"target client not connected"}
grafana-1 | logger=context userId=0 orgId=0 uname= t=2024-10-24T18:24:55.112428514Z level=info msg="Request Completed" method=GET path=/api/live/ws status=401 remote_addr=192.168.1.167 time_ms=0 duration=260.266µs size=27 referer= handler=/api/live/ws
op-node-1 | t=2024-10-24T18:24:55+0000 lvl=warn msg="failed to dial address, but may connect later" addr=http://op-geth:8551
op-node-1 | t=2024-10-24T18:24:55+0000 lvl=error msg="Error initializing the rollup node" err="failed to init L2: failed to setup L2 execution-engine RPC client: operation failed permanently after 10 attempts: address unavailable (http://op-geth:8551)"
op-node-1 | t=2024-10-24T18:24:55+0000 lvl=crit msg="Application failed" message="failed to setup: unable to create the rollup node: failed to init L2: failed to setup L2 execution-engine RPC client: operation failed permanently after 10 attempts: address unavailable (http://op-geth:8551)"
healthcheck-1 | {"level":50,"time":1729794295950,"msg":"target client not connected"}
op-node-1 exited with code 0
The text was updated successfully, but these errors were encountered: