symbol-bootstrapアップデート手順
Release: 2021/11/06 Update: 2021/11/06
symbol-bootstrapのアップデート手順をまとめました。ノード運営者の方の参考になればと思います。
This is a symbol-bootstrap update procedure. I hope it will be helpful for node operators.
# | command |
Stop service | |
1 | su – symbolnodes |
2 | cd https-portal/ |
3 | docker ps |
4 | docker-compose down |
5 | docker ps |
6 | cd ../symbol-bootstrap/ |
7 | symbol-bootstrap stop |
8 | cp -Rp target target_bak_YYYYMMDD |
9 | exit |
Update/ Start service | |
1 | npm update -g symbol-bootstrap |
2 | symbol-bootstrap -v |
3 | su – symbolnodes |
4 | cd symbol-bootstrap/ |
5 | symbol-bootstrap config -p mainnet -a dual -c my-preset.yml –upgrade |
6 | symbol-bootstrap compose –upgrade |
7 | symbol-bootstrap start -d |
8 | symbol-bootstrap healthCheck |
9 | docker ps |
10 | cd ../https-portal/ |
11 | docker-compose up -d |
12 | docker ps |
13 | https://yourdomain:3001/node/info |