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.

    arm64 version with automatic installer

    Scheduled Pinned Locked Moved Hardware
    5 Posts 5 Posters 3.3k 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.
    • S Offline
      stacywebb
      last edited by

      Re: stronger Raspberry Pi 3 Alternatives

      For any of those that may be interested in running your MagicMirror on arm64 based hardware.

      Currently tested it on:

      • Pine64+
      • Rock64
      • Odroid C2

      Operating Systems:

      • DietPi
      • Xenial Mate
      • Xenial LXDE

      Command for the automatic installer:

      bash -c "$(curl -sL https://raw.githubusercontent.com/stacywebb/magicmirror_arm64/master/installers/arm64.sh)"
      

      I’ve written/rewritten several components of the original (majority for upgrades and arm64 support).

      There are still a few kinks to work out:

      • on Xenial Mate desktop bars are visible
      • pm2 may of may not work automatically depending on OS (works on Xenial Mate and LXDE)

      added some upgrades:

      • all required packages installed automagically
      • all required os updates installed automagically
      • all dependencies installed automagically

      Here is the link to the github repo also.

      Note: the raspberry installer script is still there theoretically it should work, however I haven’t tested it.

      As for benchmarks, I’ll leave that to someone else to play with.

      I’ll continue to update the repo when items are fixed. Let me know if you see issues.

      K 1 Reply Last reply Reply Quote 1
      • C Offline
        chrish1982
        last edited by

        Thanks for this, I’m having a bit of trouble though if anyone could help.

        I’m using an Odroid C2 with emmc storage and have run DietPi and Xenial, the installer runs fine and is successful but when I run sudo npm install && npm start I’m getting an error about electron. Will get more details later but if anyone has any ideas that would be great.

        Mykle1M 1 Reply Last reply Reply Quote 0
        • Mykle1M Offline
          Mykle1 Project Sponsor Module Developer @chrish1982
          last edited by

          @chrish1982 said in arm64 version with automatic installer:

          Will get more details later

          That would help ;-)

          However, it is not recommended that you run npm or install MM as sudo.

          Also, without knowing the nature of your electron error, it would pretty difficult to suggest how to correct it. Copy and paste the error here, in a code block, so it’s easy to read

          Create a working config
          How to add modules

          1 Reply Last reply Reply Quote 0
          • ? Offline
            A Former User
            last edited by

            @stacywebb
            This is not related to the topic,
            I’m considering to order ROCK64, but have some worries.
            Which peripherals do I need additionally? ROCK64 seems to have lack of WIFI and BT.
            Would you recommend “STARTER KIT” for a beginner? I used RPI3 and ATB before. I want equivalent usage as MagicMirror.

            1 Reply Last reply Reply Quote 0
            • K Offline
              Kennetht @stacywebb
              last edited by

              @stacywebb On a Rock64 with Jessie installed and updated the automatic installer halts on the Chromium install.
              Is there a newer script available or any help?


              Installing dependencies …
              npm WARN notice [SECURITY] lodash has the following vulnerability: 1 low. Go here for more details: https://nodesecurity.io/advisories?search=lodash&version=3.10.1 - Run npm i npm@latest -g to upgrade your npm version, and then npm audit to get more info.

              chromedriver@2.41.0 install /root/MagicMirror/node_modules/chromedriver
              node install.js

              Only Linux 64 bits supported.
              npm ERR! code ELIFECYCLE
              npm ERR! errno 1
              npm ERR! chromedriver@2.41.0 install: node install.js
              npm ERR! Exit status 1
              npm ERR!
              npm ERR! Failed at the chromedriver@2.41.0 install script.
              npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

              npm ERR! A complete log of this run can be found in:
              npm ERR! /root/.npm/_logs/2018-08-22T08_52_01_523Z-debug.log
              Unable to install dependencies!
              root@rock64:~#

              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