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

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

Scheduled Pinned Locked Moved Unsolved Troubleshooting
3 Posts 2 Posters 530 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 Mar 29, 2020, 8:04 AM

    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 Mar 29, 2020, 12:57 PM Reply Quote 0
    • S Offline
      sdetweil @Doudy
      last edited by Mar 29, 2020, 12:57 PM

      @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 Mar 30, 2020, 6:46 AM Reply Quote 0
      • D Offline
        Doudy @sdetweil
        last edited by Mar 30, 2020, 6:46 AM

        @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
        • 1 / 1
        1 / 1
        • First post
          1/3
          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