• 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.0k 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
    rick
    last edited by rick Aug 8, 2020, 8:10 AM Aug 8, 2020, 8:10 AM

    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 Aug 8, 2020, 12:11 PM Reply Quote 0
    • S Away
      sdetweil @rick
      last edited by Aug 8, 2020, 12:11 PM

      @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 Aug 8, 2020, 4:00 PM Reply Quote 0
      • R Offline
        rick @sdetweil
        last edited by Aug 8, 2020, 4:00 PM

        @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 Aug 16, 2020, 9:18 AM

          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 Oct 5, 2020, 9:34 AM

            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 Oct 5, 2020, 12:25 PM Reply Quote 0
            • S Away
              sdetweil @akz_g
              last edited by Oct 5, 2020, 12:25 PM

              @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 Oct 6, 2020, 4:15 PM Reply Quote 0
              • R Offline
                RushHour99
                last edited by Oct 5, 2020, 1:56 PM

                @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 Oct 5, 2020, 2:01 PM Reply Quote 0
                • S Away
                  sdetweil @RushHour99
                  last edited by Oct 5, 2020, 2:01 PM

                  @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 Oct 5, 2020, 2:09 PM Reply Quote 0
                  • R Offline
                    RushHour99 @sdetweil
                    last edited by Oct 5, 2020, 2:09 PM

                    @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 Oct 5, 2020, 2:10 PM Reply Quote 0
                    • S Away
                      sdetweil @RushHour99
                      last edited by sdetweil Oct 5, 2020, 2:37 PM Oct 5, 2020, 2:10 PM

                      @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
                      • 1
                      • 2
                      • 10
                      • 11
                      • 12
                      • 13
                      • 14
                      • 17
                      • 18
                      • 12 / 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