iotex-bootstrap icon indicating copy to clipboard operation
iotex-bootstrap copied to clipboard

move stop docker right before restart iotex-server

Open guo opened this issue 1 year ago • 1 comments

in set_fullnode script

guo avatar Sep 05 '23 05:09 guo

 If Upgrade ; input your old directory $IOTEX_HOME !!! 
Input your $IOTEX_HOME [e.g., /root/iotex-var]: 
Do you want to monitor the status of the node [Y/N] (Default: N)? 
Do you want to enable gateway plugin [Y/N] (Default: N)? 
Current operating environment:   mainnet 
Install or Upgrade Version; if null the latest [v1.11.1]: 
Stop old iotex-core
iotex
delete old iotex docker container
iotex
 ******  Upgrade IoTeX Node ******* 
 ***  Will stop, delete old iotex container; 
 *** download new config and recover your externalHost producerPrivKey 
******* Press any key to continue ... [Ctrl + c exit!] 
Do you prefer to start from a snapshot, This will overwrite existing data. Download the db file. [Y/N] (Default: N)? 
Press any key to continue ... [Ctrl + c exit!] 
docker pull iotex-core v1.11.1
v1.11.1: Pulling from iotex/iotex-core
7264a8db6415: Pull complete 
319904d84844: Pull complete 
e759a5cffefe: Pull complete 
0de63c34950c: Pull complete 
9b2829cbefcf: Pull complete 
88026176a7b4: Pull complete 
2ce93d4f5ea7: Pull complete 
f839cd16f315: Pull complete 
db2370c0d756: Pull complete 
aaafb1513a7b: Pull complete 
07d3c0c1e6ad: Pull complete 
3c9f188962fd: Pull complete 
7111b0144532: Pull complete 
Status: Downloaded newer image for iotex/iotex-core:v1.11.1
docker.io/iotex/iotex-core:v1.11.1
download new config
Downloading file: https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v1.11.1/config_mainnet.yaml
Downloading file: https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v1.11.1/genesis_mainnet.yaml
Downloading the patch file
Downloading file: https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/v1.11.1/trie.db.patch
Update your externalHost,producerPrivKey to config.yaml
Downloading file: https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/master/monitor/docker-compose.yml.gateway
Downloading file: https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/master/monitor/docker-compose.yml
Downloading file: https://raw.githubusercontent.com/iotexproject/iotex-bootstrap/master/monitor/.env
Start iotex-server.

guo avatar Sep 05 '23 05:09 guo