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 248.5k 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.
    • K Offline
      KNERD
      last edited by

      @sdetweil said in Installing on a Pi Zero:

      script will work

      I dug out a USB to ethernet. As soon as I plug it in, I got an IP address and a good connection. After a while, the connection also broke in it also.

      I wonder if there is a power save feature on it, or it is just broken.

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

        @KNERD well I see power save on wifi. not seen issues on Ethernet, but USB maybe

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          Up until a few days ago, MagicMirror was working fine on my Pi Zero, however for no apparent reason its now stopped.

          Having looked in the /home/pi/.pm2/logs/MagicMirror-error.log I’m seeing that it cannot find the module ‘electron’

          I’ve tried npm install in the MagicMirror folder and get this error

          Error: Failed to find Electron v6.1.12 for linux-armv6l at https://github.com/electron/electron/releases/download/v6.1.12/electron-v6.1.12-linux-armv6l.zip

          I’ve also tried a fresh install using sdetweil’s script - however I get the same error about electron.

          Can anyone help provide any pointers as to why its not working anymore?

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

            @rick sounds like an SD card failure I am sorry to say. I have never seen a recovery

            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
              rick @sdetweil
              last edited by

              @sdetweil Ah - I never thought of that. I’ll try another SD card - Thanks Sam

              1 Reply Last reply Reply Quote 0
              • B Offline
                Bj0rne
                last edited by

                Hi, sdetweil, I just ran your script on top of the full install in this thread, now the mirror is up. Thanks!

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

                  Hi

                  I followed the pdf instructions step by step but does not seem to work for me.

                  I started with clean install of raspbian on my Pi Z W. Followed, your instructions step by step. no errors apart from the same ones in your pdf (errors while installing dependencies). After some time the installation was complete. It asked if I want to restart, I did. Once booted back up nothing loaded even after half an hour. I navigated to localhost:8080 with no success. I also tried run serveronly/ and this didn’t help.

                  I’m not sure what I am doing wrong as it seems most people are getting it working very easily.

                  Any help would be great! Thanks

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

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

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

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

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

                                            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
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 6 / 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