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.

    Failed Update

    Scheduled Pinned Locked Moved Solved Troubleshooting
    45 Posts 3 Posters 10.0k 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 Offline
      sdetweil @sdetweil
      last edited by

      @DarkV never mind that won’t work… need node and npm to install n… grr…

      ok, only way out is to redo the sd card
      backup your MM
      see https://github.com/sdetweil/MagicMirror-backup-restore

      copy the backup folder MM_backup off the sd card (it can save to github too)

      reflash the sd card with latest os
      boot, no updates,
      run install script to install MM
      verify it runs
      restore your config using my restore script (can restore directly from github too)

      test

      sorry, the nodejs guys made a mess of this as they changed the node install process too… and it doesn’t work.

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      S 1 Reply Last reply Reply Quote 0
      • D Offline
        DarkV @sdetweil
        last edited by

        @sdetweil All is OK. I am so grateful for all of your assistance. In my opinion, what you performed was alchemy or witchcraft. I’ve been attempting to identify the problem and have made multiple unsuccessful attempts. An old picture I had from a few months ago was my saviour. My wife was becoming tired of my futile attempts at updating.
        You have brought me happiness and protected me from madness. That’s a significant victory.Screenshot 2023-10-31 135119.png

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

          @DarkV before you jump off the bridge! try this

          sudo apt-get remove nodejs npm -y
          hash -r
          

          make sure gone
          which node

          then 
          

          sudo apt-get install nodejs:armv7l
          node -v

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          D 1 Reply Last reply Reply Quote 0
          • D Offline
            DarkV @sdetweil
            last edited by

            @sdetweil I don’t know what happened, but the reply is above. Many thanks

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @DarkV
              last edited by

              @DarkV cool… i didn’t expect that it, i’m glad!!

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              D 1 Reply Last reply Reply Quote 0
              • D Offline
                DarkV @sdetweil
                last edited by

                @sdetweil I did this
                sudo apt-get remove nodejs npm -y
                hash -r
                which node
                which n

                if which n response with empty then do

                sudo apt-get install n

                once n responds then

                sudo n 20.8.0 --arch armv7l
                hash -r
                node -v

                Then both scripts and it went through!

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @DarkV
                  last edited by

                  @DarkV said in Failed Update:

                  –arch armv7l

                  awesome… it was that sneaky little --arch parm…

                  fixing upgrade script now . sorry for your troubles

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  D 1 Reply Last reply Reply Quote 0
                  • D Offline
                    DarkV @sdetweil
                    last edited by

                    @sdetweil No worries, thanks you for your time

                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @DarkV
                      last edited by sdetweil

                      @DarkV any chance you still have the os image file you are running

                      the info says (from the upgrade.log)

                      6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
                      the os is Distributor ID: Raspbian Description: Raspbian GNU/Linux 11 (bullseye) Release: 11 Codename: bullseye
                      

                      only one I can find online says
                      6.1.21-v7+

                      trying to test fix for the problem you encountered.

                      if you still have the image file can you give me its name…

                      also, what pi is this, 3 or 4?
                      thanks

                      | edit: was able to make one
                      | install bullseye armhf
                      | edit /boot/config.txt
                      add
                      arm_64bit=1

                      then u will boot 64bit kernel, (seen with uname -a, aarch64)

                      Linux raspberrypi4 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr  3 17:24:16 BST 2023 aarch64 GNU/Linux
                      

                      and have 32 bit runtime (seen with file /bin/bash

                      /bin/bash: ELF 32-bit LSB executable
                      

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      lavolp3L D 2 Replies Last reply Reply Quote 0
                      • lavolp3L Offline
                        lavolp3 Module Developer @sdetweil
                        last edited by

                        @sdetweil
                        Sam, I did an update yesterday and found Node 20.8 not working on my raspbian bullseye install.
                        I had an issue mentioned by someone else here before referring a missing GLIBCXX_3.4.26 file.
                        I needed to purge and install node 18.x. Then it worked.
                        Possible that this happens for more users with Raspbian
                        Bullseye.
                        I see your upgrade script requests Node 20.8.
                        Not sure if that may be an issue for other people as well?

                        How to troubleshoot modules
                        MMM-soccer v2, MMM-AVStock

                        S 2 Replies Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 4 / 5
                        • 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