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.1k 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.
    • S Do not disturb
      sdetweil @sdetweil
      last edited by sdetweil

      ah, ok… i see you followed the manual instructions back a few posts…

      i have a modified raspberry.sh I have for testing, that takes user into account

      https://www.dropbox.com/s/izj6dz2z9557oga/raspberry.sh?dl=0

      to use it like normal

      bash -c “$(curl -sL https://www.dropbox.com/s/izj6dz2z9557oga/raspberry.sh?dl=0)”

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • J Offline
        johnnyt1111
        last edited by

        If I try to install magic mirror on the pi zero i get an error that electron 3.0.13 not found for armv6 , by editing the package.json file to specify electron 2.0.18. I can get it to work, although I cannot find a version of electron for armv6 on the electron repo. Any idea why 2.0.18 would work? What would I need to try to compile electron 3 for armv6?

        https://github.com/electron/electron/releases/tag/v2.0.18

        Thanks!

        S 2 Replies Last reply Reply Quote 0
        • S Do not disturb
          sdetweil @johnnyt1111
          last edited by

          @johnnyt1111 download the electron source and follow the build process

          Sam

          How to add modules

          learning how to use browser developers window for css changes

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

            @johnnyt1111 why work. Cause electron 2.0.18 binary exists and 3.0.13 does not. There may be a technical reason, or they skipped it due to low demand.

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            J 1 Reply Last reply Reply Quote 0
            • qu1queQ Offline
              qu1que Project Sponsor
              last edited by

              I’ve found the same problem on last MM update:

              https://forum.magicmirror.builders/topic/10188/can-t-upgrade-mm-2-7-0-on-raspberry-pi-zero-w/2

              J 1 Reply Last reply Reply Quote 0
              • J Offline
                johnnyt1111 @sdetweil
                last edited by

                @sdetweil Thanks for the reply, I’m surprised the 2.0.18 even exists for armv6 as the electron issues states they don’t support it and is not listed in the releases page. but as long as it works I’m ok with that, thanks!

                1 Reply Last reply Reply Quote 0
                • J Offline
                  johnnyt1111 @qu1que
                  last edited by

                  @qu1que Thanks for the link! Glad I’m not the only looking into this problem, hopefully we can get electron 3 working on the pi zero. but updating the package.json electron to “^2.0.0” will install 2.0.18 and will work with latest version of magic mirror

                  1 Reply Last reply Reply Quote 0
                  • L Offline
                    liamangelus
                    last edited by

                    can you explain in detail how to do it? I’m new and have the same problem

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

                      @liamangelus git clone the mm repo from GitHub.
                      Then edit the package.json file and change the number behind electron to the string mentioned above “^2.0.0”

                      Then follow the manual install steps from the readme

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      qu1queQ 1 Reply Last reply Reply Quote 1
                      • L Offline
                        liamangelus
                        last edited by

                        After editing the electron version in the package.json as ^ 2.0.0, I will apply the other steps in the same way. If I encounter a problem I would like to help you again. Thanx a lot.

                        1 Reply Last reply Reply Quote 0
                        • qu1queQ Offline
                          qu1que Project Sponsor @sdetweil
                          last edited by

                          @sdetweil

                          That works for me. Thanks!

                          1 Reply Last reply Reply Quote 0
                          • qu1queQ Offline
                            qu1que Project Sponsor
                            last edited by

                            Again the same problem when updating to 2.8.0 version

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

                              @qu1que yes, sadly the electron folks have not provided updates for pi zero

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

                              1 Reply Last reply Reply Quote 0
                              • J Offline
                                johnnyt1111
                                last edited by

                                looks like changing the electron version to “^2.0.0” isn;t working anymore as it tries to intsall 1.8.0 and it gets the following error. Any idea why it isn’t looking for the version in the package.json file? thanks!

                                “Error: Failed to find Electron v1.8.0 for linux-armv6l at https://github.com/electron/electron/releases/download/v1.8.0/chromedriver-v1.8.0-linux-armv6l.zip”

                                1 Reply Last reply Reply Quote 0
                                • I Offline
                                  InfiProj
                                  last edited by

                                  Solve it like this: “npm install --arch=armv7l”

                                  qu1queQ 1 Reply Last reply Reply Quote 2
                                  • qu1queQ Offline
                                    qu1que Project Sponsor @InfiProj
                                    last edited by

                                    @InfiProj

                                    Did u mean that instead of simply “npm install” ?

                                    I’ll try on next update

                                    I 1 Reply Last reply Reply Quote 0
                                    • I Offline
                                      InfiProj @qu1que
                                      last edited by InfiProj

                                      @qu1que
                                      Yes, I just update installation command by --arch argument, and MM installs w/o errors.

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

                                        @InfiProj is there a command u could use to tell this is a zero, So I could update the installer?

                                        Thanks

                                        Sam

                                        How to add modules

                                        learning how to use browser developers window for css changes

                                        I 1 Reply Last reply Reply Quote 0
                                        • I Offline
                                          InfiProj @sdetweil
                                          last edited by

                                          @sdetweil
                                          In Linux we can ask OS about architecture. “arch” - this command returns CPU architecture. For rpi zero - armv6l, for rpi 3b - armv7l. Maybe that helps you.

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

                                            @InfiProj it does. Thx

                                            Not near computer, maybe uname provides info too

                                            Sam

                                            How to add modules

                                            learning how to use browser developers window for css changes

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