@sdetweil Log file sent.
Read the statement by Michael Teeuw here.
Best posts made by theaddies
-
RE: Cannot get compliments on github to work
@theaddies I got it. VS code was a big help to see my errors. Also, for anyone else that stumbles upon this, you need to copy the permalink, paste that into the browser and then click raw. The link you get just clicking raw will not work.
-
cannot get Raspberry pi 2 to run
Super frustrating experience trying to get MagicMirror up and running on a raspberry pi model 2 b. I tried to do the manual installation and got the error:
curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash - ## Installing the NodeSource Node.js 16.x repo... ## You appear to be running on ARMv6 hardware. Unfortunately this is not currently supported by the NodeSource Linux distributions. Please use the 'linux-armv6l' binary tarballs available directly from nodejs.or >
So I went ahead and ran the script below:
bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh)"
Everything seemed to work well and I get the message below.
[PM2] Saving current process list... [PM2] Successfully saved in /home/pi/.pm2/dump.pm2 Do you want to disable the screen saver? (y/N)?y We're ready! Run pm2 start MagicMirror from the ~/MagicMirror directory to start your MagicMirror.
when I type ‘pm2 start MagicMirror’ It says process started successfully, displays the table with id, name, node, etc and then just returns the prompt. Nothing happens. I’m super frustrated. I am going through all this due to a corrupted SD card but I didn’t have this kind of trouble getting it to work originally
I appreciate any help.
Latest posts made by theaddies
-
RE: Cannot get compliments on github to work
@theaddies I got it. VS code was a big help to see my errors. Also, for anyone else that stumbles upon this, you need to copy the permalink, paste that into the browser and then click raw. The link you get just clicking raw will not work.
-
RE: Cannot get compliments on github to work
@sdetweil Thanks for the reply. I saw that and fixed it. It still doesn’t work.
https://raw.githubusercontent.com/theaddies/compliments/7d37fa1925952c81745dcaa353128566966bb7db/text.json -
Cannot get compliments on github to work
Re: Need more compliments? compliments.json
I have the following link:
https://raw.githubusercontent.com/theaddies/compliments/21e818b6d12a1b8f7e6328808946ce18b6bd3e02/text.json
and my config.js file looks like the following:{module: "compliments", position: "lower_third", config: { remoteFile : "https://raw.githubusercontent.com/theaddies/compliments/21e818b6d12a1b8f7e6328808946ce18b6bd3e02/text.json" } },
I cannot for the life of me figure out what is wrong. Please help.
-
Mirror fails to load after git pull
I just updated my mirror today. It now fails to load. The log file output is below. I would appreciate any help.
/home/pi/.pm2/logs/MagicMirror-error.log last 15 lines: 0|MagicMir | at f._load (node:electron/js2c/asar_bundle:2:13330) 0|MagicMir | at Module.require (node:internal/modules/cjs/loader:1035:19) 0|MagicMir | at require (node:internal/modules/cjs/helpers:102:18) 0|MagicMir | at Object.<anonymous> (/home/pi/MagicMirror/modules/default/updatenotification/update_helper.js:3:23) 0|MagicMir | at Module._compile (node:internal/modules/cjs/loader:1141:14) 0|MagicMir | at Module._extensions..js (node:internal/modules/cjs/loader:1196:10) 0|MagicMir | at Module.load (node:internal/modules/cjs/loader:1011:32) 0|MagicMir | at Module._load (node:internal/modules/cjs/loader:846:12) 0|MagicMir | at f._load (node:electron/js2c/asar_bundle:2:13330) 0|MagicMir | at Module.require (node:internal/modules/cjs/loader:1035:19) 0|MagicMir | at require (node:internal/modules/cjs/helpers:102:18) 0|MagicMir | at Object.<anonymous> (/home/pi/MagicMirror/modules/default/updatenotification/node_helper.js:4:22) 0|MagicMir | (Use `electron --trace-warnings ...` to show where the warning was created) 0|MagicMir | [07.01.2024 11:17.10.783] [ERROR] (node:1085) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) 0|MagicMir | [1240:0107/111712.522791:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported.
-
RE: cannot get Raspberry pi 2 to run
@sdetweil OK So I went ahead and did the whole thing over again for the fourth time with the exact method you outlined. It works. It would be nice to somehow let the next poor sod who wants to waste 2 days of their life of the right way to do this on a pi2.
-
RE: cannot get Raspberry pi 2 to run
@sdetweil I am loathed to start the pi2 over again for the fourth time. here is what I have right now. I think I got MagicMirror and mm removed from the pm2. I installed mm when I thought things were not working.
The HDMI output still does not work. I was thinking now I would run the pm2 startup command although I am sure I already did it and then I would run fixuppm2.
-
RE: cannot get Raspberry pi 2 to run
@sdetweil I just followed the procedure on a pi4 and everything worked great.
-
RE: cannot get Raspberry pi 2 to run
@sdetweil I cannot get the pi to display anything via hdmi. my only access to it now is via ssh.
-
RE: cannot get Raspberry pi 2 to run
@sdetweil The screen has been black for an hour. When i reboot, the first thing I see is the MagicMirror logo. That is different than before. Before it booted into the raspian desktop and then the magicmirror loaded. It did take a while. Now, as I said above, I see the MagicMirror logo it seems to be loading and then the screen goes blank. It does not come back. ssh works, but the keyboard and mouse on the pi itself will not wake it up.
I did see the correct screen after I ran the command below, but I can’t do that now.
DISPLAY=:0 npm start