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 4.4k 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 @swvalenti
      last edited by

      @swvalenti then

      pm2 save
      

      so it will restart on next boot

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      swvalentiS 1 Reply Last reply Reply Quote 0
      • swvalentiS Offline
        swvalenti Project Sponsor @sdetweil
        last edited by

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

        JerryPJ 1 Reply Last reply Reply Quote 0
        • JerryPJ Offline
          JerryP @swvalenti
          last edited by sdetweil

          @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 Reply Quote 0
          • S Offline
            sdetweil @JerryP
            last edited by

            @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

            JerryPJ 1 Reply Last reply Reply Quote 0
            • JerryPJ Offline
              JerryP @sdetweil
              last edited by

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

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

                @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

                JerryPJ 1 Reply Last reply Reply Quote 0
                • JerryPJ Offline
                  JerryP @sdetweil
                  last edited by

                  @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 Reply Quote 0
                  • S Offline
                    sdetweil @JerryP
                    last edited by

                    @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

                    JerryPJ 1 Reply Last reply Reply Quote 0
                    • JerryPJ Offline
                      JerryP @sdetweil
                      last edited by

                      @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 Reply Quote 0
                      • S Offline
                        sdetweil @JerryP
                        last edited by

                        @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

                        BKeyportB 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