Read the statement by Michael Teeuw here.
Installation issues - pm2
-
@joebowers ok, now lets look at the pm2 log…
pm2 logs --lines=50
50 may need to be bigger… defaults to 15
there are two different outputs… the normal messages (stdout) and the error (stderr)
the files for the saved logs are in the .pm2/logs folder (note the . in front of pm2)
did you install MM under root?? the permissions thing is concerning…
-
@sdetweil I tried to follow the tutorial step by step. I’m not sure if that has be installing as root.
This is what I see when I look at the log.
This was the most I could screen shot, this log was very long.
-
@joebowers /home/joe/MagicMirror/mm.sh no such file
is that where the file is?
does it have permission to execute?
ls -laF mm.sh
so,
chmod +x mm.sh
-
@sdetweil I was fooling around before coming to this forum for help. I believe I copied the mm.sh file into that folder, then later removed it. I put it back and saw this in the log:
Then I realized I have a space after DISPLAY =, and there is no space between the two in the tutorials.
So I fix that and tried running again, I see this:
But no mirror software on the screen…
-
-
@sdetweil Okay I did all that and the Magic Mirror software starts.
Should I try:pm2 start mm.sh pm2 save
As stated in the tutorial?
-
@joebowers we should clean up the other entries
I think it
pm2 delete row_number
(you could use name if the names were unique)
pm2 --help
will tell you the command syntax
pm2 start mm.sh
if you are in the folder w the mm.sh
-
@sdetweil Okay I deleted all the rows, there were 4 of them.
Then I runpm2 start mm.sh
No mirror software but I see this
-
@sdetweil In case it helps, I’m seeing this in the pm2 logs
-
@joebowers why are you running at root?