Two days ago I updated the 6 Spark 4s I have running at the brewery. After the update, all of the blocks on one of the Sparks reverted from my designated names to “NEW”. I thought it was a glitch with the update process and reconfigured the blocks.
Today I had to power cycle all the Sparks due to a different issue already being addressed in another post. After the power cycle all of the Sparks got into a Reboot Loop where they would power up for about 10-15 seconds and then reboot. Rinse and repeat. When on, they showed the temp sensor and PID settings on the display (as I have set it up) and the lights on the casing were flashing orange (if I remember properly). The ethernet icon was there, but with no IP address after it. When I watched my ethernet switch, I could see when the Sparks rebooted based on the (lack of) data transfer. I eventually uplugged my server (a raspberry pi) and all of the Sparks. I then turned the Sparks on, then the pi, and ran BREWBLOX-CTL UP. Everything is back up, but it was weird and troubling. Any thoughts?
I parsed the coredump, and it matches crashes we see when the Spark can’t get a DHCP response.
Next release will include a fix for the Spark crashing when it can’t get an ethernet DHCP IP address, but that does not magically fix the overall network problem.
Do the Sparks have a good connection to the router?
The connection to the router is good. Not sure about the DHCP questions so I’ll get back to you.
On a possibly related note: Since the software update my server (Raspberry Pi 3) keeps losing connectivity. It isn’t reachable on the back-end and the only way to get it back online is to physically reset it. The duration it stays online differs, but it can lose connection as quickly as a couple hours. I read in another thread that it could be an SD card issue (as well)…
Any troubleshooting thoughts are always appreciated.
Occasional freezeups and loss of connectivity (it’s hard to tell the difference for a headless Pi) are a known issue. I haven’t been able to consistently reproduce the problem, but there are multiple theories with fixes that seem to help. We documented these fixes at Troubleshooting | Brewblox.
DHCP failure is a new theory. I’m currently looking into this. When I tried a possible solution, I managed to render the tested Pi unresponsive, so I’ve been having to fix that first.
Admittedly, I had previously been testing the use of the Pi as a Wifi → ethernet bridge for the Spark, and I made the change while containers were still running. I probably only have myself to blame (as usual).