Read the statement by Michael Teeuw here.
Non-Typical Setup, MM Stops Showing New Pictures (ImagesPhotos module)
-
@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.
-
@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 issueI 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
-
@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…
-
@ember1205 what version are you using?
look at the top of package.json -
@sdetweil Version of MM? 2.13
-
@ember1205 ok, this fix doesn’t apply all the way back there… 32-13 19 releases/4 = one short of 5 years… wow!
-
@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?
-
@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 githubCreate new Vm
Use my scripts to install MagicMirror
Use my restore to put back configBackup/restore
https://github.com/sdetweil/MagicMirror-backup-restoreInstall/upgrade
https://github.com/sdetweil/MagicMirror_scripts -
@sdetweil I keep the OS updated separately on its own. What kind of updates are you suggesting would be necessary here?
-
@ember1205 the latest node requires some libraries not available on buster level, some gpio modules need help
On bullseye and laterNode 22.14 requirement is the last to provide binaries for 32 bit