MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    updating without losing settings in config, and js files?

    General Discussion
    4
    5
    4269
    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
      navyvette87 last edited by

      I just updated today and had to reset all the screen adjustments I had set during build. Is there a way to do the update without it changing the files back to default?

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

        Do all of your editing, configuration and addition of new modules in the MagicMirror/config/config.js file.
        Did you modify each module’s javascript file separately?

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

        N 1 Reply Last reply Reply Quote 0
        • N
          navyvette87 @Cyberwrights last edited by

          @Cyberwrights mine is highly modified. Pretty much every character is changed in some way.

          N 1 Reply Last reply Reply Quote 0
          • N
            ninjabreadman @navyvette87 last edited by

            @navyvette87 @Cyberwrights is right, and where possible you should migrate your changes into config.js, custom.css, etc.

            When updating, git insists that your files not have changes that conflict with those of the repository. Use git stash as outlined here to store your local changes, pull updates from the repo, then restore your own changes.

            Problem with config or JavaScript? Copy/paste it into JSHint.
            Check out the detailed walkthroughs on install, config, modules, etc.

            1 Reply Last reply Reply Quote 2
            • MichMich
              MichMich Admin last edited by

              Just curious, why would you modify any file other than the config.js and the custom.css file?

              1 Reply Last reply Reply Quote 1
              • 1 / 1
              • First post
                Last post
              Enjoying MagicMirror? Please consider a donation!
              MagicMirror created by Michael Teeuw.
              Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy