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.

    MagicMirror/node_modules/electron/dist/electron exited with signal SIGBUS

    Scheduled Pinned Locked Moved Solved Bug Hunt
    10 Posts 3 Posters 2.6k Views 3 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.
    • S Offline
      sdetweil @frustrated
      last edited by

      @frustrated can you show more of the output

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • F Offline
        frustrated
        last edited by

        Thanks for the note, this is whaat I see on the mirror
        spudz@raspberrypi:~ $ cd MagicMirror
        spudz@raspberrypi:~/MagicMirror $ npm run start

        magicmirror@2.23.0 start
        DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js

        /home/spudz/MagicMirror/node_modules/electron/dist/electron exited with signal SIGBUS
        spudz@raspberrypi:~/MagicMirror $

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

          @frustrated SO much fun…

          SO… lets try to reinstall electron

          BUT it leans towards an sd card problem…

          cd ~/MagicMirror
          rm -rf node_modules/electron
          npm install electron@22.3.4
          

          then

          npm start 
          

          and see what we get

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          kusselinK 1 Reply Last reply Reply Quote 0
          • F Offline
            frustrated
            last edited by

            Got your note, thanks. Here is what I did / happened.

            spudz@raspberrypi:~ $ cd MagicMirror
            spudz@raspberrypi:~/MagicMirror $ rm -rf node_modules/electron
            spudz@raspberrypi:~/MagicMirror $ npm install electron@22.3.4

            added 1 package, and audited 785 packages in 40s

            139 packages are looking for funding
            run npm fund for details

            13 vulnerabilities (10 moderate, 2 high, 1 critical)

            To address issues that do not require attention, run:
            npm audit fix

            To address all issues (including breaking changes), run:
            npm audit fix --force

            Run npm audit for details.
            spudz@raspberrypi:~/MagicMirror $ npm audit fix --force
            npm WARN using --force Recommended protections disabled.
            npm WARN audit Updating node-ical to 0.18.0, which is a SemVer major change.

            added 1 package, removed 12 packages, changed 42 packages, and audited 774 packages in 2m

            140 packages are looking for funding
            run npm fund for details

            found 0 vulnerabilities
            spudz@raspberrypi:~/MagicMirror $

            Will shutdown and restart, hope3fully this will fix…
            Thank You

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

              @frustrated did you try it before reboot? MM is just an app… don’t need to reboot to test it

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • F Offline
                frustrated
                last edited by

                it works !!!
                Thank you so much.
                I did do a reboot just to be sure everything updates.
                Thanks again

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

                  @frustrated said in MagicMirror/node_modules/electron/dist/electron exited with signal SIGBUS:

                  I did do a reboot just to be sure everything updates.

                  yes, for sure… but did it work BEFORE rebooting??

                  anyhow…

                  you also have a backup of your mm, right?

                  if not, see
                  https://github.com/sdetweil/MagicMirror-backup-restore

                  and can be versioned with git …

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • S sdetweil has marked this topic as solved on
                  • kusselinK Offline
                    kusselin @sdetweil
                    last edited by

                    @sdetweil said in MagicMirror/node_modules/electron/dist/electron exited with signal SIGBUS:

                    @frustrated SO much fun…

                    SO… lets try to reinstall electron

                    BUT it leans towards an sd card problem…

                    cd ~/MagicMirror
                    rm -rf node_modules/electron
                    npm install electron@22.3.4
                    

                    then

                    npm start 
                    

                    and see what we get

                    root@magicmirror-test:/opt/magicmirror# npm start
                    
                    > magicmirror@2.31.0 start
                    > npm run start:x11
                    
                    Hi Sam, I can't get enough of this...
                    This message with Elektron has something to do with the displaying, doesn't it?
                    why are these error messages suddenly appearing in Proxmox with LXC containers?
                    
                    Look....these are now the latest error messages after installing your tips..:
                    
                    > magicmirror@2.31.0 start:x11
                    > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
                    
                    [0414/064255.384679:FATAL:electron_main_delegate.cc(299)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
                    /opt/magicmirror/node_modules/electron/dist/electron exited with signal SIGTRAP
                    
                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @kusselin
                      last edited by sdetweil

                      @kusselin you cannot run electron from root user without additional parameters

                      you should logon as a normal user

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

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