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.

    MM2.10 & Pi3b - run-start.sh issue? (Exit status 7, errno 7, error code ELIFECYCLE)

    Scheduled Pinned Locked Moved Solved Troubleshooting
    12 Posts 3 Posters 2.0k 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.
    • X Offline
      xray2607
      last edited by

      … and no, I did the manual install.

      XR

      lavolp3L S 2 Replies Last reply Reply Quote 0
      • lavolp3L Offline
        lavolp3 Module Developer @xray2607
        last edited by lavolp3

        @xray2607 The error log rather hints to your streaming module being the issue

        [06:29:36.399] [ERROR]  TypeError: Cannot convert undefined or null to object
            at Function.keys ()
            at stopProcs (/home/pi/MagicMirror/modules/MMM-RTSPStream/node_helper.js:469:32)
            at pm2.list (/home/pi/MagicMirror/modules/MMM-RTSPStream/node_helper.js:498:17)
        

        Have you tried deactivating that one and restarting the mirror?
        Maybe there’s a problem with both modules disturbing each other for some reason?

        How to troubleshoot modules
        MMM-soccer v2, MMM-AVStock

        1 Reply Last reply Reply Quote 0
        • X Offline
          xray2607
          last edited by

          @lavolp3
          I will have to check that in the evening, as I have not yet disabled any of the modules.

          • The mirror was restarted around 40 times over the last 48h (complete reboot as well as disconnecting the PSU for 30min or so).
          • Did a couple of ‘npm start dev’ sessions as well. (but I only have limited understanding of what I am seeing in the dev window)
          • Individually reinstalled a couple of the modules.
          • Did ‘npm audit’ and ‘npm audit fix’ (0 vulnerabilities), plus ‘npm install’ in the MagicMirror folder (again, no problems)

          I am struggling with the fact that everything worked fine up to one point, and without me doing anything it stops working smoothly.
          If I did anything wrong, I would like to understand the why/how in order to avoid it in the future.

          Going to post my findings here.

          XR

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

            @xray2607 said in MM2.10 & Pi3b - run-start.sh issue? (Exit status 7, errno 7, error code ELIFECYCLE):

            … and no, I did the manual install.

            ok, before changing anything else.

            the manual update (git pull & npm install) leaves out a crucial step… if any of the modules need dependencies,then THEY ALSO need an npm install cycle done in their folders…

            so, look thru all the module folders, if any contain a package.json file, then run npm install in each folder that does

            please do check and update as required

            i see both MMM-RTSPStream and MMM-NetworkConnection have that file…
            MMM-RTSPStream is the module to put out the message right before the error… so… its likely that is the problem

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • X Offline
              xray2607
              last edited by

              @sdetweil, thanks for your swift reply, will do.

              1 Reply Last reply Reply Quote 0
              • X Offline
                xray2607
                last edited by

                @sdetweil, you are correct.
                I determined that the MMM-RTSPStream module is causing the problem for sure, by cross testing the two modules.

                Am doing a new install of this as an update install via npm install in the appropriate module folder did not make it work again.

                • re removing the screensaver/blank screen, do you know how to fix this as well?

                Thank you for your help!

                Best XR

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

                  @xray2607 said in MM2.10 & Pi3b - run-start.sh issue? (Exit status 7, errno 7, error code ELIFECYCLE):

                  re removing the screensaver/blank screen, do you know how to fix this as well?

                  u want to turn off screensaver?

                  if so , run the screensaveroff.sh from here

                  https://github.com/sdetweil/MagicMirror_scripts

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • X Offline
                    xray2607
                    last edited by

                    Yup, this is when I ran into the troubles.
                    Many thanks for the lift, sam.

                    Will close the issue as it is related to a ‘simple’ module install challenge …

                    XR

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