MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. travishardiman
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    T
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 15
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: ERROR:node_controller.cc(585)] Trying to re-add dropped peer

      @sdetweil I tried to update the error in the first message with the first line. I posted as new reply in case someone is searching for that.

      I just found your scripts here so I’m going to try this today, thanks!
      https://github.com/sdetweil/MagicMirror-backup-restore

      posted in Troubleshooting
      T
      travishardiman
    • RE: ERROR:node_controller.cc(585)] Trying to re-add dropped peer
      /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
      
      <--- Last few GCs --->
      
      [1:0x24003c4000] 207008094 ms: Mark-sweep (reduce) 475.8 (523.7) -> 475.7 (523.7) MB, 1993.6 / 3.9 ms  (average mu = 0.920, current mu = 0.050) last resort GC in old space requested
      [1:0x24003c4000] 207010245 ms: Mark-sweep (reduce) 475.7 (523.7) -> 475.6 (523.2) MB, 2150.4 / 6.2 ms  (average mu = 0.846, current mu = 0.000) last resort GC in old space requested
      
      
      <--- JS stacktrace --->
      
      [38327:0626/104544.125499:ERROR:node_controller.cc(585)] Trying to re-add dropped peer 46DBA04CA2320621.3742B9BD63F3CD94
      
      
      posted in Troubleshooting
      T
      travishardiman
    • RE: ERROR:node_controller.cc(585)] Trying to re-add dropped peer

      @sdetweil is there an easy way to back-up/restore my current config? I don’t think there’s a way to switch to 32 bit without reinstalling the OS is there?

      posted in Troubleshooting
      T
      travishardiman
    • RE: ERROR:node_controller.cc(585)] Trying to re-add dropped peer

      @sdetweil Raspberry Pi 4 Model B Rev 1.2, 4GB

      pi@smartmirror:~ $ node --version
      v16.15.1
      pi@smartmirror:~ $ npm --version
      8.11.0
      pi@smartmirror:~ $ uname -a
      Linux smartmirror 5.15.32-v8+ #1538 SMP PREEMPT Thu Mar 31 19:40:39 BST 2022 aarch64 GNU/Linux
      
      posted in Troubleshooting
      T
      travishardiman
    • ERROR:node_controller.cc(585)] Trying to re-add dropped peer

      My MagicMirror works fine for a few days and then the screen goes black. The errors in the log look like this:

      <--- Last few GCs --->
      
      [1:0x28003d0000] 209716297 ms: Mark-sweep (reduce) 611.5 (708.2) -> 611.4 (686.2) MB, 2337.4 / 4.3 ms  (average mu = 0.625, current mu = 0.046) last resort GC in old space requested
      [1:0x28003d0000] 209718766 ms: Mark-sweep (reduce) 611.4 (686.2) -> 611.3 (680.0) MB, 2469.7 / 4.9 ms  (average mu = 0.444, current mu = 0.000) last resort GC in old space requested
      
      
      <--- JS stacktrace --->
      
      [1971:0624/001659.568718:ERROR:node_controller.cc(585)] Trying to re-add dropped peer DCF39E05685563B4.545691B8F0544120
      [1973:0624/001659.568999:ERROR:node_controller.cc(585)] Trying to re-add dropped peer DCF39E05685563B4.545691B8F0544120
      

      Here is the pm2 info:

      ┌───────────────────┬──────────────────────────────────────────┐
      │ status            │ online                                   │
      │ name              │ MagicMirror                              │
      │ namespace         │ default                                  │
      │ version           │ 2.19.0                                   │
      │ restarts          │ 3                                        │
      │ uptime            │ 36m                                      │
      │ script path       │ /home/pi/MagicMirror/installers/mm.sh    │
      │ script args       │ N/A                                      │
      │ error log path    │ /home/pi/.pm2/logs/MagicMirror-error.log │
      │ out log path      │ /home/pi/.pm2/logs/MagicMirror-out.log   │
      │ pid path          │ /home/pi/.pm2/pids/MagicMirror-0.pid     │
      │ interpreter       │ bash                                     │
      │ interpreter args  │ N/A                                      │
      │ script id         │ 0                                        │
      │ exec cwd          │ /home/pi/MagicMirror                     │
      │ exec mode         │ fork_mode                                │
      │ node.js version   │ N/A                                      │
      │ node env          │ N/A                                      │
      │ watch & reload    │ ✔                                        │
      │ unstable restarts │ 0                                        │
      │ created at        │ 2022-06-24T05:15:29.610Z                 │
      └───────────────────┴──────────────────────────────────────────┘
       Revision control metadata 
      ┌──────────────────┬────────────────────────────────────────────────┐
      │ revision control │ git                                            │
      │ remote url       │ https://github.com/MichMich/MagicMirror.git    │
      │ repository root  │ /home/pi/MagicMirror                           │
      │ last update      │ 2022-06-24T05:15:30.131Z                       │
      │ revision         │ a2d7cdcfb425c2a51715bbaf663c2feb267a9798       │
      │ comment          │ Merge pull request #2834 from MichMich/develop │
      │                  │                                                │
      │                  │ Release v2.1                                   │
      │ branch           │ master                                         │
      └──────────────────┴────────────────────────────────────────────────┘
       Divergent env variables from local env 
      ┌────────────────┬────────────────────────────────────────────────────┐
      │ PWD            │ /home/pi/MagicMirror                               │
      │ SSH_CONNECTION │ 192.168.1.64 40866 192.168.1.14 22                 │
      │ SHLVL          │ 2                                                  │
      │ XDG_SESSION_ID │ 4                                                  │
      │ SSH_CLIENT     │ 192.168.1.64 40866 22                              │
      │ PATH           │ /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin: │
      └────────────────┴────────────────────────────────────────────────────┘
      
      
      posted in Troubleshooting
      T
      travishardiman
    • 1
    • 2
    • 2 / 2