I have my Verox stable install on a RPI4 with a Hifiberry Digi+ Hat. I have it set to Auto update and also to reboot early morning.
It generally works well. I use as a Room bridge with the i2S connection into a Shanling EH3
Recently I have found the RPI4 to be frozen when I come back to it the next day, and I need to do a power off power on. It comes back fine and works great for the day.
I assume it’s the reboot routine that is failing and freezing things up.
Hi Rob, thanks for the report and the upload, that helped a lot.
You’re right, it’s the reboot. Over the last few days your Pi went down for its 5:00 reboot normally, but on three of those mornings it never came back up until you power-cycled it. The logs look identical up to the point where the Pi stops writing them, so the hang happens in the very last moment of shutting down or the very first moment of starting up. I’m looking into it.
Two things would help me narrow it down:
Next time it’s stuck, could you look at the LEDs on the Pi? Is the green one off, steadily on, or blinking? And is the red one on?
Do you remember roughly when this started? Was it after an update?
In the meantime you can avoid it by turning off the daily reboot: Advanced → Reboot Schedule. Verox runs fine without it. Auto-update requires a scheduled reboot, though, so while it’s off you’ll need to install updates yourself from the web interface.
Thanks Rob, that’s really helpful. Since a manual reboot hangs too, it isn’t the schedule itself but rebooting in general, and the solid LEDs tell me the Pi gets stuck while starting up again.
Could you try the beta? It has a newer kernel and other low-level updates, and I’d like to know whether the hang still happens there. Switch Advanced → Update Channel to Beta, then install the update from the web interface (with the reboot schedule off, it won’t install on its own). After that, a few manual reboots will quickly tell us whether it’s still there.
If you’d rather go back to stable later, just switch the channel back. Your Pi won’t downgrade: it waits until the next stable release is out and then updates to it.
Thanks Rob, and that’s an important detail: if it locks up without a reboot, the reboot itself isn’t the problem. Unfortunately the logs only start at the hard boot, so they don’t show what happened before.
If it happens again on the beta, could you check a few things before you pull the power?
Can you still reach it: does the web page load, or does it answer a ping?
If you have a screen nearby, is there anything on HDMI?
Are both LEDs on solid again?
And which power supply are you using? Even a few minutes’ notice of the time it last played helps.
I’ve been away last week, and on my return I have been finding my RPI4 streamer has still been locking up on me. Not when I am using it, rather overnight sometime. I can’t connect to IP via browser so then I Power off/on to bring back.
There have been a couple of beta updates also which show up after reboot and require attention. No problems, I just follow the instructions.
I’m wondering about HW stability tbh or the SD card maybe?
Latest issue is my Roon bridge no longer showing up in Roon?
Also, I’m thinking to keep a Stable and Beta SD card to test differences easily.
I had a look at your upload, and it shows something useful. In that boot the Pi couldn’t talk to your Digi+ at all: the chip on the HAT didn’t answer, so Verox had no sound card. That’s why Roon could see the bridge but showed no audio device. In your earlier uploads the Digi+ was found normally.
A HAT that only sometimes answers, together with the Pi freezing when nobody’s using it, makes me suspect the hardware rather than the software. The two usual causes are the power supply and the connection between the Pi and the HAT. So:
Which power supply are you using? If it isn’t the official Raspberry Pi 4 supply (5.1 V, 3 A), it’s worth trying one.
Could you reseat the Digi+? Power off, take the HAT off, check that none of the header pins are bent, and press it back on firmly across all 40 pins. If it has standoffs, make sure they’re screwed in, so the board can’t work loose.
One question: when you rebooted your DAC, was that only the Shanling, or did you power-cycle the Pi as well? The Digi+ gets its power from the Pi, so restarting the Shanling on its own shouldn’t bring it back.
The SD card is less likely, since the system starts and runs fine, but a spare card with stable on it doesn’t hurt for comparing. Just bear in mind that a Pi on stable has had this freezing too, so it won’t tell us much on its own.