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 crashes after latest update

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    19 Posts 2 Posters 3.7k 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.
    • J Offline
      joberbroeckling
      last edited by

      Upgrade started - Thu Apr  2 18:40:15 MST 2020
      system is Linux raspberrypi 4.19.113-v7+ #1300 SMP Thu Mar 26 16:53:09 GMT 2020 armv7l GNU/Linux
      the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 9.11 (stretch) Release: 9.11 Codename: stretch
      user requested to force apply changes
      doing test run = false
      
      saving custom.css
      remote name = origin
      upgrading from version 2.11.0 to 2.11.0
      fetching latest revisions
      git fetch rc=0
      current branch = master
      On branch master
      Your branch is up-to-date with 'origin/master'.
      Changes not staged for commit:
        (use "git add <file>..." to update what will be committed)
        (use "git checkout -- <file>..." to discard changes in working directory)
      
      	modified:   package-lock.json
      
      Untracked files:
        (use "git add <file>..." to include in what will be committed)
      
      	core
      	css/custom.css.backup
      	css/save_custom.css
      
      no changes added to commit (use "git add" and/or "git commit -a")
      there are 1 local files that are different than the master repo
      
         package-lock.json
      
      save/restore files selection = n
      restoring package-lock.json from repo
      test merge result rc='' , if empty, no conflicts
      executing merge, apply specified
      merge result rc= 0
       Already up-to-date.
      processor architecture is armv7l
      updating MagicMirror runtime, please wait
      
      > electron@6.1.7 postinstall /home/pi/MagicMirror/node_modules/electron
      > node install.js
      
      
      > magicmirror@2.11.0 install /home/pi/MagicMirror
      > echo "Installing vendor files ...
      " && cd vendor && npm install --loglevel=error
      
      Installing vendor files ...
      
      audited 220 packages in 11.443s
      found 8 vulnerabilities (7 low, 1 high)
        run `npm audit fix` to fix them, or `npm audit` for details
      
      > magicmirror@2.11.0 postinstall /home/pi/MagicMirror
      > npm run install-fonts && echo "MagicMirror installation finished successfully! 
      "
      
      
      > magicmirror@2.11.0 install-fonts /home/pi/MagicMirror
      > echo "Installing fonts ...
      " && cd fonts && npm install --loglevel=error
      
      Installing fonts ...
      
      audited 1 package in 0.963s
      found 0 vulnerabilities
      
      MagicMirror installation finished successfully! 
      
      added 3 packages from 39 contributors, updated 30 packages and audited 3040 packages in 90.677s
      
      47 packages are looking for funding
        run `npm fund` for details
      
      found 23 vulnerabilities (20 low, 3 moderate)
        run `npm audit fix` to fix them, or `npm audit` for details
      npm install completed - Thu Apr  2 18:42:09 MST 2020 on base
      downloading dumpactivemodules script
      
      processing dependency changes for active modules with package.json files
      processing for module MMM-DarkSkyForecast please wait
      ----------------------------------
      audited 12116 packages in 19.742s
      
      1 package is looking for funding
        run `npm fund` for details
      
      found 0 vulnerabilities
      
      processing complete for module MMM-DarkSkyForecast
      processing for module MMM-homeassistant-sensors please wait
      ----------------------------------
      audited 1 package in 1.058s
      found 0 vulnerabilities
      
      processing complete for module MMM-homeassistant-sensors
      processing for module MMM-Remote-Control please wait
      ----------------------------------
      audited 36 packages in 1.997s
      found 0 vulnerabilities
      
      processing complete for module MMM-Remote-Control
      processing for module MMM-CountDown please wait
      ----------------------------------
      npm WARN grunt-stylelint@0.14.0 requires a peer of stylelint@^13.2.0 but none is installed. You must install peer dependencies yourself.
      npm WARN stylelint-config-recommended@3.0.0 requires a peer of stylelint@>=10.1.0 but none is installed. You must install peer dependencies yourself.
      npm WARN stylelint-config-standard@20.0.0 requires a peer of stylelint@>=10.1.0 but none is installed. You must install peer dependencies yourself.
      npm WARN MMM-CountDown@1.0.0 No repository field.
      
      audited 429 packages in 9.677s
      
      9 packages are looking for funding
        run `npm fund` for details
      
      found 0 vulnerabilities
      
      processing complete for module MMM-CountDown
      processing for module MMM-CountDown please wait
      ----------------------------------
      npm WARN grunt-stylelint@0.14.0 requires a peer of stylelint@^13.2.0 but none is installed. You must install peer dependencies yourself.
      npm WARN stylelint-config-recommended@3.0.0 requires a peer of stylelint@>=10.1.0 but none is installed. You must install peer dependencies yourself.
      npm WARN stylelint-config-standard@20.0.0 requires a peer of stylelint@>=10.1.0 but none is installed. You must install peer dependencies yourself.
      npm WARN MMM-CountDown@1.0.0 No repository field.
      
      audited 429 packages in 10.51s
      
      9 packages are looking for funding
        run `npm fund` for details
      
      found 0 vulnerabilities
      
      processing complete for module MMM-CountDown
      processing for module MMM-CountDown please wait
      ----------------------------------
      npm WARN grunt-stylelint@0.14.0 requires a peer of stylelint@^13.2.0 but none is installed. You must install peer dependencies yourself.
      npm WARN stylelint-config-recommended@3.0.0 requires a peer of stylelint@>=10.1.0 but none is installed. You must install peer dependencies yourself.
      npm WARN stylelint-config-standard@20.0.0 requires a peer of stylelint@>=10.1.0 but none is installed. You must install peer dependencies yourself.
      npm WARN MMM-CountDown@1.0.0 No repository field.
      
      audited 429 packages in 9.549s
      
      9 packages are looking for funding
        run `npm fund` for details
      
      found 0 vulnerabilities
      
      processing complete for module MMM-CountDown
      processing for module MMM-SystemStats please wait
      ----------------------------------
      audited 1 package in 1.046s
      found 0 vulnerabilities
      
      processing complete for module MMM-SystemStats
      processing for module MMM-CalendarExt2 please wait
      ----------------------------------
      audited 5 packages in 1.106s
      found 0 vulnerabilities
      
      processing complete for module MMM-CalendarExt2
      restoring custom.css
      removing git alias
      Upgrade ended - Thu Apr  2 18:43:39 MST 2020
      
      1 Reply Last reply Reply Quote 0
      • S Do not disturb
        sdetweil
        last edited by

        @joberbroeckling said in MM crashes after latest update:

        MMM-Remote-Control

        has an issue against it not working on 2.11, and

        maybe MMM-homeassistant-sensors… I can’t tell, there are 6 different versions… which one do you have?
        (git remote -v in the module folder will give the git repo name).

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          https://github.com/Snille/MMM-homeassistant-sensors

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

            @joberbroeckling ok. That one only has fonts as a dependency

            Sam

            How to add modules

            learning how to use browser developers window for css changes

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

              I think it may be the DarkSky module. Since I have reached my API request limit it has stopped crashing.

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

                I think I spoke too soon. I removed the DarkSky, Remote Control and Home Assistant Sensors modules and it still crashes on start up. The system load is high but after a while it decreases. I think I will try to a fresh install and see what happens.

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

                  I did a fresh install and installed the modules one at a time. I commented out the modules I already added in my config file. I did notice there is a thread going on regarding MMM-Remote-Control module not working with latest update. So I removed it because I don’t use it that much anyways.

                  Then I un-commented all the modules in my config file and it crashed again. I think it has to do with Electron. But I am not a professional and I am only doing this for fun. The CPU load is huge when it starts up. I don’t think this will work on RPI 3 anymore.

                  I reverted back to 2.10.1 and everything seems to work fine.

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

                    @joberbroeckling i have it running on pi 0, pi 3, pi 4, odroid, nano, ubuntu, and Mac catalina

                    no issues…

                    I don’t use remote-control or pir, or buttons

                    there is a fix for the remote-control in that topic (u have to change the code)

                    so, fresh install, no additions/changes, does it run ok?

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

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

                      If I do a fresh install and add the same modules (except remote-control) I had before it crashes. So I am not sure how to test which module is causing the issue.

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

                        @joberbroeckling disabled all the modules u added,

                        add

                        disabled:true. 
                        

                        to each module section

                        module:?????,
                        disabled:true,
                        

                        pm2 stop 0
                        one at a time, change true to false, restart mirror

                        npm start dev

                        if it works, ctrl-c to kill mirror, edit config, enable next
                        and repeat

                        if it fails, see the terminal window and developers window, console tab for errors
                        ctrl c on terminal window to exit

                        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