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 251.3k 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 KNERD

      I know it is not a router issue. I have a complicated setup here. I have a router on site which is in Bridge Mode so the actual router in use does PPOE to connect to the ISP. The router has no Wi-Fi, and DNS disabled. The Linksys Mesh is in Bridge Mode in order to be a part of the LAN addresses. DNS and DHCP is done separately with Pi Hole. No other devices on Wi-Fi are having issue.

      The Google AIY image is booting, now. I will give an update if I got issues with that, or not.

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

        @KNERD ok, seen lots of reports of DNS issues w pihole

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        K 1 Reply Last reply Reply Quote 0
        • K Offline
          KNERD @sdetweil
          last edited by

          @sdetweil I think those "DNS issues’ with Pi Hole come from Pi Hole themselves for making the blaclist which they setup too strict. My DNS issues have nothing to do that. My network is not having DNS issues, just that Pi Zero while using the newest Raspberry Pi OS.

          Hope to have an update within an hour

          1 Reply Last reply Reply Quote 0
          • K Offline
            KNERD
            last edited by

            Update: Wi-Fi still having issues with shutting down, and not putting the DNS in resolv.conf file.

            I think I got a USB Wi-Fi I can try out, and even a USB to ethernet.

            Thank for taking the time to respond and help.

            I still got a Google AIY kit 1.0 here to use on a regular Pi, but prefer the smaller size of the Pi Zero.

            I also got a Orange Pi Zero here I can try out, if the Pi Zero Hat will fit on it, or if your install script will work on it.

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

              @KNERD script will work

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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

                                            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
                                            • 8 / 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