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 without losing settings in config, and js files?

    Scheduled Pinned Locked Moved General Discussion
    5 Posts 4 Posters 4.9k Views 3 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
      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 Offline
        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 Offline
          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 Offline
            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
            • MichMichM Offline
              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 Sam, technical setup by Karsten.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy