• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

MM does not start - Cannot find module 'html-to-text'

Scheduled Pinned Locked Moved Solved Troubleshooting
14 Posts 2 Posters 1.2k Views 3 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Away
    sdetweil @Klinge
    last edited by Oct 4, 2023, 1:08 PM

    @Klinge u need to be at node 18 at least…

    run my upgrade script

    https://github.com/sdetweil/MagicMirror_scripts

    note that update is a 2 part process…

    1. test, no changes,
    2. apply

    use force instead of apply , on the apply command

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    K 1 Reply Last reply Oct 4, 2023, 3:12 PM Reply Quote 1
    • K Offline
      Klinge @sdetweil
      last edited by Klinge Oct 4, 2023, 3:13 PM Oct 4, 2023, 3:12 PM

      @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
      
      S 1 Reply Last reply Oct 4, 2023, 3:15 PM Reply Quote 0
      • S Away
        sdetweil @Klinge
        last edited by Oct 4, 2023, 3:15 PM

        @Klinge said in MM does not start - Cannot find module 'html-to-text':

        MMM-DWD-WarnWeather/node_helper.js

        there is a fix for this module

        go to its folder and do

        git pull
        npm install 
        

        then restart MagicMirror

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        K 2 Replies Last reply Oct 4, 2023, 3:25 PM Reply Quote 0
        • K Offline
          Klinge @sdetweil
          last edited by Oct 4, 2023, 3:25 PM

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

          Thank you very much!

          I wish you a nice day :-)

          1 Reply Last reply Reply Quote 0
          • K Offline
            Klinge @sdetweil
            last edited by Oct 4, 2023, 4:05 PM

            @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.

            S 1 Reply Last reply Oct 4, 2023, 4:09 PM Reply Quote 0
            • S Away
              sdetweil @Klinge
              last edited by Oct 4, 2023, 4:09 PM

              @Klinge pm2 logs --lines=50

              show the output

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              K 1 Reply Last reply Oct 4, 2023, 4:19 PM Reply Quote 0
              • K Offline
                Klinge @sdetweil
                last edited by Oct 4, 2023, 4:19 PM

                @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.
                
                
                S 1 Reply Last reply Oct 4, 2023, 4:30 PM Reply Quote 0
                • S Away
                  sdetweil @Klinge
                  last edited by Oct 4, 2023, 4:30 PM

                  @Klinge looks like pm2 is having some trouble

                  try this

                  pm2 stop all
                  pm2 delete 0
                  
                  bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/fixuppm2.sh)"
                  

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  K 1 Reply Last reply Oct 4, 2023, 5:16 PM Reply Quote 0
                  • K Offline
                    Klinge @sdetweil
                    last edited by Klinge Oct 4, 2023, 5:16 PM Oct 4, 2023, 5:16 PM

                    @sdetweil No, nothing changes. The MM start every one to two minutes.

                    This is the pm2 log

                    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:domain:552:15)
                    PM2        |     at node:internal/fs/streams:75:16
                    PM2        |     at FSReqCallback.oncomplete (node:fs:200:23)
                    PM2        | 2023-10-04T19:11:21: PM2 log: App [MagicMirror:0] online
                    PM2        | 2023-10-04T19:12:46: PM2 log: pm2 has been killed by signal, dumping process list before exit...
                    PM2        | 2023-10-04T19:12:47: PM2 log: Deleting process 0
                    PM2        | 2023-10-04T19:12:47: PM2 log: Stopping app:MagicMirror id:0
                    PM2        | 2023-10-04T19:12:47: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGTERM]
                    PM2        | 2023-10-04T19:12:47: PM2 log: pid=2895 msg=process killed
                    PM2        | 2023-10-04T19:12:47: PM2 log: Exited peacefully
                    PM2        | 2023-10-04T19:13:18: 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 (3126)
                    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-04T19:13:18: PM2 log: ===============================================================================
                    PM2        | 2023-10-04T19:13:18: PM2 log: --- New PM2 Daemon started ----------------------------------------------------
                    PM2        | 2023-10-04T19:13:18: PM2 log: Time                 : Wed Oct 04 2023 19:13:18 GMT+0200 (Mitteleuropäische Sommerzeit)
                    PM2        | 2023-10-04T19:13:18: PM2 log: PM2 version          : 4.1.2
                    PM2        | 2023-10-04T19:13:18: PM2 log: Node.js version      : 18.18.0
                    PM2        | 2023-10-04T19:13:18: PM2 log: Current arch         : arm
                    PM2        | 2023-10-04T19:13:18: PM2 log: PM2 home             : /home/pi/.pm2
                    PM2        | 2023-10-04T19:13:18: PM2 log: PM2 PID file         : /home/pi/.pm2/pm2.pid
                    PM2        | 2023-10-04T19:13:18: PM2 log: RPC socket file      : /home/pi/.pm2/rpc.sock
                    PM2        | 2023-10-04T19:13:18: PM2 log: BUS socket file      : /home/pi/.pm2/pub.sock
                    PM2        | 2023-10-04T19:13:18: PM2 log: Application log path : /home/pi/.pm2/logs
                    PM2        | 2023-10-04T19:13:18: PM2 log: Process dump file    : /home/pi/.pm2/dump.pm2
                    PM2        | 2023-10-04T19:13:18: PM2 log: Concurrent actions   : 2
                    PM2        | 2023-10-04T19:13:18: PM2 log: SIGTERM timeout      : 1600
                    PM2        | 2023-10-04T19:13:18: PM2 log: ===============================================================================
                    PM2        | 2023-10-04T19:13:18: PM2 log: [Watch] Start watching MagicMirror
                    PM2        | 2023-10-04T19:13:18: PM2 log: App [MagicMirror:0] starting in -fork mode-
                    PM2        | 2023-10-04T19:13:18: 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 (3138)
                    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-04T19:13:18: PM2 log: App [MagicMirror:0] online
                    
                    /home/pi/.pm2/logs/MagicMirror-error.log last 50 lines:
                    0|MagicMir |
                    0|MagicMir | [04.10.2023 18:59.37.259] [ERROR] Failed to retrieve repo info for MagicMirror: Error: Command failed: cd /home/pi/MagicMirror/ && git fetch -n --dry-run
                    0|MagicMir | fatal: unable to access 'https://github.com/MichMich/MagicMirror/': Could not resolve host: github.com
                    0|MagicMir |
                    0|MagicMir | [04.10.2023 18:59.42.967] [ERROR] Whoops! There was an uncaught exception...
                    0|MagicMir | [04.10.2023 18:59.42.985] [ERROR] Error: getaddrinfo EAI_AGAIN de.wikipedia.org
                    0|MagicMir |     at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:108:26) {
                    0|MagicMir |   errno: -3001,
                    0|MagicMir |   code: 'EAI_AGAIN',
                    0|MagicMir |   syscall: 'getaddrinfo',
                    0|MagicMir |   hostname: 'de.wikipedia.org'
                    0|MagicMir | }
                    0|MagicMir | [04.10.2023 18:59.42.987] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
                    0|MagicMir | [04.10.2023 18:59.42.989] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
                    0|MagicMir | [04.10.2023 19:00.36.497] [WARN]  You're using a full whitelist configuration to allow for all IPs
                    0|MagicMir | [1368:1004/190037.390496: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|MagicMir | [1402:1004/190038.418478:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
                    0|MagicMir | [1408:1004/190038.707389:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
                    0|MagicMir | [04.10.2023 19:02.30.100] [WARN]  You're using a full whitelist configuration to allow for all IPs
                    0|MagicMir | [1586:1004/190230.991427: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|MagicMir | [1618:1004/190231.867492:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
                    0|MagicMir | [1625:1004/190232.164310:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
                    0|MagicMir | [04.10.2023 19:04.01.396] [WARN]  You're using a full whitelist configuration to allow for all IPs
                    0|MagicMir | [1846:1004/190402.324609: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|MagicMir | [1881:1004/190403.297619:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
                    0|MagicMir | [1887:1004/190403.585748:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
                    0|MagicMir | [04.10.2023 19:05.32.230] [WARN]  You're using a full whitelist configuration to allow for all IPs
                    0|MagicMir | [2062:1004/190533.694144: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|MagicMir | [2096:1004/190534.078919:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
                    0|MagicMir | [2102:1004/190534.389169:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
                    0|MagicMir | [04.10.2023 19:07.04.869] [WARN]  You're using a full whitelist configuration to allow for all IPs
                    0|MagicMir | [2280:1004/190705.739184: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|MagicMir | [2311:1004/190706.708371:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
                    0|MagicMir | [2319:1004/190706.990307:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
                    0|MagicMir | [04.10.2023 19:08.33.769] [WARN]  You're using a full whitelist configuration to allow for all IPs
                    0|MagicMir | [2494:1004/190834.629802: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|MagicMir | [2527:1004/190835.803167:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
                    0|MagicMir | [2533:1004/190836.118560:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
                    0|MagicMir | [04.10.2023 19:10.04.949] [WARN]  You're using a full whitelist configuration to allow for all IPs
                    0|MagicMir | [2708:1004/191005.874878: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|MagicMir | [2742:1004/191006.908739:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
                    0|MagicMir | [2748:1004/191007.240281:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
                    0|MagicMir | [04.10.2023 19:11.35.785] [WARN]  You're using a full whitelist configuration to allow for all IPs
                    0|MagicMir | [2923:1004/191136.688674: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|MagicMir | [2981:1004/191137.787746:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
                    0|MagicMir | [2987:1004/191138.169522:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
                    0|MagicMir | [04.10.2023 19:13.31.440] [WARN]  You're using a full whitelist configuration to allow for all IPs
                    0|MagicMir | [3166:1004/191332.276711: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|MagicMir | [3197:1004/191333.445082:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
                    0|MagicMir | [3206:1004/191333.753392:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
                    
                    /home/pi/.pm2/logs/MagicMirror-out.log last 50 lines:
                    0|MagicMir | [04.10.2023 19:13.26.072] [LOG]   Module helper loaded: MMM-OpenWeatherMapForecast
                    0|MagicMir | [04.10.2023 19:13.26.424] [LOG]   Initializing new module helper ...
                    0|MagicMir | [04.10.2023 19:13.26.425] [LOG]   Module helper loaded: calendar
                    0|MagicMir | [04.10.2023 19:13.30.187] [LOG]   Initializing new module helper ...
                    0|MagicMir | [04.10.2023 19:13.30.188] [LOG]   Module helper loaded: MMM-OnThisDay
                    0|MagicMir | [04.10.2023 19:13.30.817] [LOG]   Initializing new module helper ...
                    0|MagicMir | [04.10.2023 19:13.30.818] [LOG]   Module helper loaded: MMM-DWD-Pollen
                    0|MagicMir | [04.10.2023 19:13.31.004] [LOG]   Initializing new module helper ...
                    0|MagicMir | [04.10.2023 19:13.31.005] [LOG]   Module helper loaded: MMM-NINA
                    0|MagicMir | [04.10.2023 19:13.31.121] [LOG]   Initializing new module helper ...
                    0|MagicMir | [04.10.2023 19:13.31.122] [LOG]   Module helper loaded: MMM-DWD-WarnWeather
                    0|MagicMir | [04.10.2023 19:13.31.404] [LOG]   Initializing new module helper ...
                    0|MagicMir | [04.10.2023 19:13.31.405] [LOG]   Module helper loaded: newsfeed
                    0|MagicMir | [04.10.2023 19:13.31.406] [LOG]   All module helpers loaded.
                    0|MagicMir | [04.10.2023 19:13.31.425] [LOG]   Starting server on port 8080 ...
                    0|MagicMir | [04.10.2023 19:13.31.470] [LOG]   Server started ...
                    0|MagicMir | [04.10.2023 19:13.31.474] [LOG]   Connecting socket for: updatenotification
                    0|MagicMir | [04.10.2023 19:13.31.477] [LOG]   Starting module helper: updatenotification
                    0|MagicMir | [04.10.2023 19:13.31.478] [LOG]   Connecting socket for: MMM-OpenWeatherMapForecast
                    0|MagicMir | [04.10.2023 19:13.31.480] [LOG]   ====================== Starting node_helper for module [MMM-OpenWeatherMapForecast]
                    0|MagicMir | [04.10.2023 19:13.31.481] [LOG]   Connecting socket for: calendar
                    0|MagicMir | [04.10.2023 19:13.31.481] [LOG]   Starting node helper for: calendar
                    0|MagicMir | [04.10.2023 19:13.31.482] [LOG]   Connecting socket for: MMM-OnThisDay
                    0|MagicMir | [04.10.2023 19:13.31.483] [LOG]   Starting module helper: MMM-OnThisDay
                    0|MagicMir | [04.10.2023 19:13.31.484] [LOG]   Connecting socket for: MMM-DWD-Pollen
                    0|MagicMir | [04.10.2023 19:13.31.485] [LOG]   MMM-DWD-Pollen helper started ...
                    0|MagicMir | [04.10.2023 19:13.31.486] [LOG]   Connecting socket for: MMM-NINA
                    0|MagicMir | [04.10.2023 19:13.31.487] [LOG]   MMM-NINA helper method started...
                    0|MagicMir | [04.10.2023 19:13.31.488] [LOG]   Connecting socket for: MMM-DWD-WarnWeather
                    0|MagicMir | [04.10.2023 19:13.31.488] [LOG]   MMM-DWD-WarnWeather helper started...
                    0|MagicMir | [04.10.2023 19:13.31.489] [LOG]   Connecting socket for: newsfeed
                    0|MagicMir | [04.10.2023 19:13.31.490] [LOG]   Starting node helper for: newsfeed
                    0|MagicMir | [04.10.2023 19:13.31.492] [LOG]   Sockets connected & modules started ...
                    0|MagicMir | [04.10.2023 19:13.31.996] [LOG]   Launching application.
                    0|MagicMir | [04.10.2023 19:13.37.603] [LOG]   Create new calendarfetcher for url: https://calendar.google.com/calendar/ical/...g%40gmail.com/.../basic.ics - Interval: 3600000
                    0|MagicMir | [04.10.2023 19:13.37.900] [LOG]   Create new calendarfetcher for url: https://calendar.google.com/calendar/ical/....%40gmail.com/.../basic.ics - Interval: 3600000
                    0|MagicMir | [04.10.2023 19:13.37.917] [LOG]   requesting:https://opendata.dwd.de/climate_environment/health/alerts/s31fg.json
                    0|MagicMir | [04.10.2023 19:13.37.981] [LOG]   Create new newsfetcher for url: http://www.tagesschau.de/xml/rss2 - Interval: 300000
                    0|MagicMir | [04.10.2023 19:13.38.049] [LOG]   MMM-OnThisDay: Received socket notification LOAD_EVENTS.
                    0|MagicMir | [04.10.2023 19:13.38.050] [LOG]   MMM-OnThisDay: Load events ...
                    0|MagicMir | [04.10.2023 19:13.38.073] [INFO]  Checking git for module: MMM-OpenWeatherMapForecast
                    0|MagicMir | [04.10.2023 19:13.38.156] [INFO]  Checking git for module: MMM-OnThisDay
                    0|MagicMir | [04.10.2023 19:13.38.441] [INFO]  Checking git for module: MMM-DWD-Pollen
                    0|MagicMir | [04.10.2023 19:13.38.625] [INFO]  Checking git for module: MMM-NINA
                    0|MagicMir | [04.10.2023 19:13.38.734] [INFO]  Checking git for module: MMM-DWD-WarnWeather
                    0|MagicMir | [04.10.2023 19:13.38.843] [INFO]  Checking git for module: MagicMirror
                    0|MagicMir | [04.10.2023 19:13.38.954] [LOG]   MMM-OnThisDay: Parse HTML data ...
                    0|MagicMir | [04.10.2023 19:13.42.384] [INFO]  Newsfeed-Fetcher: reloadInterval set to ttl=5400000 for url http://www.tagesschau.de/xml/rss2
                    0|MagicMir | [04.10.2023 19:13.44.341] [INFO]  Newsfeed-Fetcher: Broadcasting 40 items.
                    0|MagicMir | [04.10.2023 19:13.44.705] [LOG]   MMM-DWD-Pollen: Success loading
                    
                    S 1 Reply Last reply Oct 4, 2023, 6:26 PM Reply Quote 0
                    • S Away
                      sdetweil @Klinge
                      last edited by Oct 4, 2023, 6:26 PM

                      @Klinge ok have to get a little forceful here

                      do

                      pm2 stop all
                      pm2 unstartup
                      

                      the last command should give you another command to execute

                      execute that command

                      when it ends
                      then do

                      sudo npm uninstall pm2 -g
                      

                      then run my fixuppm2 script again to reinstall and reactivate pm2

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      K 1 Reply Last reply Oct 5, 2023, 6:57 AM Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        8/14
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy