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.

    Magic Mirror Scripts - "Unable to determine upstream"

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    13 Posts 2 Posters 66 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.
    • BKeyportB Offline
      BKeyport Module Developer
      last edited by BKeyport

      bkey1970@mirrorserv:~ $ bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" apply
      update log will be in /home/bkey1970/MagicMirror/installers/upgrade.log
      doing test run = false
      Node currently installed. Checking version number.
      Minimum Node version: v22.21.1
      Installed Node version: v22.18.0
      installing correct version of node and npm, please wait
      Check current Node installation ...
      Node currently installed. Checking version number.
      Minimum Node version: v22.21.1
      Installed Node version: v22.21.1
      No Node.js upgrade necessary.
      Check current NPM installation ...
      NPM currently installed. Checking version number.
      Minimum npm version: V10.9.4
      Installed npm version: V10.9.4
      No npm upgrade necessary.
      
      want /var/swap=512MByte, checking existing: keeping it
      saving custom.css
      Unable to determine upstream git repository
      
      Upgrade started - Fri Jan  2 13:41:18 PST 2026
      system is Linux mirrorserv 6.12.47+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.12.47-1+rpt1~bookworm (2025-09-16) aarch64 GNU/Linux
      user requested to apply changes
      doing test run = false
      the os is PRETTY_NAME="Debian GNU/Linux 12 (bookworm)" NAME="Debian GNU/Linux" VERSION_ID="12" VERSION="12 (bookworm)" VERSION_CODENAME=bookworm ID=deb>
      architecture from dpkg is
      ^[[0mNode currently installed. Checking version number.^[[0m
      ^[[0mMinimum Node version: ^[[1mv22.21.1^[[0m
      ^[[0mInstalled Node version: ^[[1mv22.18.0^[[0m
      ^[[96minstalling correct version of node and npm, please wait^[[0m
        installing : node-v22.21.1
             mkdir : /usr/local/n/versions/node/22.21.1
             fetch : https://nodejs.org/dist/v22.21.1/node-v22.21.1-linux-arm64.tar.xz
           copying : node/22.21.1
         installed : v22.21.1 (with npm 10.9.4)
      ^[[0mNo npm engines section specified in package.json, using default=V10.9.4 ...^[[0m
      ^[[96mCheck current Node installation ...^[[0m
      ^[[0mNode currently installed. Checking version number.
      ^[[0mMinimum Node version: ^[[1mv22.21.1^[[0m
      ^[[0mInstalled Node version: ^[[1mv22.21.1^[[0m
      ^[[92mNo Node.js upgrade necessary.^[[0m
      ^[[96mCheck current NPM installation ...^[[0m
      ^[[0mNPM currently installed. Checking version number.
      ^[[0mMinimum npm version: ^[[1mV10.9.4^[[0m
      ^[[0mInstalled npm version: ^[[1mV10.9.4^[[0m
      ^[[92mNo npm upgrade necessary.^[[0m
      
      increasing swap space
      increasing swap space
      saving custom.css
      Unable to determine upstream git repository
      Upgrade ended - Fri Jan  2 13:41:45 PST 2026
      

      What’s going on?

      The "E" in "Javascript" stands for "Easy"

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

        @BKeyport can you do

        cd ~/MagicMirror
        git branch
        git remote -v
        

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        BKeyportB 1 Reply Last reply Reply Quote 0
        • BKeyportB Offline
          BKeyport Module Developer @sdetweil
          last edited by

          @sdetweil said in Magic Mirror Scripts - "Unable to determine upstream":

          cd ~/MagicMirror
          git branch
          git remote -v

          bkey1970@mirrorserv:~ $ cd ~/MagicMirror
          git branch
          git remote -v
            _fix_clipping
          * master
          origin  git@github.com:MagicMirrorOrg/MagicMirror.git (fetch)
          origin  git@github.com:MagicMirrorOrg/MagicMirror.git (push)
          

          The "E" in "Javascript" stands for "Easy"

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

            @BKeyport said in Magic Mirror Scripts - "Unable to determine upstream":

            com:Mag

            how did that ‘:’ get between
            mine is origin

            https://github.com/MagicMirrorOrg/MagicMirror.git (fetch)
            

            try upgrade script again

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            S BKeyportB 2 Replies Last reply Reply Quote 0
            • S Offline
              sdetweil @sdetweil
              last edited by

              I gotta run to my daughters… back later

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • BKeyportB Offline
                BKeyport Module Developer @sdetweil
                last edited by

                It has to do with SSH. I’m failing out on SSH, but if I force it over to HTTPS it worked.

                The "E" in "Javascript" stands for "Easy"

                BKeyportB S 2 Replies Last reply Reply Quote 0
                • BKeyportB Offline
                  BKeyport Module Developer @BKeyport
                  last edited by BKeyport

                  $ git remote set-url  origin https://github.com/MagicMirrorOrg/MagicMirror.git
                  $ git remote set-url --push  origin https://github.com/MagicMirrorOrg/MagicMirror.git
                  

                  For reference if seen again.

                  The "E" in "Javascript" stands for "Easy"

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

                    @BKeyport how /why ssh

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    BKeyportB 1 Reply Last reply Reply Quote 0
                    • BKeyportB Offline
                      BKeyport Module Developer @sdetweil
                      last edited by

                      @sdetweil I think I had an error with my SSH keys and had to reset them. It’s cascading through my system. Basically, some idiot forgot he already had SSH on his system and set it up for another project. LOL

                      The "E" in "Javascript" stands for "Easy"

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

                        @BKeyport but nothing here is ssh??!!!

                        My script runs On the target system

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        BKeyportB 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