• 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.

So ... to update MagicMirror I would ... ??

Scheduled Pinned Locked Moved Troubleshooting
54 Posts 12 Posters 35.0k Views 10 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
    surger13 Project Sponsor @E3V3A
    last edited by Apr 10, 2018, 6:36 AM

    @E3V3A
    I thought I tried both. But it doesn’t matter now, I’ve redone everything. It’s back on now. Thanks for your help.

    1 Reply Last reply Reply Quote 0
    • R Offline
      Richard238 @Richard238
      last edited by May 24, 2018, 9:42 AM

      @richard238 said in So ... to update MagicMirror I would ... ??:

      @MichMich said in So ... to update MagicMirror I would ... ??:

      @Richard238 Please share the steps you took to upgrade and the log files which shows errors.

      I followed the usual update routine.
      I don’t have any logs, as I’ve restored MM from an earlier SD card backup.

      MM working OK everywhere, it’s just telling me I’m 150 commits out-of-date.
      I’ll live with that until the electron black screen issue is resolved.

      Found the error logs from a backup I forgot I’d taken:

      [TAILING] Tailing last 15 lines for [mm] process (change the value with --lines option)
      /home/pi/.pm2/logs/mm-error-0.log last 15 lines:
      0|mm       |     at Function.Module._load (module.js:424:3)
      0|mm       |     at Module.require (module.js:483:17)
      0|mm       |     at require (internal/module.js:20:19)
      0|mm       |     at bindings (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/bindings/bindings.js:81:44)
      0|mm       | Error: Module version mismatch. Expected 50, got 57.
      0|mm       |     at Error (native)
      0|mm       |     at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:173:20)
      0|mm       |     at Object.Module._extensions..node (module.js:583:18)
      0|mm       |     at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:173:20)
      0|mm       |     at Module.load (module.js:473:32)
      0|mm       |     at tryModuleLoad (module.js:432:12)
      0|mm       |     at Function.Module._load (module.js:424:3)
      0|mm       |     at Module.require (module.js:483:17)
      0|mm       |     at require (internal/module.js:20:19)
      0|mm       |     at bindings (/home/pi/MagicMirror/modules/MMM-PIR-Sensor/node_modules/bindings/bindings.js:81:44)
      
      
      /home/pi/.pm2/logs/mm-out-0.log last 15 lines:
      0|mm       | Initializing new module helper ...
      0|mm       | Module helper loaded: MMM-MyTemps
      0|mm       | Initializing new module helper ...
      0|mm       | Module helper loaded: updatenotification
      0|mm       | No helper found for module: clock.
      0|mm       | Initializing new module helper ...
      0|mm       | Module helper loaded: calendar
      0|mm       | No helper found for module: compliments.
      0|mm       | No helper found for module: currentweather.
      0|mm       | No helper found for module: weatherforecast.
      0|mm       | No helper found for module: MMM-doomsDay.
      0|mm       | Whoops! There was an uncaught exception...
      0|mm       | MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      0|mm       | If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      0|mm       | Launching application.
      

      I hope that helps find what’s wrong, and how to fix it.

      Thanks!

      1 Reply Last reply Reply Quote 0
      • B Offline
        bitfit2020
        last edited by Jan 24, 2021, 4:21 PM

        Dude -

        My magicmirrior is DEAD !!! HELP !!! HELP !!!

        This is STILL an issue … had the BLACK SCREEN after the npm pull && install npm

        Now the mirror does not even start and I get a Javascript error !!!
        I also got the 4 vulnerabilities (1 low, 2 high, 1 critical) after the install
        2021-01-24-111621_1920x1080_scrot.png

        1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @chef
          last edited by Jan 24, 2021, 4:27 PM

          @chef use my upgrade script
          see here

          https://github.com/sdetweil/MagicMirror_scripts

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • B Offline
            bitfit2020
            last edited by Jan 24, 2021, 6:14 PM

            U da man!!! I’m back on the playground :) Thanks.

            1 Reply Last reply Reply Quote 0
            • B Offline
              bitfit2020
              last edited by Jan 24, 2021, 6:39 PM

              Must be some of my modules but with your default config mirror works but with my config I get a BLACK SCREEN.

              BTW, I did not upgrade (was a bit worried)… not sure if should do that !

              S 2 Replies Last reply Jan 24, 2021, 9:30 PM Reply Quote 0
              • S Offline
                sdetweil @bitfit2020
                last edited by Jan 24, 2021, 9:30 PM

                @bitfit2020 it gives u that control

                but glad u got it working

                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 @bitfit2020
                  last edited by sdetweil Jan 25, 2021, 1:47 AM Jan 25, 2021, 1:46 AM

                  @bitfit2020 i dont have a config in any of my scripts

                  i used the sample doing install,
                  config.js for upgrade
                  and no confug for the screen saver and pm2 scripts at the end

                  upgrade does what u are supposed to do manually, but breaks running systems with lots of none-base modules

                  upgrade tries to detect and fix the breakage

                  run 1st time it will just check if its possible upgrade would work

                  second time with ‘apply’ parm will do the upgrade process. a log is kept of the process

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

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