fboucquez / symbol-bootstrap

A tool that allows you to quickly configure and setup Symbol testnets and nodes.
Apache License 2.0
47 stars 27 forks source link

host disappears when I run config --upgrade on v1.0.1 mainnet #210

Closed dusanjp closed 3 years ago

dusanjp commented 3 years ago

With v1.0.1. on mainnet symbol-bootstrap start -p mainnet -a dual --upgrade When you run

  1. config_node.properties
  2. preset.yml The host name is removed from these two files

After noticing this

  1. config_node.properties
  2. preset.yml After editing these two files, try again symbol-bootstrap start -p mainnet -a dual --upgrade When you run Again the value of host is deleted

Even if you execute a similar instruction with testnet This does not happen

This is happening across platforms AMD RYZEN System t4vps

fboucquez commented 3 years ago

is the hostname in (old) target/addresses.yml?

dusanjp commented 3 years ago

yes I described host / friendlyName in my customPreset.yml and launched it. After noticing this, I rewrote it in the target and tried again. It is the result of trying twice. I will write it again, but even if I did the same thing as this, it did not occur with -p testnet Occurs only with -p mainnet

If you add "-c customPriset", I think there is no problem.😊

dusanjp commented 3 years ago

once again config -p testnet -a dual --upgrade config -p mainnet -a dual --upgrade I ran both and compared them. After all, the behavior is different.

dusanjp commented 3 years ago

Currently running "test8" on mainnet IP address is 212.24.106.178

Currently host is missing in curl localhost: 3000 / node / info Part of the contents of "test8" "target / addresses.yml " nodes:

     name: node
     friendlyName: test8
     roles:'Peer, Api'
fboucquez commented 3 years ago

Can you share your custom preset without any private information?

dusanjp commented 3 years ago

nodes:

    host: 212.24.106.178
    friendlyName: test8
    maxUnlockedAccounts: 20

this is customPriset of "test8" on mainnet

dusanjp commented 3 years ago

If you do not load customPreset, host seems to disappear. On meinnet ...

fboucquez commented 3 years ago

Thanks @dusanjp , this has been fixed in the latest release