@Sachse Please excuse me for replying to such an old post. But unfortunately I have the same problem as you had. The module only worked fine for a few days, and now it won’t load the data any more. I have now tried to reproduce your solution. But I unfortunately did not solve it. When I enter “pm2 status” and “netstat -plan|grep 8080”, I get the following output.
pi@raspberrypi:~/MagicMirror/modules $ pm2 status
┌────┬────────────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐
│ id │ name │ namespace │ version │ mode │ pid │ uptime │ ↺ │ status │ cpu │ mem │ user │ watching │
├────┼────────────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤
│ 0 │ MagicMirror │ default │ 2.26.0 │ fork │ 749 │ 5h │ 0 │ online │ 0% │ 2.6mb │ pi │ enabled │
└────┴────────────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘
pi@raspberrypi:~/MagicMirror/modules $ netstat -plan|grep 8080
(Es konnten nicht alle Prozesse identifiziert werden; Informationen über
nicht-eigene Processe werden nicht angezeigt; Root kann sie anzeigen.)
tcp6 0 0 ::1:8080 :::* LISTEN 838/electron.js
tcp6 0 0 ::1:8080 ::1:46942 TIME_WAIT -
tcp6 0 0 ::1:8080 ::1:46944 FIN_WAIT2 -
tcp6 0 0 ::1:8080 ::1:44370 VERBUNDEN 838/electron.js
tcp6 0 0 ::1:44370 ::1:8080 VERBUNDEN 941/Electron --shar
tcp6 1 0 ::1:46944 ::1:8080 CLOSE_WAIT 941/Electron --shar
It would be really nice if you could please give me the crucial hint where the problem is now and how it can be solved? :-)