mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-28 15:31:37 +00:00
Fix mempool database issues during reinstall
This commit is contained in:
parent
5491de554f
commit
44dbaf0bd8
|
@ -78,6 +78,12 @@ elif [ "$APP" = "dojo" ]; then
|
||||||
rm -rf /mnt/hdd/mynode/dojo
|
rm -rf /mnt/hdd/mynode/dojo
|
||||||
elif [ "$APP" = "lndmanage" ]; then
|
elif [ "$APP" = "lndmanage" ]; then
|
||||||
pip3 uninstall -y lndmanage
|
pip3 uninstall -y lndmanage
|
||||||
|
elif [ "$APP" = "mempool" ]; then
|
||||||
|
cd /mnt/hdd/mynode/mempool
|
||||||
|
docker-compose rm
|
||||||
|
rm -rf data
|
||||||
|
rm -rf mysql/data
|
||||||
|
cd ~
|
||||||
else
|
else
|
||||||
echo "No custom re-install steps"
|
echo "No custom re-install steps"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -62,6 +62,12 @@ elif [ "$APP" = "lndhub" ]; then
|
||||||
rm -rf /opt/mynode/LndHub
|
rm -rf /opt/mynode/LndHub
|
||||||
elif [ "$APP" = "lndmanage" ]; then
|
elif [ "$APP" = "lndmanage" ]; then
|
||||||
pip3 uninstall -y lndmanage
|
pip3 uninstall -y lndmanage
|
||||||
|
elif [ "$APP" = "mempool" ]; then
|
||||||
|
cd /mnt/hdd/mynode/mempool
|
||||||
|
docker-compose rm
|
||||||
|
rm -rf data
|
||||||
|
rm -rf mysql/data
|
||||||
|
cd ~
|
||||||
elif [ "$APP" = "rtl" ]; then
|
elif [ "$APP" = "rtl" ]; then
|
||||||
rm -rf /opt/mynode/RTL
|
rm -rf /opt/mynode/RTL
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue
Block a user