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.

    Updating 6db61b4..de57daa

    Scheduled Pinned Locked Moved Solved Troubleshooting
    26 Posts 9 Posters 10.3k Views 9 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.
    • idoodlerI Offline
      idoodler Module Developer @MWel1977
      last edited by

      @mwel1977 The vulnerabilities needs to be fixed by the module developer. Thats not your responsibility, you can just ignore them.

      Because of the Node.js version: You don’t have to update to a newer version of Node.js. Latest isn’t always the greatest, there are some known compatibility issues with v11.

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

        this one helped me:

        https://forum.magicmirror.builders/topic/4418/update/3

        1 Reply Last reply Reply Quote 0
        • ScrewyoudriverS Offline
          Screwyoudriver
          last edited by

          I renamed the old folder and did a fresh installation. Half an hour of work if you use the old config and css.

          1 Reply Last reply Reply Quote 0
          • I Offline
            icephreaq
            last edited by

            I do have an active internet connection. I typically admin my mirror through SSH from a separate Linux machine and I’m able to connect to the mirror and update other items without issue. git status gives the following.

            On branch master
            Your branch is behind 'origin/master' by 124 commits, and can be fast-forwarded.
              (use "git pull" to update your local branch)
            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:   fonts/package-lock.json
            	modified:   package-lock.json
            	modified:   package.json
            	modified:   vendor/package-lock.json
            
            Untracked files:
              (use "git add <file>..." to include in what will be committed)
            
            	core
            	nohup.out
            
            no changes added to commit (use "git add" and/or "git commit -a")
            
            bheplerB 1 Reply Last reply Reply Quote 0
            • bheplerB Offline
              bhepler Module Developer @icephreaq
              last edited by bhepler

              @icephreaq - Give this a try:

              cd ~/MagicMirror
              git stash
              git pull
              npm install
              

              Also, @costascontis - You shouldn’t run the git commands as sudo. You may end up screwing up your permissions on the files pulled down from git.

              1 Reply Last reply Reply Quote 0
              • I Offline
                icephreaq
                last edited by

                I ended up removing all instances of package-lock.json and ran git pull and was able to successfully update. Thanks for everyone’s input on this!

                1 Reply Last reply Reply Quote 1
                • M Offline
                  MWel1977 @idoodler
                  last edited by

                  @idoodler Okay. Thanks for that answer! hehehehe…
                  Anyway my MM2 is working like it should be after I moved that folder and did the git pull again.
                  But about the steps to take on how to update a module or a dependency or Node.js in my case… is that written down somewere here on the forum?
                  Like… all the steps someone needs to take in order to keep MM2 in shape?

                  D 1 Reply Last reply Reply Quote 0
                  • D Offline
                    dazza120 @MWel1977
                    last edited by

                    @mwel1977 get yourself MMM-RemoteControl and MMM-RemoteRepositories to get those modules updated easily, it will check through them and update automagically when you go into the html page

                    M 1 Reply Last reply Reply Quote 0
                    • M Offline
                      MWel1977 @dazza120
                      last edited by

                      @dazza120 Thanks for the tip!
                      Downside of that is that I don’t learn how things work.
                      Doing it myself (with some help of you all wonderfull people here) is the best way of learning things.
                      I do have SSH setup so I can dail in via my smartphone…but first I need to get better in the commandline commands.

                      D 1 Reply Last reply Reply Quote 0
                      • D Offline
                        dazza120 @MWel1977
                        last edited by

                        @mwel1977 I use VNC on my Pi to connect to it then terminal and just install those like you would any module then edit the config file, then just log into the html page which would be the address of your device xxxxxx:8080/remote.html
                        and that’s the rest of the magic is done on that webpage

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