@sdetweil - Thanks Sam. That is what I had done, and so knew there were two instances running. I appreciate the tip and reminder.
Posts made by JohnGalt
-
RE: autostart + serveronly
-
RE: autostart + serveronly
@sdetweil - thanks! I figured it just had to be something straightforward. I appreciate you pointing me to the right place.
-
autostart + serveronly
I have a new MM instance for development and testing in an Ubuntu VM. My goal is to have MM autostart when the VM starts, and run in serveronly mode, since the VM has no console display…
I ran Sam’s script to install the instance, then went back and ran the autostart script, but it appears to start a regular MM instance and not a serveronly. I have uncommented the serverOnly command in config.js, set it to “true” and rebooted. It appears the regular instance of MM starts, but not the serveronly. I CAN manually start MM with ‘node serveronly’, but then it looks like two instances are running.
Where am I going wrong?
-
RE: Black Screen with some modules + linux-armv Error
@bkeyport and Sam: thanks for the inputs. I went through my logs and the referenced thread, and now do have DynamicWeather working. Much appreciated!
-
RE: Black Screen with some modules + linux-armv Error
@sdetweil - the documentation indicates ‘It does not do recursive search of image folders’, which I would prefer. The author also indicates he cut out features from the module he forked, but didn’t specify what features. As I said, time will tell whether I stick with it, or give another a try.
-
RE: Black Screen with some modules + linux-armv Error
I am trying MMM-SimpleBGSlideshow, but may try the one Sam is using. I do have this one up an running, but it appears to have limited functionality.
-
RE: Black Screen with some modules + linux-armv Error
@ BKeyport - thanks. I’ve disabled that module and found one that works. I will work on the MMM-DynamicWeather, hopefully today. Thanks to you and Sam for the support!
-
RE: Black Screen with some modules + linux-armv Error
@sdetweil - thanks. I may just disable the two offending modules for now, and then dig thru that post.
-
RE: Black Screen with some modules + linux-armv Error
Sam - thanks. Do you happen to know whether this is also true for MMM-DynamicWeather?
-
Black Screen with some modules + linux-armv Error
New install, using Sam D’s install script on buster: It runs OK with default modules as well as MMM-Worldclock [the MM displays on the local monitor, as well as from another machine using the browser]. When I enable either MMM-BackgroundSlideshow or MMM-DynamicWeather I get both a black screen on the local display as well as the web server stops as evidenced by being unable to connect in a browser from another machine. The first thing that catches my eye in the logs is an error that the linux-armv7 binaries cannot be used on the linux-armdefault platform. I am running on a Raspberry Pi 4. Any ideas of what went wrong?
Logs output:
/home/pi/.pm2/logs/MagicMirror-error.log last 15 lines: 0|MagicMir | at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-BackgroundSlideshow/node_modules/sharp/lib/index.js:3:15) 0|MagicMir | [03.01.2022 18:15.55.981] [ERROR] Whoops! There was an uncaught exception... 0|MagicMir | [03.01.2022 18:15.55.985] [ERROR] Error: 'linux-armv7' binaries cannot be used on the 'linux-armvdefault' platform. Please remove the 'node_modules/sharp' directory and run 'npm install' on the 'linux-armvdefault' platform. 0|MagicMir | at Object.hasVendoredLibvips (/home/pi/MagicMirror/modules/MMM-BackgroundSlideshow/node_modules/sharp/lib/libvips.js:82:13) 0|MagicMir | at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-BackgroundSlideshow/node_modules/sharp/lib/constructor.js:7:22) 0|MagicMir | at Module._compile (node:internal/modules/cjs/loader:1116:14) 0|MagicMir | at Object.Module._extensions..js (node:internal/modules/cjs/loader:1169:10) 0|MagicMir | at Module.load (node:internal/modules/cjs/loader:988:32) 0|MagicMir | at Module._load (node:internal/modules/cjs/loader:829:12) 0|MagicMir | at Function.c._load (node:electron/js2c/asar_bundle:5:13331) 0|MagicMir | at Module.require (node:internal/modules/cjs/loader:1012:19) 0|MagicMir | at require (node:internal/modules/cjs/helpers:94:18) 0|MagicMir | at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-BackgroundSlideshow/node_modules/sharp/lib/index.js:3:15) 0|MagicMir | [03.01.2022 18:15.55.986] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? 0|MagicMir | [03.01.2022 18:15.55.987] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues /home/pi/.pm2/logs/MagicMirror-out.log last 15 lines: 0|MagicMir | [03.01.2022 18:15.55.860] [LOG] No helper found for module: MMM-Worldclock. 0|MagicMir | [03.01.2022 18:15.55.862] [LOG] No helper found for module: MMM-DynamicWeather. 0|MagicMir | [03.01.2022 18:15.55.960] [LOG] Loading module helpers ... 0|MagicMir | [03.01.2022 18:15.55.962] [LOG] No helper found for module: alert. 0|MagicMir | [03.01.2022 18:15.55.963] [LOG] Initializing new module helper ... 0|MagicMir | [03.01.2022 18:15.55.964] [LOG] Module helper loaded: updatenotification 0|MagicMir | [03.01.2022 18:15.55.965] [LOG] No helper found for module: clock. 0|MagicMir | [03.01.2022 18:15.55.966] [LOG] Initializing new module helper ... 0|MagicMir | [03.01.2022 18:15.55.966] [LOG] Module helper loaded: calendar 0|MagicMir | [03.01.2022 18:15.55.968] [LOG] No helper found for module: weather. 0|MagicMir | [03.01.2022 18:15.55.968] [LOG] Initializing new module helper ... 0|MagicMir | [03.01.2022 18:15.55.969] [LOG] Module helper loaded: newsfeed 0|MagicMir | [03.01.2022 18:15.55.970] [LOG] No helper found for module: MMM-Worldclock. 0|MagicMir | [03.01.2022 18:15.55.972] [LOG] No helper found for module: MMM-DynamicWeather. 0|MagicMir | [03.01.2022 18:15.57.473] [LOG] Launching application.