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

install upgrade scripts changed for version 2.25 and node 20

Scheduled Pinned Locked Moved Unsolved Troubleshooting
35 Posts 4 Posters 8.7k 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 Oct 12, 2023, 9:12 PM Oct 10, 2023, 8:43 PM

    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

    M 1 Reply Last reply Oct 11, 2023, 2:34 PM Reply Quote 1
    • S sdetweil referenced this topic on Oct 11, 2023, 2:20 AM
    • B Offline
      bdream
      last edited by Oct 11, 2023, 9:55 AM

      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 Oct 11, 2023, 11:24 AM Reply Quote 0
      • S Offline
        sdetweil @bdream
        last edited by Oct 11, 2023, 11:24 AM

        @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 Oct 11, 2023, 11:38 AM Reply Quote 0
        • B Offline
          bdream @sdetweil
          last edited by Oct 11, 2023, 11:38 AM

          @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 Oct 11, 2023, 11:41 AM Reply Quote 0
          • S Offline
            sdetweil @bdream
            last edited by Oct 11, 2023, 11:41 AM

            @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 Oct 11, 2023, 1:58 PM Reply Quote 0
            • B Offline
              bdream @sdetweil
              last edited by Oct 11, 2023, 1:58 PM

              @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 Oct 11, 2023, 2:11 PM Reply Quote 0
              • S Offline
                sdetweil @bdream
                last edited by Oct 11, 2023, 2:11 PM

                @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 Oct 11, 2023, 2:31 PM Reply Quote 0
                • B Offline
                  bdream @sdetweil
                  last edited by Oct 11, 2023, 2:31 PM

                  @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 Oct 11, 2023, 2:35 PM Reply Quote 0
                  • M Offline
                    mumblebaj Module Developer @sdetweil
                    last edited by Oct 11, 2023, 2:34 PM

                    @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

                    1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @bdream
                      last edited by Oct 11, 2023, 2:35 PM

                      @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 M 2 Replies Last reply Oct 11, 2023, 4:02 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 1 / 4
                      1 / 4
                      • First post
                        9/35
                        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