From abaf78e02003b90271c6b192a90a9e1dfa2ec21d Mon Sep 17 00:00:00 2001 From: fryorcraken <110212804+fryorcraken@users.noreply.github.com> Date: Thu, 5 Sep 2024 11:38:52 +1000 Subject: [PATCH 1/2] chore: use dockerhub instead of harbor (#123) --- FAQ.md | 14 ++++++++------ docker-compose.yml | 2 +- register_rln.sh | 2 +- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/FAQ.md b/FAQ.md index 8c9df40..b51d504 100644 --- a/FAQ.md +++ b/FAQ.md @@ -1,18 +1,20 @@ +⚠️⚠️ There are no incentives or rewards for running a Waku node. ⚠️⚠️ +🛑🛑 DO NOT RUN A NODE IF YOU ARE EXPECTING REWARDS 🛑🛑 # Waku FAQ -- [Does my node work properly?](#Does-my-node-work-properly?) +- [Does my node work properly?](#does-my-node-work-properly) - [My node is not able to start properly](#My-node-is-not-able-to-start-properly) -- [Does the running node have any incentives?](#Does-the-running-node-have-any-incentives?) -- [Error when running .register_rln.sh](#Error-when-running-.register_rln.sh) -- [Problem with Grafana](#Problem-with-Grafana) +- [Does the running node have any incentives?](#does-running-a-node-have-any-incentives) +- [Error when running .register_rln.sh](#error-when-running-register_rlnsh) +- [Problem with Grafana](#does-my-grafana-looks-right) ---- ### Does my node work properly? -Your node should have at least 40 connected peers and you should see some traffic in and out, in the Grafana board. +Your node should have at least 40 connected peers, and you should see some traffic in and out, in the Grafana board. -1. Run `docker ps` and check that the “[harbor.status.im/wakuorg/nwaku](http://harbor.status.im/wakuorg/nwaku)” container is not continuously restarting +1. Run `docker ps` and check that the `wakuorg/nwaku` container is not continuously restarting 2. Use the following commands to check the node better: 1. `curl -X GET http://localhost:8645/health` 2. `curl -X GET http://localhost:8645/debug/v1/info` diff --git a/docker-compose.yml b/docker-compose.yml index 7ad23ef..0851ff8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -31,7 +31,7 @@ x-pg-exporter-env: &pg_exp_env # Services definitions services: nwaku: - image: ${NWAKU_IMAGE:-harbor.status.im/wakuorg/nwaku:v0.32.0} + image: ${NWAKU_IMAGE:-wakuorg/nwaku:v0.32.0} restart: on-failure ports: - 30304:30304/tcp diff --git a/register_rln.sh b/register_rln.sh index 223a70d..ea8b1f2 100755 --- a/register_rln.sh +++ b/register_rln.sh @@ -20,7 +20,7 @@ if test -n "${ETH_CLIENT_ADDRESS}"; then exit 1 fi -docker run -v "$(pwd)/keystore":/keystore/:Z harbor.status.im/wakuorg/nwaku:v0.31.0 generateRlnKeystore \ +docker run -v "$(pwd)/keystore":/keystore/:Z wakuorg/nwaku:v0.31.0 generateRlnKeystore \ --rln-relay-eth-client-address=${RLN_RELAY_ETH_CLIENT_ADDRESS} \ --rln-relay-eth-private-key=${ETH_TESTNET_KEY} \ --rln-relay-eth-contract-address=0xCB33Aa5B38d79E3D9Fa8B10afF38AA201399a7e3 \ From edcfc926a3eca1106640a45dac4d9780291354a2 Mon Sep 17 00:00:00 2001 From: Ivan FB <128452529+Ivansete-status@users.noreply.github.com> Date: Tue, 10 Sep 2024 22:55:58 +0200 Subject: [PATCH 2/2] new faq item explaining how to migrate to a new server (#125) --- FAQ.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/FAQ.md b/FAQ.md index b51d504..7cb16db 100644 --- a/FAQ.md +++ b/FAQ.md @@ -8,6 +8,7 @@ - [Does the running node have any incentives?](#does-running-a-node-have-any-incentives) - [Error when running .register_rln.sh](#error-when-running-register_rlnsh) - [Problem with Grafana](#does-my-grafana-looks-right) +- [Migrate my setup to another server?](#how-to-migrate-my-setup-to-another-server) ---- @@ -47,4 +48,13 @@ It should look like: http://5.196.26.230:3000/d/yns_4vFVk/nwaku-monitoring?orgId=1&refresh=1m +### How to migrate my setup to another server? + +1. Clone [nwaku-compose](https://github.com/waku-org/nwaku-compose) in the new server. + +2. Move your `keystore` folder (`nwaku-compose/keystore/`) from your current setup to the new server. + + That folder was created when you executed `./register_rln.sh`, +and then, there is no need to run `./register_rln.sh` again. +