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

new update/upgrade script, ready for testing

Scheduled Pinned Locked Moved General Discussion
325 Posts 26 Posters 513.7k Views 23 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.
  • B Offline
    bobwilliams
    last edited by Oct 6, 2019, 2:16 PM

    pi@raspberrypi:~/MagicMirror $ git status
    On branch master
    Your branch is behind ‘origin/master’ by 2715 commits, and can be fast-forwarded.
    (use “git pull” to update your local branch)

    Untracked files:
    (use “git add …” to include in what will be committed)

        $
        0
        installers/dumpactivemodules.js
        installers/mm_temp.sh
        installers/pm2_MagicMirror_new.json
        installers/startMagicMirror.sh
        installers/stashed_files
        xdotool.sh
    

    nothing added to commit but untracked files present (use “git add” to track)
    pi@raspberrypi:~/MagicMirror $ git -c user.name=upgrade_script -c user.email=script@upgrade.com stash pop
    On branch master
    Your branch is behind ‘origin/master’ by 2715 commits, and can be fast-forwarded.
    (use “git pull” to update your local branch)

    Changes not staged for commit:
    (use “git add …” to update what will be committed)
    (use “git checkout – …” to discard changes in working directory)

        modified:   installers/mm.sh
        modified:   modules/default/calendar/calendar.js
        modified:   modules/default/currentweather/currentweather.js
        modified:   modules/default/weather/weather.js
        modified:   modules/default/weatherforecast/weatherforecast.js
        modified:   package-lock.json
        modified:   run-start.sh
    

    Untracked files:
    (use “git add …” to include in what will be committed)

        $
        0
        installers/dumpactivemodules.js
        installers/mm_temp.sh
        installers/pm2_MagicMirror_new.json
        installers/startMagicMirror.sh
        installers/stashed_files
        xdotool.sh
    

    no changes added to commit (use “git add” and/or “git commit -a”)
    Dropped refs/stash@{0} (83cd0d8b2b4ace83bbebb79d03b3d7456a861583)
    pi@raspberrypi:~/MagicMirror $ git status
    On branch master
    Your branch is behind ‘origin/master’ by 2715 commits, and can be fast-forwarded.
    (use “git pull” to update your local branch)

    Changes not staged for commit:
    (use “git add …” to update what will be committed)
    (use “git checkout – …” to discard changes in working directory)

        modified:   installers/mm.sh
        modified:   modules/default/calendar/calendar.js
        modified:   modules/default/currentweather/currentweather.js
        modified:   modules/default/weather/weather.js
        modified:   modules/default/weatherforecast/weatherforecast.js
        modified:   package-lock.json
        modified:   run-start.sh
    

    Untracked files:
    (use “git add …” to include in what will be committed)

        $
        0
        installers/dumpactivemodules.js
        installers/mm_temp.sh
        installers/pm2_MagicMirror_new.json
        installers/startMagicMirror.sh
        installers/stashed_files
        xdotool.sh
    

    no changes added to commit (use “git add” and/or “git commit -a”)
    pi@raspberrypi:~/MagicMirror $

    S 1 Reply Last reply Oct 6, 2019, 2:27 PM Reply Quote 0
    • S Offline
      sdetweil @bobwilliams
      last edited by Oct 6, 2019, 2:27 PM

      @bobwilliams fabulous!!

      so the ‘problem’ was that there were modified files found…
      you asked to save them, but the save command (stash) failed, because it needed some additional info
      so the files weren’t merged, and then we reinstalled the currently downloaded version (2.8.0)
      I didn’t detect that, i do now

      so, when u have time, please retry the upgrade script.

       bash -c  "$(curl -sL https://www.dropbox.com/s/lxzwyzohg61sppu/upgrade-script.sh?dl=0)" apply
      

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • B Offline
        bobwilliams
        last edited by Oct 6, 2019, 2:29 PM

        thanks, I’ll try now

        1 Reply Last reply Reply Quote 0
        • B Offline
          bobwilliams
          last edited by Oct 6, 2019, 3:02 PM

          a lot of mistakes and the mirror stopped showing

          S 1 Reply Last reply Oct 6, 2019, 3:03 PM Reply Quote 0
          • S Offline
            sdetweil @bobwilliams
            last edited by Oct 6, 2019, 3:03 PM

            @bobwilliams can u send me the log ? same userid as here on gmail

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • B Offline
              bobwilliams
              last edited by Oct 6, 2019, 3:20 PM

              where to send? here does not let me write writes that spam

              S 1 Reply Last reply Oct 6, 2019, 3:22 PM Reply Quote 0
              • S Offline
                sdetweil @bobwilliams
                last edited by Oct 6, 2019, 3:22 PM

                @bobwilliams my userid (sdetweil) at gmail (.com)

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                B 1 Reply Last reply Oct 6, 2019, 3:28 PM Reply Quote 0
                • B Offline
                  bobwilliams @sdetweil
                  last edited by Oct 6, 2019, 3:28 PM

                  @sdetweil sort of sent))))

                  S 1 Reply Last reply Oct 6, 2019, 3:28 PM Reply Quote 0
                  • S Offline
                    sdetweil @bobwilliams
                    last edited by Oct 6, 2019, 3:28 PM

                    @bobwilliams got it… looking…

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    S 1 Reply Last reply Oct 6, 2019, 3:34 PM Reply Quote 0
                    • S Offline
                      sdetweil @sdetweil
                      last edited by Oct 6, 2019, 3:34 PM

                      @sdetweil can u show me the output of

                      uname -m
                      

                      thanks
                      this appears to be a pi 0, correct?

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 8
                      • 9
                      • 10
                      • 11
                      • 12
                      • 32
                      • 33
                      • 10 / 33
                      10 / 33
                      • First post
                        91/325
                        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