MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    Installing on a Pi Zero

    Troubleshooting
    33
    175
    45746
    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
      Smolo last edited by

      @bhepler
      First, as a supplement the installation is absolute standard except for another VNC server.
      Chromium starts automaticly with http://localhost:8080

      I have already tested the following constellations before my post.
      the local ip (192.168.2.84:8080)
      127.0.0.1:8080
      localhost:8080

      “err_connection_refused”

      with https browser fault > “err_address_unreachable”

      Other things :…

      • ublock is inactive!
      • Configuration vom MagicMirror Config:
        var config = {
        port: 8080,
        address: “0.0.0.0”,
        ipWhitelist: [],
      • Test from another pc > “err_connection_refused”
      1 Reply Last reply Reply Quote 0
      • S
        Smolo last edited by Smolo

        I’ve solved the problem and it’s going crazy. After I tried with a portscanner to find out if there is anything running I found out that there is no port 8080 open.

        If somebody has problems checking the logs via "pm2 logs MagicMirror --lines 1000

        I missed the npm module “moment” under “/home/pi/MagicMirror/node_modules/moment”!!!😲

        Go to MagicMirror > “npm install” the problem was solved!🙂

        1 Reply Last reply Reply Quote 0
        • A
          AnalogCHeep last edited by

          @andyc7687, thanks a lot! It will be easy for me now, I planned going for building a device like yours
          Regards

          A 1 Reply Last reply Reply Quote 0
          • A
            andyc7687 @AnalogCHeep last edited by

            @analogcheep thanks, let me know if yours works and upvote if it is helpful!

            1 Reply Last reply Reply Quote 0
            • 1
              12wsx last edited by

              today i have to reinstall MM and I have some small problem. MM do not show on local hdmi outpul- I can see the dektop but no MM. Server is working properly because when I open it from laptop i can see MM, when I connect to raspberry pi via vnc i can see to MM. What is going on? what i miss?

              S 1 Reply Last reply Reply Quote 0
              • S
                sdetweil @12wsx last edited by sdetweil

                @12wsx in terminal, or script u use to start mm do

                export DISPLAY=:0
                

                Then npm start

                Sam

                Create a working config
                How to add modules

                1 Reply Last reply Reply Quote 0
                • 1
                  12wsx last edited by

                  thank you for help, i had to reinstal system once more becase there were a lot of errors.
                  After new instalation pm2 didn’t start properly. after few hours i found why.
                  In pm2_MagicMirrorPi0.json
                  line:
                  “script” : “/MagicMirror/PiZero/startMagicMirror.sh”,
                  should be :
                  “script” : “/MagicMirror/PiZero/startMagicMirrorPi0.sh”,

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

                    which installer are you using? I don’t see the filename pm2_MagicMirrorPi0.json
                    or “script” : “/MagicMirror/PiZero/startMagicMirror.sh”,
                    in the raspberry.sh script…

                    Sam

                    Create a working config
                    How to add modules

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

                      ah, ok… i see you followed the manual instructions back a few posts…

                      i have a modified raspberry.sh I have for testing, that takes user into account

                      https://www.dropbox.com/s/izj6dz2z9557oga/raspberry.sh?dl=0

                      to use it like normal

                      bash -c “$(curl -sL https://www.dropbox.com/s/izj6dz2z9557oga/raspberry.sh?dl=0)”

                      Sam

                      Create a working config
                      How to add modules

                      1 Reply Last reply Reply Quote 0
                      • J
                        johnnyt1111 last edited by

                        If I try to install magic mirror on the pi zero i get an error that electron 3.0.13 not found for armv6 , by editing the package.json file to specify electron 2.0.18. I can get it to work, although I cannot find a version of electron for armv6 on the electron repo. Any idea why 2.0.18 would work? What would I need to try to compile electron 3 for armv6?

                        https://github.com/electron/electron/releases/tag/v2.0.18

                        Thanks!

                        S 2 Replies Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 7
                        • 17
                        • 18
                        • 5 / 18
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy