Read the statement by Michael Teeuw here.
help ! My MM² don't start after reboot rasbian'system.
-
Sorry for my english…
my magic mirror is well installed on my rasbian system and works properly with the PM2 startup during the first installation but as soon as I reboot my system and I restart magicmirror with the command:
“pm2 start MagicMirror”
my control panel confirms the launch but nothing happens.
thank you in advanceen francais:
mon magic mirror est bien installer sur mon systeme rasbian et fonctionne correctement avec le démarrage pm2 lors de la premier installation mais dès que je reboot mon systeme et que je relance magicmirror avec la commande:
“pm2 start MagicMirror”
mon panneau de commande confirme le lancement mais rien ne se passe.
merci d’avance -
@rmbeau - Your English is better than my French.
- Reboot your Pi
- After you see the desktop, wait 30 seconds
- If the interface does not appear, open a terminal window.
- Type
pm2 status all
and look for the MagicMirror entry. There should be only one entry! - If it looks normal but you still do not have the interface, type
pm2 log MagicMirror
and let us know what it says.
-
thanks for your answer,
after having followed your operating mode here is the result of the command: “pm2 log MagicMirror”:
PM2 ERROR No fole to stream for app MagicMirror, exiting -
@rmbeau - It sounds like pm2 is not able to create the log file.
Let’s try running the pm2 startup command again. Type
pm2 startup
and wait for it to finish. At the end, it will give you a command that you need to enter. Copy & paste that command into the command line and run it.Once that is complete, try the
pm2 log MagicMirror
process again. Let us know what it says. -
SyntaxError: Unexpected token ) at new Script (vm.js:51:7) at NativeCompileCache._moduleCompile (/usr/lib/node_modules/pm2/node_modules/v8-compile-cache/v8-compile-cache.js:226:18) at Module._compile (/usr/lib/node_modules/pm2/node_modules/v8-compile-cache/v8-compile-cache.js:172:36) at Object.Module._extensions..js (internal/modules/cjs/loader.js:665:10) at Module.load (internal/modules/cjs/loader.js:566:32) at tryModuleLoad (internal/modules/cjs/loader.js:506:12) at Function.Module._load (internal/modules/cjs/loader.js:498:3) at Module.require (internal/modules/cjs/loader.js:598:17) at require (/usr/lib/node_modules/pm2/node_modules/v8-compile-cache/v8-compile-cache.js:159:20) at Object. (/usr/lib/node_modules/pm2/node_modules/chalk/index.js:4:21)
-
hey,
I followed your instructions and when I enter the last command I have a set of error message:error:
- at new Script (vm.js:51:7)
at NativeCompileCache._moduleCompile (/usr/lib/node_modules/pm2/node_modules/v8-compile-cache/v8-compile-cache.js:226:18)
at Module._compile (/usr/lib/node_modules/pm2/node_modules/v8-compile-cache/v8-compile-cache.js:172:36)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:665:10)
at Module.load (internal/modules/cjs/loader.js:566:32)
at tryModuleLoad (internal/modules/cjs/loader.js:506:12)
at Function.Module._load (internal/modules/cjs/loader.js:498:3)
at Module.require (internal/modules/cjs/loader.js:598:17)
at require (/usr/lib/node_modules/pm2/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
at Object. (/usr/lib/node_modules/pm2/node_modules/chalk/index.js:4:21)
- at new Script (vm.js:51:7)