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 3.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.
    • 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 Do not disturb
        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 Do not disturb
            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 Do not disturb
                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 Do not disturb
                    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
                      • S Do not disturb
                        sdetweil @ember1205
                        last edited by

                        @ember1205 the latest node requires some libraries not available on buster level, some gpio modules need help
                        On bullseye and later

                        Node 22.14 requirement is the last to provide binaries for 32 bit

                        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’m not running on a Pi or its software… Full install of opensuse linux. And I keep it fully patched and at the current release level.

                          S 1 Reply Last reply Reply Quote 0
                          • S Do not disturb
                            sdetweil @ember1205
                            last edited by

                            @ember1205 did you make any progress here?

                            MM is just an app…
                            so you could copy the MagicMirror folder to save it
                            and then run the upgrade script or install a new version (using my install script, and move the current folder instead of copy)

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

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

                              Yeah, I actually did more troubleshooting and such over the weekend and ended up doing a full upgrade to the RPi OS and then updating MM on there as well.

                              My troubleshooting was showing that the server side “shouldn’t” have been the issue because launching a browser on just about any other device would result in the continual processing and rotating of photos and such. And, even though the photo processing seemed to be the only piece that would stop updating on the client, the fact that it worked everywhere else led me to take the leap and do all of the updates on the RPi.

                              After doing the full upgrade to the latest version of RaspiOS (Bullseye) and then updating MM to the latest (using your scripts), it seems to be working correctly again and hasn’t stopped rotating the photos since the upgrade.

                              S 2 Replies Last reply Reply Quote 0
                              • S Do not disturb
                                sdetweil @ember1205
                                last edited by

                                @ember1205 great feedback, thank you
                                Glad it’s working again

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

                                1 Reply Last reply Reply Quote 1
                                • S sdetweil has marked this topic as solved on
                                • S Do not disturb
                                  sdetweil @ember1205
                                  last edited by

                                  @ember1205 the latest PIOS is bookworm right?

                                  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 Yeah… I should have said I updated to the latest version of Bullseye with all patches. I haven’t made the last step to Bookworm yet…

                                    1 Reply Last reply Reply Quote 1

                                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                    With your input, this post could be even better 💗

                                    Register Login
                                    • 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