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.

    Installing on a Pi Zero

    Scheduled Pinned Locked Moved Troubleshooting
    175 Posts 33 Posters 249.9k Views 33 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.
    • R Offline
      RushHour99
      last edited by

      @sdetweil said in Installing on a Pi Zero:

      https://github.com/sdetweil/MagicMirror_scripts

      @sdetweil My Magic Mirror install on a Pi Zero has been running great. I see an alert now that there is a Magic Mirror Update available. Do I just run your upgrade-script.sh to bring my Pi Zero install up to date with Magic Mirror v2.13.0?

      S 1 Reply Last reply Reply Quote 0
      • S Do not disturb
        sdetweil @RushHour99
        last edited by

        @RushHour99 yes, note that u have to run two times.

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          @sdetweil said in Installing on a Pi Zero:

          @RushHour99 yes, note that u have to run two times.

          Thanks! Out of curiosity, why do I need to run it 2 times? I would have missed that detail if you didn’t’ let me know.

          S 1 Reply Last reply Reply Quote 0
          • S Do not disturb
            sdetweil @RushHour99
            last edited by sdetweil

            @RushHour99 i don’t understand , then doc says

            Update to next MagicMirror version from an existing MagicMirror installation
            upgrade-script.sh will do the git pull and npm install, and refresh npm setup for any modules that might need it
            it should handle all the work…
            
            and give you a trial run of all that, only applying changes if u request them
            give it a try
            
            this works on Mac as well, cut/paste this line into the terminal window on your device
            
            bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)"
            ================no changes are made to the local repo or the working copy========================
            if you WANT to actually apply the changes, cut/paste this line into the terminal window on your device
            bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/upgrade-script.sh)" apply
            

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • R Offline
              RushHour99
              last edited by

              Thanks for the reply. I did read that but it just seemed a little confusing since it was the same bash command. I haven’t run the upgrade script yet, so it might be more clear when I do but i guess the script knows if it’s been run a 2nd time?

              S 1 Reply Last reply Reply Quote 0
              • S Do not disturb
                sdetweil @RushHour99
                last edited by

                @RushHour99 its NOT the same, there is an extra parameter at the end… apply

                Sam

                How to add modules

                learning how to use browser developers window for css changes

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

                  @sdetweil Thanks! It is much more clear now. My screen size truncated the “apply” parameter at the end of the line. Now that I scroll horizontally I see the “apply”. Thanks again for the feedback.

                  S 1 Reply Last reply Reply Quote 0
                  • S Do not disturb
                    sdetweil @RushHour99
                    last edited by

                    @RushHour99 as folks have invested a lot of time in setting up their systems, only to have an update crash everything,
                    I wanted to provide a ‘test’ 1st, so people might be more comfortable with what might be impacted…
                    and NOT make changes if they don’t want to continue…

                    all my work suffers from problems in the base that is being applied, like some new translation file comments for years old modules this time…

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

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

                      @sdetweil said in Installing on a Pi Zero:

                      @akz_g use my script. the old instructions don’t work anymore

                      see here
                      https://github.com/sdetweil/MagicMirror_scripts

                      Thanks for this @sdetweil I will try with a fresh image. Do I just run master/raspberry.sh… ?

                      Going to try it tonight! many thanks

                      S 1 Reply Last reply Reply Quote 0
                      • S Do not disturb
                        sdetweil @akz_g
                        last edited by sdetweil

                        @akz_g no… the script is not in the base anymore … run it directly from here

                        https://github.com/sdetweil/MagicMirror_scripts

                        it does everything, prep the system, download the code, install the dependencies, add support for pi 0,
                        add support for starting at boot, turn off screen saver

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

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

                          @sdetweil Thanks again! will let you know how I get on :)

                          A 1 Reply Last reply Reply Quote 0
                          • A Offline
                            akz_g @akz_g
                            last edited by

                            @akz_g first message I got was

                            this appears not to be a Raspberry Pi 2, 3 or 4, do you want to continue installation (y/N)?
                            
                            

                            should I continue? don’t want to waste another hour if i’m doing it wrong.

                            S 1 Reply Last reply Reply Quote 0
                            • S Do not disturb
                              sdetweil @akz_g
                              last edited by

                              @akz_g no, keep going

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

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

                                @sdetweil Thanks so much! got it working and it was a very easy install in the end. My next step is to have a look at the config.js file and tailor it to UK etc… I guess this is the place I can add new modules also?

                                S 1 Reply Last reply Reply Quote 0
                                • S Do not disturb
                                  sdetweil @akz_g
                                  last edited by

                                  @akz_g yes, see the links in my signature for learning

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

                                  1 Reply Last reply Reply Quote 0
                                  • E Offline
                                    eracerhead @andyc7687
                                    last edited by

                                    @andyc7687 I know this is almost 2 years later, but this did not work on the pi zero w. I got to the point of on page 18 where it was supposed to say MagicMirror running. But it never did. It did say it was installed correctly, and to reboot, which I did, but it isn’t working.

                                    $ pm2 show MagicMirror
                                    [PM2][WARN] MagicMirror doesn’t exist

                                    I don’t even know how to begin to troubleshoot this. (This was my second attempt at trying to install magic mirror.)

                                    S 1 Reply Last reply Reply Quote 0
                                    • S Do not disturb
                                      sdetweil @eracerhead
                                      last edited by sdetweil

                                      @eracerhead use my script
                                      see here for instructions
                                      https://github.com/sdetweil/MagicMirror_scripts

                                      remove the MagicMirror folder

                                      Sam

                                      How to add modules

                                      learning how to use browser developers window for css changes

                                      C 1 Reply Last reply Reply Quote 0
                                      • C Offline
                                        camcooper151515
                                        last edited by

                                        I can say as of November 6 2020 the script works for installing the MagicMirror and auto starts on raspberry pi 0w. But… I do have some questions. How do I go about stopping the mirror so I can install modules? I’m a complete newb at this

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

                                          I can say as of November 6 2020 the script works for installing the MagicMirror and auto starts on raspberry pi 0w. But… I do have some questions. How do I go about stopping the mirror so I can install modules? I’m a complete newb at this

                                          S 1 Reply Last reply Reply Quote 0
                                          • S Do not disturb
                                            sdetweil @camcooper151515
                                            last edited by

                                            @camcooper151515 minimize
                                            alt-spacebar, n
                                            then alt-ctrl-t to open a terminal window, them the pm2 command

                                            pm2 stop 0, or MagicMirror

                                            Sam

                                            How to add modules

                                            learning how to use browser developers window for css changes

                                            C 1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 5
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 7 / 9
                                            • 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