MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. Klinge
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    K
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 35
    • Posts 105
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: MM does not start - Cannot find module 'html-to-text'

      @sdetweil Ok, here it is

      pi@raspberrypi:~ $ pm2 logs --lines=50
      [TAILING] Tailing last 50 lines for [all] processes (change the value with --lines option)
      /home/pi/.pm2/pm2.log last 50 lines:
      PM2        |     at WriteStream.emit (node:events:517:28)
      PM2        |     at WriteStream.emit (node:domain:552:15)
      PM2        |     at node:internal/fs/streams:75:16
      PM2        |     at FSReqCallback.oncomplete (node:fs:200:23)
      PM2        | 2023-10-04T18:15:52: PM2 log: App [mm:0] online
      PM2        | 2023-10-04T18:17:17: PM2 log: pm2 has been killed by signal, dumping process list before exit...
      PM2        | 2023-10-04T18:17:17: PM2 log: Deleting process 0
      PM2        | 2023-10-04T18:17:17: PM2 log: Stopping app:mm id:0
      PM2        | 2023-10-04T18:17:17: PM2 log: App [mm:0] exited with code [0] via signal [SIGTERM]
      PM2        | 2023-10-04T18:17:17: PM2 log: pid=8252 msg=process killed
      PM2        | 2023-10-04T18:17:17: PM2 log: Exited peacefully
      PM2        | 2023-10-04T18:17:22: PM2 error: TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received type number (8523)
      PM2        |     at Object.writeFileSync (node:fs:2314:5)
      PM2        |     at Daemon.innerStart (/usr/lib/node_modules/pm2/lib/Daemon.js:89:8)
      PM2        |     at Domain.<anonymous> (/usr/lib/node_modules/pm2/lib/Daemon.js:62:10)
      PM2        |     at Domain.run (node:domain:389:15)
      PM2        |     at Daemon.start (/usr/lib/node_modules/pm2/lib/Daemon.js:61:5)
      PM2        |     at Object.<anonymous> (/usr/lib/node_modules/pm2/lib/Daemon.js:453:10)
      PM2        |     at Module._compile (node:internal/modules/cjs/loader:1256:14)
      PM2        |     at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
      PM2        |     at Module.load (node:internal/modules/cjs/loader:1119:32)
      PM2        |     at Module._load (node:internal/modules/cjs/loader:960:12)
      PM2        | 2023-10-04T18:17:23: PM2 log: ===============================================================================
      PM2        | 2023-10-04T18:17:23: PM2 log: --- New PM2 Daemon started ----------------------------------------------------
      PM2        | 2023-10-04T18:17:23: PM2 log: Time                 : Wed Oct 04 2023 18:17:23 GMT+0200 (Mitteleuropäische Sommerzeit)
      PM2        | 2023-10-04T18:17:23: PM2 log: PM2 version          : 4.1.2
      PM2        | 2023-10-04T18:17:23: PM2 log: Node.js version      : 18.18.0
      PM2        | 2023-10-04T18:17:23: PM2 log: Current arch         : arm
      PM2        | 2023-10-04T18:17:23: PM2 log: PM2 home             : /home/pi/.pm2
      PM2        | 2023-10-04T18:17:23: PM2 log: PM2 PID file         : /home/pi/.pm2/pm2.pid
      PM2        | 2023-10-04T18:17:23: PM2 log: RPC socket file      : /home/pi/.pm2/rpc.sock
      PM2        | 2023-10-04T18:17:23: PM2 log: BUS socket file      : /home/pi/.pm2/pub.sock
      PM2        | 2023-10-04T18:17:23: PM2 log: Application log path : /home/pi/.pm2/logs
      PM2        | 2023-10-04T18:17:23: PM2 log: Process dump file    : /home/pi/.pm2/dump.pm2
      PM2        | 2023-10-04T18:17:23: PM2 log: Concurrent actions   : 2
      PM2        | 2023-10-04T18:17:23: PM2 log: SIGTERM timeout      : 1600
      PM2        | 2023-10-04T18:17:23: PM2 log: ===============================================================================
      PM2        | 2023-10-04T18:17:23: PM2 log: App [mm:0] starting in -fork mode-
      PM2        | 2023-10-04T18:17:23: PM2 error: TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received type number (8534)
      PM2        |     at Object.writeFileSync (node:fs:2314:5)
      PM2        |     at /usr/lib/node_modules/pm2/lib/God/ForkMode.js:258:12
      PM2        |     at wrapper (/usr/lib/node_modules/pm2/node_modules/async/internal/once.js:12:16)
      PM2        |     at next (/usr/lib/node_modules/pm2/node_modules/async/waterfall.js:96:20)
      PM2        |     at /usr/lib/node_modules/pm2/node_modules/async/internal/onlyOnce.js:12:16
      PM2        |     at WriteStream.<anonymous> (/usr/lib/node_modules/pm2/lib/Utility.js:186:13)
      PM2        |     at WriteStream.emit (node:events:517:28)
      PM2        |     at WriteStream.emit (node:domain:552:15)
      PM2        |     at node:internal/fs/streams:75:16
      PM2        |     at FSReqCallback.oncomplete (node:fs:200:23)
      PM2        | 2023-10-04T18:17:23: PM2 log: App [mm:0] online
      
      /home/pi/.pm2/logs/mm-error.log last 50 lines:
      0|mm       | [5855:1004/175718.120837:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
      0|mm       | [5861:1004/175718.510133:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
      0|mm       | [04.10.2023 17:58.46.910] [WARN]  You're using a full whitelist configuration to allow for all IPs
      0|mm       | [6032:1004/175847.776473:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.portal.Desktop was not provided by any .service files
      0|mm       | [6065:1004/175848.920978:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
      0|mm       | [6071:1004/175849.241379:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
      0|mm       | [04.10.2023 18:00.17.672] [WARN]  You're using a full whitelist configuration to allow for all IPs
      0|mm       | [6267:1004/180018.583887:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.portal.Desktop was not provided by any .service files
      0|mm       | [6300:1004/180019.572846:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
      0|mm       | [6306:1004/180019.869359:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
      0|mm       | [04.10.2023 18:01.55.338] [WARN]  You're using a full whitelist configuration to allow for all IPs
      0|mm       | [6484:1004/180156.182863:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.portal.Desktop was not provided by any .service files
      0|mm       | [6517:1004/180157.230654:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
      0|mm       | [6523:1004/180157.517864:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
      0|mm       | [04.10.2023 18:03.41.690] [WARN]  You're using a full whitelist configuration to allow for all IPs
      0|mm       | [6748:1004/180342.596450:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.portal.Desktop was not provided by any .service files
      0|mm       | [6782:1004/180343.590529:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
      0|mm       | [6789:1004/180343.906253:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
      0|mm       | [04.10.2023 18:05.13.048] [WARN]  You're using a full whitelist configuration to allow for all IPs
      0|mm       | [6958:1004/180513.984383:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.portal.Desktop was not provided by any .service files
      0|mm       | [6992:1004/180514.960583:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
      0|mm       | [6998:1004/180515.244798:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
      0|mm       | [04.10.2023 18:07.56.767] [WARN]  You're using a full whitelist configuration to allow for all IPs
      0|mm       | [7179:1004/180757.724734:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.portal.Desktop was not provided by any .service files
      0|mm       | [7235:1004/180758.509746:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
      0|mm       | [7247:1004/180758.777018:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
      0|mm       | [04.10.2023 18:09.34.194] [WARN]  You're using a full whitelist configuration to allow for all IPs
      0|mm       | [7416:1004/180935.131361:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.portal.Desktop was not provided by any .service files
      0|mm       | [7448:1004/180936.160496:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
      0|mm       | [7455:1004/180936.436592:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
      0|mm       | [04.10.2023 18:11.05.471] [WARN]  You're using a full whitelist configuration to allow for all IPs
      0|mm       | [7625:1004/181106.474886:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.portal.Desktop was not provided by any .service files
      0|mm       | [7656:1004/181107.269802:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
      0|mm       | [7670:1004/181107.574314:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
      0|mm       | [04.10.2023 18:12.40.548] [WARN]  You're using a full whitelist configuration to allow for all IPs
      0|mm       | [7843:1004/181241.470196:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.portal.Desktop was not provided by any .service files
      0|mm       | [7876:1004/181242.409833:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
      0|mm       | [7883:1004/181242.738127:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
      0|mm       | [04.10.2023 18:14.11.405] [WARN]  You're using a full whitelist configuration to allow for all IPs
      0|mm       | [8059:1004/181412.295277:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.portal.Desktop was not provided by any .service files
      0|mm       | [8092:1004/181413.340008:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
      0|mm       | [8098:1004/181413.652866:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
      0|mm       | [04.10.2023 18:16.04.369] [WARN]  You're using a full whitelist configuration to allow for all IPs
      0|mm       | [8276:1004/181605.210320:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.portal.Desktop was not provided by any .service files
      0|mm       | [8309:1004/181606.250563:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
      0|mm       | [8315:1004/181606.535078:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
      0|mm       | [04.10.2023 18:17.36.219] [WARN]  You're using a full whitelist configuration to allow for all IPs
      0|mm       | [8561:1004/181737.160188:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.portal.Desktop was not provided by any .service files
      0|mm       | [8596:1004/181738.109901:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
      0|mm       | [8602:1004/181738.404887:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
      
      /home/pi/.pm2/logs/mm-out.log last 50 lines:
      0|mm       | [04.10.2023 18:17.30.568] [LOG]   Module helper loaded: MMM-OpenWeatherMapForecast
      0|mm       | [04.10.2023 18:17.30.933] [LOG]   Initializing new module helper ...
      0|mm       | [04.10.2023 18:17.30.935] [LOG]   Module helper loaded: calendar
      0|mm       | [04.10.2023 18:17.34.910] [LOG]   Initializing new module helper ...
      0|mm       | [04.10.2023 18:17.34.912] [LOG]   Module helper loaded: MMM-OnThisDay
      0|mm       | [04.10.2023 18:17.35.609] [LOG]   Initializing new module helper ...
      0|mm       | [04.10.2023 18:17.35.610] [LOG]   Module helper loaded: MMM-DWD-Pollen
      0|mm       | [04.10.2023 18:17.35.805] [LOG]   Initializing new module helper ...
      0|mm       | [04.10.2023 18:17.35.805] [LOG]   Module helper loaded: MMM-NINA
      0|mm       | [04.10.2023 18:17.35.898] [LOG]   Initializing new module helper ...
      0|mm       | [04.10.2023 18:17.35.899] [LOG]   Module helper loaded: MMM-DWD-WarnWeather
      0|mm       | [04.10.2023 18:17.36.182] [LOG]   Initializing new module helper ...
      0|mm       | [04.10.2023 18:17.36.183] [LOG]   Module helper loaded: newsfeed
      0|mm       | [04.10.2023 18:17.36.184] [LOG]   All module helpers loaded.
      0|mm       | [04.10.2023 18:17.36.208] [LOG]   Starting server on port 8080 ...
      0|mm       | [04.10.2023 18:17.36.247] [LOG]   Server started ...
      0|mm       | [04.10.2023 18:17.36.251] [LOG]   Connecting socket for: updatenotification
      0|mm       | [04.10.2023 18:17.36.254] [LOG]   Starting module helper: updatenotification
      0|mm       | [04.10.2023 18:17.36.257] [LOG]   Connecting socket for: MMM-OpenWeatherMapForecast
      0|mm       | [04.10.2023 18:17.36.260] [LOG]   ====================== Starting node_helper for module [MMM-OpenWeatherMapForecast]
      0|mm       | [04.10.2023 18:17.36.262] [LOG]   Connecting socket for: calendar
      0|mm       | [04.10.2023 18:17.36.265] [LOG]   Starting node helper for: calendar
      0|mm       | [04.10.2023 18:17.36.267] [LOG]   Connecting socket for: MMM-OnThisDay
      0|mm       | [04.10.2023 18:17.36.269] [LOG]   Starting module helper: MMM-OnThisDay
      0|mm       | [04.10.2023 18:17.36.271] [LOG]   Connecting socket for: MMM-DWD-Pollen
      0|mm       | [04.10.2023 18:17.36.272] [LOG]   MMM-DWD-Pollen helper started ...
      0|mm       | [04.10.2023 18:17.36.273] [LOG]   Connecting socket for: MMM-NINA
      0|mm       | [04.10.2023 18:17.36.274] [LOG]   MMM-NINA helper method started...
      0|mm       | [04.10.2023 18:17.36.275] [LOG]   Connecting socket for: MMM-DWD-WarnWeather
      0|mm       | [04.10.2023 18:17.36.276] [LOG]   MMM-DWD-WarnWeather helper started...
      0|mm       | [04.10.2023 18:17.36.277] [LOG]   Connecting socket for: newsfeed
      0|mm       | [04.10.2023 18:17.36.278] [LOG]   Starting node helper for: newsfeed
      0|mm       | [04.10.2023 18:17.36.280] [LOG]   Sockets connected & modules started ...
      0|mm       | [04.10.2023 18:17.36.828] [LOG]   Launching application.
      0|mm       | [04.10.2023 18:17.42.028] [LOG]   Create new calendarfetcher for url: https://calendar.google.com/calendar/ical/lars.klingeberg%40gmail.com/private-8cbcc08f4b0fa124985428c70478a278/basic.ics - Interval: 3600000
      0|mm       | [04.10.2023 18:17.42.369] [LOG]   Create new calendarfetcher for url: https://calendar.google.com/calendar/ical/daniela.silbernagel%40gmail.com/private-88e7d28377f0b505f184b5413a231bb7/basic.ics - Interval: 3600000
      0|mm       | [04.10.2023 18:17.42.500] [LOG]   requesting:https://opendata.dwd.de/climate_environment/health/alerts/s31fg.json
      0|mm       | [04.10.2023 18:17.42.557] [LOG]   Create new newsfetcher for url: http://www.tagesschau.de/xml/rss2 - Interval: 300000
      0|mm       | [04.10.2023 18:17.42.584] [LOG]   MMM-OnThisDay: Received socket notification LOAD_EVENTS.
      0|mm       | [04.10.2023 18:17.42.587] [LOG]   MMM-OnThisDay: Load events ...
      0|mm       | [04.10.2023 18:17.42.610] [INFO]  Checking git for module: MMM-OpenWeatherMapForecast
      0|mm       | [04.10.2023 18:17.42.704] [INFO]  Checking git for module: MMM-OnThisDay
      0|mm       | [04.10.2023 18:17.42.769] [INFO]  Checking git for module: MMM-DWD-Pollen
      0|mm       | [04.10.2023 18:17.43.047] [INFO]  Checking git for module: MMM-NINA
      0|mm       | [04.10.2023 18:17.43.124] [LOG]   MMM-DWD-Pollen: Success loading
      0|mm       | [04.10.2023 18:17.43.205] [INFO]  Checking git for module: MMM-DWD-WarnWeather
      0|mm       | [04.10.2023 18:17.43.275] [INFO]  Checking git for module: MagicMirror
      0|mm       | [04.10.2023 18:17.43.568] [LOG]   MMM-OnThisDay: Parse HTML data ...
      0|mm       | [04.10.2023 18:17.46.721] [INFO]  Newsfeed-Fetcher: reloadInterval set to ttl=5400000 for url http://www.tagesschau.de/xml/rss2
      0|mm       | [04.10.2023 18:17.47.876] [INFO]  Newsfeed-Fetcher: Broadcasting 40 items.
      
      
      posted in Troubleshooting
      K
      Klinge
    • RE: MM does not start - Cannot find module 'html-to-text'

      @sdetweil Sorry, but now I have a new problem.

      Now my MM restart every one to two minutes.

      Maybe it is nice to know. Before I installed your update script I realized an autostart via pm2.

      Sorry, but it would be nice if you could help me again.

      Thank you.

      posted in Troubleshooting
      K
      Klinge
    • RE: MM does not start - Cannot find module 'html-to-text'

      @sdetweil Yes, that´s it. Now it runs again.

      Thank you very much!

      I wish you a nice day :-)

      posted in Troubleshooting
      K
      Klinge
    • RE: MM does not start - Cannot find module 'html-to-text'

      @sdetweil Ok, I installed and executed your update script

      pi@raspberrypi:~ $ bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" force
      Paketlisten werden gelesen... Fertig
      Abhängigkeitsbaum wird aufgebaut.
      Statusinformationen werden eingelesen.... Fertig
      Das folgende Paket wurde automatisch installiert und wird nicht mehr benötigt:
        point-rpi
      Verwenden Sie »sudo apt autoremove«, um es zu entfernen.
      Die folgenden Pakete werden ENTFERNT:
        nodejs*
      0 aktualisiert, 0 neu installiert, 1 zu entfernen und 439 nicht aktualisiert.
      Nach dieser Operation werden 177 MB Plattenplatz freigegeben.
      (Lese Datenbank ... 99530 Dateien und Verzeichnisse sind derzeit installiert.)
      Entfernen von nodejs (18.18.0-1nodesource1) ...
      dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules« nicht leer, wird daher nicht gelöscht
      Trigger für man-db (2.8.5-2) werden verarbeitet ...
      OK:1 http://archive.raspberrypi.org/debian buster InRelease
      OK:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
      Paketlisten werden gelesen... Fertig
      Paketlisten werden gelesen... Fertig
      Abhängigkeitsbaum wird aufgebaut.
      Statusinformationen werden eingelesen.... Fertig
      ca-certificates ist schon die neueste Version (20200601~deb10u2).
      curl ist schon die neueste Version (7.64.0-4+deb10u6).
      gnupg ist schon die neueste Version (2.2.12-1+rpi1+deb10u1).
      Das folgende Paket wurde automatisch installiert und wird nicht mehr benötigt:
        point-rpi
      Verwenden Sie »sudo apt autoremove«, um es zu entfernen.
      0 aktualisiert, 0 neu installiert, 0 zu entfernen und 439 nicht aktualisiert.
      deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main
      OK:1 http://archive.raspberrypi.org/debian buster InRelease
      OK:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
      Holen:3 https://deb.nodesource.com/node_18.x nodistro InRelease [12,1 kB]
      Holen:4 https://deb.nodesource.com/node_18.x nodistro/main armhf Packages [5.267 B]
      Es wurden 17,4 kB in 1 s geholt (12,6 kB/s).
      Paketlisten werden gelesen... Fertig
      Paketlisten werden gelesen... Fertig
      Abhängigkeitsbaum wird aufgebaut.
      Statusinformationen werden eingelesen.... Fertig
      Das folgende Paket wurde automatisch installiert und wird nicht mehr benötigt:
        point-rpi
      Verwenden Sie »sudo apt autoremove«, um es zu entfernen.
      Die folgenden NEUEN Pakete werden installiert:
        nodejs
      0 aktualisiert, 1 neu installiert, 0 zu entfernen und 439 nicht aktualisiert.
      Es müssen noch 0 B von 26,8 MB an Archiven heruntergeladen werden.
      Nach dieser Operation werden 177 MB Plattenplatz zusätzlich benutzt.
      Vormals nicht ausgewähltes Paket nodejs wird gewählt.
      (Lese Datenbank ... 93906 Dateien und Verzeichnisse sind derzeit installiert.)
      Vorbereitung zum Entpacken von .../nodejs_18.18.0-1nodesource1_armhf.deb ...
      Entpacken von nodejs (18.18.0-1nodesource1) ...
      nodejs (18.18.0-1nodesource1) wird eingerichtet ...
      Trigger für man-db (2.8.5-2) werden verarbeitet ...
      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: v18.18.0
      Installed Node version: v18.18.0
      No Node.js upgrade necessary.
      Check current NPM installation ...
      NPM currently installed. Checking version number.
      Minimum npm version: V9.8.1
      Installed npm version: V9.8.1
      No npm upgrade necessary.
      
      upgrading from version 2.25.0 to 2.25.0
      fetching latest revisions
      updating MagicMirror runtime, please wait
      
      > magicmirror@2.25.0 postinstall
      > npm run install-vendor && npm run install-fonts && echo "MagicMirror² installation finished successfully!
      > "
      
      
      > magicmirror@2.25.0 install-vendor
      > echo "Installing vendor files ...
      > " && cd vendor && npm install --loglevel=error --no-audit --no-fund --no-update-notifier
      
      Installing vendor files ...
      
      
      added 1 package, and changed 3 packages in 25s
      
      > magicmirror@2.25.0 install-fonts
      > echo "Installing fonts ...
      > " && cd fonts && npm install --loglevel=error --no-audit --no-fund --no-update-notifier
      
      Installing fonts ...
      
      
      changed 2 packages in 9s
      MagicMirror² installation finished successfully!
      
      
      > magicmirror@2.25.0 prepare
      > [ -f node_modules/.bin/husky ] && husky install || echo no husky installed.
      
      no husky installed.
      
      added 334 packages in 5m
      
      97 packages are looking for funding
        run `npm fund` for details
      npm notice
      npm notice New major version of npm available! 9.8.1 -> 10.2.0
      npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.2.0>
      npm notice Run `npm install -g npm@10.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-OpenWeatherMapForecast please wait
      ----------------------------------
      
      added 7 packages, and audited 8 packages in 14s
      
      found 0 vulnerabilities
      processing complete for module MMM-OpenWeatherMapForecast
      
      processing for module MMM-OnThisDay please wait
      ----------------------------------
      npm WARN deprecated request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
      npm WARN deprecated har-validator@5.1.3: this library is no longer supported
      npm WARN deprecated w3c-hr-time@1.0.2: Use your platform's native performance.now() and performance.timeOrigin.
      npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
      npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
      
      added 99 packages, and audited 100 packages in 25s
      
      2 packages are looking for funding
        run `npm fund` for details
      
      8 vulnerabilities (7 moderate, 1 high)
      
      To address all issues, run:
        npm audit fix
      
      Run `npm audit` for details.
      processing complete for module MMM-OnThisDay
      
      processing for module MMM-DWD-Pollen please wait
      ----------------------------------
      npm WARN deprecated har-validator@5.1.5: this library is no longer supported
      npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
      npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
      
      added 47 packages, and audited 48 packages in 8s
      
      2 packages are looking for funding
        run `npm fund` for details
      
      2 moderate severity vulnerabilities
      
      Some issues need review, and may require choosing
      a different dependency.
      
      Run `npm audit` for details.
      processing complete for module MMM-DWD-Pollen
      
      processing for module MMM-NINA please wait
      ----------------------------------
      
      added 4 packages, and audited 5 packages in 4s
      
      found 0 vulnerabilities
      processing complete for module MMM-NINA
      
      processing for module MMM-DWD-WarnWeather please wait
      ----------------------------------
      npm WARN deprecated har-validator@5.1.5: this library is no longer supported
      npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
      npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
      
      added 47 packages, and audited 48 packages in 7s
      
      2 packages are looking for funding
        run `npm fund` for details
      
      2 moderate severity vulnerabilities
      
      Some issues need review, and may require choosing
      a different dependency.
      
      Run `npm audit` for details.
      processing complete for module MMM-DWD-WarnWeather
      
      

      but unfortunately it does not start again

      When the MM start the following error message occur

      pi@raspberrypi:~/MagicMirror $ DISPLAY=:0 npm start
      
      > magicmirror@2.25.0 start
      > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
      
      [04.10.2023 17:08.09.512] [LOG]   Starting MagicMirror: v2.25.0
      [04.10.2023 17:08.09.521] [LOG]   Loading config ...
      [04.10.2023 17:08.09.531] [DEBUG] config template file not exists, no envsubst
      [04.10.2023 17:08.09.547] [LOG]   Loading module helpers ...
      [04.10.2023 17:08.09.550] [LOG]   No helper found for module: alert.
      [04.10.2023 17:08.09.612] [LOG]   Initializing new module helper ...
      [04.10.2023 17:08.09.613] [LOG]   Module helper loaded: updatenotification
      [04.10.2023 17:08.09.615] [LOG]   No helper found for module: clock.
      [04.10.2023 17:08.09.714] [LOG]   Initializing new module helper ...
      [04.10.2023 17:08.09.716] [LOG]   Module helper loaded: MMM-OpenWeatherMapForecast
      [04.10.2023 17:08.10.146] [LOG]   Initializing new module helper ...
      [04.10.2023 17:08.10.147] [LOG]   Module helper loaded: calendar
      [04.10.2023 17:08.13.995] [LOG]   Initializing new module helper ...
      [04.10.2023 17:08.13.997] [LOG]   Module helper loaded: MMM-OnThisDay
      [04.10.2023 17:08.14.646] [LOG]   Initializing new module helper ...
      [04.10.2023 17:08.14.647] [LOG]   Module helper loaded: MMM-DWD-Pollen
      [04.10.2023 17:08.14.808] [LOG]   Initializing new module helper ...
      [04.10.2023 17:08.14.809] [LOG]   Module helper loaded: MMM-NINA
      [04.10.2023 17:08.14.831] [ERROR] (node:17281) UnhandledPromiseRejectionWarning: Error: Cannot find module 'node-fetch'
      Require stack:
      - /home/pi/MagicMirror/modules/MMM-DWD-WarnWeather/node_helper.js
      - /home/pi/MagicMirror/js/app.js
      - /home/pi/MagicMirror/js/electron.js
      - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
      -
          at node:internal/modules/cjs/loader:1084:15
          at Function.<anonymous> (node:electron/js2c/browser_init:2:117419)
          at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
          at node:internal/modules/cjs/loader:929:27
          at Function._load (node:electron/js2c/asar_bundle:2:13327)
          at Module.require (node:internal/modules/cjs/loader:1150:19)
          at require (node:internal/modules/cjs/helpers:110:18)
          at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-DWD-WarnWeather/node_helper.js:12:15)
          at Module._compile (node:internal/modules/cjs/loader:1271:14)
          at Object..js (node:internal/modules/cjs/loader:1326:10)
          at Module.load (node:internal/modules/cjs/loader:1126:32)
          at node:internal/modules/cjs/loader:967:12
          at Function._load (node:electron/js2c/asar_bundle:2:13327)
          at Module.require (node:internal/modules/cjs/loader:1150:19)
          at require (node:internal/modules/cjs/helpers:110:18)
          at loadModule (/home/pi/MagicMirror/js/app.js:180:19)
      (Use `electron --trace-warnings ...` to show where the warning was created)
      [04.10.2023 17:08.14.833] [ERROR] (node:17281) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
      [17281:1004/170815.752475:ERROR:object_proxy.cc(590)] Failed to call method: org.freedesktop.portal.Settings.Read: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.portal.Desktop was not provided by any .service files
      [17316:1004/170817.472544:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
      
      posted in Troubleshooting
      K
      Klinge
    • RE: MM does not start - Cannot find module 'html-to-text'

      @sdetweil Thank you for your answer.

      Unfortunately it does not work.

      pi@raspberrypi:~/MagicMirror $ npm run install-mm
      
      > magicmirror@2.25.0 install-mm /home/pi/MagicMirror
      > npm install --no-audit --no-fund --no-update-notifier --only=prod --omit=dev
      
      npm ERR! code ENOTSUP
      npm ERR! notsup Unsupported engine for magicmirror@2.25.0: wanted: {"node":">=18"} (current: {"node":"10.24.1","npm":"6.14.12"})
      npm ERR! notsup Not compatible with your version of node/npm: magicmirror@2.25.0
      npm ERR! notsup Not compatible with your version of node/npm: magicmirror@2.25.0
      npm ERR! notsup Required: {"node":">=18"}
      npm ERR! notsup Actual:   {"npm":"6.14.12","node":"10.24.1"}
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/pi/.npm/_logs/2023-10-04T12_58_48_289Z-debug.log
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! magicmirror@2.25.0 install-mm: `npm install --no-audit --no-fund --no-update-notifier --only=prod --omit=dev`
      npm ERR! Exit status 1
      npm ERR!
      npm ERR! Failed at the magicmirror@2.25.0 install-mm 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/2023-10-04T12_58_48_449Z-debug.log
      
      

      After that it crushed with the same error like in my first post.

      Could it be that npm is not compatible to the MM version?

      Thank you.

      posted in Troubleshooting
      K
      Klinge
    • MM does not start - Cannot find module 'html-to-text'

      Hello,

      currently my MM does not start. When I start with “DISPLAY=:0 npm start” I get the following error message.

      [04.10.2023 07:00.37.670] [LOG]   Starting MagicMirror: v2.25.0
      [04.10.2023 07:00.37.696] [LOG]   Loading config ...
      [04.10.2023 07:00.37.726] [DEBUG] config template file not exists, no envsubst
      [04.10.2023 07:00.37.737] [LOG]   Loading module helpers ...
      [04.10.2023 07:00.37.739] [LOG]   No helper found for module: alert.
      [04.10.2023 07:00.37.780] [LOG]   Initializing new module helper ...
      [04.10.2023 07:00.37.783] [LOG]   Module helper loaded: updatenotification
      [04.10.2023 07:00.37.786] [LOG]   No helper found for module: clock.
      [04.10.2023 07:00.37.900] [LOG]   Initializing new module helper ...
      [04.10.2023 07:00.37.902] [LOG]   Module helper loaded: MMM-OpenWeatherMapForecast
      [04.10.2023 07:00.38.275] [LOG]   Initializing new module helper ...
      [04.10.2023 07:00.38.278] [LOG]   Module helper loaded: calendar
      [04.10.2023 07:00.41.502] [LOG]   Initializing new module helper ...
      [04.10.2023 07:00.41.504] [LOG]   Module helper loaded: MMM-OnThisDay
      [04.10.2023 07:00.42.231] [LOG]   Initializing new module helper ...
      [04.10.2023 07:00.42.232] [LOG]   Module helper loaded: MMM-DWD-Pollen
      [04.10.2023 07:00.42.442] [LOG]   Initializing new module helper ...
      [04.10.2023 07:00.42.445] [LOG]   Module helper loaded: MMM-NINA
      [04.10.2023 07:00.42.624] [LOG]   Initializing new module helper ...
      [04.10.2023 07:00.42.626] [LOG]   Module helper loaded: MMM-DWD-WarnWeather
      [04.10.2023 07:00.42.683] [ERROR] (node:1016) UnhandledPromiseRejectionWarning: Error: Cannot find module 'html-to-text'
      Require stack:
      - /home/pi/MagicMirror/modules/default/newsfeed/newsfeedfetcher.js
      - /home/pi/MagicMirror/modules/default/newsfeed/node_helper.js
      - /home/pi/MagicMirror/js/app.js
      - /home/pi/MagicMirror/js/electron.js
      - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
      -
          at Module._resolveFilename (node:internal/modules/cjs/loader:963:15)
          at n._resolveFilename (node:electron/js2c/browser_init:2:109751)
          at Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
          at Module._load (node:internal/modules/cjs/loader:811:27)
          at f._load (node:electron/js2c/asar_bundle:2:13330)
          at Module.require (node:internal/modules/cjs/loader:1035:19)
          at require (node:internal/modules/cjs/helpers:102:18)
          at Object.<anonymous> (/home/pi/MagicMirror/modules/default/newsfeed/newsfeedfetcher.js:11:24)
          at Module._compile (node:internal/modules/cjs/loader:1141:14)
          at Module._extensions..js (node:internal/modules/cjs/loader:1196:10)
          at Module.load (node:internal/modules/cjs/loader:1011:32)
          at Module._load (node:internal/modules/cjs/loader:846:12)
          at f._load (node:electron/js2c/asar_bundle:2:13330)
          at Module.require (node:internal/modules/cjs/loader:1035:19)
          at require (node:internal/modules/cjs/helpers:102:18)
          at Object.<anonymous> (/home/pi/MagicMirror/modules/default/newsfeed/node_helper.js:10:25)
      (Use `electron --trace-warnings ...` to show where the warning was created)
      [04.10.2023 07:00.42.685] [ERROR] (node:1016) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
      [1050:1004/070043.971548:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
      [1062:1004/070044.211988:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported.
      ^C/home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT
      
      

      Unfortunately I could not find anything about this problem in this forum.

      It would be really nice if someone could help me.

      Thank you in advance.

      Kind regards

      posted in Troubleshooting
      K
      Klinge
    • RE: MMM-DWD-Pollen

      @fatgrandma Thank you for your answer.

      When I take the wrong number from the DWD site I got the message “No values today. No values tomorrow”. But you are right. In this case I have to wait a day more. I guess DWD published his new values at 11 a.m. every day, doesn´t it?

      But when I take the correct number from the github site(!), I get only the message “Loading”. And this has been the case for several days.

      posted in Health
      K
      Klinge
    • RE: MMM-DWD-Pollen

      @sdetweil said in MMM-DWD-Pollen:

      if someone knows and is willing to help they will.
      this forum is all volunteer community

      Yes, I know, and that’s absolutely fine, of course. It was just another attempt here.

      posted in Health
      K
      Klinge
    • RE: MMM-DWD-Pollen

      Hello,
      maybe someone of you could help me, because in my new opened topic I got no answers unfortunately.
      I try to start the module MMM-DWD-Pollen. But the data will not be loaded. I am living in the region “Östl. Niedersachsen”. On the Github site this region is declared with the number “32”. And on the DWD Site it is declared with the number “5”. But both numbers are not working. And now I don´t know which number I can use for my region.
      It would be great if someone could help me.
      Thank you in advance.

      posted in Health
      K
      Klinge
    • Problems with MMM-DWD-Pollen regions

      Hello,

      I try to start the module MMM-DWD-Pollen. But unfortunately I have problems with the DWD regions. I am living in the region “Östl. Niedersachsen”. On the Github site this region is declared with the number “32”. And on the DWD Site it is declared with the number “5”. But both numbers are not working. And now I don´t know, which number I can use for my region.

      It would be great, if someone could help me.

      Thank you in advance.
      Kind regards
      Klinge

      posted in Troubleshooting
      K
      Klinge
    • 1 / 1