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.

    Update, unable to connect.

    Scheduled Pinned Locked Moved Solved Troubleshooting
    19 Posts 3 Posters 2.0k Views 3 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 @Richard238
      last edited by

      @Richard238 no, the script did that for you already

      on a command line do

      node -v

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      R 1 Reply Last reply Reply Quote 0
      • R Offline
        Richard238 @sdetweil
        last edited by

        @sdetweil

        pi@magicmirror:~/MagicMirror $ node -v
        v16.1.0
        
        
        R 1 Reply Last reply Reply Quote 1
        • R Offline
          Richard238 @Richard238
          last edited by Richard238

          Same issue today. Tried with force but still no MM.

          node -v = v22.14.0

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

            @Richard238 can you show the startup messages

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            R 1 Reply Last reply Reply Quote 0
            • R Offline
              Richard238 @sdetweil
              last edited by

              @sdetweil

              pi@mmv2:~/MagicMirror $ node -v
              v22.14.0
              pi@mmv2:~/MagicMirror $ pm2 stop MagicMirror
              [PM2] Applying action stopProcessId on app [MagicMirror](ids: [ 0 ])
              [PM2] [MagicMirror](0) â
              ââââââ¬âââââââââââââââââââââ¬âââââââââââ¬âââââââ¬ââââââââââââ¬âââââââââââ¬âââââââââââ
              â id â name               â mode     â ⺠   â status    â cpu      â memory   â
              ââââââ¼âââââââââââââââââââââ¼âââââââââââ¼âââââââ¼ââââââââââââ¼âââââââââââ¼âââââââââââ¤
              â 0  â MagicMirror        â fork     â 2120 â stopped   â 0%       â 0b       â
              ââââââ´âââââââââââââââââââââ´âââââââââââ´âââââââ´ââââââââââââ´âââââââââââ´âââââââââââ
              pi@mmv2:~/MagicMirror $ pm2 start MagicMirror
              [PM2] Applying action restartProcessId on app [MagicMirror](ids: [ 0 ])
              [PM2] [MagicMirror](0) â
              [PM2] Process successfully started
              ââââââ¬âââââââââââââââââââââ¬âââââââââââ¬âââââââ¬ââââââââââââ¬âââââââââââ¬âââââââââââ
              â id â name               â mode     â ⺠   â status    â cpu      â memory   â
              ââââââ¼âââââââââââââââââââââ¼âââââââââââ¼âââââââ¼ââââââââââââ¼âââââââââââ¼âââââââââââ¤
              â 0  â MagicMirror        â fork     â 2120 â online    â 0%       â 2.6mb    â
              ââââââ´âââââââââââââââââââââ´âââââââââââ´âââââââ´ââââââââââââ´âââââââââââ´âââââââââââ
              pi@mmv2:~/MagicMirror $
              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @Richard238
                last edited by

                @Richard238 pm2 logs --lines=20

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                R 1 Reply Last reply Reply Quote 0
                • R Offline
                  Richard238 @sdetweil
                  last edited by

                  @sdetweil said in Update, unable to connect.:

                  pm2 logs --lines=20

                  Seems to loop through this:

                  0|MagicMirror  | > magicmirror@2.32.0 start
                  0|MagicMirror  | > node --run start:x11
                  0|MagicMirror  | [2025-08-16 19:11:31.316] [LOG]   Starting MagicMirror: v2.32.0 
                  0|MagicMirror  | [2025-08-16 19:11:31.359] [LOG]   Loading config ... 
                  0|MagicMirror  | [2025-08-16 19:11:31.363] [LOG]   config template file not exists, no envsubst 
                  0|MagicMirror  | [2025-08-16 19:11:31.976] [INFO]  Checking config file /home/pi/MagicMirror/config/config.js ... 
                  0|MagicMirror  | [2025-08-16 19:11:32.117] [ERROR] Your configuration file contains syntax errors :(
                  0|MagicMirror  | Line 99 column 21: 'Log' is not defined. 
                  PM2            | App [MagicMirror:0] exited with code [1] via signal [SIGINT]
                  PM2            | App [MagicMirror:0] starting in -fork mode-
                  PM2            | App [MagicMirror:0] online
                  0|MagicMirror  | bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
                  
                  
                  mumblebajM S 2 Replies Last reply Reply Quote 0
                  • mumblebajM Offline
                    mumblebaj Module Developer @Richard238
                    last edited by

                    @Richard238 said in Update, unable to connect.:

                    0|MagicMirror | [2025-08-16 19:11:32.117] [ERROR] Your configuration file contains syntax errors :(
                    0|MagicMirror | Line 99 column 21: ‘Log’ is not defined.

                    This seems to indicate that there is an error in config/config.js. Run the following on the command line in the ~/MagicMirror/ directory: npm run config:check

                    Check out my modules at: https://github.com/mumblebaj?tab=repositories
                    Check my blog-post: https://mumblebaj.xyz/

                    R 1 Reply Last reply Reply Quote 0
                    • R Offline
                      Richard238 @mumblebaj
                      last edited by

                      @mumblebaj said in Update, unable to connect.:

                      npm run config:check

                      pi@mmv2:~/MagicMirror $ npm run config:check
                      
                      > magicmirror@2.32.0 config:check
                      > node js/check_config.js
                      
                      [2025-08-17 12:14:16.030] [INFO]  Checking config file /home/pi/MagicMirror/config/config.js ... 
                      [2025-08-17 12:14:16.285] [ERROR] Your configuration file contains syntax errors :(
                      Line 99 column 21: 'Log' is not defined. 
                      
                      

                      Lines 97/98/99:

                                      // Override start method.
                                      start: function () {
                                          Log.log("Starting module: " + this.name);
                      
                      1 Reply Last reply Reply Quote 0
                      • S Offline
                        sdetweil @Richard238
                        last edited by

                        @Richard238 did the

                        npm install 
                        

                        complete?

                        do this

                        pm2 stop all
                        cd ~/MagicMirror 
                        rm -rf node_modules
                        npm install
                        

                        the start MagicMirror manually

                        npm start
                        

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        R 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 1 / 2
                        • 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