Raspiblitz: Testing v1.6.2 Release Candidate 2

Created on 18 Nov 2020  ยท  18Comments  ยท  Source: rootzoll/raspiblitz

--- RaspiBlitz v1.6.2 RC1 DOWNLOAD ----
https://raspiblitz.org/raspiblitz-v1.6.2rc1-2020-11-18.img.gz
SHA-256: cc98dfe1cd8071e30d7db9c0639f8d04eae2be5ec274a177b8a39924c653dd77

--- RaspiBlitz v1.6.2 RC2 DOWNLOAD ----
https://raspiblitz.org/raspiblitz-v1.6.2rc2-2020-11-25.img.gz
SHA256: 096cbf03293c6691caa620db14806543ba7200b52c7ee0350fbb4dc5586485f3

Focus for testing:

  • genral install & update
  • LNbits running behind IP2Tor+LetsEncrypt hosting Vouchers & TPoS
  • Sphinx-Relay install & connecting app thru IP2Tor+LetsEncrypt
  • Lightning Pool
  • improved BTRFS (with Raid)

You can write your reports here and I will then open new issues or update existing ones if needed.

Most helpful comment

Thanks giving the RC1 a test ride. I have seperated all reported errors into single issues if neede so far. Preparing a RC2 this week.

All 18 comments

I have BTRFS with RAID and the update worked great. I have also electrs and specter installed.
Great work!

