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.

    Need help with sdetweil script

    Scheduled Pinned Locked Moved Troubleshooting
    6 Posts 5 Posters 641 Views 5 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
      blacter
      last edited by

      I’m using MagicMirror as a Covid diversion. It fills a lot of the day as I learn bit by bit. Anyway, I need help following the sdetweil script.

      The install script worked perfectly. My question is about the script called "upgrade-script.sh later on in his instructions. He says it will “do the git pull and npm install, and refresh npm setup for any modules that might need it” Can one of you teach me what that means and how I would use it. Thanks.

      S 1 Reply Last reply Reply Quote 0
      • BKeyportB Offline
        BKeyport Module Developer
        last edited by

        @sdetweil would know the most - but it’s designed to run through and check updates - but I believe it’s only going to do that if the main system is updated by default. I don’t have the link handy, but there is a topic where he and I and others discuss the use of his scripts in detail.

        The "E" in "Javascript" stands for "Easy"

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

          @blacter once every 3 months there is a new MM release… we are on 2.11, next will be 2.12, on July 1.

          now, you will have to do the upgrade and fix every module…

          my script does all that for you … things you don’t KNOW u need to do…

          the official process is

          git pull
          npm install
          

          in the MM folder… BUT that is only for the base… he doesn’t consider the impacts on modules

          so, as I have watched people struggle to reconstruct their mirrors after an update, I wanted to make it easier

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          S Mykle1M evroomE 3 Replies Last reply Reply Quote 1
          • S Away
            sdetweil @sdetweil
            last edited by

            @BKeyport

            link to the discussion

            https://forum.magicmirror.builders/topic/10859/new-update-upgrade-script-ready-for-testing?_=1590153535216

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • Mykle1M Offline
              Mykle1 Project Sponsor Module Developer @sdetweil
              last edited by

              @sdetweil said in Need help with sdetweil script:

              I wanted to make it easier

              And you have. I use these scripts quite often, twice already this week.

              So, thanks and thanks. :thumbsup:

              Create a working config
              How to add modules

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

                @sdetweil said in Need help with sdetweil script:

                so, as I have watched people struggle to reconstruct their mirrors after an update, I wanted to make it easier

                Hesitated a little bit to submit this reply, but I want to make use of this thread by complimenting Sam on his script.
                Also for persons that do not really struggle setting up MagicMirror, it is a very useful script. A real time-saver.
                Today I have set-up 2 MagicMirrors from scratch (went from using SD cards to using USB sticks) and it worked like a charm. Had them running again in no time.
                So, thanks Sam, for a job well done !

                MagicMirror version: 2.30.0
                Raspberry Pi 4 Model B Rev 1.5 (8 GB RAM)
                Raspbian GNU/Linux 12 (bookworm)

                Test environment:
                MagicMirror version: v2.30.0
                Raspberry Pi 3 Model B Plus Rev 1.3 (1 GB RAM)
                Raspbian GNU/Linux 12 (bookworm)

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • 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