MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Magic Mirror 2 won't start

    Scheduled Pinned Locked Moved Troubleshooting
    8 Posts 2 Posters 1.1k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      Stef
      last edited by

      @sdetweil Sorry, i forgot about the Release notes…

      I did this, the error is gone but i still have around 50% CPU load, the autostart is not working and i have a black screen when i start the mirror manually…

      Any ideas?

      S 1 Reply Last reply Reply Quote 0
      • S Do not disturb
        sdetweil @Stef
        last edited by

        @Stef show the output of

        pm2 logs --lines=100

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          Stef @sdetweil
          last edited by

          @sdetweil well… It did not stop… So I forced it

          Linux mirrorpi 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7l
          
          The programs included with the Debian GNU/Linux system are free software;
          the exact distribution terms for each program are described in the
          individual files in /usr/share/doc/*/copyright.
          
          Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
          permitted by applicable law.
          Last login: Fri Jul 31 18:29:29 2020 from 192.168.0.199
          pi@mirrorpi:~ $ pm2 logs --lines=100
          [TAILING] Tailing last 100 lines for [all] processes (change the value with --lines option)
          /home/pi/.pm2/pm2.log last 100 lines:
          PM2        | 2020-07-31T23:45:34: PM2 log: App [mm:2] online
          PM2        | 2020-07-31T23:45:35: PM2 log: App [mm:1] exited with code [254] via signal [SIGINT]
          PM2        | 2020-07-31T23:45:35: PM2 log: App [mm:1] starting in -fork mode-
          PM2        | 2020-07-31T23:45:35: PM2 log: App [mm:1] online
          PM2        | 2020-07-31T23:45:36: PM2 log: App [mm:2] exited with code [254] via signal [SIGINT]
          PM2        | 2020-07-31T23:45:36: PM2 log: App [mm:2] starting in -fork mode-
          PM2        | 2020-07-31T23:45:36: PM2 log: App [mm:2] online
          PM2        | 2020-07-31T23:45:36: PM2 log: App [mm:1] exited with code [254] via signal [SIGINT]
          PM2        | 2020-07-31T23:45:36: PM2 log: App [mm:1] starting in -fork mode-
          PM2        | 2020-07-31T23:45:37: PM2 log: App [mm:1] online
          PM2        | 2020-07-31T23:45:38: PM2 log: App [mm:2] exited with code [254] via signal [SIGINT]
          PM2        | 2020-07-31T23:45:38: PM2 log: App [mm:2] starting in -fork mode-
          PM2        | 2020-07-31T23:45:38: PM2 log: App [mm:2] online
          PM2        | 2020-07-31T23:45:38: PM2 log: App [mm:1] exited with code [254] via signal [SIGINT]
          PM2        | 2020-07-31T23:45:38: PM2 log: App [mm:1] starting in -fork mode-
          PM2        | 2020-07-31T23:45:38: PM2 log: App [mm:1] online
          PM2        | 2020-07-31T23:45:41: PM2 log: App [mm:2] exited with code [254] via signal [SIGINT]
          PM2        | 2020-07-31T23:45:41: PM2 log: App [mm:1] exited with code [254] via signal [SIGINT]
          PM2        | 2020-07-31T23:45:41: PM2 log: App [mm:2] starting in -fork mode-
          PM2        | 2020-07-31T23:45:41: PM2 log: App [mm:1] starting in -fork mode-
          PM2        | 2020-07-31T23:45:41: PM2 log: App [mm:2] online
          PM2        | 2020-07-31T23:45:41: PM2 log: App [mm:1] online
          PM2        | 2020-07-31T23:45:44: PM2 log: App [mm:2] exited with code [254] via signal [SIGINT]
          PM2        | 2020-07-31T23:45:44: PM2 log: App [mm:1] exited with code [254] via signal [SIGINT]
          PM2        | 2020-07-31T23:45:44: PM2 log: App [mm:2] starting in -fork mode-
          PM2        | 2020-07-31T23:45:44: PM2 log: App [mm:1] starting in -fork mode-
          PM2        | 2020-07-31T23:45:44: PM2 log: App [mm:2] online
          PM2        | 2020-07-31T23:45:44: PM2 log: App [mm:1] online
          PM2        | 2020-07-31T23:45:48: PM2 log: App [mm:2] exited with code [254] via signal [SIGINT]
          PM2        | 2020-07-31T23:45:48: PM2 log: App [mm:1] exited with code [254] via signal [SIGINT]
          PM2        | 2020-07-31T23:45:48: PM2 log: App [mm:2] starting in -fork mode-
          PM2        | 2020-07-31T23:45:48: PM2 log: App [mm:1] starting in -fork mode-
          PM2        | 2020-07-31T23:45:48: PM2 log: App [mm:2] online
          PM2        | 2020-07-31T23:45:48: PM2 log: App [mm:1] online
          PM2        | 2020-07-31T23:45:51: PM2 log: App [mm:1] exited with code [254] via signal [SIGINT]
          PM2        | 2020-07-31T23:45:51: PM2 log: App [mm:1] starting in -fork mode-
          PM2        | 2020-07-31T23:45:51: PM2 log: App [mm:2] exited with code [254] via signal [SIGINT]
          PM2        | 2020-07-31T23:45:51: PM2 log: App [mm:2] starting in -fork mode-
          PM2        | 2020-07-31T23:45:51: PM2 log: App [mm:1] online
          PM2        | 2020-07-31T23:45:51: PM2 log: App [mm:2] online
          PM2        | 2020-07-31T23:45:54: PM2 log: App [mm:1] exited with code [254] via signal [SIGINT]
          PM2        | 2020-07-31T23:45:54: PM2 log: App [mm:2] exited with code [254] via signal [SIGINT]
          PM2        | 2020-07-31T23:45:54: PM2 log: App [mm:1] starting in -fork mode-
          PM2        | 2020-07-31T23:45:54: PM2 log: App [mm:2] starting in -fork mode-
          PM2        | 2020-07-31T23:45:54: PM2 log: App [mm:1] online
          PM2        | 2020-07-31T23:45:54: PM2 log: App [mm:2] online
          PM2        | 2020-07-31T23:45:57: PM2 log: App [mm:1] exited with code [254] via signal [SIGINT]
          PM2        | 2020-07-31T23:45:57: PM2 log: App [mm:1] starting in -fork mode-
          PM2        | 2020-07-31T23:45:57: PM2 log: App [mm:1] online
          PM2        | 2020-07-31T23:45:57: PM2 log: App [mm:2] exited with code [254] via signal [SIGINT]
          PM2        | 2020-07-31T23:45:57: PM2 log: App [mm:2] starting in -fork mode-
          PM2        | 2020-07-31T23:45:57: PM2 log: App [mm:2] online
          PM2        | 2020-07-31T23:46:00: PM2 log: App [mm:1] exited with code [254] via signal [SIGINT]
          PM2        | 2020-07-31T23:46:00: PM2 log: App [mm:2] exited with code [254] via signal [SIGINT]
          PM2        | 2020-07-31T23:46:00: PM2 log: App [mm:1] starting in -fork mode-
          PM2        | 2020-07-31T23:46:00: PM2 log: App [mm:2] starting in -fork mode-
          PM2        | 2020-07-31T23:46:00: PM2 log: App [mm:1] online
          PM2        | 2020-07-31T23:46:00: PM2 log: App [mm:2] online
          PM2        | 2020-07-31T23:46:03: PM2 log: App [mm:1] exited with code [254] via signal [SIGINT]
          PM2        | 2020-07-31T23:46:03: PM2 log: App [mm:2] exited with code [254] via signal [SIGINT]
          PM2        | 2020-07-31T23:46:03: PM2 log: App [mm:1] starting in -fork mode-
          PM2        | 2020-07-31T23:46:03: PM2 log: App [mm:2] starting in -fork mode-
          PM2        | 2020-07-31T23:46:03: PM2 log: App [mm:1] online
          PM2        | 2020-07-31T23:46:03: PM2 log: App [mm:2] online
          PM2        | 2020-07-31T23:46:05: PM2 log: App [mm:1] exited with code [254] via signal [SIGINT]
          PM2        | 2020-07-31T23:46:05: PM2 log: App [mm:1] starting in -fork mode-
          PM2        | 2020-07-31T23:46:05: PM2 log: App [mm:1] online
          PM2        | 2020-07-31T23:46:05: PM2 log: App [mm:2] exited with code [254] via signal [SIGINT]
          PM2        | 2020-07-31T23:46:05: PM2 log: App [mm:2] starting in -fork mode-
          PM2        | 2020-07-31T23:46:05: PM2 log: App [mm:2] online
          PM2        | 2020-07-31T23:46:08: PM2 log: App [mm:2] exited with code [254] via signal [SIGINT]
          PM2        | 2020-07-31T23:46:08: PM2 log: App [mm:1] exited with code [254] via signal [SIGINT]
          PM2        | 2020-07-31T23:46:08: PM2 log: App [mm:2] starting in -fork mode-
          PM2        | 2020-07-31T23:46:08: PM2 log: App [mm:1] starting in -fork mode-
          PM2        | 2020-07-31T23:46:08: PM2 log: App [mm:2] online
          PM2        | 2020-07-31T23:46:08: PM2 log: App [mm:1] online
          PM2        | 2020-07-31T23:46:11: PM2 log: App [mm:2] exited with code [254] via signal [SIGINT]
          PM2        | 2020-07-31T23:46:11: PM2 log: App [mm:1] exited with code [254] via signal [SIGINT]
          PM2        | 2020-07-31T23:46:11: PM2 log: App [mm:2] starting in -fork mode-
          PM2        | 2020-07-31T23:46:11: PM2 log: App [mm:1] starting in -fork mode-
          PM2        | 2020-07-31T23:46:11: PM2 log: App [mm:2] online
          PM2        | 2020-07-31T23:46:11: PM2 log: App [mm:1] online
          PM2        | 2020-07-31T23:46:12: PM2 log: App [mm:1] exited with code [254] via signal [SIGINT]
          PM2        | 2020-07-31T23:46:12: PM2 log: App [mm:1] starting in -fork mode-
          PM2        | 2020-07-31T23:46:12: PM2 log: App [mm:1] online
          PM2        | 2020-07-31T23:46:12: PM2 log: App [mm:2] exited with code [254] via signal [SIGINT]
          PM2        | 2020-07-31T23:46:12: PM2 log: App [mm:2] starting in -fork mode-
          PM2        | 2020-07-31T23:46:12: PM2 log: App [mm:2] online
          PM2        | 2020-07-31T23:46:14: PM2 log: App [mm:1] exited with code [254] via signal [SIGINT]
          PM2        | 2020-07-31T23:46:14: PM2 log: App [mm:1] starting in -fork mode-
          PM2        | 2020-07-31T23:46:14: PM2 log: App [mm:2] exited with code [254] via signal [SIGINT]
          PM2        | 2020-07-31T23:46:14: PM2 log: App [mm:1] online
          PM2        | 2020-07-31T23:46:14: PM2 log: App [mm:2] starting in -fork mode-
          PM2        | 2020-07-31T23:46:14: PM2 log: App [mm:2] online
          PM2        | 2020-07-31T23:46:17: PM2 log: App [mm:1] exited with code [254] via signal [SIGINT]
          PM2        | 2020-07-31T23:46:17: PM2 log: App [mm:2] exited with code [254] via signal [SIGINT]
          PM2        | 2020-07-31T23:46:17: PM2 log: App [mm:1] starting in -fork mode-
          PM2        | 2020-07-31T23:46:17: PM2 log: App [mm:2] starting in -fork mode-
          PM2        | 2020-07-31T23:46:17: PM2 log: App [mm:1] online
          PM2        | 2020-07-31T23:46:17: PM2 log: App [mm:2] online
          
          /home/pi/.pm2/logs/mm-out.log last 100 lines:
          /home/pi/.pm2/logs/pm2-logrotate-error.log last 100 lines:
          0|pm2-logr | [Error: ENOENT: no such file or directory, unlink '/home/pi/.pm2/logs/mm-error__2020-07-15_00-00-00.log'] {
          0|pm2-logr |   errno: -2,
          0|pm2-logr |   code: 'ENOENT',
          0|pm2-logr |   syscall: 'unlink',
          0|pm2-logr |   path: '/home/pi/.pm2/logs/mm-error__2020-07-15_00-00-00.log'
          0|pm2-logr | }
          0|pm2-logr | [Error: ENOENT: no such file or directory, unlink '/home/pi/.pm2/logs/mm-error__2020-07-16_20-14-10.log'] {
          0|pm2-logr |   errno: -2,
          0|pm2-logr |   code: 'ENOENT',
          0|pm2-logr |   syscall: 'unlink',
          0|pm2-logr |   path: '/home/pi/.pm2/logs/mm-error__2020-07-16_20-14-10.log'
          0|pm2-logr | }
          0|pm2-logr | [Error: ENOENT: no such file or directory, unlink '/home/pi/.pm2/logs/mm-error__2020-07-17_00-01-34.log'] {
          0|pm2-logr |   errno: -2,
          0|pm2-logr |   code: 'ENOENT',
          0|pm2-logr |   syscall: 'unlink',
          0|pm2-logr |   path: '/home/pi/.pm2/logs/mm-error__2020-07-17_00-01-34.log'
          0|pm2-logr | }
          0|pm2-logr | [Error: ENOENT: no such file or directory, unlink '/home/pi/.pm2/logs/mm-error__2020-07-17_13-46-14.log'] {
          0|pm2-logr |   errno: -2,
          0|pm2-logr |   code: 'ENOENT',
          0|pm2-logr |   syscall: 'unlink',
          0|pm2-logr |   path: '/home/pi/.pm2/logs/mm-error__2020-07-17_13-46-14.log'
          0|pm2-logr | }
          
          /home/pi/.pm2/logs/pm2-logrotate-out.log last 100 lines:
          0|pm2-logr | "/home/pi/.pm2/logs/pm2-logrotate-out__2020-07-31_00-00-13.log" has been created
          0|pm2-logr | "/home/pi/.pm2/logs/pm2-logrotate-error__2020-07-31_00-00-13.log" has been created
          0|pm2-logr | "pm2-logrotate-out__2020-06-24_00-00-14.log" has been deleted
          0|pm2-logr | "/home/pi/.pm2/logs/mm-error__2020-07-31_00-00-13.log" has been created
          0|pm2-logr | "/home/pi/.pm2/logs/mm-error__2020-07-31_00-00-13.log" has been created
          0|pm2-logr | "mm-error__2020-07-15_00-00-00.log" has been deleted
          0|pm2-logr | "/home/pi/.pm2/logs/mm-error__2020-07-31_06-12-22.log" has been created
          0|pm2-logr | "/home/pi/.pm2/logs/mm-error__2020-07-31_06-12-22.log" has been created
          0|pm2-logr | "mm-error__2020-07-16_20-14-10.log" has been deleted
          0|pm2-logr | "/home/pi/.pm2/logs/mm-error__2020-07-31_12-19-24.log" has been created
          0|pm2-logr | "/home/pi/.pm2/logs/mm-error__2020-07-31_12-19-24.log" has been created
          0|pm2-logr | "mm-error__2020-07-17_00-01-34.log" has been deleted
          0|pm2-logr | "/home/pi/.pm2/pm2__2020-07-31_13-01-24.log" has been created
          0|pm2-logr | "pm2__2020-06-17_14-07-43.log" has been deleted
          0|pm2-logr | "/home/pi/.pm2/logs/mm-error__2020-07-31_18-29-27.log" has been created
          0|pm2-logr | "/home/pi/.pm2/logs/mm-error__2020-07-31_18-29-27.log" has been created
          0|pm2-logr | "mm-error__2020-07-17_13-46-14.log" has been deleted
          
          /home/pi/.pm2/logs/mm-error.log last 100 lines:
          1|mm       | npm ERR! enoent
          1|mm       | npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json'
          1|mm       | npm ERR! enoent This is related to npm not being able to find a file.
          1|mm       | npm ERR! enoent
          1|mm       |
          1|mm       |
          1|mm       | npm ERR! A complete log of this run can be found in:
          1|mm       | npm ERR!     /home/pi/.npm/_logs/2020-07-31T21_46_08_015Z-debug.log
          1|mm       | npm ERR! A complete log of this run can be found in:
          1|mm       | npm ERR!     /home/pi/.npm/_logs/2020-07-31T21_46_08_015Z-debug.log
          1|mm       | /home/pi/mm.sh: Zeile 1: cd: /~MagicMirror: Datei oder Verzeichnis nicht gefunden
          1|mm       | /home/pi/mm.sh: Zeile 1: cd: /~MagicMirror: Datei oder Verzeichnis nicht gefunden
          1|mm       | npm npm ERR! code ENOENT
          1|mm       | ERR! code ENOENT
          1|mm       | npm ERR! syscallnpm ERR! syscall open
          1|mm       | npm ERR! open
          1|mm       | npm ERR! path /home/pi/package.json
          1|mm       | npm path /home/pi/package.json
          1|mm       | npm ERR! errno -2
          1|mm       |  ERR! errno -2
          1|mm       | npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json'
          1|mm       | npm ERR! enoent This is related to npm not being able to find a file.
          1|mm       | npm ERR! enoent
          1|mm       | npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json'
          1|mm       | npm ERR! enoent This is related to npm not being able to find a file.
          1|mm       | npm ERR! enoent
          1|mm       |
          1|mm       |
          1|mm       | npm ERR! A complete log of this run can be found in:
          1|mm       | npm ERR!     /home/pi/.npm/_logs/2020-07-31T21_46_10_895Z-debug.log
          1|mm       | npm ERR! A complete log of this run can be found in:
          1|mm       | npm ERR!     /home/pi/.npm/_logs/2020-07-31T21_46_10_894Z-debug.log
          1|mm       | /home/pi/mm.sh: Zeile 1: cd: /~MagicMirror: Datei oder Verzeichnis nicht gefunden
          1|mm       | /home/pi/mm.sh: Zeile 1: cd: /~MagicMirror: Datei oder Verzeichnis nicht gefunden
          1|mm       | npm ERR! code ENOENT
          1|mm       | npm ERR! syscall open
          1|mm       | npm ERR! path /home/pi/package.json
          1|mm       | npm ERR! errno -2
          1|mm       | npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json'
          1|mm       | npm ERR! enoent This is related to npm not being able to find a file.
          1|mm       | npm ERR! enoent
          1|mm       | npm ERR! code ENOENT
          1|mm       | npm ERR! syscall open
          1|mm       | npm ERR! path /home/pi/package.json
          1|mm       | npm ERR! errno -2
          1|mm       | npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json'
          1|mm       | npm ERR! enoent This is related to npm not being able to find a file.
          1|mm       | npm ERR! enoent
          1|mm       |
          1|mm       | npm ERR! A complete log of this run can be found in:
          1|mm       | npm ERR!     /home/pi/.npm/_logs/2020-07-31T21_46_12_794Z-debug.log
          1|mm       | /home/pi/mm.sh: Zeile 1: cd: /~MagicMirror: Datei oder Verzeichnis nicht gefunden
          1|mm       |
          1|mm       | npm ERR! A complete log of this run can be found in:
          1|mm       | npm ERR!     /home/pi/.npm/_logs/2020-07-31T21_46_12_823Z-debug.log
          1|mm       | /home/pi/mm.sh: Zeile 1: cd: /~MagicMirror: Datei oder Verzeichnis nicht gefunden
          1|mm       | npm ERR! code ENOENT
          1|mm       | npm ERR! code ENOENT
          1|mm       | npm ERR! syscall open
          1|mm       | npm ERR! path /home/pi/package.json
          1|mm       | npm ERR! errno -2
          1|mm       | npm ERR! syscall open
          1|mm       | npm ERR! path /home/pi/package.json
          1|mm       | npm ERR! errno -2
          1|mm       | npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json'
          1|mm       | npmnpm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json'
          1|mm       | npm ERR! enoent This is related to npm not being able to find a file.
          1|mm       | npm ERR! enoent
          1|mm       |  ERR! enoent This is related to npm not being able to find a file.
          1|mm       | npm ERR! enoent
          1|mm       |
          1|mm       |
          1|mm       | npm ERR! A complete log of this run can be found in:
          1|mm       | npm ERR!npm ERR! A complete log of this run can be found in:
          1|mm       | npm ERR!     /home/pi/.npm/_logs/2020-07-31T21_46_14_790Z-debug.log
          1|mm       |      /home/pi/.npm/_logs/2020-07-31T21_46_14_793Z-debug.log
          1|mm       | /home/pi/mm.sh: Zeile 1: cd: /~MagicMirror: Datei oder Verzeichnis nicht gefunden
          1|mm       | /home/pi/mm.sh: Zeile 1: cd: /~MagicMirror: Datei oder Verzeichnis nicht gefunden
          1|mm       | npm ERR! code ENOENT
          1|mm       | npm ERR! syscall open
          1|mm       | npm ERR! path /home/pi/package.json
          1|mm       | npm ERR! errno -2
          1|mm       | npm ERR! code ENOENT
          1|mm       | npm ERR! npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json'
          1|mm       | npm ERR! enoent This is related to npm not being able to find a file.
          1|mm       | npm ERR! enoent
          1|mm       | syscall open
          1|mm       | npm ERR! path /home/pi/package.json
          1|mm       | npm ERR! errno -2
          1|mm       | npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json'
          1|mm       | npm ERR! enoent This is related to npm not being able to find a file.
          1|mm       | npm ERR! enoent
          1|mm       |
          1|mm       |
          1|mm       | npm ERR! A complete log of this run can be found in:
          1|mm       | npm ERR!     /home/pi/.npm/_logs/2020-07-31T21_46_16_929Z-debug.log
          1|mm       | npm ERR! A complete log of this run can be found in:
          1|mm       | npm ERR!     /home/pi/.npm/_logs/2020-07-31T21_46_16_923Z-debug.log
          1|mm       | /home/pi/mm.sh: Zeile 1: cd: /~MagicMirror: Datei oder Verzeichnis nicht gefunden
          1|mm       | /home/pi/mm.sh: Zeile 1: cd: /~MagicMirror: Datei oder Verzeichnis nicht gefunden
          
          1|mm  | npm
          2|mm  | npm
          1|mm  |  ERR! code ENOENT
          1|mm  | npm
          1|mm  | ERR! syscall open
          1|mm  | npm ERR!
          1|mm  | path /home/pi/package.json
          2|mm  |  ERR! code ENOENT
          2|mm  | npm
          1|mm  | npm ERR! errno -2
          2|mm  |  ERR! syscall open
          2|mm  | npm ERR!
          2|mm  | path /home/pi/package.json
          2|mm  | npm ERR! errno
          2|mm  |  -2
          1|mm  | npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json'
          1|mm  | npm ERR! enoent
          1|mm  |  This is related to npm not being able to find a file.
          1|mm  | npm ERR! enoent
          2|mm  | npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json'
          2|mm  | npm ERR! enoent This is related to npm not being able to find a file.
          2|mm  | npm
          2|mm  |  ERR! enoent
          1|mm  | npm ERR! A complete log of this run can be found in:
          1|mm  | npm ERR!     /home/pi/.npm/_logs/2020-07-31T21_46_21_246Z-debug.log
          2|mm  | npm ERR! A complete log of this run can be found in:
          2|mm  | npm ERR!     /home/pi/.npm/_logs/2020-07-31T21_46_21_253Z-debug.log
          PM2      | App [mm:1] exited with code [254] via signal [SIGINT]
          PM2      | App [mm:2] exited with code [254] via signal [SIGINT]
          PM2      | App [mm:1] starting in -fork mode-
          PM2      | App [mm:2] starting in -fork mode-
          PM2      | App [mm:1] online
          PM2      | App [mm:2] online
          1|mm     | /home/pi/mm.sh: Zeile 1: cd: /~MagicMirror: Datei oder Verzeichnis nicht gefunden
          2|mm     | /home/pi/mm.sh: Zeile 1: cd: /~MagicMirror: Datei oder Verzeichnis nicht gefunden
          1|mm     | npm
          2|mm     | npm ERR! code
          1|mm     |  ERR! code ENOENT
          1|mm     | npm ERR! syscall open
          1|mm     | npm ERR! path /home/pi/package.json
          1|mm     | npm ERR! errno -2
          2|mm     |  ENOENT
          2|mm     | npm ERR! syscall open
          2|mm     | npm ERR! path /home/pi/package.json
          2|mm     | npm ERR! errno -2
          2|mm     | npm ERR! enoent
          2|mm     |  ENOENT: no such file or directory, open '/home/pi/package.json'
          2|mm     | npm ERR! enoent This is related to npm not being able to find a file.
          2|mm     | npm ERR!
          1|mm     | npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json'
          1|mm     | npm ERR! enoent This is related to npm not being able to find a file.
          1|mm     | npm ERR! enoent
          2|mm     |  enoent
          2|mm     | npm ERR! A complete log of this run can be found in:2|mm     | npm ERR!     /home/pi/.npm/_logs/2020-07-31T21_46_23_904Z-debug.log
          1|mm     | npm ERR! A complete log of this run can be found in:1|mm     | npm ERR!     /home/pi/.npm/_logs/2020-07-31T21_46_23_900Z-debug.log
          PM2      | App [mm:1] exited with code [254] via signal [SIGINT]
          PM2      | App [mm:2] exited with code [254] via signal [SIGINT]
          PM2      | App [mm:1] starting in -fork mode-
          PM2      | App [mm:2] starting in -fork mode-
          PM2      | App [mm:1] online
          PM2      | App [mm:2] online
          1|mm     | /home/pi/mm.sh: Zeile 1: cd: /~MagicMirror: Datei oder Verzeichnis nicht gefunden
          2|mm     | /home/pi/mm.sh: Zeile 1: cd: /~MagicMirror: Datei oder Verzeichnis nicht gefunden
          ^C
          pi@mirrorpi:~ $
          
          S 1 Reply Last reply Reply Quote 0
          • S Do not disturb
            sdetweil @Stef
            last edited by

            @Stef pm2 stop all

            pm2 info

            for some reason some script is trying to do npm start in the users home folder.

            pm2 remove that one (0 or 1)
            pm2 save
            pm2 flush

            then pm2 info, and look at the script being run , examine and test the script.

            then pm2 start (0/1 whatever is left)

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • S Offline
              Stef
              last edited by

              I did all this.
              pm2 remove did not work (not recognised as a command) so i did a pm2 delete on both instances.

              All i get now, is a black screen & an error with the Modul “MMM-DHT-Sensor”

              [2020-08-02 17:45:35.346] [ERROR]  WARNING! Could not load config file. Starting with default configuration. Error found: Error: The module '/home/pi/MagicMirror/modules/MMM-DHT-Sensor/node_modules/node-dht-sensor/build/Release/node_dht_sensor.node'
              was compiled against a different Node.js version using
              NODE_MODULE_VERSION 64. This version of Node.js requires
              NODE_MODULE_VERSION 73. Please try re-compiling or re-installing
              the module (for instance, using `npm rebuild` or `npm install`).
              
              

              If i remove the Folder from the modules, the Mirror boots up.

              Since the Mirror is loading now, this Topic can be closed and i will open up another one.

              Thanks!

              S 1 Reply Last reply Reply Quote 0
              • S Do not disturb
                sdetweil @Stef
                last edited by

                @Stef great! I can never remember remove vs delete, but u got it, and found the actual problem.

                I posted steps in the other topic

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                Enjoying MagicMirror? Please consider a donation!
                MagicMirror created by Michael Teeuw.
                Forum managed by Sam, technical setup by Karsten.
                This forum is using NodeBB as its core | Contributors
                Contact | Privacy Policy