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.

    ERROR:node_controller.cc(585)] Trying to re-add dropped peer

    Scheduled Pinned Locked Moved Solved Troubleshooting
    19 Posts 2 Posters 5.3k 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.
    • T Offline
      travishardiman
      last edited by

      /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
      
      
      S 1 Reply Last reply Reply Quote -1
      • S Offline
        sdetweil @travishardiman
        last edited by

        @travishardiman when is that from?

        did u do manual install or my script?

        have seen that error before.

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        T 1 Reply Last reply Reply Quote 0
        • T Offline
          travishardiman @sdetweil
          last edited by

          @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

          1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @travishardiman
            last edited by

            @travishardiman said in ERROR:node_controller.cc(585)] Trying to re-add dropped peer:

            is there an easy way to back-up/restore my current config

            I have a backup/restore tool that will save the config, css and the location of all the installed modules (github links)
            and tghen on restore downloads and re-installs the modules from the links

            https://github.com/sdetweil/MagicMirror-backup-restore

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • T Offline
              travishardiman
              last edited by

              The backup didn’t restore my custom.css, mmpm, or some of the configuration files for 2 of my plugins but luckily I had those backed up elsewhere. I’m back up and running again though and so far so good! I’ll post back with logs if I get black screens again. Thanks for your help!

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @travishardiman
                last edited by

                @travishardiman the backup folder has a specific name which u can override with parameters to the scripts

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • T Offline
                  travishardiman
                  last edited by

                  Well nuts, I thought I was good but it’s black screen again:

                  0|MagicMir | 
                  0|MagicMir | <--- Last few GCs --->
                  0|MagicMir | 
                  0|MagicMir | [1:0x2dd94000] 359113688 ms: Scavenge 882.9 (978.3) -> 879.5 (978.5) MB, 4.7 / 0.0 ms  (average mu = 0.974, current mu = 0.583) task 
                  0|MagicMir | [1:0x2dd94000] 359113908 ms: Scavenge 883.0 (978.5) -> 879.7 (978.8) MB, 5.4 / 0.0 ms  (average mu = 0.974, current mu = 0.583) allocation failure 
                  0|MagicMir | [1:0x2dd94000] 359114166 ms: Scavenge 883.4 (978.8) -> 880.0 (986.8) MB, 16.4 / 0.1 ms  (average mu = 0.974, current mu = 0.583) allocation failure 
                  0|MagicMir | 
                  0|MagicMir | 
                  0|MagicMir | <--- JS stacktrace --->
                  0|MagicMir |
                  
                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @travishardiman
                    last edited by

                    @travishardiman looks like there may be a module eating storage

                    what do you have installed beyond the base?

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    T 1 Reply Last reply Reply Quote 0
                    • T Offline
                      travishardiman @sdetweil
                      last edited by

                      @sdetweil MMM-GoogleMapsTraffic, MMM-MyGarbage, and MMM-GooglePhotos

                      S 1 Reply Last reply Reply Quote 0
                      • S Offline
                        sdetweil @travishardiman
                        last edited by

                        @travishardiman hm…not seen problems related to those, but time to run disabling one at a time

                        add

                        disabled:true,
                        

                        after the

                          module:
                        

                        line
                        and restart mm

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        T 1 Reply Last reply Reply Quote 0
                        • T Offline
                          travishardiman @sdetweil
                          last edited by

                          @sdetweil ok, I’m starting with the google photos module and see how it goes. Are there any other logs that might be helpful for debugging?

                          S 1 Reply Last reply Reply Quote 0
                          • S Offline
                            sdetweil @travishardiman
                            last edited by

                            @travishardiman the console which you know and the browser console

                            ctrl-shift-i, select the console tab and scroll up
                            red text is typically errors

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

                            T 1 Reply Last reply Reply Quote 0
                            • T Offline
                              travishardiman @sdetweil
                              last edited by

                              @sdetweil long term update after trying a few things out, the MMM-GoogleMapsTraffic module was the culprit. I started going down the path of trying to update the javascript issues when I discovered that your fork fixed them already. I uninstalled the original and installed yours and I haven’t had the black screen once since.

                              https://github.com/sdetweil/MMM-GoogleMapsTraffic

                              Thanks!

                              S 1 Reply Last reply Reply Quote 1
                              • S Offline
                                sdetweil @travishardiman
                                last edited by

                                @travishardiman cool

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

                                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