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

Troubles upgrading

Scheduled Pinned Locked Moved Troubleshooting
4 Posts 2 Posters 1.9k Views 2 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.
  • N Offline
    noelandrews
    last edited by Mar 4, 2018, 2:57 PM

    Hi all,
    Just setting up my second magic mirror, cloned the img on my SD card from my working mirror and all works great.
    Original install was following the raspberry pi 0 how to guide.

    Only thing I’m struggling with is how to update magic mirror.

    Original command that I think installed magicmirror was bash -c “$(curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh)”

    I’ve tried sudo apt-get update and sudo apt-get upgrade which did a whole bunch of stuff, seemed to complete successfully but I still have the MagicMirror2 update available message on the screen saying I’m 86 commits behind. (just realised I think those two commands update the system not magicmirror).

    Also tried git pull, that gives the error: The following untracked working tree files would be overwritten by merge:
    package-lock.json
    vendor/package-lock.json
    Please move or remove them before you can merge
    Aborting.

    Apologies if this is something really simple but any advice would be greatly appreciated.

    Thanks
    Noel

    E 1 Reply Last reply Mar 4, 2018, 3:25 PM Reply Quote 0
    • E Offline
      E3V3A @noelandrews
      last edited by E3V3A Mar 4, 2018, 3:27 PM Mar 4, 2018, 3:25 PM

      @noelandrews That’s correct.

      apt-get update        # Updates your system packages list to see what need to be upgraded 
      sudo apt-get upgrade  # Actually performs the update of the system packages
      
      cd ~/MagicMirror
      git pull              # update your MagicMirror
      

      The packages is not really code, just version info etc. Just delete and pull.

      PS. Make sure to backup you config.js file and other personalized module changes you have done, if any.

      "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 1
      • N Offline
        noelandrews
        last edited by Mar 4, 2018, 3:37 PM

        Worked perfectly thanks E3V3A :)

        Now to find out what improvements I can take advantage of in the new version!

        E 1 Reply Last reply Mar 4, 2018, 5:23 PM Reply Quote 0
        • E Offline
          E3V3A @noelandrews
          last edited by Mar 4, 2018, 5:23 PM

          @noelandrews No prob. Always glad I could be of help to someone else. So many have already helped me with all my own stupid questions…

          "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 1
          • 1 / 1
          1 / 1
          • First post
            1/4
            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