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 47.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.
    • H Offline
      Harry @MichMich
      last edited by Harry

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

      npm install electron@1.4.15

      pi@ham-raspi:~/MagicMirror $ npm install electron@1.4.15

      electron@1.4.15 postinstall /home/pi/MagicMirror/node_modules/electron
      node install.js

      • @types/node@8.10.1 node_modules/@types/node
        magicmirror@2.3.0 /home/pi/MagicMirror
        └── electron@1.4.15 invalid

      Node v6.12.3

      1 Reply Last reply Reply Quote 0
      • MichMichM Offline
        MichMich
        last edited by

        Uhhmm… thats odd. It’s just a command to downgrade electron.

        1 Reply Last reply Reply Quote 0
        • MichMichM Offline
          MichMich
          last edited by

          It seems to fix the issue for others. Not sure why you are unable to downgrade electron.
          https://github.com/MichMich/MagicMirror/issues/1243

          Could you reboot and try again @harry?

          H C 2 Replies Last reply Reply Quote 1
          • H Offline
            Harry @MichMich
            last edited by

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

            It seems to fix the issue for others. Not sure why you are unable to downgrade electron.
            https://github.com/MichMich/MagicMirror/issues/1243

            Could you reboot and try again @harry?

            Yep. Reboot helped.
            Rebooted, stopped MagicMirror and then the downgrade worked.
            MagicMirror is up and running again!

            Thanks a lot!

            1 Reply Last reply Reply Quote 0
            • C Offline
              chef @MichMich
              last edited by

              @MichMich well-done.

              1 Reply Last reply Reply Quote 0
              • M Offline
                Montanaro
                last edited by

                Solution in this thread https://github.com/MichMich/MagicMirror/issues/1243

                in MagicMirror Folder

                npm install electron@1.4.15
                
                1 Reply Last reply Reply Quote 1
                • E Offline
                  E3V3A @NoNameRo
                  last edited by

                  @NoNameRo

                  You guys should probaly do pm2 stop mm; pm2 kill to make sure it’s not running in the background.

                  Also, AFAIK, I think if you do git reset --hard you’d loose all your old config settings and other changes you’ve made?

                  "Everything I do (here) is for free – altruism is the way!"
                  MMM-FlightsAbove, MMM-Tabulator, MMM-Assistant (co-maintainer)

                  MichMichM 1 Reply Last reply Reply Quote 1
                  • MichMichM Offline
                    MichMich @E3V3A
                    last edited by

                    @E3V3A The Config & Modules folder are not part of the Git repro. All other changes are overwritten.

                    1 Reply Last reply Reply Quote 2
                    • MichMichM Offline
                      MichMich
                      last edited by

                      I’ve released an update: https://github.com/MichMich/MagicMirror/releases/tag/v2.3.1

                      C 1 Reply Last reply Reply Quote 0
                      • E Offline
                        E3V3A
                        last edited by

                        Just to say it…
                        It seem that many people having problems, are running something out dated.
                        Either: nodejs, npm, or pm2.

                        Because of the incredible dependency chain involved for node packages, I can only assume that using a newer versions of one package, will also require a newer version of the package depending on it, and possibly vice versa. Of course when things are working, it all beautiful, but it seem very easy that it doesn’t.

                        "Everything I do (here) is for free – altruism is the way!"
                        MMM-FlightsAbove, MMM-Tabulator, MMM-Assistant (co-maintainer)

                        1 Reply Last reply Reply Quote 0
                        • C Offline
                          Charley Module Developer
                          last edited by

                          Just updated the new repo.

                          It’s alive again.

                          Thanks great job

                          MMM-Bose-Soundtouch, MMM-Domoticz, MMM-crypto-portfolio, MMM-Fibaro, MMM-rain-forecast

                          1 Reply Last reply Reply Quote 0
                          • C Offline
                            chef @MichMich
                            last edited by

                            @MichMich Thanks very much for the easter gift!

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

                              Installed MM2.3.1, still got black screen
                              Installed earlier version electron, still got black screen.

                              Shutdown and restarted.

                              Now nothing on :8080 either :(

                              MichMichM S 2 Replies Last reply Reply Quote 0
                              • MichMichM Offline
                                MichMich @Richard238
                                last edited by

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

                                R 1 Reply Last reply Reply Quote 0
                                • S Offline
                                  surger13 Project Sponsor @Richard238
                                  last edited by

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

                                  Installed MM2.3.1, still got black screen
                                  Installed earlier version electron, still got black screen.

                                  Shutdown and restarted.

                                  Now nothing on :8080 either :(

                                  Same with me. I was not at home over Easter, had switched off the raspberry 3 days. Launched yesterday and just a black screen. :(
                                  After that I read this with the new update and executed it, unfortunately without any changes. The downgrade of electron described above also brought no change. Still a black screen and no display via ip:8080.

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

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

                                    MichMichM R 2 Replies Last reply Reply Quote 0
                                    • MichMichM Offline
                                      MichMich @Richard238
                                      last edited by

                                      I’ll live with that until the electron black screen issue is resolved.

                                      It is resolved in V2.3.1

                                      1 Reply Last reply Reply Quote 0
                                      • S Offline
                                        surger13 Project Sponsor
                                        last edited by

                                        Hello,
                                        I can’t get it to work anymore. :-(
                                        have meanwhile updated the Raspi including firmware. MagicMirror directory renamed and reinstalled.
                                        After booting only a black screen.

                                        Does that mean anything to anyone?

                                        pi@ftpi:~/MagicMirror $ npm start
                                        
                                        > magicmirror@2.3.1 start /home/pi/MagicMirror
                                        > sh run-start.sh
                                        
                                        
                                        npm ERR! Linux 4.14.32-v7+
                                        npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "start"
                                        npm ERR! node v6.14.1
                                        npm ERR! npm  v3.10.10
                                        npm ERR! code ELIFECYCLE
                                        npm ERR! magicmirror@2.3.1 start: `sh run-start.sh`
                                        npm ERR! Exit status 1
                                        npm ERR!
                                        npm ERR! Failed at the magicmirror@2.3.1 start script 'sh run-start.sh'.
                                        npm ERR! Make sure you have the latest version of node.js and npm installed.
                                        npm ERR! If you do, this is most likely a problem with the magicmirror package,
                                        npm ERR! not with npm itself.
                                        npm ERR! Tell the author that this fails on your system:
                                        npm ERR!     sh run-start.sh
                                        npm ERR! You can get information on how to open an issue for this project with:
                                        npm ERR!     npm bugs magicmirror
                                        npm ERR! Or if that isn't available, you can get their info via:
                                        npm ERR!     npm owner ls magicmirror
                                        npm ERR! There is likely additional logging output above.
                                        
                                        npm ERR! Please include the following file with any support request:
                                        npm ERR!     /home/pi/MagicMirror/npm-debug.log
                                        pi@ftpi:~/MagicMirror $
                                        
                                        
                                        E 1 Reply Last reply Reply Quote 0
                                        • E Offline
                                          E3V3A @surger13
                                          last edited by

                                          @surger13 Did you read the text?
                                          Make sure you have the latest version of node.js and npm installed.
                                          – That’s exactly what it means.

                                          "Everything I do (here) is for free – altruism is the way!"
                                          MMM-FlightsAbove, MMM-Tabulator, MMM-Assistant (co-maintainer)

                                          S 1 Reply Last reply Reply Quote 0
                                          • S Offline
                                            surger13 Project Sponsor @E3V3A
                                            last edited by

                                            @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

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 3 / 3
                                            • 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