Read the statement by Michael Teeuw here.
-
@pepemujica check your whitelist settings
-
@strawberry-3.141 it is empty, with this any IP is allowed to access, am I right?
-
@pepemujica should be yes. When you enter from a device which gets blocked through the ipwhitelist you get a message in the logs
-
@strawberry-3.141 Still can’t find the way, the whitelist is empty, I can access from the browser where it is installed the MM, but outside that I can’t, even being at the same wifi network :(
-
@strawberry-3-141
PM2 restart won’t work.
Could you have a look, please.
Thanks a lot[PM2] PM2 Successfully daemonized Use --update-env to update environment variables ┌──────────┬────┬──────┬─────┬────────┬─────────┬────────┬─────┬─────┬──────────┐ │ App name │ id │ mode │ pid │ status │ restart │ uptime │ cpu │ mem │ watching │ └──────────┴────┴──────┴─────┴────────┴─────────┴────────┴─────┴─────┴──────────┘ Use `pm2 show ` to get more details about an app [PM2][ERROR] Process mm not found { Error: Command failed: pm2 restart mm [PM2][ERROR] Process mm not found at ChildProcess.exithandler (child_process.js:218:12) at emitTwo (events.js:106:13) at ChildProcess.emit (events.js:191:7) at maybeClose (internal/child_process.js:877:16) at Socket. (internal/child_process.js:334:11) at emitOne (events.js:96:13) at Socket.emit (events.js:188:7) at Pipe._handle.close [as _onclose] (net.js:493:12) killed: false, code: 1, signal: null, cmd: 'pm2 restart mm' } pi@raspberrypi:~/MagicMirror $
-
@kurt looks like there is currently no instance running that can be restarted so just start a new one by doing
pm2 start mm
-
@strawberry-3.141
Thank you, this is what I get…pi@raspberrypi:~/MagicMirror $ pm2 start mm [PM2][ERROR] script not found : /home/pi/MagicMirror/mm script not found : /home/pi/MagicMirror/mm ┌──────────┬────┬──────┬─────┬────────┬─────────┬────────┬─────┬─────┬──────────┐ │ App name │ id │ mode │ pid │ status │ restart │ uptime │ cpu │ mem │ watching │ └──────────┴────┴──────┴─────┴────────┴─────────┴────────┴─────┴─────┴──────────┘ Use `pm2 show ` to get more details about an app pi@raspberrypi:~/MagicMirror $ pm2 show error: missing required argument `id' pi@raspberrypi:~/MagicMirror $
-
@kurt [PM2][ERROR] script not found
did you follow these steps to create the script? https://github.com/MichMich/MagicMirror/wiki/Auto-Starting-MagicMirror
-
@strawberry-3.141
yes I did it following the steps in that wiki -
Shouldn’t
pm2 start mm
be executed in~
and not in~/MagicMirror
? The tutorial said to create mm.sh in~
So please go back one folder with
cd ..
or directly withcd ~
and try again