-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Magic Mirror startet nicht electron exited with signal SIGTRAP #2790
Comments
which raspian os did you install on your sd-card? From the error message it looks like you used the lite version (which will not work as stated in the docs). |
$ cat /etc/os-release PRETTY_NAME="Raspbian GNU/Linux 10 (buster)" (No Lite-Version ) |
can you post the output of |
@Jan-2005 is this the legacy buster or before show results of uname -a if the kernel number starts with 5 (and codename=buster), its legacy, 4 its old buster what pi is this? uname will answer architecture type |
pi@dashboard:~ $ cat /boot/issue.txt |
Linux dashboard 5.10.63-v7l+ #1496 SMP Wed Dec 1 15:58:56 GMT 2021 armv7l GNU/Linux |
looks all good so far, stage 4 means desktop version (link), no idea whats wrong ... |
ok, legacy, on armv7 (pi3 or above) how did you install?? node -v default node is 12.2 MM needs 14 at least, 16 preferred |
@khassel issue.txt.. thanks will add that to my install for logging |
npm -v Knoten -v ? |
special tip: your pi don't speak german |
Knoten -v ? was translated
|
pi@dashboard:~ $ node -v |
ok, i don't know.. could you try my install script? rename the MagicMirror folder out of the way first
|
Have already tried both, have already installed MM from scratch |
tried both?? there is only one if u did not rename, then the install aborted when it found the MagicMirror folder, so as not to screw up a working installation show me the ~/install.log (u can attach here) |
``install log being saved to /home/pi/install.log Splashscreen: Changed theme to MagicMirror successfully. We're ready! Run pm2 start MagicMirror from the ~/MagicMirror directory to start your MagicMirror. pi@dashboard:~ $ ^C |
`pi@dashboard:~/MagicMirror $ node_modules/.bin/electron Electron 16.0.7 - Build cross platform desktop apps with JavaScript, HTML, and CSS A path to an Electron app may be specified. It must be one of the following:
Options: |
and the graphical screen came up, yes? |
nein |
are you using vnc? or ssh? or typing on pi keyboard and screen? |
VNC and SSh Der Destop kann derzeit nicht angezeigt werden |
see this https://www.tomshardware.com/how-to/fix-cannot-currently-show-desktop-error-raspberry-pi if u are booted to command mode, ssh would work, vnc not |
i have reboot and he run |
I love You! |
`pi@dashboard:~ $ pm2 logs MagicMirror /home/pi/.pm2/logs/MagicMirror-out.log last 15 lines: |
it runs but still gets error |
pm2 flush |
flush old messages |
I have added checks for lite mode(wrong OS image) , and running in text mode on full desktop (this problem) |
Thx |
@Jan-2005 can you close this? |
`pi@dashboard:~ $ pm2 logs mm
[TAILING] Tailing last 15 lines for [mm] process (change the value with --lines option)
/home/pi/.pm2/logs/mm-error.log last 15 lines:
0|mm | /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGTRAP
0|mm | /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGTRAP
0|mm | /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGTRAP
0|mm | /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGTRAP
0|mm | /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGTRAP
0|mm | /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGTRAP
0|mm | /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGTRAP
0|mm | /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGTRAP
0|mm | /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGTRAP
0|mm | /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGTRAP
0|mm | /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGTRAP
0|mm | /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGTRAP
0|mm | /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGTRAP
0|mm | /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGTRAP
0|mm | /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGTRAP
/home/pi/.pm2/logs/mm-out.log last 15 lines:
0|mm | [20.01.2022 20:10.19.897] [LOG] Module helper loaded: newsfeed
0|mm | [20.01.2022 20:10.19.898] [LOG] All module helpers loaded.
0|mm | [20.01.2022 20:10.20.008] [LOG] Starting server on port 8080 ...
0|mm | [20.01.2022 20:10.20.026] [LOG] Server started ...
0|mm | [20.01.2022 20:10.20.027] [LOG] Connecting socket for: updatenotification
0|mm | [20.01.2022 20:10.20.028] [LOG] Starting module helper: updatenotification
0|mm | [20.01.2022 20:10.20.029] [LOG] Connecting socket for: calendar
0|mm | [20.01.2022 20:10.20.030] [LOG] Starting node helper for: calendar
0|mm | [20.01.2022 20:10.20.030] [LOG] Connecting socket for: newsfeed
0|mm | [20.01.2022 20:10.20.031] [LOG] Starting node helper for: newsfeed
0|mm | [20.01.2022 20:10.20.031] [LOG] Sockets connected & modules started ...
0|mm |
0|mm | > [email protected] start
0|mm | > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
0|mm |
0|mm | [20.01.2022 20:10.22.900] [LOG]
0|mm | Starting MagicMirror: v2.18.0
0|mm | [20.01.2022 20:10.22.913] [LOG]
0|mm | Loading config ...
0|mm | [20.01.2022 20:10.22.919] [LOG]
0|mm | Loading module helpers ...
0|mm | [20.01.2022 20:10.22.922] [LOG]
0|mm | No helper found for module: alert.
0|mm | [20.01.2022 20:10.22.940] [LOG]
0|mm | Initializing new module helper ...
0|mm | [20.01.2022 20:10.22.941] [LOG]
0|mm | Module helper loaded: updatenotification
0|mm | [20.01.2022 20:10.22.944] [LOG]
0|mm | No helper found for module: clock.
0|mm | [20.01.2022 20:10.23.095] [LOG]
0|mm | Initializing new module helper ...
0|mm | [20.01.2022 20:10.23.096] [LOG]
0|mm | Module helper loaded: calendar
0|mm | [20.01.2022 20:10.23.099] [LOG]
0|mm | No helper found for module: compliments.
0|mm | [20.01.2022 20:10.23.101] [LOG]
0|mm | No helper found for module: weather.
0|mm | [20.01.2022 20:10.23.133] [LOG]
0|mm | Initializing new module helper ...
0|mm | [20.01.2022 20:10.23.134] [LOG]
0|mm | Module helper loaded: newsfeed
0|mm | [20.01.2022 20:10.23.135] [LOG]
0|mm | All module helpers loaded.
0|mm | [20.01.2022 20:10.23.241] [LOG]
0|mm | Starting server on port 8080 ...
0|mm | [20.01.2022 20:10.23.259] [LOG]
0|mm | Server started ...
0|mm | [20.01.2022 20:10.23.261] [LOG]
0|mm | Connecting socket for: updatenotification
0|mm | [20.01.2022 20:10.23.262] [LOG]
0|mm | Starting module helper: updatenotification
0|mm | [20.01.2022 20:10.23.263] [LOG] Connecting socket for: calendar
0|mm | [20.01.2022 20:10.23.265] [LOG]
0|mm | Starting node helper for: calendar
0|mm | [20.01.2022 20:10.23.266] [LOG] Connecting socket for: newsfeed
0|mm | [20.01.2022 20:10.23.267] [LOG] Starting node helper for: newsfeed
0|mm | [20.01.2022 20:10.23.268] [LOG]
0|mm | Sockets connected & modules started ...
0|mm | /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGTRAP
0|mm | > [email protected] start
0|mm | > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
0|mm | [20.01.2022 20:10.28.802] [LOG]
0|mm | Starting MagicMirror: v2.18.0
0|mm | [20.01.2022 20:10.28.815] [LOG]
0|mm | Loading config ...
0|mm | [20.01.2022 20:10.28.823] [LOG]
0|mm | Loading module helpers ...
0|mm | [20.01.2022 20:10.28.827] [LOG]
0|mm | No helper found for module: alert.
0|mm | [20.01.2022 20:10.28.845] [LOG]
0|mm | Initializing new module helper ...
0|mm | [20.01.2022 20:10.28.849] [LOG]
0|mm | Module helper loaded: updatenotification
0|mm | [20.01.2022 20:10.28.853] [LOG]
0|mm | No helper found for module: clock.
0|mm | [20.01.2022 20:10.29.004] [LOG]
0|mm | Initializing new module helper ...
0|mm | [20.01.2022 20:10.29.008] [LOG]
0|mm | Module helper loaded: calendar
0|mm | [20.01.2022 20:10.29.010] [LOG]
0|mm | No helper found for module: compliments.
0|mm | [20.01.2022 20:10.29.012] [LOG]
0|mm | No helper found for module: weather.
0|mm | [20.01.2022 20:10.29.045] [LOG]
0|mm | Initializing new module helper ...
0|mm | [20.01.2022 20:10.29.046] [LOG]
0|mm | Module helper loaded: newsfeed
0|mm | [20.01.2022 20:10.29.047] [LOG] All module helpers loaded.
0|mm | [20.01.2022 20:10.29.164] [LOG]
0|mm | Starting server on port 8080 ...
0|mm | [20.01.2022 20:10.29.181] [LOG]
0|mm | Server started ...
0|mm | [20.01.2022 20:10.29.183] [LOG]
0|mm | Connecting socket for: updatenotification
0|mm | [20.01.2022 20:10.29.185] [LOG]
0|mm | Starting module helper: updatenotification
0|mm | [20.01.2022 20:10.29.186] [LOG] Connecting socket for: calendar
0|mm | [20.01.2022 20:10.29.187] [LOG] Starting node helper for: calendar
0|mm | [20.01.2022 20:10.29.188] [LOG] Connecting socket for: newsfeed
0|mm | [20.01.2022 20:10.29.190] [LOG] Starting node helper for: newsfeed
0|mm | [20.01.2022 20:10.29.190] [LOG] Sockets connected & modules started ...
0|mm | /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGTRAP
0|mm | > [email protected] start
0|mm | > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
`
`pi@dashboard:~/MagicMirror $ npm run config:check
[20.01.2022 20:25.24.343] [INFO] Checking file... /home/pi/MagicMirror/config/config.js
[20.01.2022 20:25.24.435] [INFO] Your configuration file doesn't contain syntax errors :)
pi@dashboard:~/MagicMirror $
`
The text was updated successfully, but these errors were encountered: