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.

    upgrading to latest MM version

    Scheduled Pinned Locked Moved Solved Troubleshooting
    18 Posts 2 Posters 3.6k 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.
    • S Offline
      sdetweil @JMac
      last edited by

      @JMac yes, run the apply version

      things will be ok

      always backup first

      https://github.com/sdetweil/MagicMirror-backup-restore

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • J Offline
        JMac
        last edited by

        out of curiosity, what would I do if I needed to retrieve the back up, do I need a GitHub account?

        S 2 Replies Last reply Reply Quote 0
        • S Offline
          sdetweil @JMac
          last edited by

          @JMac it depends on what you want to do
          if you are just upgrading MM and don’t expect any sd card or OS issues
          – no ‘need’ to copy
          otherwise
          – at minimum you can copy the ~/MM-backup folder to some other media

          if you want you can use a githib PRIVATE repo for that
          (private only because it contains private info)
          its free, just takes a login and create a repo

          then use the repo name in the backup
          (git will prompt for the password, not my code)

          by using git and github, i also version the backup too(using git tags)
          so todays may be different than yesterday or last week…
          you can restore ANY of those…
          (and you didn’t lose a usb stick, or sd card… or whatever)
          (AND you can tell the difference between versions)

          the MM source is also tagged (git term for labeled) at each release,
          so we can get bback there pretty easily

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          J 1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @JMac
            last edited by

            @JMac to restore, you run the restore script . it takes parameters to tell it what to do

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • J Offline
              JMac @sdetweil
              last edited by

              @sdetweil This is useful to know.

              Just add, I’ve had the same Issue as the last MM update, Calendar EXT3 is no longer pulling information from the base calendar module.

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @JMac
                last edited by

                @JMac did you put on the fix

                see https://forum.magicmirror.builders/topic/19282/version-2-30-0-calendar-fix-for-clipping-broadcast-events

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                J 2 Replies Last reply Reply Quote 0
                • J Offline
                  JMac @sdetweil
                  last edited by JMac

                  @sdetweil I hadn’t seen that, I was about to update the module individually then do some digging on here to see if others had had the issue.

                  do I use the list of commands in the link above, or the ones in this link?
                  https://forum.magicmirror.builders/topic/14327/testing-new-fixes-or-solving-current-problems-with-next-release-code

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    JMac @sdetweil
                    last edited by

                    @sdetweil I’ve hit this at the 3 command,
                    MagicMirror@raspberrypi:~/MagicMirror $ git switch _fix_clipping
                    error: Your local changes to the following files would be overwritten by checkout:
                    package-lock.json
                    Please commit your changes or stash them before you switch branches.
                    Aborting

                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @JMac
                      last edited by

                      @JMac rm package-lock.json

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      J 1 Reply Last reply Reply Quote 0
                      • J Offline
                        JMac @sdetweil
                        last edited by JMac

                        @sdetweil do I run that in just the MagicMirror directory or the Calendar EXT3 module directory?

                        Below was your guidance from another of my topics with issues with this module, will it work?

                        (#)put package-lock.json back to last git clone state
                        git reset package-lock.json
                        (#) update the module
                        git pull
                        (#) rerun npm install with new code
                        npm install

                        had to put the # in () to stop the font going enormous

                        S 1 Reply Last reply Reply Quote 0
                        • S Offline
                          sdetweil @JMac
                          last edited by

                          @JMac in the folder you are in!

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          J 1 Reply Last reply Reply Quote 0
                          • J Offline
                            JMac @sdetweil
                            last edited by

                            @sdetweil
                            MagicMirror@raspberrypi:~/MagicMirror $ rm package-lock.json
                            rm: cannot remove ‘package-lock.json’: No such file or directory

                            guessing I’m not doing this right

                            S 1 Reply Last reply Reply Quote 0
                            • S Offline
                              sdetweil @JMac
                              last edited by

                              @JMac but your prior message said

                              
                              @sdetweil I’ve hit this at the 3 command,
                              MagicMirror@raspberrypi:~/MagicMirror $ git switch _fix_clipping
                              error: Your local changes to the following files would be overwritten by checkout:
                              
                              package-lock.json
                              
                              Please commit your changes or stash them before you switch branches.
                              Aborting
                              

                              so it HAS to be there
                              ls and see if you see it
                              once you have it so it is NOT there
                              then do the switch again

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

                              J 1 Reply Last reply Reply Quote 0
                              • J Offline
                                JMac @sdetweil
                                last edited by

                                @sdetweil
                                getting this now,
                                MagicMirror@raspberrypi:~/MagicMirror $ git switch _fix_clipping
                                Already on ‘_fix_clipping’

                                so assuming I can now restart mm?

                                S 1 Reply Last reply Reply Quote 0
                                • S Offline
                                  sdetweil @JMac
                                  last edited by

                                  @JMac correct, thats what the instructions say

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

                                  J 1 Reply Last reply Reply Quote 0
                                  • J Offline
                                    JMac @sdetweil
                                    last edited by JMac

                                    @sdetweil restarted the MM with PM2, still no info being displayed in the CalendarEXT3 module.

                                    edit to add, after letting the mirror settle down, it’s now pulling the data

                                    S 1 Reply Last reply Reply Quote 0
                                    • S Offline
                                      sdetweil @JMac
                                      last edited by sdetweil

                                      @JMac Ext3 tries NOT to to flash on every update so the screen doesn’t flicker

                                      he has parameters you can change to adjust the timing

                                      the base cal module does take a little longer to process large calendars

                                      Sam

                                      How to add modules

                                      learning how to use browser developers window for css changes

                                      1 Reply Last reply Reply Quote 0
                                      • S sdetweil has marked this topic as solved on

                                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                      With your input, this post could be even better 💗

                                      Register Login
                                      • 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