Read the statement by Michael Teeuw here.
Magic Mirror and NodeJS
-
@sdetweil if you use my upgrade script I will upgrade nodejs too
-
@sdetweil - Sam, will your scripts install Nodejs and NPM? My SSD died and I’m having a hell of a time getting Nodejs installed on it. I keep getting errors about glibcc_3.4.29 and 3.4.30 not being found.
-
@reilley Yes, my script does everything you need to get running… BUT… it sounds like you are on buster (lsb_release -a)… and the latest nodejs doesn’t run on buster… SO
anyhow, look at my backup/restore scripts… makes backup of config.js, custom.css, all the links of the installed modules (where they came from) and any extra files created by the modules, token files, credentials…
then after reinstall mm… run restore to put back all that
https://github.com/sdetweil/MagicMirror-backup-restorethe backup is very small… 3 files of text, and maybe a few token files also text
can also save the repo in git, and restore/install from there
and provides ability to version backup… so you could restore to a different version… -
@sdetweil - I’ve been running on Bullseye up until until the SSD croaked. I just installed Bookworm 64 bit before I saw your reply and once it’s done updating, I’ll give your script a whirl. Weird that this was happening since I installed NodeJS with no problems a few months ago. Argh!!!
Thanks for the help as always!!!
-
@reilley the parts keep moving UP the currency chain… we need a lib, it needs 20.9, now need another lib, it needs 20.18.1, new electron, … the new nodejs versions need a new c++runtime lib… oops its not available on older OS… armv6l is really getting long in the tooth… (20.18.1 is the last version available …)
latest nodejs is 23… we checked and didn’t accept that… fixed on jan 1… but its hard to keep up…
can’t sit still
-
@sdetweil - I feel ya! Back from dinner with the wife and your script ran perfectly - thanks! Now, I’m tracking down a pesky weather module issue, grrrrr. I’ll definitely be taking advantage of your backup scripts as soon as I get this all working again. I don’t ever want to reinstall from scratch again, ugh.
-
@reilley said in Magic Mirror and NodeJS:
I’ll definitely be taking advantage of your backup scripts as soon as I get this all working again
note you can backup, and backup and backup and backup, over and over…
and each one has a git tag… and you can restore THAT version…
so, backup as much as you want, add a message on each so you know what you did in this version
(added weather, changed colors… whatever, in quotes)the list_tags command link will list them out