I didn’t think i ran it with sudo but apparently i did. Thank you for your help!!
I did try the test first and it didn’t show errors. But, you got it working!
I didn’t think i ran it with sudo but apparently i did. Thank you for your help!!
I did try the test first and it didn’t show errors. But, you got it working!
Here is that information.
Yes, that starts everything and gets me running like normal. Thanks!
So how do I get it to run on reboot moving forward?
I updated that file but the error still exists.
0|MagicMirror | [3709:0102/125357.807528:ERROR:ui/ozone/platform/wayland/host/wayland_connection.cc:202] Failed to connect to Wayland display: No such file or directory (2)
0|MagicMirror | [3709:0102/125357.807690:ERROR:ui/ozone/platform/wayland/ozone_platform_wayland.cc:282] Failed to initialize Wayland platform
0|MagicMirror | [3709:0102/125357.807720:ERROR:ui/aura/env.cc:257] The platform failed to initialize. Exiting.
0|MagicMirror | /home/twist/MagicMirror/node_modules/electron/dist/electron exited with signal SIGSEGV
Yes, pm2.
Here is that file.
#!/bin/bash
cd ~/MagicMirror
DISPLAY=:0 npm start
I upgraded my MagicMirror and now the logs are showing the below errors:
ERROR:ui/ozone/platform/wayland/host/wayland_connection.cc:202] Failed to connect to Wayland display: No such file or directory (2)
ERROR:ui/ozone/platform/wayland/ozone_playform_wayland.cc:202] Failed to initalize Wayland platform
ERROR:ui/aura/env.cc:257] the platform failed to initalize. Exiting.
How do i resolve this?
Is it possible to have a recurring weekday only task? Just Monday-Friday?
I am trying to get this to work after no longer being able to use MMM-Pir. When the countdown hits 0 the screen goes black like it should . But, then it immediately turns back on even without motion.
What am i missing?
I’m using the DISPLAY=0.0 xrandr --output HDMI-2 --off
It works fine from the command line but not within MM.
I didn’t think i ran it with sudo but apparently i did. Thank you for your help!!
I did try the test first and it didn’t show errors. But, you got it working!
I used the upgrade script to update my MagicMirror to 2.31.0 from 2.30.0. It ran into an error and now MagicMirror won’t start.
The upgrade log file shows
Ver 2.30.0 and Ext3 modules loaded, install fix
and it continues with npm error.
Any ideas how to fix this?