@james1787 said in My Bedroom MagicMirror:
MMM-PIR-Sensor-Lite
What model of PIR have you implemented?
@james1787 said in My Bedroom MagicMirror:
MMM-PIR-Sensor-Lite
What model of PIR have you implemented?
@sdetweil Many thanks. Will backup the system before I try.
@DarkV Sorry to bug you again, but there is an update, since you said that my setup in a Hybrid setup, what script do I use? The wifey will kill me if I mess it up and for some reason I cannot backup my M2 Sata drive with Windows 11 as it is not detected, meaning I have one shot to get it right
@sdetweil My image is 112GB (although only 8.4 GB is used) as I used Win32 disc imager software. If you still want me to upload let me know although I don’t know a site that will allow a file that large.
@sdetweil The Image was my previous install I made in February when I migrated from SD to M2 SSD. So an older version of what I am using now.
I am using PI4.
@sdetweil I did this
sudo apt-get remove nodejs npm -y
hash -r
which node
which n
if which n response with empty then do
sudo apt-get install n
once n responds then
sudo n 20.8.0 --arch armv7l
hash -r
node -v
Then both scripts and it went through!
@sdetweil I don’t know what happened, but the reply is above. Many thanks
@sdetweil All is OK. I am so grateful for all of your assistance. In my opinion, what you performed was alchemy or witchcraft. I’ve been attempting to identify the problem and have made multiple unsuccessful attempts. An old picture I had from a few months ago was my saviour. My wife was becoming tired of my futile attempts at updating.
You have brought me happiness and protected me from madness. That’s a significant victory.
@sdetweil said in Failed Update:
file /bin/bash
unior@MAGIC-MIRROR:~ $ bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)” apply
curl: (18) transfer closed with 23780100 bytes remaining to read
xz: (stdin): Unexpected end of input
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
Error: failed to download archive for 20.8.0
doing test run = false
update log will be in /home/junior/MagicMirror/installers/upgrade.log
Check current Node installation …
Node currently installed. Checking version number.
Minimum Node version: v20.8.0
Installed Node version: v20.5.1
Node should be upgraded.
Installing Node.js …
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
nodejs is already the newest version (20.5.1-deb-1nodesource1).
The following packages were automatically installed and are no longer required:
libfuse2 raspinfo
Use ‘sudo apt autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
node version is
Node.js installation Done! version=v20.5.1
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.