Read the statement by Michael Teeuw here.
error: Pulling is not possible because you have unmerged files.
-
@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
-
I can’t find an upgrade.log either in home or in the MagicMirror/installers folder.
-
@DazTypeR well then
so, when u run it it says
It appears MagicMirror has not been installed on this system please run the installer, "raspberry.sh" first
if so, rerun the script like this
bash -c -x "$(curl -sL https://www.dropbox.com/s/lxzwyzohg61sppu/upgrade-script.sh?dl=0)"
-
Hang on, I just ran this command…
(curl -sL https://www.dropbox.com/s/lxzwyzohg61sppu/upgrade-script.sh?dl=0)
Should I have run this command…
bash -c “$(curl -sL https://www.dropbox.com/s/lxzwyzohg61sppu/upgrade-script.sh?dl=0)”
No idea what the bash -c does?
Would this have made a difference?
-
@DazTypeR yes… if you do it without bash -c, then it downloads the file, and throws it away
if you do the bash -c, then it executes the script (single command -c)
watch out for the double quotes… sometimes those turn into MS word document quotes, which linux shells don’t like
-
OK, so its official, I am a numpty :)
This is what I get now when I run it…
the log will be /home/pi/MagicMirror/installers/upgrade.log
doing test run = true
update log will be in /home/pi/MagicMirror/installers/upgrade.logsaving custom.css
upgrading from version 2.9.0 to 2.9.0
fetching latest revisions
bash: line 159: On branch master: command not found
there are 28 local files that are different than the master repo.eslintrc.json
.gitignore
.travis.yml
CHANGELOG.md
LICENSE.md
installers/raspberry.sh
js/main.js
modules/default/calendar/vendor/ical.js/node-ical.js
modules/default/clock/clock.js
modules/default/currentweather/currentweather.js
modules/default/newsfeed/newsfeed.js
modules/default/updatenotification/node_helper.js
modules/default/updatenotification/updatenotification.js
modules/default/weather/providers/darksky.js
modules/default/weather/providers/openweathermap.js
modules/default/weather/providers/ukmetoffice.js
modules/default/weather/providers/weathergov.js
modules/default/weather/weather.js
modules/default/weather/weatherprovider.js
modules/default/weatherforecast/weatherforecast.js
package.json
run-start.sh
tests/e2e/vendor_spec.js
translations/en.json
translations/es.json
translations/translations.js
vendor/package-lock.json
package-lock.jsonany *-lock.json files do not need to be saved
do you want to save these files for later (Y/n)?n
skipping restore for .eslintrc.json, doing test run
skipping restore for .gitignore, doing test run
skipping restore for .travis.yml, doing test run
skipping restore for CHANGELOG.md, doing test run
skipping restore for LICENSE.md, doing test run
skipping restore for installers/raspberry.sh, doing test run
skipping restore for js/main.js, doing test run
skipping restore for modules/default/calendar/vendor/ical.js/node-ical.js, doing test run
skipping restore for modules/default/clock/clock.js, doing test run
skipping restore for modules/default/currentweather/currentweather.js, doing test run
skipping restore for modules/default/newsfeed/newsfeed.js, doing test run
skipping restore for modules/default/updatenotification/node_helper.js, doing test run
skipping restore for modules/default/updatenotification/updatenotification.js, doing test run
skipping restore for modules/default/weather/providers/darksky.js, doing test run
skipping restore for modules/default/weather/providers/openweathermap.js, doing test run
skipping restore for modules/default/weather/providers/ukmetoffice.js, doing test run
skipping restore for modules/default/weather/providers/weathergov.js, doing test run
skipping restore for modules/default/weather/weather.js, doing test run
skipping restore for modules/default/weather/weatherprovider.js, doing test run
skipping restore for modules/default/weatherforecast/weatherforecast.js, doing test run
skipping restore for package.json, doing test run
skipping restore for run-start.sh, doing test run
skipping restore for tests/e2e/vendor_spec.js, doing test run
skipping restore for translations/en.json, doing test run
skipping restore for translations/es.json, doing test run
skipping restore for translations/translations.js, doing test run
skipping restore for vendor/package-lock.json, doing test run
skipping restore for package-lock.json, doing test run
processing dependency changes for active modules with package.json filesprocessing for module MMM-GooglePhotos please wait
skipped processing for MMM-GooglePhotos, doing test run
processing complete for module MMM-GooglePhotosrestoring custom.css
It then put me back to the command line.
-
@DazTypeR cool,just like it should have… altho… line 159 bothers me
can you run it again without apply, and use the debug flag
bash -c -x "$(curl -sL https://www.dropbox.com/s/lxzwyzohg61sppu/upgrade-script.sh?dl=0)"
you will have to scroll back up in the terminal window, but I’d like to see the few lines above/below the error line 159
thx