• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 684.5k 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.
  • S Offline
    strawberry 3.141 Project Sponsor Module Developer @pepemujica
    last edited by Apr 10, 2017, 1:37 PM

    @pepemujica check your whitelist settings

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

    P 1 Reply Last reply Apr 10, 2017, 1:41 PM Reply Quote 0
    • P Offline
      pepemujica @strawberry 3.141
      last edited by Apr 10, 2017, 1:41 PM

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

      S 1 Reply Last reply Apr 10, 2017, 1:43 PM Reply Quote 0
      • S Offline
        strawberry 3.141 Project Sponsor Module Developer @pepemujica
        last edited by Apr 10, 2017, 1:43 PM

        @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 Apr 10, 2017, 6:24 PM Reply Quote 0
        • P Offline
          pepemujica @strawberry 3.141
          last edited by Apr 10, 2017, 6:24 PM

          @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 Apr 10, 2017, 6:30 PM

            @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 $
            S 1 Reply Last reply Apr 10, 2017, 7:09 PM Reply Quote 0
            • S Offline
              strawberry 3.141 Project Sponsor Module Developer @kurt
              last edited by Apr 10, 2017, 7:09 PM

              @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 Apr 10, 2017, 7:21 PM Reply Quote 0
              • K Offline
                kurt @strawberry 3.141
                last edited by Apr 10, 2017, 7:21 PM

                @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 $
                S 1 Reply Last reply Apr 10, 2017, 7:27 PM Reply Quote 0
                • S Offline
                  strawberry 3.141 Project Sponsor Module Developer @kurt
                  last edited by Apr 10, 2017, 7:27 PM

                  @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 Apr 10, 2017, 7:30 PM Reply Quote 0
                  • K Offline
                    kurt @strawberry 3.141
                    last edited by Apr 10, 2017, 7:30 PM

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

                    1 Reply Last reply Reply Quote 0
                    • Y Offline
                      yawns Moderator
                      last edited by Apr 11, 2017, 7:11 AM

                      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 Apr 11, 2017, 8:54 AM Reply Quote 1
                      • 1
                      • 2
                      • 18
                      • 19
                      • 20
                      • 21
                      • 22
                      • 27
                      • 28
                      • 20 / 28
                      20 / 28
                      • First post
                        197/274
                        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