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

Unable to update

Scheduled Pinned Locked Moved Troubleshooting
15 Posts 6 Posters 7.7k Views 5 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.
  • C Offline
    cowboysdude Module Developer @Mykle1
    last edited by Jan 3, 2018, 12:21 AM

    @Mykle1 Yes that would be the easiest way to do it!

    1 Reply Last reply Reply Quote 0
    • E Offline
      eugenelai @Mykle1
      last edited by Jan 3, 2018, 12:24 AM

      @Mykle1

      that’s a good idea… Let me try that.

      Cheers for the help

      C 1 Reply Last reply Jan 3, 2018, 12:26 AM Reply Quote 1
      • C Offline
        cowboysdude Module Developer @eugenelai
        last edited by Jan 3, 2018, 12:26 AM

        @eugenelai It will save you endless headaches…

        E 1 Reply Last reply Jan 3, 2018, 6:26 AM Reply Quote 0
        • E Offline
          eugenelai @cowboysdude
          last edited by Jan 3, 2018, 6:26 AM

          @cowboysdude @Mykle1

          Well, tried renaming, then installing a new MagicMirro via git clone and then run npm install and its totally gone tits up.

          Ah well just going to wipe the SD card and start again. Thankfully have all my stuff backed up.

          1 Reply Last reply Reply Quote 0
          • K Offline
            kidddrock
            last edited by kidddrock Jan 3, 2018, 8:29 AM Jan 3, 2018, 8:28 AM

            Hopefully it’s not too late to help save you (and others) some time and worry.

            I just updated my install using ‘git pull && npm install’ and it actually aborts if it detects the update will overwrite files you’ve changed (pretty awesome feature imo).

            Also, you don’t need to copy your main folder or even move any files elsewhere - all you need to do is rename the files it says would be overwritten with the update, and you can leave them in the same folder.
            For instance, it said my main.css had changes and would be overwritten. I just renamed it to main2.css and left it where it was (and did similarly to a few other files).

            After updating to the latest MM, I just went to the css folder, opened up that file (sudo nano main2.css), then saved it overwriting the newly updated version (saved to main.css).
            That’s all I did for the few files I had customized and upon restart, all of my changes were present. Good luck!

            E 1 Reply Last reply Jan 3, 2018, 8:53 AM Reply Quote 0
            • F Offline
              fox
              last edited by Jan 3, 2018, 8:31 AM

              After every MagicMirror update i have to set up the MagicMirror from scratch.
              It crashed my system completely.
              So if you dont want to have hours of time and headache, simply do not update your system.
              I had the same problem when i did the last update.
              My journey yesterday

              Issues With MMM-WatchDog known?

              https://forum.magicmirror.builders/post/29827

              Useful for PIR-Sensor: https://forum.magicmirror.builders/post/21299

              1 Reply Last reply Reply Quote 0
              • E Offline
                eugenelai @kidddrock
                last edited by Jan 3, 2018, 8:53 AM

                @kidddrock said in Unable to update:

                Hopefully it’s not too late to help save you (and others) some time and worry.

                I just updated my install using ‘git pull && npm install’ and it actually aborts if it detects the update will overwrite files you’ve changed (pretty awesome feature imo).

                Also, you don’t need to copy your main folder or even move any files elsewhere - all you need to do is rename the files it says would be overwritten with the update, and you can leave them in the same folder.
                For instance, it said my main.css had changes and would be overwritten. I just renamed it to main2.css and left it where it was (and did similarly to a few other files).

                After updating to the latest MM, I just went to the css folder, opened up that file (sudo nano main2.css), then saved it overwriting the newly updated version (saved to main.css).
                That’s all I did for the few files I had customized and upon restart, all of my changes were present. Good luck!

                Actually it wasn’t a matter of overwriting files. That I could figure out. I couldn’t even do a git pull During the automatic installation a .git file wasn’t created or initialised. Worked out in the end thought… Just a massive ball ache.

                1 Reply Last reply Reply Quote 1
                • 1
                • 2
                • 2 / 2
                2 / 2
                • First post
                  13/15
                  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