MagicMirror² v2.13.0 is available! For more information about this release, check out this topic.

without pm2 MagicMirror runs much more smooth....


  • Project Sponsor

    Hi, i run MagicMirror on a Mac and i Never was really happy with moving objects on my Mirror (Video, YouTube or MMM-Globe) very bad. Today I stopped pm2 and started the Mirror with npm Start and now everything is super smooth and I’m really happy with that.
    I don’t know why but pm2 makes my mirror run really bad…anybody an idea why …?



  • @Stoffbeuteluwe can you send me the log files from ~/.pm2/logs?

    I run pm2 / mm on my Mac without any issues


  • Project Sponsor

    @sdetweil

    Last login: Sat Apr 25 21:07:39 on ttys000
    patrickhahn@Patricks-Mini ~ % cd MagicMirror
    patrickhahn@Patricks-Mini MagicMirror % pm2 logs
    [TAILING] Tailing last 15 lines for [all] processes (change the value with --lines option)
    /Users/patrickhahn/.pm2/pm2.log last 15 lines:
    PM2        | 2020-04-24T23:03:15: PM2 log: App [mm:1] online
    PM2        | 2020-04-24T23:05:02: PM2 log: App [mm:1] exited with code [0] via signal [SIGINT]
    PM2        | 2020-04-24T23:05:02: PM2 log: App [mm:1] starting in -fork mode-
    PM2        | 2020-04-24T23:05:02: PM2 log: App [mm:1] online
    PM2        | 2020-04-25T09:59:01: PM2 log: Stopping app:mm id:1
    PM2        | 2020-04-25T09:59:02: PM2 log: App [mm:1] exited with code [0] via signal [SIGINT]
    PM2        | 2020-04-25T09:59:02: PM2 log: pid=7681 msg=process killed
    PM2        | 2020-04-25T20:47:21: PM2 log: App [mm:1] starting in -fork mode-
    PM2        | 2020-04-25T20:47:21: PM2 log: App [mm:1] online
    PM2        | 2020-04-25T21:07:49: PM2 log: App [mm:1] exited with code [7] via signal [SIGINT]
    PM2        | 2020-04-25T21:07:49: PM2 log: App [mm:1] starting in -fork mode-
    PM2        | 2020-04-25T21:07:49: PM2 log: App [mm:1] online
    PM2        | 2020-04-25T21:09:39: PM2 log: App [mm:1] exited with code [7] via signal [SIGINT]
    PM2        | 2020-04-25T21:09:39: PM2 log: App [mm:1] starting in -fork mode-
    PM2        | 2020-04-25T21:09:39: PM2 log: App [mm:1] online
    
    /Users/patrickhahn/.pm2/logs/mm-error.log last 15 lines:
    1|mm       |     at Server.listen (net.js:1362:7)
    1|mm       |     at SonosListener.startListener (/Users/patrickhahn/MagicMirror/modules/MMM-Sonos2/node_modules/sonos/lib/events/adv-listener.js:66:25)
    1|mm       |     at /Users/patrickhahn/MagicMirror/modules/MMM-Sonos2/node_modules/sonos/lib/events/adv-listener.js:100:12
    1|mm       |     at new Promise (:null:null)
    1|mm       |     at SonosListener.subscribeTo (/Users/patrickhahn/MagicMirror/modules/MMM-Sonos2/node_modules/sonos/lib/events/adv-listener.js:99:12)
    1|mm       |     at /Users/patrickhahn/MagicMirror/modules/MMM-Sonos2/node_helper.js:41:33
    1|mm       |     at runMicrotasks (:null:null)
    1|mm       |     at processTicksAndRejections (internal/process/task_queues.js:89:5)
    1|mm       |  {
    1|mm       |   code: 'EADDRINUSE',
    1|mm       |   errno: 'EADDRINUSE',
    1|mm       |   syscall: 'listen',
    1|mm       |   address: '::',
    1|mm       |   port: 4000
    1|mm       | }
    
    /Users/patrickhahn/.pm2/logs/mm-out.log last 15 lines:
    1|mm       | [2020-04-25 21:09:47.697] [LOG]    [COVID:CORE] Resolving: csse_covid_19_data/csse_covid_19_time_series/time_series_covid19_recovered_global.csv
    1|mm       | [2020-04-25 21:09:47.807] [LOG]    [COVID:CORE] Resolving: csse_covid_19_data/csse_covid_19_time_series/time_series_covid19_confirmed_global.csv
    1|mm       | [2020-04-25 21:09:47.815] [LOG]    can't find property recovered Canada:
    1|mm       | [2020-04-25 21:09:47.815] [LOG]    adding...
    1|mm       | [2020-04-25 21:09:47.858] [LOG]    [COVID:CORE] Calculating Wordlwide total.
    1|mm       | [2020-04-25 21:09:47.886] [LOG]    [COVID:CORE] Scan Completed.
    1|mm       | [2020-04-25 21:09:50.351] [LOG]    Found device with ID 158d0002c8f4d8 of type sensor
    1|mm       | [2020-04-25 21:09:50.352] [LOG]    Found device with ID 158d0002bfbe61 of type sensor
    1|mm       | [2020-04-25 21:09:50.353] [LOG]    Found device with ID 158d0002c7d6f1 of type sensor
    1|mm       | [2020-04-25 21:09:50.354] [LOG]    Found device with ID 158d0002bfbe4e of type sensor
    1|mm       | [2020-04-25 21:09:50.355] [LOG]    Found device with ID 158d0002bfbf42 of type sensor
    1|mm       | [2020-04-25 21:09:50.355] [LOG]    Found device with ID 158d0002c18352 of type sensor
    1|mm       | [2020-04-25 21:09:50.356] [LOG]    Found device with ID 158d000245c743 of type generic
    1|mm       | [2020-04-25 21:09:50.356] [LOG]    Found device with ID 158d00044a6469 of type sensor
    1|mm       | [2020-04-25 21:09:50.356] [LOG]    Found device with ID 158d00045c870f of type magnet
    
    
    


  • @Stoffbeuteluwe can u tell why the sonos error?


  • Project Sponsor

    @sdetweil
    don’t know why it shows error Sonos works…


Log in to reply