Read the statement by Michael Teeuw here.
Latest posts made by eitan
-
RE: Starting mirror with PM2 on boot
Hi sdetweil (as I don’t have your name),
Thank you, this worked perfect.
I ran the script, afterwards PM2 had a second line in it named MagicMirror.
I deleted my own mm line (PM2 delete mm) and was left with only MagicMirror in PM2
Stopped started the MagicMirror with PM2 and got an warning from PM2 about the incorrect mm:
[PM2][WARN] Current process list is not synchronized with saved list. App mm differs. Type ‘pm2 save’ to synchronize.
Saved the new status PM2 save
Rebooted the Pi and MagicMirror was up after boot.I was wondering if you can share the content of MagicMirror.sh (if it is an .sh script), so that I can understand what’s the different
In any case, thank you
-
RE: Starting mirror with PM2 on boot
Thank you for your replay.
Yes, Magic Mirror starts with npm start,
It also starts with PM2, when running it after boot - pm2 start mm.
what I have not been able to do is for it to start automatically after boot. -
Starting mirror with PM2 on boot
Hi all,
I have a Pi3, running Magic mirror.
grep version ~/MagicMirror/package.json:
“version”: “2.26.0”,
node ver:
v20.10.0
uname -a:
Linux xxxxPi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
lsb_release -a:
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseyelast I installed and run the PM2.
followed the instruction “AutoStart your MagicMirror²” , Magic mirror starts OK with the command: “pm2 start mm.sh”
Last on the install list, enabling restarting of the Magic Mirror is the command pm2 save that ends successfully (no errors).
rebooting the Pi, Magic Mirror will not start automatically.
running pm2 logs I see 2 errors:
0|mm | [1876:0121/103318.925547:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.portal.Desktop was not provided by any .service files
0|mm | /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
can anybody help on this?
Thank you -
RE: MM Installed, npm run start error
Thanks,
I thought MM could run on a small system, save some disk space,
Will update the OS. -
MM Installed, npm run start error
Hi All,
I am running on Pi 3,
installed the PI OS lite (2023-12-05-raspios-bullseye-arm64-lite.img) and fully updated.
after installing the Node.js as instructed in Manual installation, the command git clone… did not work, got the error: “git: command not found”, installed git using the command sudo apt install git, after that the command “git clone https://github.com/MichMich/MagicMirror” worked and all other commands until “npm run start”, where I get the error:pi@xxx/etc/apt/keyrings/MagicMirror $ npm run start > magicmirror@2.25.0 start > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js sh: 1: ./node_modules/.bin/electron: not found
Can anybody help on this?