Read the statement by Michael Teeuw here.
my mirror freezes!
-
@Manu85 open the developers window (ctrl-shift-i on keyboard), select the tab labeled console,
and look around (scroll up), looking for any errors, red text…but if the mirror hangs this will not work… thus why I suggested installing MMM-Logging module and enable electron debugging to try to capture any error messages
-
this one :
MMM-Logging ? -
@Manu85 yes,
make sure to do this
Note: You can find more detailed information on debugging your MagicMirror here: Module Debugging. If you also want the Electron rederer (web browser) console logs to be printed to the standard console (or PM2 logs), change the following line to the very top of ~/MagicMirror/run-start.sh
export ELECTRON_ENABLE_LOGGING=true
-
@sdetweil thank you for your answer i will follow your advice, but it exceeds my skills, can you tell me exactly what to do please?
-
@Manu85 install the module(note that it wants to be first in the module list in config.js), and add this to the batch file starting the mirror
export ELECTRON_ENABLE_LOGGING=true
-
The you lost me :-), "and add this to the batch file starting the mirror
export ELECTRON_ENABLE_LOGGING = true " -
@Manu85 how does MM get started? pm2?
if so, it usually uses a batch file (script)
~/MagicMirror/installers/mm.sh
make it look like thiscd ~/MagicMirror export ELECTRON_ENABLE_LOGGING = true DISPLAY=:0 npm start
-
I have this error message:
pi@raspberrypi:~/MagicMirror $ export ELECTRON_ENABLE_LOGGING = true
-bash: export: « = » : identifiant non valable -
-bash: export: “=”: invalid identifier
-