Closed rootzoll closed 7 months ago
Poking in the dark, but can you try using another SDcard?
I tested with another sd card - thats not it. I tested to make redis explicit "stop-writes-on-bgsave-error no" in config - does not change it.
Next ideas:
Interesting: The reboot that hangs is not the normal bootstrap setup reboot ... it gets triggered out of plan during the repair of the SSH certs at the beginning of the bootstrap. Investigating that deeper.
Working on branch 4469-hang
... first reboot happend on restart of sshd service. Now on dpkg-reconfigure openssh-server
see
https://github.com/raspiblitz/raspiblitz/blob/3d652d838ae84bf02ca28825ffcfb557ac3b281c/home.admin/config.scripts/blitz.ssh.sh#L45
***********************************************
Running RaspiBlitz Bootstrap 1.11.0rc4
Wed 13 Mar 22:04:39 GMT 2024
***********************************************
# init SSH KEYS fresh for new user
# *** /home/admin/config.scripts/blitz.ssh.sh init
# generate new keys
ssh-keygen: generating new host keys: RSA ECDSA ED25519
# reconfigure
This is getting silly. So I disabled now redis on release
command and reactivate it after the SSH certs get initiated and reloaded on first boot. Now the first boot gets thru the SSH stuff but does later a reboot after redis was activated again and still hangs on redis shutting down wis inital error above.
***********************************************
Running RaspiBlitz Bootstrap 1.11.0rc4
Thu 14 Mar 09:49:53 GMT 2024
***********************************************
# init SSH KEYS fresh for new user
# *** /home/admin/config.scripts/blitz.ssh.sh init
# generate new keys
ssh-keygen: generating new host keys: RSA ECDSA ED25519
# reconfigure
# remove flag
# restart sshd
# make sure redis is running
## prepare raspiblitz temp
## INIT raspiblitz.info
baseimage=raspios_arm64
cpu=aarch64
blitzapi=on
displayClass=lcd
displayType=
setupPhase=boot
setupStep=0
fsexpanded=0
state=starting
btc_mainnet_sync_initial_done=0
btc_testnet_sync_initial_done=0
btc_signet_sync_initial_done=0
ln_lnd_mainnet_sync_initial_done=0
ln_lnd_testnet_sync_initial_done=0
ln_lnd_signet_sync_initial_done=0
ln_cl_mainnet_sync_initial_done=0
ln_cl_testnet_sync_initial_done=0
ln_cl_signet_sync_initial_done=0
## INIT RaspiBlitz Cache ... wait background.scan.service to finish first scan loop
- waiting for background.scan.service --> systemscan_runtime(1)
No Wifi config by file on sd card.
So either its redis itself triggering a reboot during its startup or its an outside process (maybe background_scan, etc). This is a time burner to debug, but I keep digging.
OK looks like I got it - hope so. Will make clean test tomorrow.
Runs now thru. Closing issue.
Got the rc4 fatpack from 11-March-24 that I created manual on a real raspberrpi ... and after creating an img from it (disk writer, pishrink, gz) when I make an sd card from it - it hangs on first setup reboot with this screen:
After several hours it continues - but thats a showstopper. Also was reproducable if I repeated the build process.
This is what chatGPT says about the screen: