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

Automatic Updates

Scheduled Pinned Locked Moved General Discussion
9 Posts 4 Posters 1.1k Views 5 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.
  • C Offline
    Cliff365
    last edited by Jan 17, 2022, 11:43 PM

    I’m running MagicMirror using pm2 if that matters. What I am looking for, if it’s possible, is some way to update MagicMirror and modules on startup. Is such a thing possible, or even desirable?

    S 1 Reply Last reply Jan 17, 2022, 11:55 PM Reply Quote 0
    • S Offline
      sdetweil @Cliff365
      last edited by Jan 17, 2022, 11:55 PM

      @cliff365 there is no auto update that I am aware of, and based on the changes in the last few releases I would not want this.

      lots of work has gone into building a system that does what you want…

      I personally would not be excited to have it crash after an update…

      thats why my upgrade script is a two pass approach… test on first pass, identify any issues that need to be resolved,

      make changes on second pass

      pi0w got whacked this release, as we need a new node level, but its not available on pi0w…(easily)
      and then electron is not available, so I have been setting you chromium over server mode…
      now chromium (and firefox) are permanently busted on pi0w… have to install a downlevel chromium to get something to work

      some of the network security stuff is impacts, cross origin restrictions (CORS) are affecting modules now…
      some that are used frequently but haven’t been maintained…

      MM ships a new release every 90 days… thats a LOT of churn (aka work) you may not need or want

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      C 1 Reply Last reply Jan 18, 2022, 12:08 AM Reply Quote 0
      • C Offline
        Cliff365 @sdetweil
        last edited by Cliff365 Jan 18, 2022, 12:08 AM Jan 18, 2022, 12:08 AM

        @sdetweil Thanks for the quick reply. I use your upgrade script and it is nothing short of amazing. I’ll take your advice and do updates with the script.

        The problem I constantly battle is pm2 is just a little aggressive on restarting MM, and it takes me many tries to finally do a ‘pm2 stop all’ so I can have a command line. I wish I knew how to increase the time for pm2 restarts.

        S B 3 Replies Last reply Jan 18, 2022, 12:09 AM Reply Quote 0
        • S Offline
          sdetweil @Cliff365
          last edited by sdetweil Jan 18, 2022, 12:13 AM Jan 18, 2022, 12:09 AM

          @cliff365 just minimize the screen

          alt-spacebar, n

          and open a terminal window

          ctrl-alt-t

          or use ssh, from your pc or phone, so you don’t need to do that

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          C 1 Reply Last reply Jan 18, 2022, 12:14 AM Reply Quote 0
          • S Offline
            sdetweil @Cliff365
            last edited by Jan 18, 2022, 12:10 AM

            @cliff365 pm2’s JOB is to restart the apps it manages…

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • C Offline
              Cliff365 @sdetweil
              last edited by Jan 18, 2022, 12:14 AM

              @sdetweil I did not know that was possible. Another thanks!

              S 1 Reply Last reply Jan 18, 2022, 12:15 AM Reply Quote 0
              • S Offline
                sdetweil @Cliff365
                last edited by Jan 18, 2022, 12:15 AM

                @cliff365 magicmirror is just a full screen app, running in a normal browser

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • B Offline
                  bugsounet Banned @Cliff365
                  last edited by Jan 18, 2022, 9:10 AM

                  @cliff365 I have done a. Module for this ;)

                  C 1 Reply Last reply Jan 19, 2022, 1:59 PM Reply Quote 0
                  • C Offline
                    CFenner @bugsounet
                    last edited by Jan 19, 2022, 1:59 PM

                    @bugsounet said in Automatic Updates:

                    @cliff365 I have done a. Module for this ;)

                    Would be nice to have repository specific auto update functionality in the default module.

                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    1 / 1
                    • First post
                      1/9
                      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