Read the statement by Michael Teeuw here.
without pm2 MagicMirror runs much more smooth....
-
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
-
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 (<anonymous>: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 (<anonymous>: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?
-
@sdetweil
don’t know why it shows error Sonos works…
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