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.

    MM doesn't start after last update

    Scheduled Pinned Locked Moved Solved Troubleshooting
    20 Posts 5 Posters 3.4k Views 4 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.
    • J Offline
      JoeFranz
      last edited by

      Hello and happy new year :-)
      Yesterday I updated to 2.26 using the script from sdetweil.
      Unfortunately MM doesn’t start anymore :-(
      Hope that someone can help

      Greetings Jörg

      /home/pi/.pm2/logs/MagicMirror-error.log last 15 lines:
      2|MagicMir |     at node:internal/modules/cjs/loader:929:27
      2|MagicMir |     at Function._load (node:electron/js2c/asar_bundle:2:13327)
      2|MagicMir |     at Module.require (node:internal/modules/cjs/loader:1150:19)
      2|MagicMir |     at require (node:internal/modules/cjs/helpers:121:18)
      2|MagicMir |     at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-SoccerLiveScore/node_helper.js:10:15)
      2|MagicMir |     at Module._compile (node:internal/modules/cjs/loader:1271:14)
      2|MagicMir |     at Object..js (node:internal/modules/cjs/loader:1326:10)
      2|MagicMir |     at Module.load (node:internal/modules/cjs/loader:1126:32)
      2|MagicMir |     at node:internal/modules/cjs/loader:967:12
      2|MagicMir |     at Function._load (node:electron/js2c/asar_bundle:2:13327)
      2|MagicMir |     at Module.require (node:internal/modules/cjs/loader:1150:19)
      2|MagicMir |     at require (node:internal/modules/cjs/helpers:121:18)
      2|MagicMir |     at loadModule (/home/pi/MagicMirror/js/app.js:181:19)
      2|MagicMir | (Use `electron --trace-warnings ...` to show where the warning was created)
      2|MagicMir | [02.01.2024 08:21.55.970] [ERROR] (node:21245) 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: 1)
      
      2|MagicMirror  | Warning: vkCreateInstance: Found no drivers!
      2|MagicMirror  | Warning: vkCreateInstance failed with VK_ERROR_INCOMPATIBLE_DRIVER
      2|MagicMirror  |     at CheckVkSuccessImpl (../../third_party/dawn/src/dawn/native/vulkan/VulkanError.cpp:88)
      2|MagicMirror  |     at CreateVkInstance (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:458)
      2|MagicMirror  |     at Initialize (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:344)
      2|MagicMirror  |     at Create (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:266)
      2|MagicMirror  |     at operator() (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:521)
      
      
      
      
      J M 2 Replies Last reply Reply Quote 0
      • J Offline
        JoeFranz @JoeFranz
        last edited by JoeFranz

        @JoeFranz

        > magicmirror@2.26.0 start
        > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
        
        [02.01.2024 12:11.41.006] [LOG]   Starting MagicMirror: v2.26.0
        [02.01.2024 12:11.41.016] [LOG]   Loading config ...
        [02.01.2024 12:11.41.022] [DEBUG] config template file not exists, no envsubst
        [02.01.2024 12:11.42.733] [ERROR] (node:19253) UnhandledPromiseRejectionWarning: Error: Cannot find module 'node-fetch'
        Require stack:
        - /home/pi/MagicMirror/modules/MMM-SoccerLiveScore/node_helper.js
        - /home/pi/MagicMirror/js/app.js
        - /home/pi/MagicMirror/js/electron.js
        - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
        - 
            at node:internal/modules/cjs/loader:1084:15
            at Function.<anonymous> (node:electron/js2c/browser_init:2:116646)
            at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
            at node:internal/modules/cjs/loader:929:27
            at Function._load (node:electron/js2c/asar_bundle:2:13327)
            at Module.require (node:internal/modules/cjs/loader:1150:19)
            at require (node:internal/modules/cjs/helpers:121:18)
            at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-SoccerLiveScore/node_helper.js:10:15)
            at Module._compile (node:internal/modules/cjs/loader:1271:14)
            at Object..js (node:internal/modules/cjs/loader:1326:10)
            at Module.load (node:internal/modules/cjs/loader:1126:32)
            at node:internal/modules/cjs/loader:967:12
            at Function._load (node:electron/js2c/asar_bundle:2:13327)
            at Module.require (node:internal/modules/cjs/loader:1150:19)
            at require (node:internal/modules/cjs/helpers:121:18)
            at loadModule (/home/pi/MagicMirror/js/app.js:181:19)
        (Use `electron --trace-warnings ...` to show where the warning was created)
        [02.01.2024 12:11.42.736] [ERROR] (node:19253) 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: 1)
        Warning: vkCreateInstance: Found no drivers!
        Warning: vkCreateInstance failed with VK_ERROR_INCOMPATIBLE_DRIVER
            at CheckVkSuccessImpl (../../third_party/dawn/src/dawn/native/vulkan/VulkanError.cpp:88)
            at CreateVkInstance (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:458)
            at Initialize (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:344)
            at Create (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:266)
            at operator() (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:521)
        
        
        S 1 Reply Last reply Reply Quote 0
        • S Away
          sdetweil @JoeFranz
          last edited by

          @JoeFranz did u upgrade w my script? or manually

          go to the module folder and do

          npm install node-fetch@2

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          J 1 Reply Last reply Reply Quote 1
          • J Offline
            JoeFranz @sdetweil
            last edited by

            @sdetweil
            It’s working again now, thank you very much :-)

            1 Reply Last reply Reply Quote 1
            • M Offline
              matt216 @JoeFranz
              last edited by matt216

              @JoeFranz I’m getting these vulkan warnings too - any idea what they/it is?! Doesn’t seem to affect my mirror working…

              S 1 Reply Last reply Reply Quote 0
              • S Away
                sdetweil @matt216
                last edited by

                @matt216 I think the vulcan warnings are a side effect of another error…

                can u send me that somefile.txt… same userid as here at gmail…
                i don’t look at any personal info… so try not to filter it…

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                J 1 Reply Last reply Reply Quote 0
                • J Offline
                  JoeFranz @sdetweil
                  last edited by JoeFranz

                  @sdetweil

                  MMM-Tado doesn’t start, here are the error messages :-(

                  /home/pi/.pm2/logs/MagicMirror-error.log last 15 lines:
                  1|MagicMir |     at process.processTimers (node:internal/timers:512:7)
                  1|MagicMir | [02.01.2024 16:25.56.242] [ERROR] (node:1226) 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: 36)
                  1|MagicMir | [02.01.2024 16:30.56.239] [ERROR] (node:1226) UnhandledPromiseRejectionWarning: TypeError: self.tadoClient.login is not a function
                  1|MagicMir |     at Class.getData (/home/pi/MagicMirror/modules/MMM-Tado/node_helper.js:20:25)
                  1|MagicMir |     at Timeout._onTimeout (/home/pi/MagicMirror/modules/MMM-Tado/node_helper.js:103:22)
                  1|MagicMir |     at listOnTimeout (node:internal/timers:569:17)
                  1|MagicMir |     at process.processTimers (node:internal/timers:512:7)
                  1|MagicMir | [02.01.2024 16:30.56.240] [ERROR] (node:1226) UnhandledPromiseRejectionWarning: Unhandled promise rejec
                  
                  tion. 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: 40)
                  1|MagicMir | [02.01.2024 16:35.56.242] [ERROR] (node:1226) UnhandledPromiseRejectionWarning: TypeError: self.tadoClient.login is not a function
                  1|MagicMir |     at Class.getData (/home/pi/MagicMirror/modules/MMM-Tado/node_helper.js:20:25)
                  1|MagicMir |     at Timeout._onTimeout (/home/pi/MagicMirror/modules/MMM-Tado/node_helper.js:103:22)
                  1|MagicMir |     at listOnTimeout (node:internal/timers:569:17)
                  1|MagicMir |     at process.processTimers (node:internal/timers:512:7)
                  1|MagicMir | [02.01.2024 16:35.56.243] [ERROR] (node:1226) 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: 44)
                  1|MagicMir | /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
                  
                  
                  
                  S 1 Reply Last reply Reply Quote 0
                  • S Away
                    sdetweil @JoeFranz
                    last edited by

                    @JoeFranz yeh tado seems to be affected by a change in how nodejs does context scoping.

                    I’ll try to make fork in the morning

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

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

                      @JoeFranz try my fork

                      rename the current module folder out of the way

                      cd ~/MagicMirror/modules
                      git clone https://github.com/sdetweil/MMM-Tado
                      cd MMM-Tado
                      npm install
                      

                      restart mm

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      J 1 Reply Last reply Reply Quote 0
                      • J Offline
                        JoeFranz @sdetweil
                        last edited by

                        @sdetweil
                        That worked, thank you very much :-)
                        Now I’m only missing two calendars that aren’t displayed.
                        One from icloud and one from google. Other iCloud calendars are displayed. I hope I find the error :-)

                        N 1 Reply Last reply Reply Quote 1
                        • 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