• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

REMOTE CONTROL UPDATE

Scheduled Pinned Locked Moved Solved Troubleshooting
19 Posts 2 Posters 1.5k 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
    sdetweil @pat59
    last edited by Mar 9, 2025, 2:25 PM

    @pat59 show the messages from pm2

    pm2 logs --lines=100

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    S 1 Reply Last reply Mar 9, 2025, 5:28 PM Reply Quote 0
    • S Offline
      sdetweil @sdetweil
      last edited by Mar 9, 2025, 5:28 PM

      @pat59 what did you update? module or MagicMirror

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • P Offline
        pat59
        last edited by Mar 9, 2025, 6:52 PM

        I updated with cd ~/MagicMirror

        how to make you see the messages of pm2

        S 1 Reply Last reply Mar 9, 2025, 7:04 PM Reply Quote 0
        • S Offline
          sdetweil @pat59
          last edited by Mar 9, 2025, 7:04 PM

          @pat59 MORE than likely you upgraded which didn’t handle the nodejs requirement

          can you get to a commandline on the mirror?

          ssh, vnc?

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • P Offline
            pat59
            last edited by Mar 9, 2025, 7:12 PM

            pi@raspberrypi:~/MagicMirror $ pm2 logs mm
            [TAILING] Tailing last 15 lines for [mm] process (change the value with --lines option)
            /home/pi/.pm2/logs/mm-error.log last 15 lines:
            0|mm | at resolveExports (node:internal/modules/cjs/loader:550:15)
            0|mm | at Module._findPath (node:internal/modules/cjs/loader:628:31)
            0|mm | at Module._resolveFilename (node:internal/modules/cjs/loader:1041:27)
            0|mm | at s._resolveFilename (node:electron/js2c/browser_init:2:115476)
            0|mm | at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
            0|mm | at Module._load (node:internal/modules/cjs/loader:908:27)
            0|mm | at c._load (node:electron/js2c/node_init:2:13672)
            0|mm | at Module.require (node:internal/modules/cjs/loader:1122:19)
            0|mm | at require (node:internal/modules/helpers:130:18)
            0|mm | at Object. (/home/pi/MagicMirror/modules/MMM-Remote-Control/node_helper.js:18:19)
            0|mm | at Module._compile (node:internal/modules/cjs/loader:1256:14)
            0|mm | at Module._extensions…js (node:internal/modules/cjs/loader:1311:10)
            0|mm | at Module.load (node:internal/modules/cjs/loader:1098:32)
            0|mm | (Use electron --trace-warnings ... to show where the warning was created)
            0|mm | [2025-03-09 20:02:43.107] [ERROR] (node:1422) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)

            /home/pi/.pm2/logs/mm-out.log last 15 lines:
            0|mm | [2025-03-09 19:58:14.225] [LOG] config template file not exists, no envsubst
            0|mm | [2025-03-09 19:58:14.239] [LOG] Loading module helpers …
            0|mm |
            0|mm | > magicmirror@2.27.0 start
            0|mm | > DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js
            0|mm |
            0|mm | [2025-03-09 20:02:41.778] [LOG] Starting MagicMirror: v2.27.0
            0|mm | [2025-03-09 20:02:41.852] [LOG] Loading config …
            0|mm | [2025-03-09 20:02:41.858] [LOG] config template file not exists, no envsubst
            0|mm | [2025-03-09 20:02:41.870] [LOG] Loading module helpers …
            0|mm | [2025-03-09 20:02:53.609] [INFO] System information:
            0|mm | ### SYSTEM: manufacturer: Raspberry Pi Foundation; model: Raspberry Pi 3 Model B Plus Rev 1.3; raspberry: [object Object]; virtual: false
            0|mm | ### OS: platform: linux; distro: Raspbian GNU/Linux; release: 10; arch: arm; kernel: 5.10.103-v7+
            0|mm | ### VERSIONS: electron: 29.1.6; used node: 20.9.0; installed node: 18.18.0; npm: 9.8.1; pm2: 5.3.1
            0|mm | ### OTHER: timeZone: Europe/Paris; ELECTRON_ENABLE_GPU: undefined

            1 Reply Last reply Reply Quote 0
            • P Offline
              pat59
              last edited by Mar 9, 2025, 7:14 PM

              pi@raspberrypi:~/MagicMirror $ ssh
              usage: ssh [-46AaCfGgKkMNnqsTtVvXxYy] [-B bind_interface]
              [-b bind_address] [-c cipher_spec] [-D [bind_address:]port]
              [-E log_file] [-e escape_char] [-F configfile] [-I pkcs11]
              [-i identity_file] [-J [user@]host[:port]] [-L address]
              [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port]
              [-Q query_option] [-R address] [-S ctl_path] [-W host:port]
              [-w local_tun[:remote_tun]] destination [command]
              pi@raspberrypi:~/MagicMirror $

              S 1 Reply Last reply Mar 9, 2025, 8:07 PM Reply Quote 0
              • S Offline
                sdetweil @pat59
                last edited by Mar 9, 2025, 8:07 PM

                @pat59 pm2 need more lines

                ssh FROM pc TO pi

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • P Offline
                  pat59
                  last edited by Mar 10, 2025, 6:39 AM

                  Hello
                  sorry, being a novice, I don’t understand what to do

                  S 1 Reply Last reply Mar 10, 2025, 1:45 PM Reply Quote 0
                  • S Offline
                    sdetweil @pat59
                    last edited by Mar 10, 2025, 1:45 PM

                    @pat59 pm2 logs MagicMirror lines=100

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • P Offline
                      pat59
                      last edited by Mar 10, 2025, 4:46 PM

                      it doesn’t give me more lines.
                      pi@raspberrypi:~/MagicMirror $ pm2 logs MagicMirror
                      [TAILING] Tailing last 15 lines for [MagicMirror] process (change the value with --lines option)
                      /home/pi/.pm2/logs/MagicMirror-error.log last 15 lines:
                      1|MagicMir | at resolveExports (node:internal/modules/cjs/loader:550:15)
                      1|MagicMir | at Module._findPath (node:internal/modules/cjs/loader:628:31)
                      1|MagicMir | at Module._resolveFilename (node:internal/modules/cjs/loader:1041:27)
                      1|MagicMir | at s._resolveFilename (node:electron/js2c/browser_init:2:115476)
                      1|MagicMir | at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
                      1|MagicMir | at Module._load (node:internal/modules/cjs/loader:908:27)
                      1|MagicMir | at c._load (node:electron/js2c/node_init:2:13672)
                      1|MagicMir | at Module.require (node:internal/modules/cjs/loader:1122:19)
                      1|MagicMir | at require (node:internal/modules/helpers:130:18)
                      1|MagicMir | at Object. (/home/pi/MagicMirror/modules/MMM-Remote-Control/node_helper.js:18:19)
                      1|MagicMir | at Module._compile (node:internal/modules/cjs/loader:1256:14)
                      1|MagicMir | at Module._extensions…js (node:internal/modules/cjs/loader:1311:10)
                      1|MagicMir | at Module.load (node:internal/modules/cjs/loader:1098:32)
                      1|MagicMir | (Use electron --trace-warnings ... to show where the warning was created)
                      1|MagicMir | [2025-03-10 17:29:32.437] [ERROR] (node:1154) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)

                      /home/pi/.pm2/logs/MagicMirror-out.log last 15 lines:
                      1|MagicMir | ### VERSIONS: electron: 29.1.6; used node: 20.9.0; installed node: 18.18.0; npm: 9.8.1; pm2: 5.3.1
                      1|MagicMir | ### OTHER: timeZone: Europe/Paris; ELECTRON_ENABLE_GPU: undefined
                      1|MagicMir |
                      1|MagicMir | > magicmirror@2.27.0 start
                      1|MagicMir | > DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js
                      1|MagicMir |
                      1|MagicMir | [2025-03-10 17:29:30.987] [LOG] Starting MagicMirror: v2.27.0
                      1|MagicMir | [2025-03-10 17:29:31.052] [LOG] Loading config …
                      1|MagicMir | [2025-03-10 17:29:31.064] [LOG] config template file not exists, no envsubst
                      1|MagicMir | [2025-03-10 17:29:31.078] [LOG] Loading module helpers …
                      1|MagicMir | [2025-03-10 17:29:44.233] [INFO] System information:
                      1|MagicMir | ### SYSTEM: manufacturer: Raspberry Pi Foundation; model: Raspberry Pi 3 Model B Plus Rev 1.3; raspberry: [object Object]; virtual: false
                      1|MagicMir | ### OS: platform: linux; distro: Raspbian GNU/Linux; release: 10; arch: arm; kernel: 5.10.103-v7+
                      1|MagicMir | ### VERSIONS: electron: 29.1.6; used node: 20.9.0; installed node: 18.18.0; npm: 9.8.1; pm2: 5.3.1
                      1|MagicMir | ### OTHER: timeZone: Europe/Paris; ELECTRON_ENABLE_GPU: undefined

                      S 1 Reply Last reply Mar 10, 2025, 5:17 PM Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        6/19
                        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