Read the statement by Michael Teeuw here.
my mirror freezes!
-
when placing your order I have this:
pi@raspberrypi:~/MagicMirror $ npm start >somefile
[2020-04-06 14:36:28.593] [ERROR] 2020-04-06T14:36:28 { Error: listen EADDRINUSE 127.0.0.1:8080
at Server.setupListenHandle [as _listen2] (net.js:1330:14)
at listenInCluster (net.js:1378:12)
at GetAddrInfoReqWrap.doListen [as callback] (net.js:1492:7)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:55:10)
errno: ‘EADDRINUSE’,
code: ‘EADDRINUSE’,
syscall: ‘listen’,
address: ‘127.0.0.1’,
port: 8080 } (/home/pi/MagicMirror/js/app.js:40 process.)
pi@raspberrypi:~/MagicMirror $ npm start >somefile
[2020-04-06 14:36:28.593] [ERROR] 2020-04-06T14:36:28 { Error: listen EADDRINUSE 127.0.0.1:8080
at Server.setupListenHandle [as _listen2] (net.js:1330:14)
at listenInCluster (net.js:1378:12)
at GetAddrInfoReqWrap.doListen [as callback] (net.js:1492:7)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:55:10)
errno: ‘EADDRINUSE’,
code: ‘EADDRINUSE’,
syscall: ‘listen’,
address: ‘127.0.0.1’,
port: 8080 } (/home/pi/MagicMirror/js/app.js:40 process.) -
@Manu85 that means the mirror is already running, probably cause of pm2… need to stop it first, can’t run two at the same time
-
ok you can tell me how to do it?
-
@Manu85 pm2 stop 0
-
ok I made the order my MM goes out and it doesn’t start anymore, and I don’t know how to get you to send the file to your email, I’m really sorry to be too unable :-(
-
@Manu85 said in my mirror freezes!:
it doesn’t start anymore
on boot, right?
if you use winscp to connect to pi, then copy the file to your pc and mail from there
-
pi@raspberrypi:~/MagicMirror $ tail somefile
[2020-04-06 15:19:00.632] [LOG] 2020-04-06T15:19:00 Connecting socket for: newsfeed (/home/pi/MagicMirror/js/node_helper.js:97 Class.setSocketIO)
[2020-04-06 15:19:00.633] [LOG] 2020-04-06T15:19:00 Starting module: newsfeed (/home/pi/MagicMirror/modules/default/newsfeed/node_helper.js:15 Class.start)
[2020-04-06 15:19:00.634] [LOG] 2020-04-06T15:19:00 Sockets connected & modules started … (/home/pi/MagicMirror/js/app.js:233 )
[2020-04-06 15:19:00.858] [LOG] 2020-04-06T15:19:00 Launching application. (/home/pi/MagicMirror/js/electron.js:81 App.)
[2020-04-06 15:19:03.615] [LOG] 2020-04-06T15:19:03 MMM-Logging updated config received, reloading console (/home/pi/MagicMirror/modules/MMM-Logging/node_helper.js:30 Class.socketNotificationReceived)
[2020-04-06 15:19:03.617] [LOG] 2020-04-06T15:19:03 payload: undefined (/home/pi/MagicMirror/modules/MMM-Logging/node_helper.js:34 Class.socketNotificationReceived)
[2020-04-06 15:19:03.619] [LOG] 2020-04-06T15:19:03 payload: undefined (/home/pi/MagicMirror/modules/MMM-Logging/node_helper.js:34 Class.socketNotificationReceived)
[2020-04-06 15:19:03.640] [LOG] 2020-04-06T15:19:03 Create new calendar fetcher for url: http://p59-calendars.icloud.com/published/2/2uR1boEvTP2Z11yC3RAkgMluEyI6FkQslrByha_3OaasENn6SQAtTWIYmfP6JXqtyFFXzQwCFuV_rleNhqA2u8ZaQkK6-6HzuFLzdeE_Pic - Interval: 300000 (/home/pi/MagicMirror/modules/default/calendar/node_helper.js:49 Class.createFetcher)
[2020-04-06 15:19:03.667] [LOG] 2020-04-06T15:19:03 Create new news fetcher for url: https://www.lepoint.fr/rss.xml - Interval: 300000 (/home/pi/MagicMirror/modules/default/newsfeed/node_helper.js:48 Class.createFetcher)
[2020-04-06 15:19:04.164] [LOG] 2020-04-06T15:19:04 payload: undefined (/home/pi/MagicMirror/modules/MMM-Logging/node_helper.js:34 Class.socketNotificationReceived) -
@Manu85 yes, now we need to wait for hang again
-
I just rebooted the mirror restarted, is that what I had to do?
-
@Manu85 yes, it is logging to the pm2 log, all ok