diff --git a/FAQ.md b/FAQ.md index 8c9df40..7cb16db 100644 --- a/FAQ.md +++ b/FAQ.md @@ -1,18 +1,21 @@ +⚠️⚠️ 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) +- [Migrate my setup to another server?](#how-to-migrate-my-setup-to-another-server) ---- ### 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` @@ -45,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. + 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 2f7014d..4ae11c0 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.32.0 generateRlnKeystore \ +docker run -v "$(pwd)/keystore":/keystore/:Z wakuorg/nwaku:v0.32.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 \