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 update module by notification

    Scheduled Pinned Locked Moved Unsolved Requests
    12 Posts 6 Posters 2.6k Views 7 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.
    • karsten13K Offline
      karsten13 @bdream
      last edited by

      @bdream said in automatic update module by notification:

      I would prefer having an automatic to update in case it’s notified.

      option1: Adding a new paramter “forceUpdate” to the notification module so that it does the update instead of the notification (someone has to code this)

      option2: Write a bash script which iterates over the module folders doing something like this (in every module folder)

      git reset --hard
      git pull
      [ -f "package.json" ] && npm install
      

      This script should be executed e.g. daily by e.g. a cronjob.

      As Sam already mentioned this would be the hard way, may its better not to change a running system and ignore the notification, your decision.

      1 Reply Last reply Reply Quote 1
      • M Offline
        MMRIZE
        last edited by

        I recommend not updating MM or modules unless they work. Just leave them. Update them only when you find some issue or need a new feature.

        B 1 Reply Last reply Reply Quote 1
        • B Offline
          bdream @MMRIZE
          last edited by

          @MMRIZE @sdetweil @bhepler @karsten13
          many thanks for your comments, I really appreciate it!

          At first I will disable notification at my mothers MM. Hope there will not be a secure issue I oversee than. But it will anyway be an small one in my mothers environment.

          For me I will play with “play” with the other options you mentioned and will see if this works for a longer time in a good way ;)

          –
          cheers, bdream

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

            @bdream I use TeamViewer to remote access

            install server, start, get code

            then client requires code

            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 @bdream
              last edited by

              @bdream , Hi it’s already coded since some year but not published in this forum :beaming_face_with_smiling_eyes:

              B 1 Reply Last reply Reply Quote -1
              • B Offline
                bdream @bugsounet
                last edited by

                @bugsounet sounds good!

                What is the midules name please?

                –
                cheers, bdream

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