Read the statement by Michael Teeuw here.
error: Pulling is not possible because you have unmerged files.
-
@DazTypeR no… don’t need to cd, just execute the script, it will figure it out and ask you to save any changed files
note… first time is a test install, doesn’t change anything…
then, if all is good, run it again with apply parameter
-
OK, so I ran the first script, how do i actually know if it worked?
-
@DazTypeR if you ran it without any parms at the end, it did not make ANY changes… it was a test, to make u feel comfortable and see the process once… (I don’t want to mess up your system, so it it find an error it cant fix, it tells you, and stops
now, run it again and add the word ‘apply’ at the end
-
Sorry, probably didnt make myself clear.
I knew the 1st script would not make any changes, how do i know the script worked and did not mess anything up?
I dont see any messages output to the command line, it just finished.
Sorry about my lack of understanding, I`m trying to learn as I go but its a long slog.
This is the last thing it put out…
fi # return to original folder cd - >/dev/null date +"Upgrade ended - %a %b %e %H:%M:%S %Z %Y" >>$logfile else echo It appears MagicMirror has not been installed on this system echo please run the installer, "raspberry.sh" first fi
-
@DazTypeR
ok… the UPDATE script only updates… do you have a ~/MagicMirror folder??
it sounded like you did, cause you were trying to do a git pulljust go run your mirror again… again, it makes NO changes to your local working copy.
(it did download updates to the local git repo (~/MagicMirror/.git folder), but did not apply any updates)post the log from ~/MagicMirorr/installers/upgrade.log
please use the markdown code block feature…
paste the log text, select the text.
push the </> button -
Yes I have a MagicMirror folder as I have managed to run my mirror for 10 months and have managed to do 2 upgrades in that time but in the past it has always told me what the error is and mostly how to fix it.
With regards to posting the log, there is no upgrade.log file in that directory?
-
@DazTypeR no log file… hm…
which sounds like your MagicMirror folder is not called ‘MagicMirror’look in user home folder ~/
-
It is called MagicMirror…
pi@raspberrypi:~/MagicMirror
-
@DazTypeR ok, show me the log ~/upgrade.log or ~/MagicMirror/installers/upgrade.log
-
the upgrade script does this at the beginning
# if the MagicMirroe folder exists if [ -d ~/MagicMirror ]; then # put the log where the script is located logdir=$(dirname $($cmd -f "$0")) # if the script was execute from the web if [[ $logdir != *"MagicMirror/installers"* ]]; then # use the MagicMirror/installers folder cd ~/MagicMirror/installers >/dev/null logdir=$(pwd) cd - >/dev/null fi logfile=$logdir/upgrade.log