dusk-network/node-installer

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.

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.