-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add action for myNode migration * fix wildcard placement * Update upstream to v0.16.3 * add superuser privileges to 'scp' command * Fix quotes to allow for passwords containing special bash chars * update permissions of mynode dir and fix scp * add sudo permissions to cat mynode .lndpw * remove >&2 from the mynode script commands * revert other 2 >&2 for sshpass commands * add raspiblitz migration action * add back cat command to import-umbrel-5 action * CipherSeed wip * complete Cypher Seed property * Remove CipherSeed debugging println * update release notes and change bitcoin core dependency to 'opt-out' * remove unused imports and commented out code * remove references to 'Embassy', update BTC UDS values, and minor changes * fix properties startup bug * add time to sleep to fix race condition * Update upstream to 16.4, fix 'up' migration, and fix properties cipherSeed bug * fix cipherSeed bug * add loop to ensure cipherseed is created * move file_path variable to 'else' block and remove debugging println * replace broken Start9 HQ link with link to 1ml * Fix Aezeed spelling * fix dependencies to allow pruned nodes contingent on version and update autoconfig --------- Co-authored-by: gStart9 <george@start9labs.com>
- Loading branch information
1 parent
5bb2f93
commit f90c2fd
Showing
14 changed files
with
257 additions
and
282 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM lightninglabs/lnd:v0.16.2-beta | ||
FROM lightninglabs/lnd:v0.16.4-beta | ||
|
||
ARG ARCH | ||
ARG PLATFORM | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/sh | ||
|
||
set -e | ||
|
||
cat > input.json | ||
MYNODE_HOST=$(jq -r '.["mynode-host"]' input.json) | ||
MYNODE_PASS=$(jq -r '.["mynode-password"]' input.json) | ||
rm input.json | ||
>&2 echo "Stopping MyNode Services" | ||
sshpass -p "$MYNODE_PASS" ssh -o StrictHostKeyChecking=no admin@$MYNODE_HOST "echo \"$MYNODE_PASS\" | >&2 sudo -S /usr/bin/mynode_stop_critical_services.sh" | ||
>&2 echo "Copying LND data" | ||
sshpass -p "$MYNODE_PASS" ssh -o StrictHostKeyChecking=no admin@$MYNODE_HOST "echo \"$MYNODE_PASS\" | >&2 sudo -S chmod -R 755 /mnt/hdd/mynode/lnd/data" | ||
sshpass -p "$MYNODE_PASS" scp -o StrictHostKeyChecking=no -r -v admin@$MYNODE_HOST:"/mnt/hdd/mynode/lnd/data" /root/.lnd | ||
|
||
LN_CLI_PASS=$(sshpass -p "$MYNODE_PASS" ssh -o StrictHostKeyChecking=no admin@$MYNODE_HOST "echo \"$MYNODE_PASS\" | sudo -S cat /mnt/hdd/mynode/settings/.lndpw") | ||
echo -n "$LN_CLI_PASS" > /root/.lnd/pwd.dat | ||
echo '{"version":"0","message":"Successfully Imported MyNode Data","value":null,"copyable":false,"qr":false}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/sh | ||
|
||
set -e | ||
|
||
cat > input.json | ||
RASPIBLITZ_HOST=$(jq -r '.["raspiblitz-host"]' input.json) | ||
RASPIBLITZ_PASS=$(jq -r '.["raspiblitz-password"]' input.json) | ||
RASPIBLITZ_LNCLI_PASS=$(jq -r '.["raspiblitz-lncli-password"]' input.json) | ||
rm input.json | ||
>&2 echo "Stopping RaspiBlitz LND" | ||
sshpass -p "$RASPIBLITZ_PASS" ssh -o StrictHostKeyChecking=no admin@$RASPIBLITZ_HOST "lncli stop" | ||
>&2 echo "Copying LND data" | ||
sshpass -p "$RASPIBLITZ_PASS" ssh -o StrictHostKeyChecking=no admin@$RASPIBLITZ_HOST "echo \"$RASPIBLITZ_PASS\" | >&2 sudo -S chmod -R 755 /mnt/hdd/lnd/data" | ||
sshpass -p "$RASPIBLITZ_PASS" scp -o StrictHostKeyChecking=no -r -v admin@$RASPIBLITZ_HOST:"/mnt/hdd/lnd/data" /root/.lnd | ||
|
||
echo -n "$RASPIBLITZ_LNCLI_PASS" > /root/.lnd/pwd.dat | ||
echo '{"version":"0","message":"Successfully Imported RaspiBlitz Data","value":null,"copyable":false,"qr":false}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.