Concordium / Concordium/concordium-node

Data and Config files are replaced by Mac Installer

Open
#656 0 comments 1 reaction 0 assignees View on GitHub
[Type] Bug
Dominant language
Haskell
Stars
108
Forks
24
Avg merge
2d 4h
Merged PRs (30d)
9

Description

**Bug Description**
If user has Mainnet database preserved on the default path while Node was uninstalled, installing the Testnet Node only will replace the database.

**Steps to Reproduce**
1. Clean up any current Concordium Node directories where data and config files are stored.
2. Install the node, configure it to run only for Mainnet through the installation wizard and select the node to start after the installation, catch up 100 blocks.
3. Stop the node, verify that only Mainnet folder with database files exist on the path (/Library/Application Support/Concordium Node/).
4. Uninstall the node using Concordium Node Uninstaller, don't remove data files.
5. At this point, Mainnet data and config files are kept but the node is uninstalled.
6. Install the node again, this time configure only Testnet node, start the node after installation same as it was done for the Mainnet node.

**Expected Result**
Both Mainnet and Testnet directories are kept on the default path /Library/Application Support/Concordium Node/.

**Actual Result**
After installing node for Testnet only, Mainnet directory was replaced by Testnet directory on the default path.

**Versions**
- Software Version: 5.1.2
- OS: MacOS

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.