Read the statement by Michael Teeuw here.
`GLIBCXX_3.4.26' not found (required by node)
-
@matt216 please use my upgrade script, with force instead of apply
https://github.com/sdetweil/MagicMirror_scripts
I added support for the latest version and the new node
-
@sdetweil said in `GLIBCXX_3.4.26' not found (required by node):
with force instead of apply
Thanks. What do you mean with force, instead of apply?
-
@sdetweil Thanks. What do you mean with force instead of apply?
-
the upgrade command is
bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" apply
change the word apply to force
-
@sdetweil Thank you. It currently can’t upgrade as I have 2 electron node processes running. killall node and the processes start again with a different PID. Can’t seem to stop electron!
-
@matt216 pm2 stop all
pm2’s JOB is to KEEP the monitored apps running… you kill it, and then pm2 restarts…
pm2 status
will show you all the things being managed
-
@sdetweil Ah but any pm2 command gives me the error `GLIBCXX_3.4.26’ not found I originally mentioned.
-
@matt216 reboot… pm2 will fail to launch then upgrade again …
then pm2 should work
-
@sdetweil Unfortunately not. After reboot 2 electron processes preventing the upgrade-script from completing and pm2 commands fail without GLIBCXX version.
Appreciate the support here.
-
@matt216 ok, run this command string all one copy/paste and enter
sudo apt-get purge nodejs -y &&\ sudo rm -r /etc/apt/sources.list.d/nodesource.list &&\ sudo rm -r /etc/apt/keyrings/nodesource.gpg