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.

    Module update

    Scheduled Pinned Locked Moved Troubleshooting
    update module
    5 Posts 2 Posters 25.8k 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.
    • M Offline
      MM-Hans
      last edited by

      I’m afraid this is a newbie question but after long time searching and nothing found I need to ask. My MagicMirror shows there is an update for the MMM-Traffic module but I don’t know how to update this module. Does anyone have an advice or the correct SSH command to update?

      1 Reply Last reply Reply Quote 0
      • Nystro0mN Offline
        Nystro0m
        last edited by Nystro0m

        Navigate to your module folder:
        § cd ~/MagicMirror/modules/MMM-Traffic
        use command to pull new git from:
        § git pull

        If you are experiencing the following message “your local changes to the following files would be overwritten by merge” because you have done local edits run this before (NOTE! backup the files you have edited in case you will need to pull some edits back, for exampel the CSS file if you have customized the look of the module:
        § git reset --hard

        Im not sure but someone can please correct me in on this one:
        Sometime you will need to install after git pull by:
        § npm install
        (This also inside the module folder)

        Is not needed, edited out

        1 Reply Last reply Reply Quote 4
        • M Offline
          MM-Hans
          last edited by

          Thank you for your advice, after following your instructions (git pull AND npm install) everything looks okay now and my mirror is up to date :-)

          Nystro0mN 1 Reply Last reply Reply Quote 0
          • Nystro0mN Offline
            Nystro0m @MM-Hans
            last edited by

            @MM-Hans I have updated my post, npm install is not needed. Also added some more information that you may need to now.

            M 1 Reply Last reply Reply Quote 0
            • M Offline
              MM-Hans @Nystro0m
              last edited by

              @Nystro0m Thanks again!

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