Can't get balenaCAM to run on my Pi2 B

I’m having trouble getting balenaCAM to work. I cloned the repository, booted a new device, set the environment variables and pushed the rep to balena. The device came on-line once, set the variables, rebooted and has never been seen again
The hardware is a Pi2 Model B with an 8GB SD card. Here is the log:

25.06.19 20:23:46 (+0100) Supervisor starting
25.06.19 20:24:16 (+0100) Applying configuration change 
{"SUPERVISOR_POLL_INTERVAL":"900000"}
25.06.19 20:24:16 (+0100) Applying boot config
 {"gpu_mem_1024":"448","gpu_mem_256":"192","gpu_mem_512":"256","start_x":"1","disable_splash ":"1","dtparam":["i2c_arm=on","spi=on","audio=on"],"enable_uart":"1","gpu_mem":"16"}
    25.06.19 20:24:17 (+0100) Applied boot config: 
 {"gpu_mem_1024":"448","gpu_mem_256":"192","gpu_mem_512":"256","start_x":"1","disable_splash":"1","dtparam":["i2c_arm=on","spi=on","audio=on"],"enable_uart":"1","gpu_mem":"16"}
25.06.19 20:24:17 (+0100) Applied configuration change 
{"SUPERVISOR_POLL_INTERVAL":"900000"}
25.06.19 20:24:19 (+0100) Rebooting

Hey @Guff666

I would try removing the 3 GPU memory variables first, so take out gpu_mem_1024, gpu_mem_512 and gpu_mem_256. If the device has got into this state you might find you have to reflash it, but take out the variables first.

After this is done hopefully the device will remain online but balenaCam will most likely not work because it doesn’t have enough GPU memory (of course!). Next, try editing the existing RESIN_HOST_CONFIG_gpu_mem variable under device configuration on the dashboard. It’s set to 16 by default, but you can edit this to 256 as a starting point, but only do this once you’ve got the device online reliably.

Let us know how you get on! If you’re still having trouble after this, enable support access for the device and share the dashboard URL here, and we’ll be able to take a look.

Thanks, Chris
I’ve removed all the fleet variables for now and am in the midst of re-flashing the SD card. I’ll revert when I have some more information.
Gareth