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

Version 2.31.0 Error With Upgrade Scripts

Scheduled Pinned Locked Moved Solved Troubleshooting
5 Posts 2 Posters 161 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.
  • A Offline
    atwist
    last edited by Apr 3, 2025, 2:51 PM

    I used the upgrade script to update my MagicMirror to 2.31.0 from 2.30.0. It ran into an error and now MagicMirror won’t start.

    The upgrade log file shows

    Ver 2.30.0 and Ext3 modules loaded, install fix

    • _fix_clipping
      master
      updating MagicMirror runtime, please wait
      npm error code EACCES
      npm error syscall rename
      npm error path /home/twist/MagicMirror/node_modules/.ast-types-VPJXcxdi/node_modules/tslib/CopyrightNotice.txt

    and it continues with npm error.

    Any ideas how to fix this?

    S 2 Replies Last reply Apr 3, 2025, 2:53 PM Reply Quote 0
    • S Away
      sdetweil @atwist
      last edited by sdetweil Apr 3, 2025, 3:43 PM Apr 3, 2025, 2:58 PM

      @atwist eaccess denied sounds like you might have run
      one of the npm commands w sudo. (never do that)

      so to fix this you have to do it again to clean up

      cd ~/MagicMirror 
      sudo rm -rf node_modules
      cd fonts
      sudo rm - rf node_modules
      cd ../vendor 
      sudo rm -rf node_modules
      

      then run the upgrade script again with

      force 
      

      instead of

      apply 
      

      at the end

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • S Away
        sdetweil @atwist
        last edited by Apr 3, 2025, 2:53 PM

        @atwist can you tell me what you did?

        note that upgrade is a 2 step process

        test
        do

        show me the output of ~/MagicMirror/installers/upgrade.log

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • S Away
          sdetweil @atwist
          last edited by sdetweil Apr 3, 2025, 3:43 PM Apr 3, 2025, 2:58 PM

          @atwist eaccess denied sounds like you might have run
          one of the npm commands w sudo. (never do that)

          so to fix this you have to do it again to clean up

          cd ~/MagicMirror 
          sudo rm -rf node_modules
          cd fonts
          sudo rm - rf node_modules
          cd ../vendor 
          sudo rm -rf node_modules
          

          then run the upgrade script again with

          force 
          

          instead of

          apply 
          

          at the end

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • A Offline
            atwist
            last edited by Apr 3, 2025, 11:45 PM

            I didn’t think i ran it with sudo but apparently i did. Thank you for your help!!

            I did try the test first and it didn’t show errors. But, you got it working!

            S 1 Reply Last reply Apr 4, 2025, 12:29 AM Reply Quote 1
            • S Away
              sdetweil @atwist
              last edited by Apr 4, 2025, 12:29 AM

              @atwist awesome!

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • S sdetweil has marked this topic as solved on Apr 4, 2025, 12:30 AM
              • 1 / 1
              1 / 1
              • First post
                2/5
                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