CLI update clears config.toml
Closed this issue · 3 comments
Describe the bug
Upgarded my node following the steps as described: https://docs.dusk.network/itn/node-upgrade/
To Reproduce
Upgrade node follwoing this steps
My Discord comment:
Just upgraded my node to the latest version. Followed the steps by the book, and see that my node is producing blocks again. Only when I want to open my wallet I get this error: Network not found, check config.toml, specify network with -n flag
Investigation shows that the config.toml file was empty so I added the data and node is running again.
Seems that this update clears this file.
Updated the config.toml with the info below:
state = "https://nodes.dusk.network"
prover = "https://provers.dusk.network"
explorer = "https://explorer.dusk.network/transactions/transaction/?id="
[network.devnet]
state = "https://devnet.nodes.dusk.network"
prover = "https://devnet.provers.dusk.network"
explorer = "https://explorer.dusk.network/transactions/transaction/?id="
[network.local]
state = "http://127.0.0.1:8080"
prover = "http://127.0.0.1:8080"
Describe the bug Upgarded my node following the steps as described: https://docs.dusk.network/itn/node-upgrade/
To Reproduce Upgrade node follwoing this steps
My Discord comment:
Just upgraded my node to the latest version. Followed the steps by the book, and see that my node is producing blocks again. Only when I want to open my wallet I get this error: Network not found, check config.toml, specify network with -n flag
Investigation shows that the config.toml file was empty so I added the data and node is running again.
Seems that this update clears this file.
This should not be the case. Are you using a different user then root?
The ITN installer uses a config.toml that it copies to the root user rusk-wallet conf.
Could you check for me please if the config.toml exists at /root/.dusk/rusk-wallet/config.toml
? If it does, you could move it to the home directory of the user you run rusk-wallet
with.
For this install I used the root user. The config.toml does exists at /root/.dusk/rusk-wallet/config.toml
I created the file myself after the install so no need to move it.