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 46.6k 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.
    • MichMichM Offline
      MichMich
      last edited by

      In most cases it’s because the port is still in use. First thing to try if it fails to start after an update: reboot the pi.

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

        Power off & on restores VNC, and LAN access displaying MM. (Hurrah!).

        Pi. Electron window is black, but shows cursor.

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

          One more for blank screen, no joy after update per the instructions. Restarted MM using pm2, then rebooted the Pi. Ran the git reset --hard command, still nothing.

          MMM-GoogleAssistant
          MMM-Hue
          MMM-MyCommute
          MMM-Formula1
          MMM-SystemStats
          MMM-moon-phases

          1 Reply Last reply Reply Quote 0
          • N Offline
            NoNameRo
            last edited by

            for me it worked without problems as follows

            pm2 stop mm
            

            then

            git pull && npm install
            

            and then

            pm2 restart mm
            

            maybe it works for one or the other

            C 1 Reply Last reply Reply Quote 0
            • C Offline
              Cyberwrights @NoNameRo
              last edited by

              @NoNameRo Intuition tells me I should have stopped the service before applying the update, but unfortunately the instructions do not…

              MMM-GoogleAssistant
              MMM-Hue
              MMM-MyCommute
              MMM-Formula1
              MMM-SystemStats
              MMM-moon-phases

              1 Reply Last reply Reply Quote 0
              • N Offline
                NoNameRo
                last edited by

                I do not know if it is absolutely necessary to stop the service, for me it was obvious to do it

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

                  Perhaps try stopping all instances of electron and node.

                  Stop pm2

                  Then try the install again.

                  Reboot the Pi.

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

                    Could everyone state what version of node you are running? (And if it works or not).

                    H 1 Reply Last reply Reply Quote 0
                    • H Offline
                      Harry @MichMich
                      last edited by

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

                      Could everyone state what version of node you are running? (And if it works or not).

                      Mine is v6.12.3
                      Not working…

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

                        Node version = v6.9.5

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

                          v6.12.3
                          Not working

                          btw that command if anyone else needs to look it up is just
                          $ node -v

                          MMM-GoogleAssistant
                          MMM-Hue
                          MMM-MyCommute
                          MMM-Formula1
                          MMM-SystemStats
                          MMM-moon-phases

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

                            I am on v6.12.3

                            And not working when I update npm install

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

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

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

                              Perhaps try stopping all instances of electron and node.

                              Stop pm2

                              Then try the install again.

                              Reboot the Pi.

                              Tried this, same result. Blank mirror although pm2 reports it is online.

                              MMM-GoogleAssistant
                              MMM-Hue
                              MMM-MyCommute
                              MMM-Formula1
                              MMM-SystemStats
                              MMM-moon-phases

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

                                Working on node version 6.13.1

                                I think I can see where this is going… The blank screen is the mirror running, but there could be an issue with loading the page data? …

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

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

                                  v6.12.3
                                  Not working

                                  btw that command if anyone else needs to look it up is just
                                  $ node -v

                                  @Cyberwrights thanks for that … I just used ‘dpkg -l | grep ii | less’, and that took forever to find node … lol

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

                                    My first thought there is an issue with electron. Looking into it.

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

                                      Could someone try the following in the MagicMirror folder:

                                      npm install electron@1.4.15
                                      

                                      If this works, please state your Node version as well. (node -v)

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

                                            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
                                            • 1 / 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