• 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
328 Posts 27 Posters 618.2k Views 24 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 @sdetweil
    last edited by Oct 8, 2019, 4:51 PM

    @sdetweil a few days ago I copied the image from a flash drive, now I restored it and everything repeats, again these files that he asks to save or not … if you say yes, the update does not work, if you say no then the mirror stops working

    S 1 Reply Last reply Oct 8, 2019, 4:54 PM Reply Quote 0
    • S Offline
      sdetweil @bobwilliams
      last edited by Oct 8, 2019, 4:54 PM

      @bobwilliams i need to see the MagicMirror/installers/upgrade.log…

      and also, open the developers window (ctrl-shift-i) and select the tab labebed ‘console’ and scroll up to find any errors…

      also the pm2.log

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      B 2 Replies Last reply Oct 8, 2019, 5:07 PM Reply Quote 0
      • B Offline
        bobwilliams @sdetweil
        last edited by Oct 8, 2019, 5:07 PM

        @sdetweil ok try to do tomorrow, today was a hard day very tired

        1 Reply Last reply Reply Quote 0
        • B Offline
          bobwilliams @sdetweil
          last edited by Oct 10, 2019, 4:22 PM

          @sdetweil Everything has appeared to be simpler than we thought. I moved the files which were the obstacle on the way of working of your script to another folder, then updated the mirror using your script. After that I moved those files back and now mirror is working.

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

            @bobwilliams What files? My script should handle it. So I want to understand.

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            B 1 Reply Last reply Oct 10, 2019, 4:34 PM Reply Quote 0
            • B Offline
              bobwilliams @sdetweil
              last edited by Oct 10, 2019, 4:34 PM

              @sdetweil /MagicMirror/installers/mm.sh
              /MagicMirror/modules/default/calendar/calendar.js
                /MagicMirror/modules/default/currentweather/currentweather.js
              /MagicMirror/modules/default/weather/weather.js /MagicMirror/modules/default/weatherforecast/weatherforecast.js
              /MagicMirror/package-lock.json
              /MagicMirror/run-start.sh
              when updating, your script asked to save these files or not. if I wrote yes, it was not updated, if I wrote no, the update went fine but the mirror stopped working. I just moved these files, updated the mirror, and put them back in place. and the mirror works

              S 1 Reply Last reply Oct 10, 2019, 4:52 PM Reply Quote 0
              • S Offline
                sdetweil @bobwilliams
                last edited by sdetweil Oct 10, 2019, 4:55 PM Oct 10, 2019, 4:52 PM

                @bobwilliams Ok. I put a fix in for Save=yes. Save=No should replace them w local repo version…and then upgrade.

                Will have to build test. Really want to see the upgrade log, and pm2 logs for why it stoppexy

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                B 1 Reply Last reply Oct 10, 2019, 5:33 PM Reply Quote 0
                • B Offline
                  bobwilliams @sdetweil
                  last edited by Oct 10, 2019, 5:33 PM

                  @sdetweil sent by mail

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

                    @bobwilliams got them thanks… you didn’t happen to save that ‘failing’ MagicMirror folder did you?

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    B 2 Replies Last reply Oct 11, 2019, 9:12 AM Reply Quote 0
                    • B Offline
                      bobwilliams @sdetweil
                      last edited by Oct 11, 2019, 9:12 AM

                      @sdetweil no, it didn’t work out

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 13
                      • 14
                      • 15
                      • 16
                      • 17
                      • 32
                      • 33
                      • 15 / 33
                      15 / 33
                      • First post
                        150/328
                        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