Read the statement by Michael Teeuw here.
PM2 logs
-
@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