raspiblitz
raspiblitz copied to clipboard
Proxmox VM Upgrade - Reboot Loop when HDD attached
Describe the bug When starting the the raspiblitz VM on Proxmox with the attached HDD with the blockchain data, the VM reboots after some seconds.
To Reproduce
-
REPAIR - MIGRATION, saved the migration file, stopped the raspiblitz-VM Seen that it would better to use UPDATE, so
-
Restart the raspiblitz VM - UPDATE - RELEASE - UPDATE NOW - saved backup file - stopped the raspiblitz-VM with the old version
-
Prepared VM based on Debian 12.8 and build sdcard - first with branch v.11.1 and HDD (with blockchain and old data) attached
-
Restart raspiblitz VM - after about 10 seconds it reboots. When I manage to login I see the rebooting dialog counter. When I press cancel I get the message with the ssh login, but it continues with shutdown and reboot.
-
Prepared VM based on Debian 12.8 and build sdcard - now with branch dev and NO HDD attached. I could login but it asks for the HDD. As soon as I attach the HDD it also falls into the reboot loop.
(I've restarted my old raspi VM version again, so I can change on the HDD of do different preparing steps, if necessary)
Hmm .. so there are some "reboots" in the boostrap script .. we would need to pin down which it is.
For this can you do the following:
- Boot up, connect/patchthru HDD and let reboot.
- Disconnect HDD on bootup
- Login per SSH, CTRL+C to terminal and
cat /home/admin/raspiblitz.last.log - Paste the last lines of that log file here for debugging
check that display class in raspiblitz.conf from HDD is different from as it is now in raspiblitz.info ... infoFileDisplayClass(headless) confFileDisplayClass(lcd) DISPLAY RESTORE - need to update displayClass from (headless) to (lcd)' blitz.display.sh set-display raspi_configfile(/boot/config.txt) raspi_commandfile(/boot/cmdline.txt) blitz.display.sh set-display lcd baseimage(debian) err='LCD not supported on VM' No UASP FIX needed Reboot
sudo bash build_sdcard.sh -f false -d headless -t false -w off
sudo nano /mnt/hdd/raspiblitz.conf search displayClass=lcd change this in displayClass=headless
@Sep21-2009 Do you use a physical HDD? I never had this issue with a VM on Proxmox using two virtual disks.
Maybe this difference is relevant to solve this issue.
My upgrade procedure:
- Reinstall Debian on OS disk
- Download and execute
build_sdcard.sh - Reboot VM
(Don't use
q35in VM configuration. It has an audio device and that skips provisioning)
Yes, I have a physical SSD. Have a look at the log file that @rootzoll wrote, in my case the display setting was LCD as described if you have a display error there then look in the conf I posted to see if it says LCD and change it if so as I described
cat /home/admin/raspiblitz.last.log If you read this there
err='LCD not supported on VM'
Then
sudo nano /mnt/hdd/raspiblitz.conf displayClass=lcd change this in displayClass=headless