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.

    Mirror fails to load after git pull

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    2 Posts 2 Posters 240 Views 2 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.
    • T Offline
      theaddies
      last edited by

      I just updated my mirror today. It now fails to load. The log file output is below. I would appreciate any help.

      /home/pi/.pm2/logs/MagicMirror-error.log last 15 lines:
      0|MagicMir |     at f._load (node:electron/js2c/asar_bundle:2:13330)
      0|MagicMir |     at Module.require (node:internal/modules/cjs/loader:1035:19)
      0|MagicMir |     at require (node:internal/modules/cjs/helpers:102:18)
      0|MagicMir |     at Object.<anonymous> (/home/pi/MagicMirror/modules/default/updatenotification/update_helper.js:3:23)
      0|MagicMir |     at Module._compile (node:internal/modules/cjs/loader:1141:14)
      0|MagicMir |     at Module._extensions..js (node:internal/modules/cjs/loader:1196:10)
      0|MagicMir |     at Module.load (node:internal/modules/cjs/loader:1011:32)
      0|MagicMir |     at Module._load (node:internal/modules/cjs/loader:846:12)
      0|MagicMir |     at f._load (node:electron/js2c/asar_bundle:2:13330)
      0|MagicMir |     at Module.require (node:internal/modules/cjs/loader:1035:19)
      0|MagicMir |     at require (node:internal/modules/cjs/helpers:102:18)
      0|MagicMir |     at Object.<anonymous> (/home/pi/MagicMirror/modules/default/updatenotification/node_helper.js:4:22)
      0|MagicMir | (Use `electron --trace-warnings ...` to show where the warning was created)
      0|MagicMir | [07.01.2024 11:17.10.783] [ERROR] (node:1085) 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)
      0|MagicMir | [1240:0107/111712.522791:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported.
      
      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @theaddies
        last edited by

        @theaddies you also must do

        npm run install-mm
        

        and you need to upgrade node to v 18 or 20 it below that…

        recommend my upgrade script, instead of doing it manually

        use force instead of apply
        as you have already dragged down the new code

        https://github.com/sdetweil/MagicMirror_scripts

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • 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