• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

MMM-RTSPStream broke after update 2.17.1

Scheduled Pinned Locked Moved Troubleshooting
19 Posts 4 Posters 3.8k 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
    swvalenti Project Sponsor @sdetweil
    last edited by Oct 18, 2021, 5:08 PM

    @sdetweil my guess is the omx stream was not started by pm2 after the update

    J 1 Reply Last reply Oct 18, 2021, 6:54 PM Reply Quote 0
    • J Offline
      JerryP @swvalenti
      last edited by sdetweil Oct 18, 2021, 6:56 PM Oct 18, 2021, 6:54 PM

      @swvalenti
      No the module was not booting totally. after i make the npm install request. the module is starting only the fault stil is in the log every time I reboot the mirror.

      S 1 Reply Last reply Oct 18, 2021, 6:57 PM Reply Quote 0
      • S Away
        sdetweil @JerryP
        last edited by Oct 18, 2021, 6:57 PM

        @jerryp this module needs another process to be running IN ADDITION to MM…

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        J 1 Reply Last reply Oct 18, 2021, 6:59 PM Reply Quote 0
        • J Offline
          JerryP @sdetweil
          last edited by Oct 18, 2021, 6:59 PM

          @sdetweil ok. But what’s the solution? off is there no solution for this problem?

          S 1 Reply Last reply Oct 18, 2021, 6:59 PM Reply Quote 0
          • S Away
            sdetweil @JerryP
            last edited by sdetweil Oct 18, 2021, 7:00 PM Oct 18, 2021, 6:59 PM

            @jerryp u were advised to start the other process manually
            https://forum.magicmirror.builders/topic/15753/mmm-rtspstream-broke-after-update-2-17-1/8?_=1634583021814

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            J 1 Reply Last reply Oct 18, 2021, 7:06 PM Reply Quote 0
            • J Offline
              JerryP @sdetweil
              last edited by Oct 18, 2021, 7:06 PM

              @sdetweil Why… the module is running fine after I did what you told me to do. Only the error in the log is there now. but the module is running fine. What will by the use of starting the stream Manuel…

              S 1 Reply Last reply Oct 18, 2021, 7:07 PM Reply Quote 0
              • S Away
                sdetweil @JerryP
                last edited by Oct 18, 2021, 7:07 PM

                @jerryp said in MMM-RTSPStream broke after update 2.17.1:

                Only the error in the log is there now

                ok, you didn’t say it was working

                what error in the log?

                did u do pm2 flush to throw away the old messages?

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                J 1 Reply Last reply Oct 18, 2021, 7:30 PM Reply Quote 0
                • J Offline
                  JerryP @sdetweil
                  last edited by Oct 18, 2021, 7:30 PM

                  @sdetweil
                  O Yes it’s running only I’m using for testing a PI3B so this is running out of Ram memory.

                  I also did the flus and still is er a issue when it’s booting pm2 start MagicMirror.

                  0|MagicMirror  | [18.10.2021 21:18.12.312] [ERROR] 
                  0|MagicMirror  | Whoops! There was an uncaught exception...
                  0|MagicMirror  | [18.10.2021 21:18.12.452] [ERROR] 
                  0|MagicMirror  | TypeError: Cannot convert undefined or null to object
                  0|MagicMirror  |     at Function.keys (<anonymous>)
                  0|MagicMirror  |     at stopProcs (/home/pi/MagicMirror/modules/MMM-RTSPStream/node_helper.js:469:32)
                  0|MagicMirror  |     at /home/pi/MagicMirror/modules/MMM-RTSPStream/node_helper.js:498:17
                  0|MagicMirror  |     at /home/pi/MagicMirror/modules/MMM-RTSPStream/node_modules/pm2/lib/API.js:627:19
                  0|MagicMirror  |     at /home/pi/MagicMirror/modules/MMM-RTSPStream/node_modules/pm2-axon-rpc/lib/client.js:45:10
                  0|MagicMirror  |     at Parser.<anonymous> (/home/pi/MagicMirror/modules/MMM-RTSPStream/node_modules/pm2-axon/lib/sockets/req.js:67:8)
                  0|MagicMirror  |     at Parser.emit (events.js:315:20)
                  0|MagicMirror  |     at Parser._write (/home/pi/MagicMirror/modules/MMM-RTSPStream/node_modules/amp/lib/stream.js:91:16)
                  0|MagicMirror  |     at writeOrBuffer (internal/streams/writable.js:358:12)
                  0|MagicMirror  |     at Parser.Writable.write (internal/streams/writable.js:303:10)
                  0|MagicMirror  | [18.10.2021 21:18.12.466] [ERROR] 
                  0|MagicMirror  | MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
                  0|MagicMirror  | [18.10.2021 21:18.12.473] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
                  
                  S 1 Reply Last reply Oct 18, 2021, 7:36 PM Reply Quote 0
                  • S Away
                    sdetweil @JerryP
                    last edited by Oct 18, 2021, 7:36 PM

                    @jerryp said in MMM-RTSPStream broke after update 2.17.1:

                    469

                    the code seems to be trying to connect to the pm2 task for omx stream

                    looking for the name

                    which appears to be in this area of the config

                        stream1: {
                                name: 'BigBuckBunny Test',   <--- I guess this needs to be the name of the pm2 process..
                    

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    B 1 Reply Last reply Oct 18, 2021, 8:31 PM Reply Quote 0
                    • B Offline
                      BKeyport Module Developer @sdetweil
                      last edited by Oct 18, 2021, 8:31 PM

                      @sdetweil I seem to recall that’s how it worked.

                      Bottom line is that it’s breaking more and more, and should likely be put in the “yeah, it’s unsupported” pile of past modules.

                      FWIW, I use my MMM-Block module to slide modules out of the way, and just run the OMX stream directly for now. (Looking for a solution for H.265 streams)

                      The "E" in "Javascript" stands for "Easy"

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