mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-11-20 02:47:34 +01:00
Compare commits
14 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b87e73c89c | ||
|
|
8b1a4b3939 | ||
|
|
7b75f66aeb | ||
|
|
1b2fcf48ee | ||
|
|
f771465338 | ||
|
|
fd2d369264 | ||
|
|
b55616ce87 | ||
|
|
e833fd42a6 | ||
|
|
45df8b3e72 | ||
|
|
a64e31f725 | ||
|
|
7c91ee99a7 | ||
|
|
d37eebdd96 | ||
|
|
c5def56588 | ||
|
|
7013a78472 |
14
CHANGES.md
14
CHANGES.md
@@ -2,9 +2,7 @@
|
|||||||
|
|
||||||
Optimized now to run also on plain debian12 linux for Proxmox/VM & x86 systems.
|
Optimized now to run also on plain debian12 linux for Proxmox/VM & x86 systems.
|
||||||
|
|
||||||
Download Release Candidate - RaspberryPi minimal image:
|
Containing Features:
|
||||||
https://raspiblitz.fulmo.org/images/raspiblitz-min-v1.11.3rc2-2024-10-08.img.gz
|
|
||||||
SHA-256-Checksum: a20e92b1d99c0dcc6fa6aa83f8212df6a0db8ae47616cc3b565c0f88f35c2457
|
|
||||||
|
|
||||||
- New: Publicpool - Open Source Solo Bitcoin Mining (SSH Menu) [details](https://www.youtube.com/watch?v=QbOsH04Z9xM)
|
- New: Publicpool - Open Source Solo Bitcoin Mining (SSH Menu) [details](https://www.youtube.com/watch?v=QbOsH04Z9xM)
|
||||||
- New: Tailscale (SSH menu > SETTINGS) [details](https://en.wikipedia.org/wiki/Tailscale)
|
- New: Tailscale (SSH menu > SETTINGS) [details](https://en.wikipedia.org/wiki/Tailscale)
|
||||||
@@ -23,6 +21,16 @@ SHA-256-Checksum: a20e92b1d99c0dcc6fa6aa83f8212df6a0db8ae47616cc3b565c0f88f35c24
|
|||||||
- Update: CLBOSS 0.13.3 [details](https://github.com/ZmnSCPxj/clboss/releases/tag/v0.13.3)
|
- Update: CLBOSS 0.13.3 [details](https://github.com/ZmnSCPxj/clboss/releases/tag/v0.13.3)
|
||||||
- Update: Electrum Server in Rust (electrs) v0.10.6 [details](https://github.com/romanz/electrs/blob/master/RELEASE-NOTES.md#0106-sep-29-2024)
|
- Update: Electrum Server in Rust (electrs) v0.10.6 [details](https://github.com/romanz/electrs/blob/master/RELEASE-NOTES.md#0106-sep-29-2024)
|
||||||
|
|
||||||
|
Download RaspberryPi images:
|
||||||
|
|
||||||
|
- Minimal:
|
||||||
|
https://raspiblitz.fulmo.org/images/raspiblitz-min-v1.11.3-2024-11-03.img.gz
|
||||||
|
SHA-256-Checksum: 199fd4e671a49feb39420156031201c9118121d33ec6f9990fb9724de5be02c4
|
||||||
|
|
||||||
|
- Fatpack:
|
||||||
|
https://raspiblitz.fulmo.org/images/raspiblitz-fat-v1.11.3-2024-11-03.img.gz
|
||||||
|
SHA-256-Checksum: 65e523562768b21dcda85b96003c559a665015889402a3cea27638e6c5e290bd
|
||||||
|
|
||||||
## What's new in Version 1.11.2 of RaspiBlitz?
|
## What's new in Version 1.11.2 of RaspiBlitz?
|
||||||
|
|
||||||
This is just a quick patch release for v1.11.1
|
This is just a quick patch release for v1.11.1
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# 
|
# 
|
||||||
|
|
||||||
_Build your own Bitcoin & Lightning Fullnode on a RaspberryPi with an optional Display._
|
_Build your own Bitcoin & Lightning Fullnode on a RaspberryPi with an optional Display._ ([API](https://github.com/fusion44/blitz_api)|[WebUI](https://github.com/raspiblitz/raspiblitz-web))
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -35,17 +35,6 @@ elif [ -d /boot ]; then
|
|||||||
fi
|
fi
|
||||||
echo "# raspi_bootdir(${raspi_bootdir})"
|
echo "# raspi_bootdir(${raspi_bootdir})"
|
||||||
|
|
||||||
# install BTRFS if needed
|
|
||||||
btrfsInstalled=$(btrfs --version 2>/dev/null | grep -c "btrfs-progs")
|
|
||||||
if [ ${btrfsInstalled} -eq 0 ]; then
|
|
||||||
>&2 echo "# Installing BTRFS ..."
|
|
||||||
apt-get install -y btrfs-progs 1>/dev/null
|
|
||||||
fi
|
|
||||||
btrfsInstalled=$(btrfs --version 2>/dev/null | grep -c "btrfs-progs")
|
|
||||||
if [ ${btrfsInstalled} -eq 0 ]; then
|
|
||||||
echo "error='missing btrfs package'"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
# install smartmontools if needed
|
# install smartmontools if needed
|
||||||
smartmontoolsInstalled=$(apt-cache policy smartmontools | grep -c 'Installed: (none)' | grep -c "0")
|
smartmontoolsInstalled=$(apt-cache policy smartmontools | grep -c 'Installed: (none)' | grep -c "0")
|
||||||
@@ -66,14 +55,41 @@ fi
|
|||||||
# gathering system info
|
# gathering system info
|
||||||
# is global so that also other parts of this script can use this
|
# is global so that also other parts of this script can use this
|
||||||
|
|
||||||
|
# check if a btrfs filesystem is available
|
||||||
# basics
|
# basics
|
||||||
isMounted=$(df | grep -c /mnt/hdd)
|
isMounted=$(df | grep -c /mnt/hdd)
|
||||||
isBTRFS=$(btrfs filesystem show 2>/dev/null| grep -c 'BLITZSTORAGE')
|
isBTRFS="0"
|
||||||
isRaid=$(btrfs filesystem df /mnt/hdd 2>/dev/null | grep -c "Data, RAID1")
|
isRaid="0"
|
||||||
isZFS=$(zfs list 2>/dev/null | grep -c "/mnt/hdd")
|
isZFS="0"
|
||||||
isSSD="0"
|
isSSD="0"
|
||||||
isSMART="0"
|
isSMART="0"
|
||||||
|
|
||||||
|
# BTRFS extras
|
||||||
|
btrfsConnected=$(lsblk -f | grep -c btrfs)
|
||||||
|
if [ ${btrfsConnected} -gt 0 ]; then
|
||||||
|
|
||||||
|
# install BTRFS if needed
|
||||||
|
btrfsInstalled=$(btrfs --version 2>/dev/null | grep -c "btrfs-progs")
|
||||||
|
if [ ${btrfsInstalled} -eq 0 ]; then
|
||||||
|
>&2 echo "# Installing BTRFS ..."
|
||||||
|
apt-get install -y btrfs-progs 1>/dev/null
|
||||||
|
fi
|
||||||
|
btrfsInstalled=$(btrfs --version 2>/dev/null | grep -c "btrfs-progs")
|
||||||
|
if [ ${btrfsInstalled} -eq 0 ]; then
|
||||||
|
echo "error='missing btrfs package'"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
isBTRFS=$(btrfs filesystem show 2>/dev/null| grep -c 'BLITZSTORAGE')
|
||||||
|
isRaid=$(btrfs filesystem df /mnt/hdd 2>/dev/null | grep -c "Data, RAID1")
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
|
# ZFS extras
|
||||||
|
zfsConnected=$(lsblk -f | grep -c zfs)
|
||||||
|
if [ ${zfsConnected} -gt 0 ]; then
|
||||||
|
isZFS=$(zfs list 2>/dev/null | grep -c "/mnt/hdd")
|
||||||
|
fi
|
||||||
|
|
||||||
# determine if swap is external on or not
|
# determine if swap is external on or not
|
||||||
externalSwapPath="/mnt/hdd/swapfile"
|
externalSwapPath="/mnt/hdd/swapfile"
|
||||||
if [ ${isBTRFS} -eq 1 ]; then
|
if [ ${isBTRFS} -eq 1 ]; then
|
||||||
@@ -656,6 +672,8 @@ if [ "$1" = "format" ]; then
|
|||||||
# check valid format
|
# check valid format
|
||||||
if [ "$2" = "btrfs" ]; then
|
if [ "$2" = "btrfs" ]; then
|
||||||
>&2 echo "# DATA DRIVE - FORMATTING to BTRFS layout (new)"
|
>&2 echo "# DATA DRIVE - FORMATTING to BTRFS layout (new)"
|
||||||
|
# check if btrfs-tools are installed
|
||||||
|
apt-get install -y btrfs-progs 1>/dev/null
|
||||||
elif [ "$2" = "ext4" ]; then
|
elif [ "$2" = "ext4" ]; then
|
||||||
>&2 echo "# DATA DRIVE - FORMATTING to EXT4 layout (old)"
|
>&2 echo "# DATA DRIVE - FORMATTING to EXT4 layout (old)"
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -487,9 +487,23 @@ if [ "$1" = "install" ]; then
|
|||||||
echo "# Install NBXplorer $NBXplorerVersion"
|
echo "# Install NBXplorer $NBXplorerVersion"
|
||||||
cd /home/btcpay || exit 1
|
cd /home/btcpay || exit 1
|
||||||
echo "# Download the NBXplorer source code $NBXplorerVersion"
|
echo "# Download the NBXplorer source code $NBXplorerVersion"
|
||||||
sudo -u btcpay git clone https://github.com/dgarage/NBXplorer.git 2>/dev/null
|
sudo -u btcpay git clone https://github.com/dgarage/NBXplorer.git
|
||||||
cd NBXplorer || exit 1
|
if [ ! -d "/home/btcpay/NBXplorer" ]; then
|
||||||
|
echo "# FAIL! on first git clone - retrying with snapshot download."
|
||||||
|
sudo -u btcpay curl -L https://github.com/dgarage/NBXplorer/archive/refs/tags/$NBXplorerVersion.tar.gz -o NBXplorer.tar.gz
|
||||||
|
sudo -u btcpay tar -xzvf NBXplorer.tar.gz
|
||||||
|
sudo -u btcpay mv NBXplorer-* NBXplorer
|
||||||
|
if [ ! -d "/home/btcpay/NBXplorer" ]; then
|
||||||
|
echo "# FAIL! also on second git clone of NBXplorer - uninstall & exiting."
|
||||||
|
/home/admin/config.scripts/bonus.btcpayserver.sh uninstall
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
cd NBXplorer
|
||||||
|
else
|
||||||
|
echo "# OK - git clone of NBXplorer successful."
|
||||||
|
cd NBXplorer
|
||||||
sudo -u btcpay git reset --hard $NBXplorerVersion
|
sudo -u btcpay git reset --hard $NBXplorerVersion
|
||||||
|
fi
|
||||||
# PGP verify
|
# PGP verify
|
||||||
NBXPGPsigner="nicolasdorier"
|
NBXPGPsigner="nicolasdorier"
|
||||||
NBXPGPpubkeyLink="https://keybase.io/nicolasdorier/pgp_keys.asc"
|
NBXPGPpubkeyLink="https://keybase.io/nicolasdorier/pgp_keys.asc"
|
||||||
@@ -515,7 +529,6 @@ if [ "$1" = "install" ]; then
|
|||||||
# from the build.sh with path
|
# from the build.sh with path
|
||||||
sudo -u btcpay /home/btcpay/dotnet/dotnet build -c Release \
|
sudo -u btcpay /home/btcpay/dotnet/dotnet build -c Release \
|
||||||
/home/btcpay/btcpayserver/BTCPayServer/BTCPayServer.csproj || exit 1
|
/home/btcpay/btcpayserver/BTCPayServer/BTCPayServer.csproj || exit 1
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -105,6 +105,8 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
|
|||||||
# check that the repos were cloned
|
# check that the repos were cloned
|
||||||
if [ ! -d "/home/${APPID}/${APPID}" ] || [ ! -d "/home/${APPID}/${APPID}-ui" ]; then
|
if [ ! -d "/home/${APPID}/${APPID}" ] || [ ! -d "/home/${APPID}/${APPID}-ui" ]; then
|
||||||
echo "# FAIL - Was not able to clone the GitHub repos."
|
echo "# FAIL - Was not able to clone the GitHub repos."
|
||||||
|
echo "# running uninstall script to clean up"
|
||||||
|
/home/admin/config.scripts/bonus.publicpool.sh off
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -163,8 +165,8 @@ API_SECURE=false
|
|||||||
echo "
|
echo "
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=${APPID}
|
Description=${APPID}
|
||||||
Wants=bitcoind
|
Wants=bitcoind.service
|
||||||
After=bitcoind
|
After=bitcoind.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
WorkingDirectory=/home/${APPID}/${APPID}
|
WorkingDirectory=/home/${APPID}/${APPID}
|
||||||
|
|||||||
@@ -7,14 +7,14 @@
|
|||||||
lndVersion="0.17.5-beta"
|
lndVersion="0.17.5-beta"
|
||||||
|
|
||||||
# olaoluwa
|
# olaoluwa
|
||||||
PGPauthor="roasbeef"
|
# PGPauthor="roasbeef"
|
||||||
PGPpkeys="https://keybase.io/roasbeef/pgp_keys.asc"
|
# PGPpkeys="https://raw.githubusercontent.com/lightningnetwork/lnd/master/scripts/keys/roasbeef.asc"
|
||||||
PGPcheck="E4D85299674B2D31FAA1892E372CBD7633C61696"
|
# PGPcheck="A5B61896952D9FDA83BC054CDC42612E89237182"
|
||||||
|
|
||||||
# guggero
|
# guggero
|
||||||
# PGPauthor="guggero"
|
PGPauthor="guggero"
|
||||||
# PGPpkeys="https://keybase.io/guggero/pgp_keys.asc"
|
PGPpkeys="https://keybase.io/guggero/pgp_keys.asc"
|
||||||
# PGPcheck="F4FC70F07310028424EFC20A8E4256593F177720"
|
PGPcheck="F4FC70F07310028424EFC20A8E4256593F177720"
|
||||||
|
|
||||||
# bitconner
|
# bitconner
|
||||||
#PGPauthor="bitconner"
|
#PGPauthor="bitconner"
|
||||||
|
|||||||
Reference in New Issue
Block a user