Skip to content

Quick reference

Jerome2506 edited this page Oct 1, 2020 · 7 revisions

For the advanced users below a quick reference guide to find the most common node operations commands. If you are unsure what command to run, go to the regular maintenance section for your node type with more details about what to run when.

Update packages / OS

sudo npm install -g npm

sudo npm install -g yarn

sudo apt-get update

sudo apt-get upgrade

Update node software

cd /ambrosus-nop/

sudo ./update.sh

Diagnostics

source <(sudo curl -s https://nop.ambrosus.io/check.sh)

source <(sudo curl -s https://nop.ambrosus.io/logs.sh)

Payout (Atlas only)

cd ambrosus-nop

yarn start

payouts (choose from menu)

Retire

cd ambrosus-nop

yarn start

retire (choose from menu)

Change URL (Atlas only)

cd ambrosus-nop

yarn start

change URL (choose from menu)

View logs

docker logs atlas_worker --tail 10

docker logs atlas_server --tail 10

docker logs parity --tail 10

docker logs mongod --tail 10

Clone this wiki locally