Went from 1.6.0 to 1.6.2RC1
now LND is stuck in a loop.
/dev/fd/58: line 1: syntax error near unexpected token (' /dev/fd/58: line 1:Binary file (standard input) matches'

Went and disabled Tor in the menu. Now the menu wont start at all.

-- Logs begin at Thu 2020-11-19 14:32:02 GMT. --
32 RESTARTS DETECTED - LND might be in a error loop
Nov 19 15:05:21 raspberrypi lnd[22212]: /home/bitcoin/.lnd/lnd.conf:31: unknown option: tor.active

First ssh login works (It is installing/compiling suff)
Second ssh login is not working because ssh is not running.
Logging in on console and stating ssh service ssh start fixes it.

I'm using a HDD. It seems it is not mounted at the time of the ssh start.
/var/log/syslog

Nov 19 16:02:07 raspberrypi sshd[744]: /etc/ssh/sshd_config: No such file or directory
[...]
Nov 19 16:02:07 raspberrypi nginx[656]: nginx: [emerg] BIO_new_file("/mnt/hdd/app-data/nginx/tls.cert") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/mnt/hdd/app-data/nginx/tls.cert','r') error:2006D080:BIO routines:BIO_new_file:no such file)
[...]
Nov 19 16:02:09 raspberrypi tor[1222]: Nov 19 16:02:09.754 [warn] Error creating directory /mnt/hdd/tor/sys: No such file or directory

[...]
Nov 19 16:03:08 raspberrypi kernel: [   92.335168] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
Nov 19 16:03:08 raspberrypi systemd[1]: Mounted /mnt/hdd.

Fix for SSH is: add mnt-hdd.mount to the systemd service
/etc/systemd/system/sshd.service

After=network.target auditd.service mnt-hdd.mount

Fix for bitcoind and lnd is:
/etc/systemd/system/bootstrap.service

After=network.target mnt-hdd.mount

Fix for tor:
/etc/systemd/system/[email protected]/raspiblitz2.conf

[Unit]
After=network.target nss-lookup.target mnt-hdd.mount

Fix for nginx
/etc/systemd/system/nginx.service.d/raspiblitz.conf

[Unit]
After=network.target nss-lookup.target mnt-hdd.mount

SphinxRelay is not starting
syslog:

Nov 19 17:48:48 raspberrypi env[30694]: SyntaxError: /home/sphinxrelay/sphinx-relay/dist/config/config.json: Unexpected end of JSO
N input

The file /home/sphinxrelay/sphinx-relay/dist/config/config.json was 0 bytes.

    sudo cat /home/sphinxrelay/sphinx-relay/config/config.json | \
    jq ".production.storage = \"/mnt/hdd/app-data/sphinxrelay/sphinx.db\"" | \
    sudo -u sphinxrelay tee /home/sphinxrelay/sphinx-relay/config/config.json

It is a race condition. The tee can sometimes be started before the cat

here is the fix of the race condition #1789

The only problem I've found so far is that kindle display stopped working.
On Kindle display and in browser at RASPI_IP:3030 all I see is: Could not open or parse data.json

kindledisplay@raspberrypi:~ $ /home/kindledisplay/kindle-display/server/cron.sh 
Tor is required, but not available.
*** You are running in headless mode.
  Recompressing IDAT chunks in screenshot.png to display.png
   Total length of data found in critical chunks            =      8240
   Best pngcrush method        =   7 (ws 15 fm 0 zl 9 zs 0) =      3265
CPU time decode 0.102192, encode 0.109192, other 0.011934, total 0.254578 sec

It says Tor is required, but not available. but Tor seems to be running:

admin@raspberrypi:~ $ sudo systemctl status tor
โ— tor.service - Anonymizing overlay network for TCP (multi-instance-master)
   Loaded: loaded (/lib/systemd/system/tor.service; enabled; vendor preset: enabled)
   Active: active (exited) since Thu 2020-11-19 21:54:36 GMT; 1h 43min ago
 Main PID: 456 (code=exited, status=0/SUCCESS)
    Tasks: 0 (limit: 4915)
   Memory: 0B
   CGroup: /system.slice/tor.service

Nov 19 21:54:35 raspberrypi systemd[1]: Starting Anonymizing overlay network for TCP (multi-instance-master)...
Nov 19 21:54:36 raspberrypi systemd[1]: Started Anonymizing overlay network for TCP (multi-instance-master).

Everything else, including Sphinx seems to be working fine for me!

@grnqrtr There is a port conflict. The kindle display is using port 3030 as well as sphinx.
It seems easier to change the port for the kindedisplay, or?

I had the same problem as @Emzy and I needed to install sphinx twice.

I just changed SERVER_PORT= to 3040 in config.scripts/bonus.kindle-display.sh but still get Could not open or parse data.json at RASPI_IP:3040 after reinstall.

@grnqrtr You need to change the port back to 3030
and install the following packages:

sudo apt-get update
sudo apt-get install firefox-esr jo torsocks pngcrush

When asked, keep the current tor setup (N).

@grnqrtr Can you test if PR #1790 fixes your issue?

@holgern Yes, this fixed it for me. Thanks!

While upgrading from v1.5 BTRFS on boot I get: (standard_in) 1: syntax error.

Before upgrade followed #1683(comment) to turn off RAID. Later node status was at Ctrl+D or root password screen on boot.

With 1.6.2rc1 and NO pen drive first tried MIGRATION which failed checksum(reason unknown considering i had generated the migration file on a functioning Blitz). Then followed following steps for recovery: BITCOIN > HOSTNAME > PASS A > PASS B > TOR > NO to format drive i get:

HDD was already initialized/prepared
Now needs to be mounted

# *** 40addHDD.sh ***
(standard_in) 1: syntax error
mount: /mnt/hdd: wrong fs type, bad option, bad superblock on /dev/sda1, missing codepage or helper program, or other error.

# --> Linking drives/directories
# hddCandidate='sda'
# hddPartitionCandidate='sda2'
FAIL blitz.datadrive.sh link --> no data drive mounted

Then checked #1715(comment) and manually checked relevant files on rootfs which were already patched.

blitz.datadrive.sh status OUTPUT:

# RASPIBLITZ DATA DRIVE Status

# BASICS
isMounted=0
isBTRFS=1

# SETUP INFO
isSSD=1
hddCandidate='sda'
(standard_in) 1: syntax error
hddBytes=
hddGigaBytes=
hddPartitionCandidate='sda2'
hddDataPartitionBytes=1931679457280
hddPartitionGigaBytes=1799
hddCount=1
hddFormat='btrfs'
hddError='data mount failed'
hddBlocksBitcoin=0
hddBlocksLitecoin=0

# RAID
isRaid=0
raidCandidates=0

# SWAP
isSwapExternal=0

Thanks giving the RC1 a test ride. I have seperated all reported errors into single issues if neede so far. Preparing a RC2 this week.

--- RaspiBlitz v1.6.2 RC2 DOWNLOAD ----
If you have a chance please give this Release Candidate 2 a quick test ride and let me know if you still find anything:
https://raspiblitz.org/raspiblitz-v1.6.2rc2-2020-11-25.img.gz
SHA256: 096cbf03293c6691caa620db14806543ba7200b52c7ee0350fbb4dc5586485f3

UPDATE on 1.6.2 RC2 with fresh sd card image, fresh USB3 & unformatted ssd(never reached format options stage):

  • On startup data mount failed on top line where blitz displays Raspiblitz and version.
  • On ssh i get (standard_in) 1: syntax error while loading.
  • On selecting to go ahead with re-setup. After Bitcoin > Hostname > Pass A > Pass B > Tor i get the following error:
HDD was already initialized/prepared
Now needs to be mounted

# *** 40addHDD.sh ***
(standard_in) 1: syntax error
mount: /mnt/hdd: wrong fs type, bad option, bad superblock on /dev/sda1, missing codepage or helper program, or other error.

# --> Linking drives/directories
# hddCandidate='sda'
# hddPartitionCandidate='sda2'
FAIL blitz.datadrive.sh link --> no data drive mounted

@jodobear this looks like the problem I am working in. After the script was optimized for VMs it was s not detecting HDDs without any partions anymore.

OK all test look good. Close for v1.6.2 release.

I tried 1.6.2, but still getting the same error :

UPDATE on 1.6.2 RC2 with fresh sd card image, fresh USB3 & unformatted ssd(never reached format options stage):

  • On startup data mount failed on top line where blitz displays Raspiblitz and version.
  • On ssh i get (standard_in) 1: syntax error while loading.
  • On selecting to go ahead with re-setup. After Bitcoin > Hostname > Pass A > Pass B > Tor i get the following error:
HDD was already initialized/prepared
Now needs to be mounted

# *** 40addHDD.sh ***
(standard_in) 1: syntax error
mount: /mnt/hdd: wrong fs type, bad option, bad superblock on /dev/sda1, missing codepage or helper program, or other error.

# --> Linking drives/directories
# hddCandidate='sda'
# hddPartitionCandidate='sda2'
FAIL blitz.datadrive.sh link --> no data drive mounted
Was this page helpful?
0 / 5 - 0 ratings

Related issues

shawnyeager picture shawnyeager  ยท  3Comments

rootzoll picture rootzoll  ยท  4Comments

2000jago picture 2000jago  ยท  5Comments

shawnyeager picture shawnyeager  ยท  4Comments

cedricwalter picture cedricwalter  ยท  5Comments