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.

    Electron Browser Crashing?

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    8 Posts 2 Posters 453 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
      dathbe
      last edited by

      I’m having a recent (last couple weeks) issue where I’ll walk past my mirror to find that it has partially crashed and is only showing a black screen with a cursor. It does not crash all the way to the home screen (which would have a menu bar at the top), and MagicMirror itself does not seem to be crashing because my logs (pm2 log mm) are still showing regular module updates without any errors or warnings.

      Anyone have any idea what’s going on?

      My setup:

      Raspi 4B
      Raspbian Buster
      MM installed using @sdetweil 's install script

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

        @dathbe typically the black screen is an out of memory condition or a fault in some core drawing code

        Very hard to find.
        Adding. MMM-Logging or MMM-LogExt
        To capture browser logs may help, maybe not

        As you are buster, this presents more issues as everything has changed significantly since then
        Os, node, electron, MagicMirror and many modules

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        D 2 Replies Last reply Reply Quote 0
        • D Offline
          dathbe @sdetweil
          last edited by

          @sdetweil Thanks. I’ll see if that turns anything up.

          1 Reply Last reply Reply Quote 0
          • D Offline
            dathbe @sdetweil
            last edited by

            I woke up to a crashed browser, and this is the only error message in my log:

            [304749:0625/052044.668867:ERROR:network_service_instance_impl.cc(612)] Network service crashed, restarting service.

            Does this mean anything to anyone?

            I found this other thread, which seems to be a related though not the same issue:

            https://forum.magicmirror.builders/topic/19130/error-network_service_instance_impl-cc-600/7

            I also found this, with no real solution I see other than maybe it’s temperature related? My Pi is reporting 55 deg C - 63 deg C. I thought that was within normal operating, but maybe not?

            https://forum.magicmirror.builders/topic/16421/every-few-hours-i-get-error-network_service_instance_impl-cc-916-network-service-crashed-restarting-service/34?page=4

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

              @dathbe said in Electron Browser Crashing?:

              network_service_instance_impl.cc(612)] Network service crashed, restarting service

              was another https://issues.chromium.org/issues/41487253

              export CHROMIUM_FLAGS=–password-store=basic

              there is also a config parm for flags , before the modules: array

              electronSwitches:{ 
                  "password-store":"basic"  /* needs quotes for the - */
              },
              

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              D 1 Reply Last reply Reply Quote 1
              • D Offline
                dathbe @sdetweil
                last edited by

                I added the following to my config.js file:

                ...
                units: "imperial",
                
                electronSwitches: {
                    "password-store": "basic" /* needs quotes for the - */
                },
                
                modules: [
                ...
                

                And yet I again got another black screen (with cursor). This time, my error logs are entirely empty except for a couple fetch errors that tend to happen now and again.

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

                  @dathbe as I said, hard to catch

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  D 1 Reply Last reply Reply Quote 1
                  • D Offline
                    dathbe @sdetweil
                    last edited by

                    I’ve been rotating through disabling modules on my Mirror. I have currently disabled MMM-Pinfo, and have not noticed a crash recently. Noting it here for posterity. I’ll create an issue on Github if I get more confidence that it’s that module.

                    1 Reply Last reply Reply Quote 1
                    • 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