Solved Redemarrage en continu de MM avec GA
-
Bonjour et bravo pour tout ton travail sur ces modules.
Je suis passé sur un rpi4 8go et après l’installation de MM et des modules dont j’avais besoin
MM redémarre sans cesse quand GA est dans le fichier config
J’ai cru comprendre qu’il y avais des soucis avec le fait que l’architecture en 64 bit n’étais pas compatible avec certains modules ou programme
Ou alors j’ai dû louper quelque chose ? -
salut, et que disent les logs ?
-
Merci de répondre aussi vite !
Je ne m’y attendais pas !
J’ai tout éteint pour le moment mais je t’envoie ça dès que je me remet dessus !
De souvenir il parlais d’erreur et de non compatibilité avec l’architecture -
re
voici ce que me dit le log sur ./npm
0 info it worked if it ends with ok
1 verbose cli [ ‘/usr/bin/node’, ‘/usr/bin/npm’, ‘start’ ]
2 info using npm@6.14.15
3 info using node@v14.18.1
4 verbose run-script [ ‘prestart’, ‘start’, ‘poststart’ ]
5 info lifecycle magicmirror@2.17.1~prestart: magicmirror@2.17.1
6 info lifecycle magicmirror@2.17.1~start: magicmirror@2.17.1
7 verbose lifecycle magicmirror@2.17.1~start: unsafe-perm in lifecycle true
8 verbose lifecycle magicmirror@2.17.1~start: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/pi/MagicMirror/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games
9 verbose lifecycle magicmirror@2.17.1~start: CWD: /home/pi/MagicMirror
10 silly lifecycle magicmirror@2.17.1~start: Args: [
10 silly lifecycle ‘-c’,
10 silly lifecycle ‘DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js’
10 silly lifecycle ]
11 silly lifecycle magicmirror@2.17.1~start: Returned: code: 1 signal: null
12 info lifecycle magicmirror@2.17.1~start: Failed to exec start script
13 verbose stack Error: magicmirror@2.17.1 start:DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
13 verbose stack Exit status 1
13 verbose stack at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:400:28)
13 verbose stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:400:28)
13 verbose stack at maybeClose (internal/child_process.js:1058:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:293:5)
14 verbose pkgid magicmirror@2.17.1
15 verbose cwd /home/pi/MagicMirror
16 verbose Linux 5.10.63-v8+
17 verbose argv “/usr/bin/node” “/usr/bin/npm” “start”
18 verbose node v14.18.1
19 verbose npm v6.14.15
20 error code ELIFECYCLE
21 error errno 1
22 error magicmirror@2.17.1 start:DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
22 error Exit status 1
23 error Failed at the magicmirror@2.17.1 start script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]et sur pm2
[14.11.2021 12:18.18.194] [WARN] (electron) Security Warning: A WebContents was just created with both webviewTag and contextIsolation enabled. This combination is fundamentally less secure and effectively bypasses the protections of contextIsolation. We strongly recommend you move away from webviews to OOPIF or BrowserView in order for your app to be more secure
/home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
[14.11.2021 14:00.21.748] [WARN] (electron) Security Warning: A WebContents was just created with both webviewTag and contextIsolation enabled. This combination is fundamentally less secure and effectively bypasses the protections of contextIsolation. We strongly recommend you move away from webviews to OOPIF or BrowserView in order for your app to be more secure
[14.11.2021 14:00.24.772] [ERROR] [GA] Google Assistant does not support this platform. Supported platforms include macOS (x86_64), Windows (x86_64), Linux (x86_64), and Raspberry Pi
[14.11.2021 14:00.25.147] [ERROR] [DETECTOR] The NodeJS binding does not support this platform. Supported platforms include macOS (x86_64), Windows (x86_64), Linux (x86_64), and Raspberry Pi (1-4)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! magicmirror@2.17.1 start:DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the magicmirror@2.17.1 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2021-11-14T13_00_25_425Z-debug.log -
@jeff said in Redemarrage en continu de MM avec GA:
J’ai cru comprendre qu’il y avais des soucis avec le fait que l’architecture en 64 bit n’étais pas compatible avec certains modules ou programme
c’est ça ceci, désolé
Le pi est trop restrictif, pourtant j’utilise Debian 11 x64
Beaucoup de librairie du Pi sont exclusivement en x86, je ne peux pas passer outre… -
Ok
Est ce que le pi 4 en 2go ou 4go réglerais ce problème ? -
c’est une question d’OS pas une question de pi
essaye avec ceci et choisi
Raspberry Pi OS with desktop
-
Ok je test ça dans la semaine
-
Bonne nouvelle !
Après avoir réinstallé raspberry os 32 bit tout fonctionne parfaitement
Merci pour ton boulot -
parfait dans ce cas, bonne utilisation !
-
bugsounet