• 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.

I need help installing MagicMirror on a Pi Zero W

Scheduled Pinned Locked Moved Troubleshooting
9 Posts 4 Posters 661 Views 4 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.
  • D Offline
    davepreNJ
    last edited by May 4, 2021, 5:25 PM

    Re: Installing on a Pi Zero

    trying to follow along from a .pdf titled “Installing the Magic Mirror on
    the Raspberry Pi Zero W” from Andrew Chu

    I get up to page 17 or so from the slides.

    i had to fix what looks to me a couple typos and I used the following command: (added the two slashes after https: and added the i that was missing in installers)

    bash –c “$(curl –sL
    https://raw.githubusercontent.com/ac2799/MagicMirror/master/installers/raspberry.sh)”

    the command is chugging along fine…

    then I get an error
    [PM2] [ERROR] Error: Script not found: /home/pi/MagicMirror/~/MagicMirror/installers/startMagicMirrorPi0.sh

    How do I fix and pick-up where it left off to register MagicMirror with PM2?

    I tried in another SSH window to run that .sh (which I did find in what looks to be that path)

    pi@raspberrypi:~/MagicMirror/installers $ ./startMagicMirrorPi0.sh Starting MagicMirror: v2.6.0 Loading config ... Loading module helpers ... No helper found for module: alert. Initializing new module helper ... Module helper loaded: updatenotification No helper found for module: clock. Initializing new module helper ... Module helper loaded: calendar No helper found for module: compliments. No helper found for module: currentweather. No helper found for module: weatherforecast. Initializing new module helper ... Module helper loaded: newsfeed All module helpers loaded. Starting server on port 8080 ... Server started ... Connecting socket for: updatenotification Connecting socket for: calendar Starting node helper for: calendar Connecting socket for: newsfeed Starting module: newsfeed Sockets connected & modules started ...

    Ready to go! Please point your browser to: http://localhost:8080
    unclutter: could not open display

    (chromium-browser:1424): Gtk-WARNING **: 12:53:45.426: cannot open display:
    pi@raspberrypi:~/MagicMirror/installers $ pm2 show MagicMirror
    [PM2][WARN] MagicMirror doesn’t exist

    So, I’m not sure if the ’ could not open display’ is a second error on top of the problem that PM2 cant register the application

    thanks

    S 1 Reply Last reply May 4, 2021, 5:38 PM Reply Quote 0
    • S Away
      sdetweil @davepreNJ
      last edited by sdetweil May 4, 2021, 5:41 PM May 4, 2021, 5:38 PM

      @daveprenj use my up to date script

      see
      https://github.com/sdetweil/MagicMirror_scripts

      erase the mm folder, then run the installer

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      P 1 Reply Last reply May 30, 2024, 1:37 AM Reply Quote 0
      • P Offline
        plainbroke @sdetweil
        last edited by May 30, 2024, 1:37 AM

        @sdetweil
        I know this is a Very OLD thread, but, I tried putting MM on my Pi zero W
        and it runs your script but MM doesn’t load, at least not when I VNC into the Zero.
        I can use Putty and see it in a command line. So I renamed MM to MM2 and am reinstalling hoping it works this time.

        Slow learner. But trying anyways.

        S 1 Reply Last reply May 30, 2024, 1:40 AM Reply Quote 0
        • S Away
          sdetweil @plainbroke
          last edited by May 30, 2024, 1:40 AM

          @plainbroke AND you have to change the browser… using the external_browser env variable , documented at the end of the scripts page…

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          P 1 Reply Last reply May 30, 2024, 1:41 AM Reply Quote 0
          • P Offline
            plainbroke @sdetweil
            last edited by May 30, 2024, 1:41 AM

            @sdetweil
            So all I have to do is update the mm.sh file.
            then use apt to install firefox for example.

            Slow learner. But trying anyways.

            S 1 Reply Last reply May 30, 2024, 2:19 AM Reply Quote 0
            • S Away
              sdetweil @plainbroke
              last edited by sdetweil May 30, 2024, 2:21 AM May 30, 2024, 2:19 AM

              @plainbroke yes
              pm2 stop all to make sure the dead one is stopped

              and test with

              cd ~/MagicMirror
              npm start 
              

              to make sure it works

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • D Offline
                davidgagne
                last edited by Jun 3, 2024, 6:34 PM

                I’ve also posted a detailed step by step guide that’s been working for me on my Pi Zero W. YMMV.

                P 1 Reply Last reply Jun 13, 2024, 1:29 AM Reply Quote 0
                • P Offline
                  plainbroke @davidgagne
                  last edited by Jun 13, 2024, 1:29 AM

                  @davidgagne , @sdetweil
                  Finally got mine to actually work, dang it is slow though.

                  Slow learner. But trying anyways.

                  S 1 Reply Last reply Jun 13, 2024, 1:36 AM Reply Quote 0
                  • S Away
                    sdetweil @plainbroke
                    last edited by sdetweil Jun 13, 2024, 1:55 AM Jun 13, 2024, 1:36 AM

                    @plainbroke yeh they are

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    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