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.

    Non-Typical Setup, MM Stops Showing New Pictures (ImagesPhotos module)

    Scheduled Pinned Locked Moved Solved Troubleshooting
    18 Posts 2 Posters 1.2k 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.
    • S Offline
      sdetweil @ember1205
      last edited by

      @ember1205 try this test fix for losing the connection between the browser and the server side

      https://forum.magicmirror.builders/post/127456

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      E 1 Reply Last reply Reply Quote 0
      • E Offline
        ember1205 @sdetweil
        last edited by

        @sdetweil Given that the weather information continues to update, wouldn’t that indiicate that the system is remaining connected? Additionally, there are three established connections to the server from the client when this occurs.

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

          @ember1205 this is socket by module

          specifically the

          socketNotificationReceived   no longer fires
          

          the socket timed out, and was disconnected… the node helper sends, but the socket is disconnected and the data is tossed (WITH NO NOTIFICATION)
          the module STARTS the connection on the 1st sendSocketNotification(), but NEVER again
          (the module sent a request to the helper, but the helper didn’t response (hasnt responded ‘yet’ 2 hours later… finger tapping… still waiting!)

          another way to ‘test’ if this is impacting, is to refresh the MM page, ctrl-r, and see if the data shows up this time.

          we have seen it repeatedly on the calendar module, the old timeout is 5 seconds. (default)…
          but list of pics could fall into the same ‘long’ response time issue

          I think they ‘fixed’ a socket.io bug in some lib refresh which suddenly surfaces the issue… we also ‘cleaned’ up how we setup sockets a few releases ago

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          E 1 Reply Last reply Reply Quote 0
          • E Offline
            ember1205 @sdetweil
            last edited by

            @sdetweil Issue I see now is that the indicated lines to add the lines after do not exist in my versions of server or socketclient…

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

              @ember1205 what version are you using?
              look at the top of package.json

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              E 1 Reply Last reply Reply Quote 0
              • E Offline
                ember1205 @sdetweil
                last edited by

                @sdetweil Version of MM? 2.13

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

                  @ember1205 ok, this fix doesn’t apply all the way back there… 32-13 19 releases/4 = one short of 5 years… wow!

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  E 1 Reply Last reply Reply Quote 0
                  • E Offline
                    ember1205 @sdetweil
                    last edited by

                    @sdetweil So what you’re saying is that maybe I wanna start by upgrading? lol

                    I’m running on a Linux virtual guest, so I can easily snapshot it before I try and upgrade. What’s the best option for me to get current?

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

                      @ember1205 if it’s a virtual machine, not docker

                      You will have to upgrade the os too, so don’t touch the existing vm

                      Backup
                      Use my scripts, save to github

                      Create new Vm
                      Use my scripts to install MagicMirror
                      Use my restore to put back config

                      Backup/restore
                      https://github.com/sdetweil/MagicMirror-backup-restore

                      Install/upgrade
                      https://github.com/sdetweil/MagicMirror_scripts

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      E 1 Reply Last reply Reply Quote 0
                      • E Offline
                        ember1205 @sdetweil
                        last edited by

                        @sdetweil I keep the OS updated separately on its own. What kind of updates are you suggesting would be necessary here?

                        S 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