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 4.3k 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 @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 Offline
        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 Offline
          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
            • N Offline
              nechry @JoeFranz
              last edited by

              @JoeFranz hello I also got, I think same issue, about 2 ical didn’t load. did you figure out the issue?

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

                No, unfortunately not… :-(

                S 2 Replies Last reply Reply Quote 0
                • S Offline
                  sdetweil @JoeFranz
                  last edited by

                  @JoeFranz still trying to find the cause…

                  so far every cal url I have received works great on my local MM systems. 2.25 and 2.26, x86, pi3, pi4 and pi5.

                  so, i’m not use what is going on…

                  in all the cases if the cal is parsed the events are broadcast but cal says no events… ???

                  weird…

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

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

                    @JoeFranz lets get you back to working, move you back to whatever release worked…

                    stop mm if running

                    on the command line

                    git  tag -l 
                    

                    to list the tags (checkpoints in the list f changes, made at every release)

                    you should see a list
                    Screenshot at 2024-01-05 13-14-08.png

                    then whichever release you were last working on do

                    git checkout -b tempbranch tags/v???  the number,  2.25.0 or whatever
                    like 
                    git checkout -b tempbranch tags/v2.25.0
                    

                    if successful
                    then

                    rm -rf node_modules
                    npm install 
                    

                    and give it a try

                    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
                      Don’t work so hard…
                      It was just a calendar where the appointments weren’t displayed. I have now copied these into another calendar and they are now displayed there. I’m glad that everything else is working fine again, thank you for your help! :-)
                      The command “git tag -l” only shows me up to version v2.2.0.
                      I think I’ll leave it like that for now…:winking_face:

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

                        @JoeFranz weird. but thanks for the info

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

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