MagicMirror to Balena

Hi there,

I’m going to work on the MagicMirror project found on GitHub to install it on my RaspberryPI 2.
I found the Docker source (https://hub.docker.com/r/bastilimbach/docker-magicmirror/), and I’ve cloned it to my computer to run a

balena push myApp

, everything should be correct but I missed something.
Is that correct to just pass the command to this directory, or there are some custom files before ?

Thanks :slight_smile:

Hi @koff75! so you cloned the GitHub repo and used balena push? Did you see any errors? If so, could you post the logs from the push?

I think the problem might be that in that repo, the Dockerfile for RaspberryPi is inside a “rasbperry” folder https://github.com/bastilimbach/docker-MagicMirror/tree/master/raspberry - whereas our builder looks for a Dockerfile in the root of the repo, so it will try to use the one in the root directory instead, which seems to be for x86 and not for ARM. So you can copy the Dockerfile from raspberry into the root folder and push again - let us know if that works :slight_smile:

Hi @koff75,

I am just working on the same project, we could join forces to make this possible :fist_right::fist_left:

Check out my Github repository: https://github.com/idoodler/balena-MagicMirror

I am currently having issues with the stability of the MagicMirror instance. I am happy for any help :+1:

Thanks for your reply, I forked your project and will take a close look :slight_smile:
Thanks for sharing !

For information I’m working on a Pi2.
I changed the device configuration on the parameter : RESIN_HOST_CONFIG_gpu_mem to value 192.
After that I have a white screen as mentioned on your readme…
On my log I have this issue when loading the WPE module :
Browser Cannot create EGL surfaceless context: missing EGL_KHR_surfaceless_{context,opengl} extension. Browser Cannot create EGL WPE context: EGL_SUCCESS

Still working to fix this…

Hi, a quick update on this project. I have a working installation and updated my github project. Feel free to check it out: https://github.com/idoodler/balena-MagicMirror

Thanks for sharing :+1: !

1 Like