Read the statement by Michael Teeuw here.
Magic Mirror Scripts - "Unable to determine upstream"
-
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 repositoryUpgrade 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 2026What’s going on?
-
@BKeyport can you do
cd ~/MagicMirror git branch git remote -v -
@sdetweil said in Magic Mirror Scripts - "Unable to determine upstream":
cd ~/MagicMirror
git branch
git remote -vbkey1970@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) -
@BKeyport said in Magic Mirror Scripts - "Unable to determine upstream":
com:Mag
how did that ‘:’ get between
mine is originhttps://github.com/MagicMirrorOrg/MagicMirror.git (fetch)try upgrade script again
-
I gotta run to my daughters… back later
-
It has to do with SSH. I’m failing out on SSH, but if I force it over to HTTPS it worked.
-
$ git remote set-url origin https://github.com/MagicMirrorOrg/MagicMirror.git $ git remote set-url --push origin https://github.com/MagicMirrorOrg/MagicMirror.gitFor reference if seen again.
-
@BKeyport how /why ssh
-
@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
-
@BKeyport but nothing here is ssh??!!!
My script runs On the target system
-
I must have manually installed MM originally, rather than using your scripts - cloning it via SSH rather than HTTPS.
-
In any case, resetting the origin URL fixed it, so we have that in our toolbelt.
-
@BKeyport I fixed my script to handle that
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login