MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    help ! My MM² don't start after reboot rasbian'system.

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    6 Posts 3 Posters 1.6k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R Offline
      rmbeau
      last edited by

      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 advance

      en 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

      bheplerB 1 Reply Last reply Reply Quote 0
      • bheplerB Offline
        bhepler Module Developer @rmbeau
        last edited by

        @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.
        1 Reply Last reply Reply Quote 0
        • R Offline
          rmbeau
          last edited by

          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

          bheplerB 1 Reply Last reply Reply Quote 0
          • bheplerB Offline
            bhepler Module Developer @rmbeau
            last edited by

            @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.

            1 Reply Last reply Reply Quote 0
            • B Offline
              bjoern
              last edited by

              
              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)
              
              1 Reply Last reply Reply Quote 0
              • R Offline
                rmbeau
                last edited by

                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)
                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                Enjoying MagicMirror? Please consider a donation!
                MagicMirror created by Michael Teeuw.
                Forum managed by Sam, technical setup by Karsten.
                This forum is using NodeBB as its core | Contributors
                Contact | Privacy Policy