MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    Automatic Updates

    General Discussion
    4
    9
    190
    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.
    • Cliff365
      Cliff365 last edited by

      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 Reply Quote 0
      • S
        sdetweil @Cliff365 last edited by

        @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

        Create a working config
        How to add modules

        Cliff365 1 Reply Last reply Reply Quote 0
        • Cliff365
          Cliff365 @sdetweil last edited by Cliff365

          @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 Reply Quote 0
          • S
            sdetweil @Cliff365 last edited by sdetweil

            @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

            Create a working config
            How to add modules

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

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

              Sam

              Create a working config
              How to add modules

              1 Reply Last reply Reply Quote 0
              • Cliff365
                Cliff365 @sdetweil last edited by

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

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

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

                  Sam

                  Create a working config
                  How to add modules

                  1 Reply Last reply Reply Quote 0
                  • B
                    bugsounet @Cliff365 last edited by

                    @cliff365 I have done a. Module for this 😉


                    I am not a reference in this forum
                    I am not a magician
                    I'm just a developer

                    Please DON'T ADS ANY of My Modules There !

                    Follow new support of 4th party modules on https://forum.bugsounet.fr

                    CFenner 1 Reply Last reply Reply Quote 0
                    • CFenner
                      CFenner @bugsounet last edited by

                      @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
                      • First post
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy