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

pm2 dosn`t start mm.sh after reboot

Scheduled Pinned Locked Moved Unsolved Troubleshooting
29 Posts 3 Posters 7.4k Views 3 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 Away
    sdetweil @Skorpionbird
    last edited by sdetweil Nov 5, 2019, 7:40 PM Nov 5, 2019, 4:16 PM

    @Skorpionbird I want to see the output of the command

    pm2 logs 
    

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    S 1 Reply Last reply Nov 5, 2019, 6:13 PM Reply Quote 0
    • S Offline
      Skorpionbird @sdetweil
      last edited by Nov 5, 2019, 6:13 PM

      @sdetweil oh sry here is it
      pm2 logs
      [PM2] Spawning PM2 daemon with pm2_home=/home/pi/.pm2
      [PM2] PM2 Successfully daemonized
      [TAILING] Tailing last 15 lines for [all] processes (change the value with --lines option)
      /home/pi/.pm2/pm2.log last 15 lines:
      PM2        | 2019-11-05T19:12:24: PM2 log: ===============================================================================
      PM2        | 2019-11-05T19:12:24: PM2 log: — New PM2 Daemon started ----------------------------------------------------
      PM2        | 2019-11-05T19:12:24: PM2 log: Time                 : Tue Nov 05 2019 19:12:24 GMT+0100 (GMT+01:00)
      PM2        | 2019-11-05T19:12:24: PM2 log: PM2 version          : 4.1.2
      PM2        | 2019-11-05T19:12:24: PM2 log: Node.js version      : 10.17.0
      PM2        | 2019-11-05T19:12:24: PM2 log: Current arch         : arm
      PM2        | 2019-11-05T19:12:24: PM2 log: PM2 home             : /home/pi/.pm2
      PM2        | 2019-11-05T19:12:24: PM2 log: PM2 PID file         : /home/pi/.pm2/pm2.pid
      PM2        | 2019-11-05T19:12:24: PM2 log: RPC socket file      : /home/pi/.pm2/rpc.sock
      PM2        | 2019-11-05T19:12:24: PM2 log: BUS socket file      : /home/pi/.pm2/pub.sock
      PM2        | 2019-11-05T19:12:24: PM2 log: Application log path : /home/pi/.pm2/logs
      PM2        | 2019-11-05T19:12:24: PM2 log: Process dump file    : /home/pi/.pm2/dump.pm2
      PM2        | 2019-11-05T19:12:24: PM2 log: Concurrent actions   : 2
      PM2        | 2019-11-05T19:12:24: PM2 log: SIGTERM timeout      : 1600
      PM2        | 2019-11-05T19:12:24: PM2 log: ===============================================================================

      1 Reply Last reply Reply Quote 0
      • S Offline
        Skorpionbird
        last edited by Nov 6, 2019, 8:55 AM

        any news?

        S 1 Reply Last reply Nov 6, 2019, 11:11 AM Reply Quote 0
        • S Away
          sdetweil @Skorpionbird
          last edited by Nov 6, 2019, 11:11 AM

          @Skorpionbird what system is this? hardware/os?

          i have seen a similar problem recently on macOs Catalina…

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          S T 2 Replies Last reply Nov 6, 2019, 1:07 PM Reply Quote 0
          • S Offline
            Skorpionbird @sdetweil
            last edited by Nov 6, 2019, 1:07 PM

            @sdetweil its a Rpi 2 with Noobs Rasbian GNU Linux 10

            S 1 Reply Last reply Nov 6, 2019, 1:15 PM Reply Quote 0
            • S Away
              sdetweil @Skorpionbird
              last edited by sdetweil Nov 11, 2019, 1:46 PM Nov 6, 2019, 1:15 PM

              @Skorpionbird in the pm2_setup.log, could you show me the rest of this line

              command = sudo env PATH=$PATH:/usr/bin:/bin /usr/lib/node_modules/pm2/bin/pm2 startup sys$
              

              and try this

              sudo env PATH=$PATH:/usr/local/bin pm2 startup systemd -u pi --hp /home/pi
              

              then , make sure MagicMirror is not running

              cd ~/MagicMirror
              pm2 start installers/pm2_MagicMirror.json
              pm2 save
              

              then reboot

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • S Offline
                Skorpionbird
                last edited by Nov 11, 2019, 1:16 PM

                @sdetweil said in pm2 dosn`t start mm.sh after reboot:

                sudo env PATH=$PATH:/usr/local/bin pm2 startup systemd -u pi --hp /home/pi

                thx with this it works fine

                1 Reply Last reply Reply Quote 0
                • T Offline
                  trividar @sdetweil
                  last edited by Nov 13, 2019, 12:52 PM

                  @sdetweil Have you a solution for mac osx catalina? THX

                  S 1 Reply Last reply Nov 13, 2019, 12:53 PM Reply Quote 0
                  • S Away
                    sdetweil @trividar
                    last edited by Nov 13, 2019, 12:53 PM

                    @trividar sure, just use the updated install script, which will be in the next release

                    see
                    https://forum.magicmirror.builders/topic/10171/anyone-want-to-try-updated-installer

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    T 1 Reply Last reply Nov 13, 2019, 12:55 PM Reply Quote 0
                    • T Offline
                      trividar @sdetweil
                      last edited by Nov 13, 2019, 12:55 PM

                      @sdetweil how can I execute this script?

                      S 1 Reply Last reply Nov 13, 2019, 12:56 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 2 / 3
                      2 / 3
                      • First post
                        17/29
                        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