Ich hab jetzt den Raspberry komplett neu aufgesetzt und MM neu installiert - jetzt geht es wieder
Read the statement by Michael Teeuw here.
Posts
-
RE: PM2 beendet und startet MM andauernd nach Update
-
RE: PM2 beendet und startet MM andauernd nach Update
NODE v16.19.0
NPM v 8.19.3Update via Script
bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" force -
PM2 beendet und startet MM andauernd nach Update
Guten Morgen, mein MM funktioniert nachdem Update nicht mehr richtig.
Es wird automatisch beendet und neugestartet von pm2.Hier der PM2 LOG:
0|mm | > magicmirror@2.23.0 start 0|mm | > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js 0|mm | [15.04.2023 11:09.43.757] [LOG] Starting MagicMirror: v2.23.0 0|mm | [15.04.2023 11:09.43.773] [LOG] Loading config ... 0|mm | [15.04.2023 11:09.43.781] [DEBUG] config template file not exists, no envsubst 0|mm | [15.04.2023 11:09.43.793] [LOG] Loading module helpers ... 0|mm | [15.04.2023 11:09.43.836] [LOG] Initializing new module helper ... 0|mm | [15.04.2023 11:09.43.839] [LOG] Module helper loaded: updatenotification 0|mm | [15.04.2023 11:09.43.841] [LOG] No helper found for module: clock. 0|mm | [15.04.2023 11:09.43.850] [LOG] Initializing new module helper ... 0|mm | [15.04.2023 11:09.43.852] [LOG] Check MagicMirror² version for node helper 'MMM-Fuel' - Minimum version: 2.15.0 - Current version: 2.23.0 0|mm | [15.04.2023 11:09.43.856] [LOG] Version is ok! 0|mm | [15.04.2023 11:09.43.859] [LOG] Module helper loaded: MMM-Fuel 0|mm | [15.04.2023 11:09.44.347] [LOG] Initializing new module helper ... 0|mm | [15.04.2023 11:09.44.349] [LOG] Module helper loaded: calendar 0|mm | [15.04.2023 11:09.44.350] [LOG] No helper found for module: compliments. 0|mm | [15.04.2023 11:09.44.353] [LOG] No helper found for module: weather. 0|mm | [15.04.2023 11:09.44.358] [LOG] Initializing new module helper ... 0|mm | [15.04.2023 11:09.44.359] [LOG] Module helper loaded: MMM-DWD-WarnWeather 0|mm | [15.04.2023 11:09.45.297] [LOG] Initializing new module helper ... 0|mm | [15.04.2023 11:09.45.302] [LOG] Module helper loaded: MMM-Jast 0|mm | [15.04.2023 11:09.45.304] [LOG] All module helpers loaded. 0|mm | [15.04.2023 11:09.45.332] [LOG] Starting server on port 8080 ... 0|mm | [15.04.2023 11:09.45.871] [LOG] Server started ... 0|mm | [15.04.2023 11:09.45.876] [LOG] Connecting socket for: updatenotification 0|mm | [15.04.2023 11:09.45.878] [LOG] Starting module helper: updatenotification 0|mm | [15.04.2023 11:09.45.879] [LOG] Connecting socket for: MMM-Fuel 0|mm | [15.04.2023 11:09.45.880] [LOG] Starting module helper: MMM-Fuel 0|mm | [15.04.2023 11:09.45.882] [LOG] Connecting socket for: calendar 0|mm | [15.04.2023 11:09.45.884] [LOG] Starting node helper for: calendar 0|mm | [15.04.2023 11:09.45.885] [LOG] Connecting socket for: MMM-DWD-WarnWeather 0|mm | [15.04.2023 11:09.45.887] [LOG] MMM-DWD-WarnWeather helper started... 0|mm | [15.04.2023 11:09.45.890] [LOG] Connecting socket for: MMM-Jast 0|mm | [15.04.2023 11:09.45.892] [LOG] MMM-Jast helper method started... 0|mm | [15.04.2023 11:09.45.894] [LOG] Sockets connected & modules started ... 0|mm | [15.04.2023 11:09.46.027] [LOG] Launching application. 0|mm | [15654:0415/110946.854883:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization 0|mm | [15689:0415/110947.076938:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported. 0|mm | [15662:0415/110947.157042:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer. 0|mm | [15.04.2023 11:09.50.379] [LOG] Create new calendarfetcher for url: https://calendar.google.com/calendar/ical/ZEICHENFOLGEgroup.calendar.google.com/private-ZEICHENFOLGE/basic.ics - Interval: 300000 0|mm | [15.04.2023 11:09.53.215] [WARN] MMM-Fuel: Filtered stationIds list is empty 0|mm | [15.04.2023 11:09.55.354] [INFO] Calendar-Fetcher: Broadcasting 134 events. 0|mm | [15.04.2023 11:09.55.570] [INFO] Checking git for module: MMM-Fuel 0|mm | [15.04.2023 11:09.55.666] [INFO] Checking git for module: MMM-DWD-WarnWeather 0|mm | [15.04.2023 11:09.55.727] [INFO] Checking git for module: MMM-Jast 0|mm | [15.04.2023 11:09.55.782] [INFO] Checking git for module: MagicMirror PM2 | pm2 has been killed by signal, dumping process list before exit... PM2 | Deleting process 0 PM2 | Stopping app:mm id:0 0|mm | [15.04.2023 11:11.04.768] [LOG] Shutting down server... 0|mm | [15.04.2023 11:11.04.772] [LOG] Stopping module helper: updatenotification 0|mm | [15.04.2023 11:11.04.773] [LOG] Stopping module helper: MMM-Fuel 0|mm | [15.04.2023 11:11.04.774] [LOG] Stopping module helper: calendar 0|mm | [15.04.2023 11:11.04.776] [LOG] Stopping module helper: MMM-DWD-WarnWeather 0|mm | [15.04.2023 11:11.04.777] [LOG] Stopping module helper: MMM-Jast 0|mm | [15.04.2023 11:11.04.779] [LOG] Node_helpers stopped ... PM2 | App [mm:0] exited with code [0] via signal [SIGTERM] 0|mm | [15620:0415/111104.849464:ERROR:zygote_communication_linux.cc(291)] Failed to send GetTerminationStatus message to zygote 0|mm | [15620:0415/111104.871342:ERROR:network_service_instance_impl.cc(521)] Network service crashed, restarting service. 0|mm | [15620:0415/111104.886158:ERROR:zygote_communication_linux.cc(291)] Failed to send GetTerminationStatus message to zygote 0|mm | [15620:0415/111104.897434:ERROR:gpu_process_host.cc(985)] GPU process launch failed: error_code=1002 0|mm | [15620:0415/111104.905143:ERROR:gpu_process_host.cc(985)] GPU process launch failed: error_code=1002 0|mm | [15620:0415/111104.910341:ERROR:gpu_process_host.cc(985)] GPU process launch failed: error_code=1002 0|mm | [15620:0415/111104.917887:ERROR:gpu_process_host.cc(985)] GPU process launch failed: error_code=1002 0|mm | [15620:0415/111104.922896:ERROR:gpu_process_host.cc(985)] GPU process launch failed: error_code=1002 PM2 | pid=15596 msg=process killed PM2 | Exited peacefullyHat jemand zufällig eine Idee was los ist??
-
RE: Deutsche Anleitung MagicMirror auf RaspberryPi 3
Ich hab da mal ein ganz komisches Problem seit dem letzten Update von MM
MM beendet und startet sich ständig selbst…also wenn ich dran vorbei gehe ist auch des öfteren der Desktop vom Pi OS zu sehen und dann wieder MM
Was läuft denn da schief?
Hab gerade mal in den PM2 log geschaut
0|mm | [15.04.2023 11:05.01.825] [LOG] Starting MagicMirror: v2.23.0 0|mm | [15.04.2023 11:05.01.842] [LOG] Loading config ... 0|mm | [15.04.2023 11:05.01.850] [DEBUG] config template file not exists, no envsubst 0|mm | [15.04.2023 11:05.01.863] [LOG] Loading module helpers ... 0|mm | [15.04.2023 11:05.01.902] [LOG] Initializing new module helper ... 0|mm | [15.04.2023 11:05.01.905] [LOG] Module helper loaded: updatenotification 0|mm | [15.04.2023 11:05.01.908] [LOG] No helper found for module: clock. 0|mm | [15.04.2023 11:05.01.918] [LOG] Initializing new module helper ... 0|mm | [15.04.2023 11:05.01.919] [LOG] Check MagicMirror² version for node helper 'MMM-Fuel' - Minimum version: 2.15.0 - Current version: 2.23.0 0|mm | [15.04.2023 11:05.01.923] [LOG] Version is ok! 0|mm | [15.04.2023 11:05.01.926] [LOG] Module helper loaded: MMM-Fuel 0|mm | [15.04.2023 11:05.02.455] [LOG] Initializing new module helper ... 0|mm | [15.04.2023 11:05.02.458] [LOG] Module helper loaded: calendar 0|mm | [15.04.2023 11:05.02.460] [LOG] No helper found for module: compliments. 0|mm | [15.04.2023 11:05.02.463] [LOG] No helper found for module: weather. 0|mm | [15.04.2023 11:05.02.470] [LOG] Initializing new module helper ... 0|mm | [15.04.2023 11:05.02.471] [LOG] Module helper loaded: MMM-DWD-WarnWeather 0|mm | [15.04.2023 11:05.03.418] [LOG] Initializing new module helper ... 0|mm | [15.04.2023 11:05.03.419] [LOG] Module helper loaded: MMM-Jast 0|mm | [15.04.2023 11:05.03.419] [LOG] All module helpers loaded. 0|mm | [15.04.2023 11:05.03.446] [LOG] Starting server on port 8080 ... 0|mm | [15.04.2023 11:05.03.983] [LOG] Server started ... 0|mm | [15.04.2023 11:05.03.986] [LOG] Connecting socket for: updatenotification 0|mm | [15.04.2023 11:05.03.989] [LOG] Starting module helper: updatenotification 0|mm | [15.04.2023 11:05.03.990] [LOG] Connecting socket for: MMM-Fuel 0|mm | [15.04.2023 11:05.03.991] [LOG] Starting module helper: MMM-Fuel 0|mm | [15.04.2023 11:05.03.992] [LOG] Connecting socket for: calendar 0|mm | [15.04.2023 11:05.03.994] [LOG] Starting node helper for: calendar 0|mm | [15.04.2023 11:05.03.996] [LOG] Connecting socket for: MMM-DWD-WarnWeather 0|mm | [15.04.2023 11:05.03.997] [LOG] MMM-DWD-WarnWeather helper started... 0|mm | [15.04.2023 11:05.04.001] [LOG] Connecting socket for: MMM-Jast 0|mm | [15.04.2023 11:05.04.003] [LOG] MMM-Jast helper method started... 0|mm | [15.04.2023 11:05.04.005] [LOG] Sockets connected & modules started ... 0|mm | [15.04.2023 11:05.04.049] [LOG] Launching application. 0|mm | [15106:0415/110505.024840:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization 0|mm | [15138:0415/110505.230656:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported. 0|mm | [15111:0415/110505.279824:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer. 0|mm | [15.04.2023 11:05.08.580] [LOG] Create new calendarfetcher for url: https://calendar.google.com/calendar/ical/zeichenfolgegroup.calendar.google.com/private-zeichenfolge/basic.ics - Interval: 300000 0|mm | [15.04.2023 11:05.11.500] [WARN] MMM-Fuel: Filtered stationIds list is empty 0|mm | [15.04.2023 11:05.13.146] [INFO] Calendar-Fetcher: Broadcasting 134 events. 0|mm | [15.04.2023 11:05.13.356] [INFO] Checking git for module: MMM-Fuel 0|mm | [15.04.2023 11:05.13.429] [INFO] Checking git for module: MMM-DWD-WarnWeather 0|mm | [15.04.2023 11:05.13.493] [INFO] Checking git for module: MMM-Jast 0|mm | [15.04.2023 11:05.13.540] [INFO] Checking git for module: MagicMirror PM2 | pm2 has been killed by signal, dumping process list before exit... PM2 | Deleting process 0 PM2 | Stopping app:mm id:0 0|mm | [15.04.2023 11:06.22.781] [LOG] Shutting down server... 0|mm | [15.04.2023 11:06.22.787] [LOG] Stopping module helper: updatenotification 0|mm | [15.04.2023 11:06.22.788] [LOG] Stopping module helper: MMM-Fuel 0|mm | [15.04.2023 11:06.22.789] [LOG] Stopping module helper: calendar 0|mm | [15.04.2023 11:06.22.791] [LOG] Stopping module helper: MMM-DWD-WarnWeather 0|mm | [15.04.2023 11:06.22.792] [LOG] Stopping module helper: MMM-Jast 0|mm | [15.04.2023 11:06.22.795] [LOG] Node_helpers stopped ... PM2 | App [mm:0] exited with code [0] via signal [SIGTERM] 0|mm | [15069:0415/110622.830813:ERROR:zygote_communication_linux.cc(291)] Failed to send GetTerminationStatus message to zygote 0|mm | [15069:0415/110622.858648:ERROR:network_service_instance_impl.cc(521)] Network service crashed, restarting service. 0|mm | [15069:0415/110622.881945:ERROR:zygote_communication_linux.cc(291)] Failed to send GetTerminationStatus message to zygote 0|mm | [15069:0415/110622.894739:ERROR:gpu_process_host.cc(985)] GPU process launch failed: error_code=1002 0|mm | [15069:0415/110622.905503:ERROR:gpu_process_host.cc(985)] GPU process launch failed: error_code=1002 0|mm | [15069:0415/110622.912027:ERROR:gpu_process_host.cc(985)] GPU process launch failed: error_code=1002 0|mm | [15069:0415/110622.918710:ERROR:gpu_process_host.cc(985)] GPU process launch failed: error_code=1002 0|mm | [15069:0415/110622.924483:ERROR:gpu_process_host.cc(985)] GPU process launch failed: error_code=1002 0|mm | [15069:0415/110622.929797:ERROR:gpu_process_host.cc(985)] GPU process launch failed: error_code=1002 0|mm | [15069:0415/110622.929889:FATAL:gpu_data_manager_impl_private.cc(440)] GPU process isn't usable. Goodbye. PM2 | pid=15045 msg=process killed PM2 | Exited peacefully -
RE: MMM-Fuel funktioniert nicht mehr
@sdetweil Ich finde nicht mal die englische Version in MMM-Fuel
daher habe ich MMM-Fuel einfach neu installiert. Ich bekomme aber selbst bei der Installation des Modules Fehlermeldungen. :anguished_face:
pi@raspberrypi:~/MagicMirror/modules $ git clone https://github.com/fewieden/MMM-Fuel Klone nach 'MMM-Fuel' ... remote: Enumerating objects: 926, done. remote: Counting objects: 100% (151/151), done. remote: Compressing objects: 100% (53/53), done. remote: Total 926 (delta 99), reused 143 (delta 96), pack-reused 775 Empfange Objekte: 100% (926/926), 1.44 MiB | 1.89 MiB/s, Fertig. Löse Unterschiede auf: 100% (581/581), Fertig. pi@raspberrypi:~/MagicMirror/modules $ cd MMM-Fuel pi@raspberrypi:~/MagicMirror/modules/MMM-Fuel $ npm install npm WARN old lockfile npm WARN old lockfile The package-lock.json file was created with an old version of npm, npm WARN old lockfile so supplemental metadata must be fetched from the registry. npm WARN old lockfile npm WARN old lockfile This is a one-time fix-up, please be patient... npm WARN old lockfile npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) npm WARN deprecated babel-eslint@10.1.0: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates. added 526 packages, and audited 527 packages in 2m 73 packages are looking for funding run `npm fund` for details 6 vulnerabilities (2 moderate, 3 high, 1 critical) To address all issues, run: npm audit fix Run `npm audit` for details. pi@raspberrypi:~/MagicMirror/modules/MMM-Fuel $ES LÄUFT WIEDER!!! Keine Ahnung wieso und weshalb, aber MMM-Fuel läuft wieder.
Danke für euren Support
-
RE: MMM-Fuel funktioniert nicht mehr
@sdetweil said in MMM-Fuel funktioniert nicht mehr:
but it says the German translations file is not present
Wo ist die hin bzw woher bekomm ich die?
-
RE: MMM-Fuel funktioniert nicht mehr
@sdetweil said in MMM-Fuel funktioniert nicht mehr:
pm2 logs–lines=50
pi@raspberrypi:~ $ pm2 logs–lines=50 [PM2][ERROR] Command not found usage: pm2 [options] <command> pm2 -h, --help all available commands and options pm2 examples display pm2 usage examples pm2 <command> -h help on a specific command Access pm2 files in ~/.pm2 pi@raspberrypi:~ $Ich glaube nicht das es an PM2 liegt. Wie gesagt, sobald ich die MMM-Fuel aus der Config löschen, funktioniert MM und das auch via PM2
-
RE: MMM-Fuel funktioniert nicht mehr
@sdetweil
Ich abe dort eine Orange Warnung:VM4 sandbox_bundle:2 Electron Security Warning (Insecure Content-Security-Policy) This renderer process has either no Content Security Policy set or a policy with "unsafe-eval" enabled. This exposes users of this app to unnecessary security risks. For more information and help, consult https://electronjs.org/docs/tutorial/security. This warning will not show up once the app is packaged.und einen Roten Fehler:
Failed to load resource: the server responded with a status of 404 (Not Found) :8080/modules/MMM-Fuel/translations/de.json:1 -
RE: MMM-Fuel funktioniert nicht mehr
@sdetweil das Modul war deaktiviert, schliesslich mußte ich MM beenden um Ihren Script auszuführen.
MMM-Fuel hat ja noch bis vor kurzen funktioniert. Erst seit dem die Update Notification für MM angezeigt wurde, fehlte das Modul auf dem “Display”, der Rest war aber noch vorhanden.
Nun bleibt nachdem Update das “Display” schwarz und nur wenn ich MMM-Fuel aus der Config entferne, wird alles andere wieder angezeigt.
Hier der Config Eintrag von Fuel
{ module: "MMM-Fuel", position: "bottom_left", config: { api_key: "meine_api", lat: 51.09276, lng: 8.93330, types: ["e5"], radius: 10 } },sehr komisch…
Ich habe jetzt extra nochmal die Code Zeilen in die config.js wieder eingefügt und danach erneut den Update Script ausgeführt - nun wird MMM-Fuel im Update sogar aufgeführt.
pi@raspberrypi:~/MagicMirror $ bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" force No LSB modules are available. doing test run = false update log will be in /home/pi/MagicMirror/installers/upgrade.log Check current Node installation ... Node currently installed. Checking version number. Minimum Node version: v16.9.1 Installed Node version: v16.19.0 No Node.js upgrade necessary. Check current NPM installation ... NPM currently installed. Checking version number. Minimum npm version: V7.11.2 Installed npm version: V8.19.3 No npm upgrade necessary. upgrading from version 2.22.0 to 2.22.0 fetching latest revisions updating MagicMirror runtime, please wait > magicmirror@2.22.0 postinstall > npm run install-vendor && npm run install-fonts && echo "MagicMirror² installation finished successfully! > " > magicmirror@2.22.0 install-vendor > echo "Installing vendor files ... > " && cd vendor && npm install --loglevel=error --no-audit --no-fund --no-update-notifier Installing vendor files ... up to date in 1s > magicmirror@2.22.0 install-fonts > echo "Installing fonts ... > " && cd fonts && npm install --loglevel=error --no-audit --no-fund --no-update-notifier Installing fonts ... up to date in 991ms MagicMirror² installation finished successfully! > magicmirror@2.22.0 prepare > [ -f node_modules/.bin/husky ] && husky install || echo no husky installed. no husky installed. added 275 packages, and audited 276 packages in 2m 46 packages are looking for funding run `npm fund` for details found 0 vulnerabilities Checking for modules with removed libraries processing dependency changes for active modules with package.json files processing for module MMM-Fuel please wait ---------------------------------- added 16 packages, and audited 17 packages in 19s 8 packages are looking for funding run `npm fund` for details found 0 vulnerabilities processing complete for module MMM-Fuel processing for module MMM-Jast please wait ---------------------------------- added 12 packages, and audited 13 packages in 16s 1 package is looking for funding run `npm fund` for details found 0 vulnerabilities processing complete for module MMM-Jast pi@raspberrypi:~/MagicMirror $pi@raspberrypi:~/MagicMirror $ pm2 start mm [PM2] Applying action restartProcessId on app [mm](ids: [ 0 ]) [PM2] [mm](0) ✓ [PM2] Process successfully started ┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐ │ id │ name │ mode │ ↺ │ status │ cpu │ memory │ ├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤ │ 0 │ mm │ fork │ 12 │ online │ 0% │ 2.3mb │ └────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘ pi@raspberrypi:~/MagicMirror $Das Display bleibt aber weiterhin Schwarz und zeigt nicht mal nen Fehler in der config an
-
RE: MMM-Fuel funktioniert nicht mehr
pi@raspberrypi:~/MagicMirror $ bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" force No LSB modules are available. doing test run = false update log will be in /home/pi/MagicMirror/installers/upgrade.log Check current Node installation ... Node currently installed. Checking version number. Minimum Node version: v16.9.1 Installed Node version: v10.17.0 Node should be upgraded. Installing Node.js ... gpg: WARNUNG: Unsicheres Besitzverhältnis des Home-Verzeichnis `/home/pi/.gnupg' Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Die folgenden Pakete werden aktualisiert (Upgrade): nodejs 1 aktualisiert, 0 neu installiert, 0 zu entfernen und 445 nicht aktualisiert. Es müssen 24,2 MB an Archiven heruntergeladen werden. Nach dieser Operation werden 47,5 MB Plattenplatz zusätzlich benutzt. Holen:1 https://deb.nodesource.com/node_16.x buster/main armhf nodejs armhf 16.19.0-deb-1nodesource1 [24,2 MB] Es wurden 24,2 MB in 34 s geholt (711 kB/s). apt-listchanges: Changelogs werden gelesen... (Lese Datenbank ... 101770 Dateien und Verzeichnisse sind derzeit installiert.) Vorbereitung zum Entpacken von .../nodejs_16.19.0-deb-1nodesource1_armhf.deb ... Entpacken von nodejs (16.19.0-deb-1nodesource1) über (10.17.0-1nodesource1) ... nodejs (16.19.0-deb-1nodesource1) wird eingerichtet ... Trigger für man-db (2.8.5-2) werden verarbeitet ... node version is Node.js installation Done! version=v16.19.0 Check current NPM installation ... NPM currently installed. Checking version number. Minimum npm version: V7.11.2 Installed npm version: V8.19.3 No npm upgrade necessary. upgrading from version 2.22.0 to 2.22.0 fetching latest revisions there are 3 local files that are different than the master repo fonts/package-lock.json package-lock.json vendor/package-lock.json any *-lock.json files do not need to be saved do you want to save these files for later (Y/n)?y updating MagicMirror runtime, please wait > magicmirror@2.22.0 postinstall > npm run install-vendor && npm run install-fonts && echo "MagicMirror² installation finished successfully! > " > magicmirror@2.22.0 install-vendor > echo "Installing vendor files ... > " && cd vendor && npm install --loglevel=error --no-audit --no-fund --no-update-notifier Installing vendor files ... up to date in 1s > magicmirror@2.22.0 install-fonts > echo "Installing fonts ... > " && cd fonts && npm install --loglevel=error --no-audit --no-fund --no-update-notifier Installing fonts ... up to date in 869ms MagicMirror² installation finished successfully! > magicmirror@2.22.0 prepare > [ -f node_modules/.bin/husky ] && husky install || echo no husky installed. no husky installed. added 275 packages, and audited 276 packages in 3m 46 packages are looking for funding run `npm fund` for details found 0 vulnerabilities npm notice npm notice New major version of npm available! 8.19.3 -> 9.2.0 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.2.0> npm notice Run `npm install -g npm@9.2.0` to update! npm notice Checking for modules with removed libraries processing dependency changes for active modules with package.json files processing for module MMM-Jast please wait ---------------------------------- added 12 packages, and audited 13 packages in 11s 1 package is looking for funding run `npm fund` for details found 0 vulnerabilities processing complete for module MMM-Jast we stashed a set of files that appear changed from the latest repo versions. you should review them see installers/stashed_files for the list you can use git checkout stash@{0} -- filename to extract one file from the stash or git stash pop to restore them all WARNING.. WARNING.. either will overlay the file just installed by the update WARNING.. pi@raspberrypi:~/MagicMirror $Danach das Update bei MMM-Fuel durchgeführt:
pi@raspberrypi:~/MagicMirror/modules/MMM-Fuel $ git pull && npm install Bereits aktuell. npm WARN old lockfile npm WARN old lockfile The package-lock.json file was created with an old version of npm, npm WARN old lockfile so supplemental metadata must be fetched from the registry. npm WARN old lockfile npm WARN old lockfile This is a one-time fix-up, please be patient... npm WARN old lockfile up to date, audited 527 packages in 45s 73 packages are looking for funding run `npm fund` for details 6 vulnerabilities (2 moderate, 3 high, 1 critical) To address all issues, run: npm audit fix Run `npm audit` for details. pi@raspberrypi:~/MagicMirror/modules/MMM-Fuel $Problem ist nun, dass mein ganzer MM schwarz bleibt und nichts Anzeigt.
Nehm ich MMM-Fuel aus der config.js raus, wird mir wenigsten der Rest wieder angezeigt. -
RE: MMM-Fuel funktioniert nicht mehr
pi@raspberrypi:~/MagicMirror $ bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" force No LSB modules are available. doing test run = false update log will be in /home/pi/MagicMirror/installers/upgrade.log Check current Node installation ... Node currently installed. Checking version number. Minimum Node version: v16.9.1 Installed Node version: v10.17.0 Node should be upgraded. A Node process is currently running. Can't upgrade. Please quit all Node processes and restart the update. running process(s) are pi 14928 14927 0 17:40 ? 00:00:00 node ./node_modules/.bin/electron js/electron.js pi@raspberrypi:~/MagicMirror $habe dann pm2 stop mm ausgeführt und dann ging das mit dem script
-
RE: MMM-Fuel funktioniert nicht mehr
@sdetweil
Hm ich habe das Update durchgeführt wie ich denke wie man es macht. Also ich bin mit Putty in den Ordner MagicMirror gegangen und habe dort git pull && npm install
ausgeführt. Danach habe ich pm2 restart mm ausgeführt um MM neu zu starten.Da MMM-Fuel nicht erschien bin ich erneut mit Putty in den Ordner MagicMirror/modules/MMM-Fuel/ gegangen und habe dort git pull && npm install ausgeführt.
@sdetweil said in MMM-Fuel funktioniert nicht mehr:
Da Sie bereits ein Upgrade durchgeführt haben, müssten Sie anstelle von apply den Parameter force verwenden
Ähm ich versteh gerade nicht was Sie damit meinen.
-
MMM-Fuel funktioniert nicht mehr
Servus Community, meine Frau hat bemängelt das MMM-Fuel nicht mehr läuft und da MM eh ein Update benötigte, habe ich das natürlich auch gleich durchgeführt. Nur hat es das Problem mit Fuel nicht beseitigt. Ich habe also das Modul selbst geupdatet und bekomme da folgende Fehlermeldung
npm WARN eslint-config-esnext@4.1.0 requires a peer of eslint@^6.0.0 but none is installed. You must install peer dependencies yourself. npm WARN eslint-config-node@4.1.0 requires a peer of eslint@^6.0.0 but none is i nstalled. You must install peer dependencies yourself. npm WARN eslint-config-react-native@4.1.0 requires a peer of eslint@^6.0.0 but n one is installed. You must install peer dependencies yourself. npm WARN eslint-config-recommended@4.1.0 requires a peer of eslint@^6.0.0 but no ne is installed. You must install peer dependencies yourself.Ähm weiß nur gerade nicht was mir diese Fehlermeldung sagen will. Ich bitte daher um Hilfe!!
-
RE: Deutsche Anleitung MagicMirror auf RaspberryPi 3
@thgmirror hm komisch da wäre ja kaum was zu ändern an der urspprünglichen Version von weatherforecast - bzw. das einzige was ich jetzt geändert habe, war die Location…also anstatt der ID den Namen? Aber es funktioniert trotzdem nicht.
{ module: "weatherforecast", position: "top_right", header: "Wettervorhersage", config: { location: "Frankenau", locationID: "2925651", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city appid: "DER SELBE API KEY WIE BEI WEATHER" }Irgendetwas übersehe ich wohl…
-
RE: Deutsche Anleitung MagicMirror auf RaspberryPi 3
@thgmirror Danke Thomas für die Hilfe…jetzt läufts auch wieder.
Kurz gefragt - ich hatte auch die Wettervorhersage “weatherforecast” auf meinem MM
wie muß ich das denn anpassen, damit es wieder angezwigt wird?
-
RE: Deutsche Anleitung MagicMirror auf RaspberryPi 3
Never Change a running System - irgendwann lerne ich das noch…
Ich habe heute meinen MM geupdatet und was soll ich sagen, auf anhieb hat das mit dem Update natürlich nicht geklappt, erst musst ich die üblichen verdächtigen mit .json Endung löschen bevor das Update durch lief.
Nach einem Neustart zeigt mir jetzt die Weather App folgenden Fehler an:
This Module is deprecated since release v2.15 an removed with v2.19 use the “weather” module as replacement, more info in the documentationAlso wenn ich das, mit meinem eingeschränkten Englisch und zur Hilfe nahme eines Übersetzers richtig verstehe - wurde das Original Weather Modul entfernt und man muß nun ein neues installieren. Ähm aber wo finde ich das neue Modul? Ich stehe da gerade auf dem Schlauch.
Hat zufällig jemand schon diese Änderung erfolgreich bearbeitet??
-
RE: Deutsche Anleitung MagicMirror auf RaspberryPi 3
@lavolp3 und @sdetweil vielen Dank! Wenn man das weiß, lassen sich auch die Module Updaten. Die haben mir nämlich auch folgenden Fehler angezeigt, als ich versucht habe sie zu updaten:
Aktualisiere 7cf5bb3..a40302e error: Ihre lokalen Änderungen in den folgenden Dateien würden durch den Merge überschrieben werden: package.json Bitte committen oder stashen Sie Ihre Änderungen, bevor Sie mergen. Abbrucheinfach die package.json gelöscht und git pull ernuet ausgeführ und es lief.
Zum Schluss noch pm2 restart und alles ist aktuell ;-)
-
RE: Deutsche Anleitung MagicMirror auf RaspberryPi 3
Jetzt muß ich doch nochmal fragen, weil dass hatte ich jetzt auch noch nicht.
Ich wollte gerade MM Updaten und habe dazu eingegeben:cd MagicMirror git pull && npm installDoch da bekomm ich jetzt folgende Fehlermeldung und komme nicht weiter:
Aktualisiere 500147e..447c0bf error: Ihre lokalen Änderungen in den folgenden Dateien würden durch den Merge überschrieben werden: package-lock.json Bitte committen oder stashen Sie Ihre Änderungen, bevor Sie mergen. AbbruchHat jemand mal eine Idee was ich falsch machen bzw. was der Fehler zu bedeuten hat?
Gibt es einen anderen Befehl um MM zu updaten??
Ich danke euch!!
-
RE: Deutsche Anleitung MagicMirror auf RaspberryPi 3
@35110 said in Deutsche Anleitung MagicMirror auf RaspberryPi 3:
@lavolp3
ja ich befürchte auch dass es mit dem Subnetz zu tun hat. Das LAN läuft auf 192.168.1.XXX WLAN auf 192.168.212.XXX Der PI auf dem die MMM-Sonos läuft ist sowohl über LAN als auch WLAN verbunden. Wobei ich denke das LAN in diesem Fall dann priorisiert wird. Hab das vorhaben jetzt auch erstmal wieder auf Eis gelegt und versuche seitdem MMM-RTSPStream zum laufen zu bringen - das stellt sich auch schwierig da.Hat jemand das zufällig auf seinem MM laufen?
Nachdem meine beiden Systeme wieder laufen und ich alle Module wieder installiert habe, versuche ich mich erneut an dem MMM-RTSPStream. Da der bei mir weiterhin kein Bild auswerfen will, hier erneut die Frage, hat den jemand erfolgreich am laufen bzw. kann mir jemand evtl. einen Tip geben woran es leigen könnte? Ich habe die URL der Kamera erfolgreich unter VLC geprüft, die funktioniert - nur warum zeigt mein MM den nicht an? Der Rahmen in dem das Videobild angezeigt werden sol, wird mir angezeigt.
Habe meinen IP Bereich im Haus geändert und alle nun im selben IP Bereich laufen. Habe auch auf dem PI bzw. in der config “localhost” gegen die IP des Pi ausgetauscht - ich habe sonst den Config Web Assistenten des Modul nicht erreicht.
Anbei mal meine config dazu:
{ module: "MMM-RTSPStream", position: "middle_center", config: { initialSetup: false, autoStart: true, rotateStreams: false, rotateStreamTimeout: 10, moduleWidth: 710, moduleHeight: 580, localPlayer: 'vlc', remotePlayer: 'none', showSnapWhenPaused: false, remoteSnaps: false, stream1: { name: 'Hof', url: 'rtsp://ADMIN:PASSWORT@IP_CAM:554/cam/realmonitor?channel=1&subtype=1', frameRate: 'undefined', width: 704, height: 576, }, } } -
RE: Deutsche Anleitung MagicMirror auf RaspberryPi 3
@SARCux Ich habe leider auch bis heute dieses Modul nicht zum laufen gebracht. Werde mich aber, wenn meine beiden Systeme irgendwann wieder Ordnungsgemäß laufen, mich der Sache nochmal annehmen. Habe inzwischen mein LAN/WLAN Setup im Haus geändert und vielleicht klappt es ja jetzt.
Ich bin aber immer für neue Ideen offen ;-)