@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.
Read the statement by Michael Teeuw here.
Posts made by theaddies
-
RE: Cannot get compliments on github to 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