Deleting LND volume on old installations (#340)
If volume is not present it won't throw any kind of error, it'll just echo volume name
This commit is contained in:
@@ -21,6 +21,10 @@ fi
|
|||||||
|
|
||||||
docker volume rm --force generated_lnd_bitcoin_datadir
|
docker volume rm --force generated_lnd_bitcoin_datadir
|
||||||
|
|
||||||
|
# very old installations had production_lnd_bitcoin_datadir volume
|
||||||
|
# https://github.com/btcpayserver/btcpayserver-docker/issues/272
|
||||||
|
docker volume rm --force production_lnd_bitcoin_datadir
|
||||||
|
|
||||||
../btcpay-up.sh
|
../btcpay-up.sh
|
||||||
|
|
||||||
echo "LND container recreated"
|
echo "LND container recreated"
|
||||||
Reference in New Issue
Block a user