bug(dashmate): dashmate reset --platform is broken
pshenmic opened this issue · 1 comments
pshenmic commented
Expected Behavior
Dashmate should allow to reset platform node without stopping the whole stack (eg with platform stopped)
Current Behavior
Fails with Running services detected
Possible Solution
Steps to Reproduce (for bugs)
dashmate@hp-masternode-3:~$ dashmate reset --platform
❯ Reset testnet node
✖ Running services detected. Please ensure all services are stopped for this config before starting
◼ Remove platform services and associated data
◼ Reset dashmate's ephemeral data
dashmate@hp-masternode-3:~$ dashmate stop --platform
✔ Check node is running
✔ Stopping testnet node
dashmate@hp-masternode-3:~$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
1aabdc3048fe dashpay/dashd:20.0.0-alpha.10 "/docker-entrypoint.…" 47 hours ago Up 56 minutes 9998-9999/tcp, 127.0.0.1:19998->19998/tcp, 0.0.0.0:19999->19999/tcp dashmate_testnet-core-1
dashmate@hp-masternode-3:~$ dashmate reset --platform
❯ Reset testnet node
✖ Running services detected. Please ensure all services are stopped for this config before starting
◼ Remove platform services and associated data
◼ Reset dashmate's ephemeral data
dashmate@hp-masternode-3:~$ dashmate stop
✔ Check node is running
✔ Stopping testnet node
dashmate@hp-masternode-3:~$ dashmate reset --platform
✔ Reset testnet node
✔ Check services are not running
✔ Remove platform services and associated data
✔ Reset dashmate's ephemeral data
dashmate@hp-masternode-3:~$ dashmate start
✔ Start testnet node
✔ Check node is not started
✔ Start services
Context
Your Environment
- Version used:
- Environment name and version (e.g. Chrome 39, node.js 5.4):
- Operating System and version (desktop, server, or mobile):
- Link to your project: