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 941 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.
    • Cliff365C Offline
      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 Away
        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

        How to add modules

        learning how to use browser developers window for css changes

        Cliff365C 1 Reply Last reply Reply Quote 0
        • Cliff365C Offline
          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 bugsounetB 3 Replies Last reply Reply Quote 0
          • S Away
            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

            How to add modules

            learning how to use browser developers window for css changes

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

              @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
              • Cliff365C Offline
                Cliff365 @sdetweil
                last edited by

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

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

                  @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
                  • bugsounetB Offline
                    bugsounet Banned @Cliff365
                    last edited by

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

                    CFennerC 1 Reply Last reply Reply Quote 0
                    • CFennerC Offline
                      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 Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy