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.

    trouble updating module

    Scheduled Pinned Locked Moved Solved Troubleshooting
    17 Posts 2 Posters 1.9k Views 2 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.
    • S Offline
      sdetweil @pat59
      last edited by sdetweil

      @pat59 right something editing package.json and modules.json

      can you do
      git diff > somefile.txt

      it will list the changes

      post so i can see

      but most likely we will do on my scripts, do NOT save those files, and the originsls will be restored

      or the brute force way

      git reset  --hard HEAD
      

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • P Offline
        pat59
        last edited by sdetweil

        patrick@raspberrypi:~ $ git diff >somefile.txt
        warning: Pas un dépôt git. Utilisez --no-index pour comparer deux chemins hors d’un arbre de travail
        usage : git diff --no-index []

        patrick@raspberrypi:~ $

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

          @pat59 you must be in the module folder, same as when trying to update

          please

          cd ~/MagicMirror/modules/MMM-RemoteControl
          git diff >somefile.txt
          

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • P Offline
            pat59
            last edited by

            20241010_132427.jpg

            nothing happens attached
            the photo
            THANKS

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

              @pat59 yes, the output has been sent to the file somefile.txt

              please paste its content here

              in linux the ‘rule’ is, if all is ok, produce no output… this was set when systems were connected over slow phone lines with modems… so no output was better than waiting to read all was good.

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • P Offline
                pat59
                last edited by

                I copy paste the file and it shows me too many characters.
                I copy and paste the file and remove txt it tells me invalid file type authorized jpg jpeg png gif what to do?

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

                  @pat59 put in code block like always

                  paste text with empty line above and below
                  select text just pasted
                  hit the button </> above the messge editor

                  you cannot ‘attach’ files… only pictures…

                  there shouldn’t be that much in the paste output anyhow

                  neither of those files is very big

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • P Offline
                    pat59
                    last edited by

                    code_text
                    ```},
                    +  {
                    +    "longname": "MMM-Remote-Control-Repository",
                    +    "id": "MMRIZE/MMM-Remote-Control-Repository",
                    +    "url": "https://github.com/MMRIZE/MMM-Remote-Control-Repository",
                    +    "author": "MMRIZE",
                    +    "desc": "Plugin for `MMM-Remote-Control` to update installable modules automatically."
                    +  },
                       
                         "longname": "MMM-Remote-Control",
                         "id": "Jopyth/MMM-Remote-Control",
                    @@ -147,18 +350,39 @@
                         "desc": "Cleanly shutdown (or reboot) your mirror, edit which modules are shown on your mirror and turn your monitor off and on from a simple website, i.e. from your smartphone.
                       },
                       {
                    -    "longname": "MMM-Remote-Control-Repository",
                    -    "id": "eouia/MMM-Remote-Control-Repository",
                    -    "url": "https://github.com/eouia/MMM-Remote-Control-Repository",
                    -    "author": "eouia",
                    -    "desc": "Plugin for `MMM-Remote-Control` to update installable modules automatically."
                    +    "longname": "MM-Remote",
                    +    "id": "Klettner/MM-Remote",
                    +    "url": "https://github.com/Klettner/MM-Remote",
                    +    "author": "Klettner",
                    +    "desc": "Android 📱 and Windows-desktop 💻 app to control your MagicMirror² remotely. (Shutdown, reboot, toggle monitor on/off, change brightness of monitor, custom-commands, etc.)."
                    +  },
                    +  {
                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @pat59
                      last edited by

                      @pat59 weird
                      in the module folder do

                      git reset  --hard HEAD
                      

                      this will restore all changed files back to the repo level

                      then your module update process should work

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • P Offline
                        pat59
                        last edited by

                        always the update message that appears

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