• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 183.7k 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 @sdetweil
    last edited by Apr 15, 2020, 11:59 PM

    @sdetweil Thanks for the reply. Magic Mirror does appear to be working just fine on my Pi Zero W. I only ran the install script. Should I run the upgrade script too?

    S 1 Reply Last reply Apr 16, 2020, 12:24 AM Reply Quote 0
    • S Offline
      sdetweil @RushHour99
      last edited by sdetweil Apr 16, 2020, 12:27 AM Apr 16, 2020, 12:24 AM

      @RushHour99 no. Upgrade is for every 3 months when the next release comes out. the scripts are only for MagicMirror… not the base OS, or any modules.

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @sdetweil
        last edited by sdetweil Apr 16, 2020, 1:59 AM Apr 16, 2020, 1:57 AM

        @RushHour99 looks like something changed between April 11 and April 15 in the npm tree, as it skipped the electron-chromdriver on the 11th and tries to install it today. is IS because of the specton library that is in the DEV tree, which i request to be skipped with --only=prod

        so much fun…
        I opened an issue against the scripts
        https://github.com/sdetweil/MagicMirror_scripts/issues/5
        to track it

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 1
        • M Offline
          Mykle1 Project Sponsor Module Developer @sdetweil
          last edited by Apr 16, 2020, 2:01 AM

          @sdetweil said in Installing on a Pi Zero:

          my intent is to submit this new installer to replace the project version…

          I second the motion. :thumbsup:

          Create a working config
          How to add modules

          S 2 Replies Last reply Apr 16, 2020, 2:04 AM Reply Quote 0
          • S Offline
            sdetweil @Mykle1
            last edited by sdetweil Apr 16, 2020, 2:13 AM Apr 16, 2020, 2:04 AM

            @RushHour99 looks like something changed between April 11 and April 15 in the npm tree, as it skipped the electron-chromdriver on the 11th and tries to install it today. is IS because of the specton library that is in the DEV tree, which i request to be skipped with --only=prod

            so much fun…

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @Mykle1
              last edited by Apr 16, 2020, 2:14 AM

              @Mykle1 yeh, they updated the repo version in 2.10, and were completely removed in 2.11 to an outside repo…

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • N Offline
                naked-head
                last edited by May 7, 2020, 9:15 PM

                I got a new Pi Zero W, so I start a fresh install with a raspbian lite stretch (2019-04-08 version) but I got this error:

                > electron-chromedriver@6.0.0 install /home/pi/MagicMirror/node_modules/electron-chromedriver
                > node ./download-chromedriver.js
                
                /home/pi/MagicMirror/node_modules/electron-chromedriver/download-chromedriver.js:19
                  if (err != null) throw err
                                   ^
                
                Error: Failed to find Electron v6.0.0 for linux-armv6l at https://github.com/electron/electron/releases/download/v6.0.0/chromedriver-v6.0.0-linux-armv6l.zip
                

                searching on electron: https://github.com/electron/electron/releases/tag/v6.0.0 I can’t find armv6 version.

                Whats the problem?
                my pi is too old?
                I got the wrong raspbian version?
                thanks

                Q S 2 Replies Last reply May 7, 2020, 9:21 PM Reply Quote 0
                • Q Offline
                  qu1que Project Sponsor @naked-head
                  last edited by May 7, 2020, 9:21 PM

                  @naked-head

                  I think electron is discontinued for raspberry pi zero, a few months ago I see a post in this forum talking about that. Now I can’t find that post.

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @naked-head
                    last edited by sdetweil May 7, 2020, 9:22 PM May 7, 2020, 9:21 PM

                    @naked-head did you use the automated installer? it handles this issue…
                    electron is no longer available for the armv6l devices, and the default, manual npm install) will leave nothing installed…

                    there is a side effect bug with npm… when my script runs, I request only the components needed for execution not for automated test, and the chromedriver is only used for automated testing… but npm didn’t pass on my request for only prod to sub modules…

                    it causes no harm, other than that message

                    you will have to run in split mode (serveronly + chromium-browser to view)…

                    there are a bunch of tricky setup things… I suggest using the installer script
                    also, lite does not include the graphical desktop, which is required, unless u intend to run headless

                    see the installer script here
                    https://github.com/sdetweil/MagicMirror_scripts

                    all extra scripts were removed in 2.11, but referenced as ‘alternative’ install options…
                    in the online doc

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 1
                    • N Offline
                      naked-head
                      last edited by May 8, 2020, 6:46 AM

                      I used this script: https://github.com/ac2799/MagicMirrorPi0Installer following his guide.
                      I’ll try the script you suggest.
                      Thanks a lot

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 7
                      • 8
                      • 9
                      • 10
                      • 11
                      • 17
                      • 18
                      • 9 / 18
                      • 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