• 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 10.5k 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.
  • 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
        • B Offline
          bdream @sdetweil
          last edited by Oct 11, 2023, 4:02 PM

          @sdetweil I get the whole script shown on the screen

          –
          cheers, bdream

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

            @bdream as it should,

            I see there was a problem with the " in the 1st post…

            try again, copy/paste that line again

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • M Offline
              mumblebaj Module Developer @sdetweil
              last edited by Oct 11, 2023, 4:35 PM

              @sdetweil Just to let you know this script worked fine on my Mirror first time. Did not need to run the Node one

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

              S 1 Reply Last reply Oct 11, 2023, 4:36 PM Reply Quote 0
              • S Offline
                sdetweil @mumblebaj
                last edited by Oct 11, 2023, 4:36 PM

                @mumblebaj said in install upgrade scripts changed for version 2.25 and node 20:

                Did not need to run the Node one

                correct… it is part of the install and upgrade scripts now

                did u run the testit branch version?

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                M 1 Reply Last reply Oct 11, 2023, 4:38 PM Reply Quote 0
                • M Offline
                  mumblebaj Module Developer @sdetweil
                  last edited by Oct 11, 2023, 4:38 PM

                  @sdetweil That is correct and worked first time. Checked the installers log and no errors or issues either. Strange thing though, it had no issue with MMM-NewsAPI either and that works fine.

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

                  1 Reply Last reply Reply Quote 0
                  • B Offline
                    bdream
                    last edited by Oct 11, 2023, 4:38 PM

                    @sdetweil yes, script is running now :beaming_face_with_smiling_eyes:

                    MM is not starting automatic, also not after reboot.
                    But this work fine

                      pm2 start 0
                    

                    Bildschirmfoto vom 2023-10-11 18-36-13.png

                    –
                    cheers, bdream

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

                      @bdream ok

                      probably missing library on some module

                      do this

                      pm2 stop all
                      cd ~/MagicMirror
                      npm start >/somefile.txt 2>&1
                      

                      wait 15 seconds
                      in this same terminal window do
                      ctrl-c

                      then examine somefile.txt

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 2 / 4
                      2 / 4
                      • First post
                        12/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