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.

    Problem after update Master branch

    Scheduled Pinned Locked Moved Solved Troubleshooting
    9 Posts 3 Posters 231 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.
    • K Offline
      Klinge @sdetweil
      last edited by

      @sdetweil

      upgrade.log

      Upgrade started - Tue Jan  6 14:50:54 CET 2026
      system is Linux raspi-mm-gaeste 6.6.51+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.51-1+rpt1 (2024-09-26) aarch64 GNU/Linux
      user requested to force apply changes
      doing test run = false
      the os is PRETTY_NAME="Debian GNU/Linux 12 (bookworm)" NAME="Debian GNU/Linux" VERSION_ID="12" VERSION="12 (bookworm)" VERSION_CODENAME=bookworm ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/"
      architecture from dpkg is
      Node currently installed. Checking version number.
      Minimum Node version: v22.21.1
      Installed Node version: v22.21.1
      No npm engines section specified in package.json, using default=V10.9.4 ...
      Check current Node installation ...
      Node currently installed. Checking version number.
      Minimum Node version: v22.21.1
      Installed Node version: v22.21.1
      No Node.js upgrade necessary.
      Check current NPM installation ...
      NPM currently installed. Checking version number.
      Minimum npm version: V10.9.4
      Installed npm version: V10.9.4
      No npm upgrade necessary.
      
      increasing swap space
      increasing swap space
      saving custom.css
      remote name = origin
      upgrading from version 2.34.0 to 2.34.0
      MagicMirror running under control of PM2, stopping
      [PM2] Applying action stopProcessId on app [MagicMirror](ids: [ 0 ])
      [PM2] [MagicMirror](0) ✓
      ┌────┬────────────────┬─────────────┬─────────┬─────────┬──────────┬────────┬──────┬───────────┬──────────┬──────────┬──────────┬──────────┐
      │ id │ name           │ namespace   │ version │ mode    │ pid      │ uptime │ ↺    │ status    │ cpu      │ mem      │ user     │ watching │
      ├────┼────────────────┼─────────────┼─────────┼─────────┼──────────┼────────┼──────┼───────────┼──────────┼──────────┼──────────┼──────────┤
      │ 0  │ MagicMirror    │ default     │ 2.34.0  │ fork    │ 0        │ 0      │ 3    │ stopped   │ 0%       │ 0b       │ kling    │ disabled │
      └────┴────────────────┴─────────────┴─────────┴─────────┴──────────┴────────┴──────┴───────────┴──────────┴──────────┴──────────┴──────────┘
      fetching latest revisions
      git fetch rc=0
      current branch = master
      On branch master
      Your branch is up to date with 'origin/master'.
      
      Changes not staged for commit:
        (use "git add <file>..." to update what will be committed)
        (use "git restore <file>..." to discard changes in working directory)
              modified:   package-lock.json
              modified:   package.json
      
      Untracked files:
        (use "git add <file>..." to include in what will be committed)
              core
              credentials.json
              installers/
              monitor_off.sh
              monitor_on.sh
              run-start.sh
              splashscreen/
      
      no changes added to commit (use "git add" and/or "git commit -a")
      there are 2 local files that are different than the master repo
      
         package-lock.json
         package.json
      
      save/restore files selection = Y
      erasing lock files
      Saved working directory and index state WIP on master: b742e83 Release 2.34.0 (#3999)
      test merge result rc='' , if empty, no conflicts
      executing merge, apply specified
      merge result rc= 0
       Already up to date.
      processor architecture is aarch64
      updating MagicMirror runtime, please wait
      
      > magicmirror@2.34.0 postinstall
      > git clean -df fonts vendor
      
      
      > magicmirror@2.34.0 prepare
      > [ -f node_modules/.bin/husky ] && husky || echo no husky installed.
      
      no husky installed.
      
      added 465 packages in 3m
      
      141 packages are looking for funding
        run `npm fund` for details
      npm install completed - Tue Jan  6 14:56:30 CET 2026 on base
      
      added 568 packages in 2m
      
      302 packages are looking for funding
        run `npm fund` for details
      fixing sandbox permissions
      
      Checking for modules with removed libraries
      downloading dumpactivemodules script
      
      
      updating dependencies for active modules with package.json files
      
              processing for module MMM-OpenWeatherMapForecast please wait
      
              ----------------------------------
      
      added 1 package, and audited 2 packages in 7s
      
      found 0 vulnerabilities
      
              processing complete for module MMM-OpenWeatherMapForecast
      
              processing for module MMM-NINA please wait
      
              ----------------------------------
      
      up to date, audited 1 package in 871ms
      
      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 51 packages, and audited 52 packages in 6s
      
      3 packages are looking for funding
        run `npm fund` for details
      
      4 vulnerabilities (1 moderate, 1 high, 2 critical)
      
      Some issues need review, and may require choosing
      a different dependency.
      
      Run `npm audit` for details.
      
              processing complete for module MMM-DWD-WarnWeather
      
              processing for module MMM-PublicTransportHafas please wait
      
              ----------------------------------
      
      > mmm-publictransporthafas@3.5.0 postinstall
      > simple-git-hooks
      
      sh: 1: simple-git-hooks: not found
      npm error code 127
      npm error path /home/kling/MagicMirror/modules/MMM-PublicTransportHafas
      npm error command failed
      npm error command sh -c simple-git-hooks
      npm error A complete log of this run can be found in: /home/kling/.npm/_logs/2026-01-06T14_04_33_120Z-debug-0.log
      
              processing complete for module MMM-PublicTransportHafas
      
              processing for module MMM-HomeAssistant please wait
      
              ----------------------------------
      npm error code 1
      npm error path /home/kling/MagicMirror/modules/MMM-HomeAssistant/node_modules/puppeteer
      npm error command failed
      npm error command sh -c node install.mjs
      npm error **INFO** Skipping Firefox download as instructed.
      npm error Error: ERROR: Failed to set up chrome v143.0.7499.169! Set "PUPPETEER_SKIP_DOWNLOAD" env variable to skip download.
      npm error     at downloadBrowser (file:///home/kling/MagicMirror/modules/MMM-HomeAssistant/node_modules/puppeteer/lib/esm/puppeteer/node/install.js:26:15)
      npm error     at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
      npm error     at async Promise.all (index 0)
      npm error     at async downloadBrowsers (file:///home/kling/MagicMirror/modules/MMM-HomeAssistant/node_modules/puppeteer/lib/esm/puppeteer/node/install.js:84:9) {
      npm error   [cause]: [Error: ENOSPC: no space left on device, write] {
      npm error     errno: -28,
      npm error     code: 'ENOSPC',
      npm error     syscall: 'write'
      npm error   }
      npm error }
      npm error A complete log of this run can be found in: /home/kling/.npm/_logs/2026-01-06T14_05_05_168Z-debug-0.log
      
              processing complete for module MMM-HomeAssistant
      restoring custom.css
      removing git alias
      we stashed a set of files that appear changed from the latest repo versions. you should review them
      Upgrade ended - Tue Jan  6 15:05:59 CET 2026
      

      when I start MM there are the following lines

      > magicmirror@2.34.0 start
      > node --run start:x11
      
      [2026-01-06 17:14:21.923] [LOG]   [app] Starting MagicMirror: v2.34.0
      [2026-01-06 17:14:21.932] [LOG]   [app] Loading config ...
      [2026-01-06 17:14:21.938] [LOG]   [app] config template file not exists, no envsubst
      [2026-01-06 17:14:23.129] [INFO]  [check_config] Checking config file /home/kling/MagicMirror/config/config.js ...
      [2026-01-06 17:14:23.292] [INFO]  [check_config] Your configuration file doesn't contain syntax errors :)
      [2026-01-06 17:14:23.294] [INFO]  [check_config] Checking modules structure configuration ...
      [2026-01-06 17:14:23.397] [INFO]  [check_config] Your modules structure configuration doesn't contain errors :)
      [2026-01-06 17:14:23.402] [LOG]   [app] Loading module helpers ...
      [2026-01-06 17:14:23.405] [LOG]   [app] No helper found for module: alert.
      [2026-01-06 17:14:23.422] [LOG]   [node_helper] Initializing new module helper ...
      [2026-01-06 17:14:23.424] [LOG]   [node_helper] Module helper loaded: updatenotification
      [2026-01-06 17:14:23.426] [LOG]   [app] No helper found for module: clock.
      [2026-01-06 17:14:23.473] [LOG]   [node_helper] Initializing new module helper ...
      [2026-01-06 17:14:23.474] [LOG]   [node_helper] Module helper loaded: MMM-OpenWeatherMapForecast
      [2026-01-06 17:14:23.530] [LOG]   [node_helper] Initializing new module helper ...
      [2026-01-06 17:14:23.531] [LOG]   [node_helper] Module helper loaded: MMM-NINA
      [2026-01-06 17:14:23.689] [LOG]   [node_helper] Initializing new module helper ...
      [2026-01-06 17:14:23.690] [LOG]   [node_helper] Module helper loaded: MMM-DWD-WarnWeather
      [2026-01-06 17:14:23.765] [LOG]   [node_helper] Initializing new module helper ...
      [2026-01-06 17:14:23.765] [LOG]   [node_helper] Module helper loaded: MMM-PublicTransportHafas
      [2026-01-06 17:14:23.770] [LOG]   [node_helper] Initializing new module helper ...
      [2026-01-06 17:14:23.770] [LOG]   [node_helper] Module helper loaded: MMM-Universal-Pir
      [2026-01-06 17:14:23.772] [LOG]   [app] No helper found for module: compliments.
      [2026-01-06 17:14:23.782] [LOG]   [app] No helper found for module: MMM-WiFiPassword.
      [2026-01-06 17:14:23.789] [ERROR] [app] Error when loading MMM-HomeAssistant: Cannot find module 'mqtt'
      Require stack:
      - /home/kling/MagicMirror/modules/MMM-HomeAssistant/node_helper.js
      - /home/kling/MagicMirror/js/app.js
      - /home/kling/MagicMirror/js/electron.js
      [2026-01-06 17:14:23.790] [LOG]   [app] All module helpers loaded.
      [2026-01-06 17:14:23.799] [LOG]   [server] Starting server on port 8080 ...
      [2026-01-06 17:14:23.803] [WARN]  [server] You're using a full whitelist configuration to allow for all IPs
      [2026-01-06 17:14:23.846] [LOG]   [app] Server started ...
      [2026-01-06 17:14:23.848] [LOG]   [node_helper] Connecting socket for: updatenotification
      [2026-01-06 17:14:23.849] [LOG]   [node_helper] Starting module helper: updatenotification
      [2026-01-06 17:14:23.850] [LOG]   [node_helper] Connecting socket for: MMM-OpenWeatherMapForecast
      [2026-01-06 17:14:23.850] [LOG]   [MMM-OpenWeatherMapForecast] Starting node_helper for MMM-OpenWeatherMapForecast
      [2026-01-06 17:14:23.851] [LOG]   [node_helper] Connecting socket for: MMM-NINA
      [2026-01-06 17:14:23.852] [LOG]   [MMM-NINA] MMM-NINA helper method started...
      [2026-01-06 17:14:23.853] [LOG]   [node_helper] Connecting socket for: MMM-DWD-WarnWeather
      [2026-01-06 17:14:23.854] [LOG]   [MMM-DWD-WarnWeather] MMM-DWD-WarnWeather helper started...
      [2026-01-06 17:14:23.855] [LOG]   [node_helper] Connecting socket for: MMM-PublicTransportHafas
      [2026-01-06 17:14:23.856] [LOG]   [node_helper] Connecting socket for: MMM-Universal-Pir
      [2026-01-06 17:14:23.857] [LOG]   [app] Sockets connected & modules started ...
      [2026-01-06 17:14:25.346] [LOG]   [electron] Launching application.
      [2026-01-06 17:14:31.850] [INFO]  [utils]
      ####  System Information  ####
      - SYSTEM:   manufacturer: Raspberry Pi Foundation; model: Raspberry Pi 4 Model B Rev 1.5; virtual: false; MM: 2.34.0
      - OS:       platform: linux; distro: Debian GNU/Linux; release: 12; arch: arm64; kernel: 6.6.51+rpt-rpi-v8
      - VERSIONS: electron: 39.2.7; used node: 22.21.1; installed node: 22.21.1; npm: 10.9.4; pm2: 6.0.14
      - ENV:      XDG_SESSION_TYPE: tty; MM_CONFIG_FILE: undefined
                  WAYLAND_DISPLAY:  undefined; DISPLAY: :0; ELECTRON_ENABLE_GPU: undefined
      - RAM:      total: 7809.97 MB; free: 7005.31 MB; used: 804.66 MB
      - OTHERS:   uptime: 11 minutes; timeZone: Europe/Berlin
      
      S 1 Reply Last reply Reply Quote 0
      • S Do not disturb
        sdetweil @Klinge
        last edited by

        @Klinge said in Problem after update Master branch:

        npm error [cause]: [Error: ENOSPC: no space left on device, write]

        your disk is full

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        K 1 Reply Last reply Reply Quote 0
        • K Offline
          Klinge @sdetweil
          last edited by

          @sdetweil Oh no! So simple. How embarrassing. Sorry!

          I’m just wondering what’s filling up the card. But I’ll figure that out.

          Thank you for your help!

          K 1 Reply Last reply Reply Quote 0
          • K Offline
            Klinge @Klinge
            last edited by

            I’m sorry, but I need some more help with this issue.

            I can’t find the files that are filling up my SD card’s memory.

            When I search for used storage space, I get the following result:

            sudo du -hsx * | sort -rh | head -10
            6.4G    home    
            5.5G    usr
            1.3G    var
            105M    boot
            16M     root
            10M     opt
            7.2M    etc
            1.9M    tmp
            1.3M    run
            16K     lost+found
            

            If I now run the same search in the /home directory

            sudo du -hsx * | sort -rh | head -10
            6.4G    kling
            

            I display the folder contents …/kling

            ls -laSr
            -rw-r--r--  1 kling kling      0 Jul  4  2024 .sudo_as_admin_successful
            -rwxr-xr-x  1 root  root      14 Oct  1  2024 pir.sh
            -rw-------  1 kling kling     20 Jan  6 17:11 .lesshst
            -rwxr-xr-x  1 kling kling     37 Oct  1  2024 monitor_on.sh
            -rwxr-xr-x  1 root  root      37 Oct  1  2024 monitor_on_root.sh
            -rwxr-xr-x  1 kling kling     37 Oct  1  2024 monitor_off.sh
            -rwxr-xr-x  1 root  root      37 Oct  1  2024 monitor_off_root.sh
            -rw-r--r--  1 kling kling     58 Jan  3 09:07 .gitconfig
            -rw-------  1 kling kling     60 Jan 13 22:03 .Xauthority
            -rw-r--r--  1 kling kling    220 Jul  4  2024 .bash_logout
            -rw-r--r--  1 root  root     351 Oct  1  2024 test.py
            -rw-r--r--  1 kling kling    807 Jul  4  2024 .profile
            -rwxr-xr-x  1 root  root    1007 Oct  1  2024 pir.py
            -rw-r--r--  1 kling kling   3523 Jul  4  2024 .bashrc
            drwxr-xr-x  2 kling kling   4096 Jul  4  2024 Videos
            drwxr-xr-x  2 kling kling   4096 Jul  4  2024 Templates
            drwxr-xr-x  2 kling kling   4096 Jul  4  2024 Public
            drwxr-xr-x  5 kling kling   4096 Jan 13 22:03 .pm2
            drwx------  3 kling kling   4096 Oct  1  2024 .pki
            drwxr-xr-x  2 kling kling   4096 Jul  4  2024 Pictures
            drwxr-xr-x  4 kling kling   4096 Oct  1  2024 .npm
            drwxr-xr-x  2 kling kling   4096 Jul  4  2024 Music
            drwx------  4 kling kling   4096 Oct  1  2024 .mozilla
            drwxr-xr-x 16 kling kling   4096 Jan 14 09:11 MagicMirror
            drwxr-xr-x  4 kling kling   4096 Jul  4  2024 .local
            drwxr-xr-x  3 kling kling   4096 Oct  1  2024 .electron-gyp
            drwxr-xr-x  2 kling kling   4096 Oct 31  2024 Downloads
            drwxr-xr-x  2 kling kling   4096 Jul  4  2024 Documents
            drwxr-xr-x  2 kling kling   4096 Feb 13  2025 Desktop
            drwx------ 10 kling kling   4096 Feb 19  2025 .config
            drwx------ 11 kling kling   4096 Jun 27  2025 .cache
            drwxr-xr-x  2 kling kling   4096 Jul  4  2024 Bookshelf
            drwxr-xr-x  3 root  root    4096 Jul  4  2024 ..
            drwx------ 20 kling kling   4096 Jan 14 09:03 .
            -rw-------  1 kling kling  10446 Jan 13 20:56 .bash_history
            -rw-------  1 kling kling  24785 Jan 14 09:11 .xsession-errors
            -rw-------  1 kling kling  82704 Jan 13 22:03 .xsession-errors.old
            -rw-r--r--  1 kling kling 243765 Jan  6 15:25 install.log
            

            and when I search here again to find the 6.4 GB, I get the following result

            sudo du -hsx * | sort -rh | head -10
            1.4G    MagicMirror
            55M     Bookshelf
            244K    install.log
            108K    Downloads
            8.0K    Desktop
            4.0K    Videos
            4.0K    test.py
            4.0K    Templates
            4.0K    Public
            4.0K    pir.sh
            

            With these results, I don’t know where the 6.4 GB is being used.

            What am I doing wrong?

            Thank you in advance.

            BKeyportB 1 Reply Last reply Reply Quote 0
            • BKeyportB Offline
              BKeyport Module Developer @Klinge
              last edited by

              @Klinge You either have some logs that have exploded in size, or a corrupting SD card. Either way, I’d recommend a reformat and/or a new SD card.

              The "E" in "Javascript" stands for "Easy"

              S 1 Reply Last reply Reply Quote 1
              • S Do not disturb
                sdetweil @BKeyport
                last edited by sdetweil

                @BKeyport I agree. Weird results multiple times New sd card time

                Use my backup/restore to save (backup) your MagicMirror config
                And after install, use restore to put it back

                https://github.com/sdetweil/MagicMirror-backup-restore

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                K 1 Reply Last reply Reply Quote 0
                • K Offline
                  Klinge @sdetweil
                  last edited by

                  ok, thank you for you advice. I will use a new card .

                  1 Reply Last reply Reply Quote 0
                  • K Klinge has marked this topic as solved
                  • 1 / 1
                  • First post
                    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