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.

    Can't upgrade MM 2.7.0 on Raspberry Pi Zero W

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    9 Posts 5 Posters 2.9k Views 6 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.
    • qu1queQ Offline
      qu1que Project Sponsor
      last edited by

      Hi @MichMich I’ve just try to update my mirrors to version 2.7.0. I’ve got one mirror with raspberry pi zero W, and another one with Raspberry Pi 3B.

      It seems the one with RPI 3B updates correctly, but when I try to update the mirrror with RPI ZeroW I get the following error with electron:

      Error: GET https://github.com/electron/electron/releases/download/v3.0.13/electron-v3.0.13-linux-armv6l.zip returned 404

      That url doesn’t work.

      How can I solved it?

      Thanks!

      1 Reply Last reply Reply Quote 0
      • M Offline
        maxberger
        last edited by

        Looks like electron 3.x is no longer available for the pi zero.

        I had to go back to the old version:

        diff --git a/package.json b/package.json
        index 14c7874..7a2aff4 100644
        --- a/package.json
        +++ b/package.json
        @@ -58,7 +58,7 @@
             "ajv": "6.5.5",
             "body-parser": "^1.18.2",
             "colors": "^1.1.2",
        -    "electron": "^3.0.13",
        +    "electron": "^2.0.18",
             "express": "^4.16.2",
             "express-ipfilter": "0.3.1",
             "feedme": "latest",
        

        See also: https://github.com/MichMich/MagicMirror/issues/1500 ; I just undid the change from that patch.

        Not sure if that has any other implications, for now this is still installing/building, let’s see if this works.

        Max

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

          @maxberger

          The thing is that I’ve updated MM, but it returns me that error on rpi Zero, but the final result is that MM finally is updated, and everything works ok in all the modules I have installed. How can I downgrade to the old version of electron?

          Thanks.

          Quique.

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

            did you find any solution to this issue?

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

              @liamangelus

              No at this moment. Here there is another user with the same problem:

              https://forum.magicmirror.builders/topic/9386/installing-on-a-pi-zero/52?page=6

              1 Reply Last reply Reply Quote 0
              • T Offline
                tjk031
                last edited by

                I would also like to know… How can I downgrade to the old version of electron?

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @tjk031
                  last edited by sdetweil

                  @tjk031 edit the package.json and change the electron version from ^3.0.13 to ^2.0.4

                  then erase node_modules

                  rm -rf node_modules
                  

                  and then

                  npm install 
                  

                  again

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 2
                  • T Offline
                    tjk031
                    last edited by

                    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

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