Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move stop docker right before restart iotex-server #258

Open
guo opened this issue Sep 5, 2023 · 1 comment
Open

move stop docker right before restart iotex-server #258

guo opened this issue Sep 5, 2023 · 1 comment

Comments

@guo
Copy link
Member

guo commented Sep 5, 2023

in set_fullnode script

@guo
Copy link
Member Author

guo commented Sep 5, 2023

 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant