Read the statement by Michael Teeuw here.
update-script.sh hangs after "saving custom.css"
-
Hello, I’m not really new to MagicMirror, trying to install and get it to run since MM 2.16.
Now after a break time I tried again to get it run like I wish it. It runs but some of the Modules I like to have won’t run or runs not as aspected. So does the update-script.sh. It hangs after “saving custom.css”.
bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)”
update log will be in /home/pi/MagicMirror/installers/upgrade.logdoing test run = true, NO updates will be applied!
Check current Node installation …
Node currently installed. Checking version number.
Minimum Node version: v20.9.0
Installed Node version: v20.9.0
No Node.js upgrade necessary.
Check current NPM installation …
NPM currently installed. Checking version number.
Minimum npm version: V10.1.0
Installed npm version: V10.8.3
No npm upgrade necessary.saving custom.css
It dosen’t matter haw long I wait for that the script will continue, it won’t continue. I have to kill it by pressing “CTRL C”.
Same behavior when I add “apply” or “force” to the script.I run MagicMirrror on a Raspbery Pi 4B with 8 GB Ram using latest Rasberry OS “Bookworm 64Bit”.
Could someone please help?
Thanks
-
bug in my script, fixed.
-
@xIExodusIx can you post the upgrade.log
~/MagicMirror/installers/upgrade.log
or open an issue on the script repo and attach the log there.
i am the script author -
@xIExodusIx can you do the same script where it has -c
add -x
basch -c -x …
rest of command
you will get a lot of stuff to the screen. i need to see that last few lines above where it stops
screen print or copy the lines
-
@sdetweil Hi,
I try to send the upgrade log.
![upgrade.log.jpg](Input file contains unsupported image format)If you recieved it, simply delete “.jpg”
Otherwise I don’t know how to uploade it.
-
@xIExodusIx here you can only attach pictures.
you could paste the text into a post, but probably better to attach to an issue on the github repo for the scripts -
@sdetweil
Hi, I’ll give it a try. -
I Can’t login to GitHub, they sends me confirmation codes to an old inexisting eMail-Address that never arrives. I wrote to the GitHub support, but they dosn’t answer until today.
I copy the lines. See below
-
false
-
SAVEIFS=’
’ -
IFS=’
’ -
echo
-
tee -a /home/pi/MagicMirror/installers/upgrade.log
-
‘[’ -f git_active_lock ‘]’
-
‘[’ 0 == 1 ‘]’
-
cd /home/pi/MagicMirror
-
cd css
-
‘[’ -f custom.css ‘]’
-
echo ‘saving custom.css’
-
tee -a /home/pi/MagicMirror/installers/upgrade.log
saving custom.css -
cp -p custom.css save_custom.css
-
cd -
++ alias git -
save_alias=
++ git branch
++ cut -d ’ ’ -f2
++ grep ‘*’ -
current_branch=master
-
‘[’ master ‘!=’ master ‘]’
-
remote_user=MagicMirrorOrg
++ LC_ALL=C
++ git remote -v
++ grep -m1 .com/M
++ awk ‘{print $1}’ -
remote=origin
-
‘[’ origin == upstream ‘]’
++ grep -m1 origin
++ git remote -v
++ awk -F/ ‘{print $4}’ -
‘[’ MagicMirrorOrg == MichMich ‘]’
-
‘[’ origin. ‘!=’ . ‘]’
-
echo remote name = origin
++ grep -m1 version
++ awk ‘-F"’ ‘{print $4}’
++ awk -F- ‘{print $1}’
-
-
@xIExodusIx well, that makes no sense.
there are at least 8 more easy commands after that one.
the last one just wrote to the logis your disk space almost full?
do
df -k -
@sdetweil
I’m now able again to login to GitHub. now I can send you the update.log if you still need it. -
No, the Pi starts from an USB-Stick with 64GB and it is freshly installed ther must be enough space left.