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.

    install upgrade scripts changed for version 2.25 and node 20

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    35 Posts 4 Posters 12.6k Views 4 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
      last edited by sdetweil

      given all the troubles with the node install process, I have rewritten that function to use the
      n
      command to do the upgrades for node and npm
      (n is a newer designed version of the nvm command (nvm= node version manager)

      | edit… all the changes have been merged back into master
      | too many using the master link as they didn’t look here…

      • upgrade
      bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" force
      
      • install
      bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh)" 
      

      everything else is the same … let me know

      so far all the places we’ve experienced troubles seem to be corrected now…
      just need some real test feedback…

      thanks for your time.

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      mumblebajM 1 Reply Last reply Reply Quote 1
      • S sdetweil referenced this topic on
      • B Offline
        bdream
        last edited by

        as I face the same “node 20.8.0, but got 20.5.1” problematic, I tried to use upgrade script and get the error:
        Bildschirmfoto vom 2023-10-11 11-51-52.png

        –
        cheers, bdream

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

          @bdream what system are you running on?
          show output of

          uname -a
          

          Sam

          How to add modules

          learning how to use browser developers window for css changes

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

            @sdetweil said in install upgrade scripts changed for version 2.,25 and node 20:

            uname -a

            Linux MagicMirror 5.15.32-v7+ #1538 SMP Thu Mar 31 19:38:48 BST 2022 armv7l GNU/Linux
            

            –
            cheers, bdream

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

              @bdream if u click the link while viewing here, you should see the source of the script

              this sounds like an Internet issue

              that error says it could not download the script

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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

                @sdetweil I wonder as I can ping from the Raspi and also get the usual update script working.

                Bildschirmfoto vom 2023-10-11 15-56-43.png

                From my PC I can also see both scripts in testit and in master

                –
                cheers, bdream

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

                  @bdream interesting… never seen a problem like that before…

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

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

                    @sdetweil I wonder as both scrips are nearly same.
                    one is running other gives error in line 1 from script. I can’t see a difference :(

                    –
                    cheers, bdream

                    S 1 Reply Last reply Reply Quote 0
                    • mumblebajM Offline
                      mumblebaj Module Developer @sdetweil
                      last edited by

                      @sdetweil Great work Sam. Do we need to run the node script first?

                      bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/node20_install.sh)”

                      Or just the normal upgrade process with apply?

                      After fixing my dev machine I am about ready to give your script a go on my mirror but want to just double check if the node script is still required.

                      Check out my modules at: https://github.com/mumblebaj?tab=repositories
                      Check my blog-post: https://mumblebaj.xyz/

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

                        @bdream try this

                        curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/testit/upgrade-script.sh
                        

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

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