Read the statement by Michael Teeuw here.
PM2 logs
-
Hi all,
when i call pm2 logs mm i get these Errors:
(node:24612) DeprecationWarning: sys is deprecated. Use util instead.
{ Error: listen EADDRINUSE :::8080
at Object.exports._errnoException (util.js:1008:11)
at exports._exceptionWithHostPort (util.js:1031:20)
at Server._listen2 (net.js:1253:14)
at listen (net.js:1289:10)
at Server.listen (net.js:1385:5)
at new Server (/home/pi/MagicMirror/js/server.js:17:9)
at /home/pi/MagicMirror/js/app.js:129:17
at loadConfig (/home/pi/MagicMirror/js/app.js:42:4)
at App.start (/home/pi/MagicMirror/js/app.js:115:3)
at Object. (/home/pi/MagicMirror/js/electron.js:81:6)
code: ‘EADDRINUSE’,
errno: ‘EADDRINUSE’,
syscall: ‘listen’,
address: ‘::’,
port: 8080 }
(node:28564) DeprecationWarning: sys is deprecated. Use util instead.
{ Error: listen EADDRINUSE :::8080
at Object.exports._errnoException (util.js:1008:11)
at exports._exceptionWithHostPort (util.js:1031:20)
at Server._listen2 (net.js:1253:14)
at listen (net.js:1289:10)
at Server.listen (net.js:1385:5)
at new Server (/home/pi/MagicMirror/js/server.js:17:9)
at /home/pi/MagicMirror/js/app.js:129:17
at loadConfig (/home/pi/MagicMirror/js/app.js:42:4)
at App.start (/home/pi/MagicMirror/js/app.js:115:3)
at Object. (/home/pi/MagicMirror/js/electron.js:81:6)
code: ‘EADDRINUSE’,
errno: ‘EADDRINUSE’,
syscall: ‘listen’,
address: ‘::’,
port: 8080 }
(node:1309) DeprecationWarning: sys is deprecated. Use util instead.
(node:18091) DeprecationWarning: sys is deprecated. Use util instead.
(node:18949) DeprecationWarning: sys is deprecated. Use util instead.
(node:1319) DeprecationWarning: sys is deprecated. Use util instead.
(node:2450) DeprecationWarning: sys is deprecated. Use util instead.
(node:20215) DeprecationWarning: sys is deprecated. Use util instead.
(node:26201) DeprecationWarning: sys is deprecated. Use util instead.
(node:23501) DeprecationWarning: sys is deprecated. Use util instead.
(node:23793) DeprecationWarning: sys is deprecated. Use util instead.
(node:24045) DeprecationWarning: sys is deprecated. Use util instead.
(node:29144) DeprecationWarning: sys is deprecated. Use util instead.
(node:27949) DeprecationWarning: sys is deprecated. Use util instead.
(node:31805) DeprecationWarning: sys is deprecated. Use util instead.
(node:1372) DeprecationWarning: sys is deprecated. Use util instead.
(node:1331) DeprecationWarning: sys is deprecated. Use util instead.Is this an error on the pm2 or the MM himself?
Thanks for help
Daniel -
@ostfilinchen said in PM2 logs:
{ Error: listen EADDRINUSE :::8080
… snip …
code: ‘EADDRINUSE’,
errno: ‘EADDRINUSE’,
syscall: ‘listen’,
address: ‘::’,
port: 8080 }You’re telling Mm to use a port that’s already being used for something else. If you actually have something that’s using port 8080, change Mm to use something else. It’s in the config.js file. For example, set it to 8585 …
If you don’t have or know what’s on port 8080, you have a bigger problem than either pm2 or MM.
-
@KirAsh4 i only have the mm on Port 8080. How can i check, what Use the Port 8080? If i open the address http://raspberrypi:8080 i only See the MagicMirror…
-
Did you try to launch it multiple times? That’s what pm2 is recording.
-
U mean to open the mm-webpage?
I restart the pi and then i call pm2 logs mm and it shows me this log. The mirror by the way starts.
-
Flush the logs:
‘pm2 flush’Restart the pi:
‘sudo reboot’Check the pm2 logs again:
‘pm2 logs’ -
-
@ostfilinchen Working on it, testing as we speak :D
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