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.

    [Remote-Control] Shutdown, Configure and Update your MagicMirror

    Scheduled Pinned Locked Moved System
    274 Posts 78 Posters 794.6k Views 77 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.
    • strawberry 3.141S Offline
      strawberry 3.141 Project Sponsor Module Developer @pepemujica
      last edited by

      @pepemujica check your whitelist settings

      Please create a github issue if you need help, so I can keep track

      P 1 Reply Last reply Reply Quote 0
      • P Offline
        pepemujica @strawberry 3.141
        last edited by

        @strawberry-3.141 it is empty, with this any IP is allowed to access, am I right?

        strawberry 3.141S 1 Reply Last reply Reply Quote 0
        • strawberry 3.141S Offline
          strawberry 3.141 Project Sponsor Module Developer @pepemujica
          last edited by

          @pepemujica should be yes. When you enter from a device which gets blocked through the ipwhitelist you get a message in the logs

          Please create a github issue if you need help, so I can keep track

          P K 2 Replies Last reply Reply Quote 0
          • P Offline
            pepemujica @strawberry 3.141
            last edited by

            @strawberry-3.141 Still can’t find the way, the whitelist is empty, I can access from the browser where it is installed the MM, but outside that I can’t, even being at the same wifi network :(

            1 Reply Last reply Reply Quote 0
            • K Offline
              kurt @strawberry 3.141
              last edited by

              @strawberry-3-141
              PM2 restart won’t work.
              Could you have a look, please.
              Thanks a lot

              [PM2] PM2 Successfully daemonized
              Use --update-env to update environment variables
              ┌──────────┬────┬──────┬─────┬────────┬─────────┬────────┬─────┬─────┬──────────┐
              │ App name │ id │ mode │ pid │ status │ restart │ uptime │ cpu │ mem │ watching │
              └──────────┴────┴──────┴─────┴────────┴─────────┴────────┴─────┴─────┴──────────┘
               Use `pm2 show ` to get more details about an app
              
              [PM2][ERROR] Process mm not found
              
              { Error: Command failed: pm2 restart mm
              [PM2][ERROR] Process mm not found
              
                  at ChildProcess.exithandler (child_process.js:218:12)
                  at emitTwo (events.js:106:13)
                  at ChildProcess.emit (events.js:191:7)
                  at maybeClose (internal/child_process.js:877:16)
                  at Socket. (internal/child_process.js:334:11)
                  at emitOne (events.js:96:13)
                  at Socket.emit (events.js:188:7)
                  at Pipe._handle.close [as _onclose] (net.js:493:12) killed: false, code: 1, signal: null, cmd: 'pm2 restart mm' }
              pi@raspberrypi:~/MagicMirror $
              strawberry 3.141S 1 Reply Last reply Reply Quote 0
              • strawberry 3.141S Offline
                strawberry 3.141 Project Sponsor Module Developer @kurt
                last edited by

                @kurt looks like there is currently no instance running that can be restarted so just start a new one by doing pm2 start mm

                Please create a github issue if you need help, so I can keep track

                K 1 Reply Last reply Reply Quote 0
                • K Offline
                  kurt @strawberry 3.141
                  last edited by

                  @strawberry-3.141
                  Thank you, this is what I get…

                  pi@raspberrypi:~/MagicMirror $  pm2 start mm
                  [PM2][ERROR] script not found : /home/pi/MagicMirror/mm
                  script not found : /home/pi/MagicMirror/mm
                  ┌──────────┬────┬──────┬─────┬────────┬─────────┬────────┬─────┬─────┬──────────┐
                  │ App name │ id │ mode │ pid │ status │ restart │ uptime │ cpu │ mem │ watching │
                  └──────────┴────┴──────┴─────┴────────┴─────────┴────────┴─────┴─────┴──────────┘
                   Use `pm2 show ` to get more details about an app
                  pi@raspberrypi:~/MagicMirror $ pm2 show
                  
                    error: missing required argument `id'
                  
                  pi@raspberrypi:~/MagicMirror $
                  strawberry 3.141S 1 Reply Last reply Reply Quote 0
                  • strawberry 3.141S Offline
                    strawberry 3.141 Project Sponsor Module Developer @kurt
                    last edited by

                    @kurt [PM2][ERROR] script not found

                    did you follow these steps to create the script? https://github.com/MichMich/MagicMirror/wiki/Auto-Starting-MagicMirror

                    Please create a github issue if you need help, so I can keep track

                    K 1 Reply Last reply Reply Quote 0
                    • K Offline
                      kurt @strawberry 3.141
                      last edited by

                      @strawberry-3.141
                      yes I did it following the steps in that wiki

                      1 Reply Last reply Reply Quote 0
                      • yawnsY Offline
                        yawns Moderator
                        last edited by

                        Shouldn’t pm2 start mm be executed in ~ and not in ~/MagicMirror ? The tutorial said to create mm.sh in ~

                        So please go back one folder with cd .. or directly with cd ~ and try again

                        K 1 Reply Last reply Reply Quote 1
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 27
                        • 28
                        • 1 / 28
                        • 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