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.

    When restarted with pm2 restart mm : i have 2 session's of mm

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    3 Posts 2 Posters 771 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.
    • D Offline
      Doudy
      last edited by

      pi@raspberrypi-184:~/MagicMirror $ pm2 restart mm
      Use --update-env to update environment variables
      [PM2] Applying action restartProcessId on app [mm](ids: 0,1)
      [PM2] [mm](0) ✓
      [PM2] [mm](1) ✓
      ┌──────────┬────┬─────────┬──────┬───────┬─────────┬─────────┬────────┬─────┬──────────┬──────┬──────────┐
      │ App name │ id │ version │ mode │ pid   │ status  │ restart │ uptime │ cpu │ mem      │ user │ watching │
      ├──────────┼────┼─────────┼──────┼───────┼─────────┼─────────┼────────┼─────┼──────────┼──────┼──────────┤
      │ mm       │ 0  │ 2.10.1  │ fork │ 0     │ errored │ 18752   │ 0      │ 0%  │ 0 B      │ pi   │ disabled │
      │ mm       │ 1  │ N/A     │ fork │ 23210 │ online  │ 7       │ 0s     │ 0%  │ 2.5 MB   │ pi   │ disabled │
      └──────────┴────┴─────────┴──────┴───────┴─────────┴─────────┴────────┴─────┴──────────┴──────┴──────────┘
       Use `pm2 show <id|name>` to get more details about an app
      
      

      When restarted with pm2 restart mm : i have 2 session’s of mm
      session 0 is errored !
      What is the solution to stopped and deleted one of then ?

      Thanks

      S 1 Reply Last reply Reply Quote 0
      • S Do not disturb
        sdetweil @Doudy
        last edited by

        @Doudy said in When restarted with pm2 restart mm : i have 2 session's of mm:

        What is the solution to stopped and deleted one of then ?

        pm2 delete 0

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        D 1 Reply Last reply Reply Quote 0
        • D Offline
          Doudy @sdetweil
          last edited by

          @sdetweil
          that is OK !

          pi@raspberrypi-184:~ $ pm2 delete 0
          [PM2] Applying action deleteProcessId on app [0](ids: 0)
          [PM2] [mm](0) ✓
          ┌──────────┬────┬─────────┬──────┬─────┬────────┬─────────┬────────┬─────┬──────────┬──────┬──────────┐
          │ App name │ id │ version │ mode │ pid │ status │ restart │ uptime │ cpu │ mem      │ user │ watching │
          ├──────────┼────┼─────────┼──────┼─────┼────────┼─────────┼────────┼─────┼──────────┼──────┼──────────┤
          │ mm       │ 1  │ N/A     │ fork │ 992 │ online │ 0       │ 11m    │ 0%  │ 2.5 MB   │ pi   │ disabled │
          └──────────┴────┴─────────┴──────┴─────┴────────┴─────────┴────────┴─────┴──────────┴──────┴──────────┘
           Use `pm2 show <id|name>` to get more details about an app
          pi@raspberrypi-184:~ $ pm2 restart mm
          Use --update-env to update environment variables
          [PM2] Applying action restartProcessId on app [mm](ids: 1)
          [PM2] [mm](1) ✓
          ┌──────────┬────┬─────────┬──────┬──────┬────────┬─────────┬────────┬─────┬──────────┬──────┬──────────┐
          │ App name │ id │ version │ mode │ pid  │ status │ restart │ uptime │ cpu │ mem      │ user │ watching │
          ├──────────┼────┼─────────┼──────┼──────┼────────┼─────────┼────────┼─────┼──────────┼──────┼──────────┤
          │ mm       │ 1  │ N/A     │ fork │ 7839 │ online │ 1       │ 0s     │ 0%  │ 2.6 MB   │ pi   │ disabled │
          └──────────┴────┴─────────┴──────┴──────┴────────┴─────────┴────────┴─────┴──────────┴──────┴──────────┘
           Use `pm2 show <id|name>` to get more details about an app
          pi@raspberrypi-184:~ $
          
          

          Thanks

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • 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