Unsolved Error: you can't use Gateway in server Mode
-
how do you launch MM² ?
-
ah ok, I think, Its on Autostart, But If I run
-
But If I run , npm run config:check
[09.07.2023 22:45.24.383] [INFO] Your configuration file doesn’t contain syntax errors
-
@axel33 said in Error: you can’t use Gateway in server Mode:
ah ok, I think, Its on Autostart, But If I run
So launch it manually and past terminal content
-
Im sorry, I used to do that via Gateway, Now I don’t know how
-
- stop your pm2 process
- try:
cd ~/MagicMirror npm start
- past the content
-
This post is deleted! -
@axel33 said in Error: you can’t use Gateway in server Mode:
[09.07.2023 22:57.05.811] [ERROR] Error: listen EADDRINUSE: address already in use ::1:8080
means MM² is already launched
-
Yes, but the error is still there, ( Error: you can’t use Gateway in server Mode) and therefore GA doesn’t work
-
verify that MM² is not launched with pm2
pm2 status
if launched: you will see “online”
try:
pm2 stop all
@bugsounet said in Error: you can’t use Gateway in server Mode:
- stop your pm2 process
- try:
cd ~/MagicMirror npm start
- past the content
can you do this ?
-
Just did exactly the same, I got the same results,
-
So,… If you don’t past any content … I can’t help
-
This post is deleted! -
@bugsounet said in Error: you can’t use Gateway in server Mode:
verify that MM² is not launched with pm2
pm2 status???
-
pm2 status
ââââââ¬âââââââââââââââââââââ¬âââââââââââ¬âââââââ¬ââââââââââââ¬âââââââââââ¬âââââââââââ
â id â name â mode â ⺠â status â cpu â memory â
ââââââ¼âââââââââââââââââââââ¼âââââââââââ¼âââââââ¼ââââââââââââ¼âââââââââââ¼âââââââââââ¤
â 0 â MagicMirror â fork â 9 â stopped â 0% â 0b â
â 1 â librespot â fork â 164⦠â stopped â 0% â 0b â
ââââââ´âââââââââââââââââââââ´âââââââââââ´âââââââ´ââââââââââââ´âââââââââââ´âââââââââââ
[PM2][WARN] Current process list is not synchronized with saved list. Type ‘pm2 save’ to synchronize. -
can you try this:
ps aux |grep electron
-
This post is deleted! -
can you try:
kill -9 25222
and again
ps aux |grep electron
-
mir 28197 0.0 0.0 3360 1628 pts/0 S+ 23:34 0:00 grep --color=auto electron
-
perfect, we have killed the “ghost” MM²
now let’s launch MM²
cd ~/MagicMirror npm start
and past the content